Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting all files in a folder
Message
 
À
20/04/2016 19:12:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01635106
Message ID:
01635125
Vues:
63
>Is there a way to delete all files in a folder? Preferably with the user not having to confirm deletion..
>
>Many thanks!
lcSafety = SET("SAFETY")
SET SAFETY OFF
ERASE *.*
SET SAFETY &lcSafety
BUT that will not erase subfolders and file in them if you have some :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform