Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete folder...API
Message
From
14/11/1998 18:16:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/11/1998 17:09:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157368
Message ID:
00157690
Views:
17
>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

For spectators with cheaper tickets (i.e. no WScript),
!deltree /y d:\moo

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform