Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting folders?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00638521
Message ID:
00638527
Vues:
22
>Hi Friends!
>
>I´m making a program that needs to clean the Internet Temporary Files and Cookies folder. I haven´t problems with the cookies folder but, how can I delete complete folders, the case of Internet Temporary Files? I mean, I don´t know the name of subfolders. I need something like DELTREE DOS command.
>
>Or, for example, a method to know the name of the subfolders to delete the files of each one.
>
>TIA!

I'd stay away from deleting system folders. You'd probably be better off just deleting the files. In either case, the Windows Script Host's Scripting.FileSystemObject, provides methods of deleting either. See the series of articles that Ed Rauh and I wrote on using the WSH from within VFP in the VFUG newsletter. The series began in September, 2000. The article covering this particular subject appeared in the November issue. They're available on-line at www.vfug.org
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform