Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting a directory and all its contents
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00907110
Message ID:
00907115
Views:
21
>How do I delete a directory and all its contects without going thru them one by one in foxpro?
>
>thanks.

The Windows Script Host
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oFolder = oFSO.GetFolder(GETDIR())
oFolder.Delete(.T.)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform