$strName = Fs.ShortName ("<path>")
Returns a unique shortname of the given file/folder used by programs that require 8.3 naming convention.
<path> The path of the file/folder.
If successful, returns a string, else returns an empty string.
- The property is read-only.
- Folders with relative or absolute paths are also acceptable.
$s = "C:\Interactive Voice Response System\IVRS file 34\"
$ret = fs.ShortName($s)
- $ret contains C:\INTERA~1\IVRSFI~1.