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

Takeda Matsuki matsukitakeda99 at gmail.com
Tue May 8 08:57:10 CEST 2012


> And what about system-hidden files?
> Are they already deleted by DeleteDirectory?

Do we really need to deleting "hidden-file" as explicitly ?
I'm afraid it would be the worst things, since might the user (not the
programmer) didn't know, this is the part of system or not.

>
>  > One might also consider retuning the actual filename/foldername that
>  > could not be removed if things fail, so feedback to the user can be
>  > given.
>

Well, actually, By the result is enough since, the user might only
want to know, is process completed or not.
If failed, they can be check manually which file failed to be deleted.

Regards,
Takeda.




More information about the Lazarus mailing list