>Hi all,
>
>I know this a bit off topic, but I figured someone here probably knows how to do it. So...I'm creating a .reg file to modify my registry. What I'm trying to do is modify entries under a key, so that it only has 2 string value entries. All I can figure out how to do is modify the values and add new keys. The key already exists. And there are too many string values there. I want to delete all of the string values under this key and add the two I want. Adding is no problem, but how do I delete?
I've never used a .REG file to delete keys, so if it -has- to be a .REG file, someone else will have to pipe in here. OTOH, you can delete registry keys and values programmatically, either using Win32 API calls (this is how the registry class available for download here on UT does it, as does the FFC REGISTRY class in VFP6) or via an Automation object (Wscript.Shell has a method to delete registry keys and key values; I'm not certain, but there may be similar methods in Shell.Application, and I'm on the road without a handy copy of MSDN...)
>
>TIA