Microsoft® JScript GetAbsolutePathName Method |
Language Reference Version 3 |
Returns a complete and unambiguous path from a provided path specification.
object.GetAbsolutePathName(pathspec)The GetAbsolutePathName method syntax has these parts:
Part Description object Required. Always the name of a FileSystemObject. pathspec Required. Path specification to change to a complete and unambiguous path.
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.
pathspec Returned path "c:" "c:\mydocuments\reports" "c:.." "c:\mydocuments" "c:\\\\\\" "c:\" "c:*.*\\may97" "c:\mydocuments\reports\*.*\may97" "region1" "c:\mydocuments\reports\region1" "c:\\..\\..\\mydocuments" "c:\mydocuments"
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js326.htm, 3KB, , updated: 1997/9/30 03:44, local time: 2024/11/26 05:17,
18.191.165.192:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/inet/iis/jscript/htm/js326.htm"> GetAbsolutePathName Method</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.