![]() |
VOOZH | about |
The ASP Path Property is used to get the complete path for a specified file, folder, or drive on the system.
Syntax:
For File Object
FileObject.Path
For Folder Object:
FolderObject.Path
For Drive Object:
DriveObject.Path
The below examples demonstrate the ASP Path Property.
Example 1: The below code illustrates the ASP File.Path Property.
Output:
Complete path for the specified file: d:\GFG\sudo\geeks.asp
Example 2: The below code illustrates the ASP Folder.Path Property.
Output:
The path of the folder is D:\GFG\geeks
Example 3: The below code illustrates the ASP Drive.Path Property.
Output:
The path of the drive is: D: