Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive Remove Directory
Message
De
10/12/1999 18:30:42
 
 
À
10/12/1999 17:31:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00302015
Message ID:
00302064
Vues:
35
>Do you know if there's any Win32API equivalent of the DOS DELTREE command?

Depends on the API call - RemoveDirectory() expects to work on an empty folder and does not recurse, and DeleteFile() won't touch folders or recurse. SHFileOperation can recursively delete if requested, but requires a structure and some understanding of the API call. Some of it's features and flags are version-specific, and are tied to the Shell revision. Some of the name structures can be challenging to work with, but for most applications are not needed.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform