Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting a non empty folder
Message
From
22/09/2004 10:45:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00944002
Message ID:
00944992
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>amazing, rmdir has a /S to remove the dir tree. /q not to ask if you're sure

So, perhaps that is the reason that deltree is no longer required. The problem is, if you need to support different operating systems (the os() function can help).

Some have suggested WSH, but that is not guaranteed to exist on all machines either: some turn it off, to avoid contracting certain viruses.

API would be another alternative - perhaps the safest, in the sense that it is available on all machines - but I don't know the details. Note that even in the case of the API, there are some differences between Windows 95 and Windows NT.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform