[Help]How to handle exception from dirEntries?

Keqin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 16 22:01:55 PDT 2014


Thanks for your reply!

On Tuesday, 17 June 2014 at 04:50:43 UTC, Ali Çehreli wrote:
> 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