[Lazarus] RE : RE : Removing read-only files in FileUtil.DeleteDirectory ?

Ludo Brands ludo.brands at free.fr
Mon Apr 30 14:31:46 CEST 2012


> 
> How to find out what went wrong?
> Maybe add parameter 'ExceptionOnError:boolean=false' and if 
> true then raise an exception with the file name.
> 

Good idea. I just kept it along the lines of the existing DeleteDirectory
that just failed without raising a exception. 

Ludo





More information about the Lazarus mailing list