Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete read-only files in VFP9
Message
De
11/12/2007 03:14:35
 
 
À
11/12/2007 02:49:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01274704
Message ID:
01274708
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform