Cnv.ShortPathName Method
Retrieve the Windows short path form of the specified path.
Syntax
[C#]
public static string ShortPathName(
string pathName
)
[VB.NET]
Public Shared Function ShortPathName ( _
pathName As String _
) As String
Parameters
- pathName
- File path name.
Return Value
Windows short path name of file or the empty string if file does not exist.
Remarks
Windows platforms only. The file path must exist. The short path name is guaranteed to be ASCII.
See Also
VB6/C equivalent: CNV_ShortPathName
[Contents] [Index]