Method pathname.prefixLongPath
Overload
If path is full path (see pathname.isFullPath) and does not start with @"\\?\"
, prepends @"\\?\"
.
If path is network path (like @"\\computer\folder\..."
), makes like @"\\?\UNC\computer\folder\..."
.
public static string prefixLongPath(string path)
Parameters
path (string)
Path. Can be |
Returns
Remarks
Windows API kernel functions support extended-length paths, ie longer than 259 characters. But the path must have this prefix. Windows API shell functions don't support it.