Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting all files in a folder
Message
 
To
20/04/2016 19:12:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01635106
Message ID:
01635125
Views:
65
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform