Returns the file name and extension for the current document.
PSDocumentClass object
psDocument.File( )
String
At runtime, File extracts the file name and extension from the PATH_INFO server environment variable.
The following example returns the file name of the current document into a variable called myfile. If the URL for the current document were http://www.sybase.com/index.htm, the value of myfile would be index.htm after the call to File:
myfile = psDocument.File( );