[Help]How to handle exception from dirEntries?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 16 21:50:42 PDT 2014


On 06/16/2014 09:44 PM, Keqin wrote:> Hi everyone,

 > std.file.FileException at std\file.d(2519): C:\$Recycle.Bin\S-1-5-18:
 > Access is den
 > ied.
 >
 > I believe the exception comes from the following line:
 > auto entries = dirEntries(dirpath, SpanMode.depth);

Known issue:

   https://issues.dlang.org/show_bug.cgi?id=12391

Also see:

   https://issues.dlang.org/show_bug.cgi?id=8967

   https://issues.dlang.org/show_bug.cgi?id=6138

Ali



More information about the Digitalmars-d-learn mailing list