Returns the path portion of the URL for the current document. The path does not include the file name.
PSDocumentClass object
psDocument.Path( )
String.
At runtime, Path extracts the URL path for the current document from the PATH_INFO server environment variable.
The following example returns the path portion of the current URL into a variable called mypath. If the URL for the current document is http://MyServer/Files/myscript.asp, the value of mypath is set to “/Files”:
mypath = psDocument.Path( );