Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

FileSystemObject : GetAbsolutePathName Method

FileSys­te­mOb­ject : GetAb­solutePath­Name Method

Description:

Returns a com­plete Path from a pro­vided path.

Format :

objectOf­FileSys­te­mOb­ject. GetAbsolutePathName(providedPath)

Arguments:
  • objectOf­FileSys­te­mOb­ject
    • As the names says, it’s a FileSystemObject.
    • pro­vid­ed­Path
      • Path pro­vided to change to a com­plete path.

Function ShowAbsolutePath(path)
   Dim fso
   Set fso = CreateObject("Scripting.FileSystemObject")
   ShowAbsolutePath = fso.GetAbsolutePathName(path)
End Function

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: