in reply to Re^4: Removing keys in the registry (code)in thread Removing keys in the registry
Then just delete the key. (You can't delete a key if it contains subkeys but you can delete a key no matter how many values it has.)
- tye