2009-05-07, 09:43 AM
"path" refers to directory + filename, not just directory.
http://msdn.microsoft.com/en-us/library/...S.85).aspx has everything you ever wanted to know and more about file names in Windows. In particular: "The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface might not be able to handle." I'm going to guess whatever you used to create the file uses \\?\ syntax when creating a file and so bypasses some of the sanity checks.
http://msdn.microsoft.com/en-us/library/...S.85).aspx has everything you ever wanted to know and more about file names in Windows. In particular: "The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface might not be able to handle." I'm going to guess whatever you used to create the file uses \\?\ syntax when creating a file and so bypasses some of the sanity checks.

