Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete reg keys with subkeys present
Message
De
07/02/2001 18:38:46
 
 
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00473586
Message ID:
00473689
Vues:
20
>Anyone know how to delete reg keys with subkeys present? I have some work to get rid of all franchise keys and I have to enumerate all sub keys killing them one at a time and I would much rather prune higher on the branch.

It varies according to OS; RegDelete() behaves differently under Win9x and WinNT derived OSes. Your best bet is to use the Wscript.Shell's RegDelete() method, or read the docs regarding the API calls implementing registry deletions.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform