Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing A Directory
Message
 
 
À
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:
00608983
Vues:
23
>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 VFP 7 (not tested)
lcDir = < ... >
SET SAFETY OFF
ERASE ( Adbs(lcDir) + "*.*")
RMDIR (lcDir)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform