반응형
255자가 넘는 path를 지원을 위해서는 아래와 같이 사용해야 함
\\?\C:\folder or filename
\\?\UNC\eric-pc\shared

namespace : 
\\?\는 Win32 File namespace
\\.\는 Win32 Device namespace
\\.\COM1 or \\.\PhysicalDiskX

if(strFilePath.Left(2).CompareNoCase("\\\\") == 0) { strFilePath = "\\\\?\\UNC\\" + strFilePath.Mid(2); } else { strFilePath = "\\\\?\\" + strFilePath; }

반응형

+ Recent posts