Path Length Checker v1.1 (gui) crashes when scanning NTFS from root.


Path Length Checker GUI v1.1 (PLCGui) crashes when scanning NTFS-partition from root, like C:\
Works fine when scanning from rootfolder, like C:\Folder
Crash occurs scanning any NTFS-partition.
Works fine when scanning (tested) FAT32 partition from root or rootfolder.
Windows 8 reports: “Problem Signature 09: System.UnauthorizedAccess”.
Tested in Win7 and Win8 with same results.
Running PLCGui as Administrator


deadlydog wrote Oct 20, 2013 at 7:46 PM

Looks like this is a problem with all of the Directory.GetFiles()/GetDirectories()/GetFileSystemEntries() methods that I use in PathLengthChecker, as documented at http://connect.microsoft.com/VisualStudio/feedback/details/512171/. There is a work around for it though that I intend on implementing http://stackoverflow.com/questions/9746538/fastest-safest-file-finding-parsing/9758932#9758932.