Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the windows scripting engine
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using the windows scripting engine
Miscellaneous
Thread ID:
00357135
Message ID:
00357135
Views:
46
I want to use the windows scripting engine to delete directorys. I don't want to use RD because then I have to delete all the files first. So I have the code working:

lofs = CreateObject("Scripting.FileSystemObject")
lofs.deletefolder(lcDirectory)

and it works fine.

Is there anything else I should be aware of. Specifically do I need to install anything on the clients machine to make sure this code runs?
Rip Ryness
International Falls, MN
Next
Reply
Map
View

Click here to load this message in the networking platform