![]() |
VOOZH | about |
The ASP ShortName Property is used to get the short name of the specified file or folder on the system.
Syntax:
For File Object:
FileObject.ShortName
For Folder Object:
FolderObject.ShortName
The below examples illustrate the ASP ShortName Property.
Example 1: The below code illustrates the ASP File.ShortName Property.
Output:
Full Name: alargefilename.txt Short Name: ALARGE~1.TXT
Example 2: The below code illustrates the ASP File.ShortName Property.
Output:
Full Name: geeksforgeeksfolder Short Name: GEEKSF~1