PDA

View Full Version : Batch Editing



visualbyte
10-26-2000, 09:48 PM
Help i am trying to set up a batch file to edit the following key
HKEY_CLASSES_ROOT\gif\shell\open\command Data c:\windows\dv\docveiw.exe
this will be used on other machines i have no knowledge of the syntax reqired please help could you lay it out in idiot term so i can copy it many thanks..jason

jstolz
10-27-2000, 02:59 AM
I see you've spent a lot of time researching this...

You don't and can't use batch files to change registry values--you can use a .reg file if you don't need to delete a key or value.

I suggest you open regedit, navigate to any key that calls a file using the (default) value, export it, and then examine it using a text editor. You can then create a reg file that you might call ChgGif.reg

To call that reg file from a batch file use:

regedit ChgGif.reg