View Full Version : Deleting a value with a .reg document
Crasty
07-11-2000, 10:53 PM
I'm looking to delete a value in the registry with a .reg document. I just can't figure out how to do it. If anyone knows the command to enter into a .reg document, before a string, that would cause it to be eliminated from the registry, I would be most appreciative of the info!
Thanks,
Crasty
reghakr
07-11-2000, 11:07 PM
Actually a vb script or .inf file is easier.
The syntax is:
REGEDIT /L:system.dat_location /R:user.dat_location /D Reg_Key
where Reg_Key is the key you want to delete.
reghakr
POBrien
07-12-2000, 02:46 AM
If it's the value data it can't be done with a reg file. You can delete a subkey which will also delete any values and value data contained within the key. You can't delete only the actual value data using a reg file. As reghacker pointed out an .inf file is the way to go.
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.