I have read that you can add Registry keys and values using REG files but can't delete keys that way. Well, I discovered that in Windows 98, you can. Create a REG file like this: REGEDIT4 [-HKEY_CURRENT_USER\keyname] When you launch this reg file, the specified key will be deleted. Henri Straforelli Burnaby, BC, Canada In Windows 95, it's perfectly true that you can't delete a key using a reg file. In Windows 98, Me, NT 4.0, and 2000, however, you can. You simply place a minus sign at the start of the key name, inside the square brackets, as shown in your letter. This feature isn't documented, but it does work. Importing such a reg file will delete the specified key along with all its subkeys and values--all the more reason to examine every reg file carefully. If you want to delete just one value rather than a whole key, you'll still need an INF file. See the article "Remove Entries from the Windows 95 Registry Automatically" |