Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing A Directory
Message
De
23/01/2002 10:36:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/01/2002 09:53:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00608966
Message ID:
00609013
Vues:
20
>I am writing a program that needs to check for the existence of a particular directory. It then needs to delete everything underneath that direcotry (to include other folders) and the very last step is to delete the directory itself.

In Windows Explorer, you can erase an entire folder with its sub-folders in a single step. I think there must be an API function that does the same, but I don't know the details.

How about posting the following question in the API section: "Is there an API or WSH function that erases an entire directory?"

Hilmar.
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform