FileSystemObject : GetAbsolutePathName Method

FileSystemObject : GetAbsolutePathName Method


Returns a complete Path from a provided path.

Format :

objectOfFileSystemObject. GetAbsolutePathName(providedPath)

  • objectOfFileSystemObject
    • As the names says, it’s a FileSystemObject.
    • providedPath
      • Path provided to change to a complete 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: