>You must change the file attributes first. See
How to change file attributes programmatically FAQ #15763
>
>>Hi all
>>
>>DELETE FILE cannot work on read-only files, but I need to use wild-cards to delete read-only attributed files. Any suggestion or should I revert to DOS command to unattrib and delete?
>>
>>Thanks
RENAME YourReadOnlyFile.whatever TO NUL
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up