remove file access denied(remove broke)

Josphe Brigmo JospheBrigmo at gmail.com
Fri Sep 14 14:36:34 UTC 2018


On Friday, 14 September 2018 at 13:28:41 UTC, Adam D. Ruppe wrote:
> On Friday, 14 September 2018 at 08:32:48 UTC, Josphe Brigmo 
> wrote:
>> Seems remove is broke.
>
> The source code for remove is DeleteFile(name), so not much 
> room for bugs there, except maybe string conversion. What is 
> the filename you are working on?

It happens on a bunch. I do get errors or overlong file names but 
this doesn't seem to be the case.

The fact is, that simply using execute shell using the same file 
name works. So this is a D problem.

It happens quite often and every time I can delete the files in 
file explorer.




More information about the Digitalmars-d-learn mailing list