Table of contents
Collapse the table of content
Expand the table of content

GetAbsolutePathName Method

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Description Returns a complete and unambiguous path from a provided path specification. Syntaxobject. GetAbsolutePathName(pathspec) The GetAbsolutePathName method syntax has these parts:

objectRequired. Always the name of a FileSystemObject.
pathspecRequired. Path specification to change to a complete and unambiguous path.

Remarks A path is complete and unambiguous if it provides a complete reference from the root of the specified drive. A complete path can only end with a path separator character ( \ ) if it specifies the root folder of a mapped drive. Assuming the current directory is c:\mydocuments\reports, the following table illustrates the behavior of the GetAbsolutePathName method.

pathspecReturned path
© 2018 Microsoft