Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the windows scripting engine
Message
From
08/04/2000 01:53:40
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00357135
Message ID:
00357186
Views:
20
>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?

Pull up any message by Ed Rauh - in his sig he lists a number of sites of interest for people using the WSH.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform