Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete reg keys with subkeys present
Message
From
07/02/2001 18:38:46
 
 
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00473586
Message ID:
00473689
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform