ZetaLongPaths.ZlpFileInfo(_Path).OpenRead() not work on windows 8.1
MustafaDaoud90 opened this issue · comments
string _Path = "LongPath";
System.IO.FileStream oReader = ZetaLongPaths.ZlpFileInfo(_Path).OpenRead();
not work on windows 8.1 almost return 0 bytes when read and when call windows error after this line return error (183) meaning:
ERROR_ALREADY_EXISTS
183 (0xB7)
Cannot create a file when that file already exists.
Note: the writer works fine on the same long path.
the same code works fine on the short path.
what is the problem?
ERROR_ALREADY_EXISTS
usually indicates a permission issue (not enough permissions because of ACL and/or write-protection flag).
Please provide a MCVE.
Thank you, worked.