Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete folder...API
Message
From
13/11/1998 17:11:44
 
 
To
13/11/1998 12:43:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157368
Message ID:
00157580
Views:
18
Hello Macer,

I appreciate your time and response very much.

Ken Weber forward me the following solution:

Hi Maurice,

This can be done very quickly using the Windows Scripting Host. On machines that have WSH installed, this can be done in one fell swoop in VFP:

FSO = CreateObject("Scripting.FileSystemObject")

if FSO.FolderExists("d:\moo")
FSO.DeleteFolder("d:\moo")
endif

Windows 98 has WSH built in. You can download it for other machines at: Microsoft Windows Scripting Host
Previous
Reply
Map
View

Click here to load this message in the networking platform