writing batch file

watts3000

Senior member
Aug 8, 2001
619
0
0
I have a lot of regesty tweaks that I like to perform on windows 2000 and xp boxes. I was wondering is there some sort of way to write a batch file that I can run off that will go in in perform all of these tweaks instead of me going into regedit and performing them one by one.
 

AndyHui

Administrator Emeritus<br>Elite Member<br>AT FAQ M
Oct 9, 1999
13,141
17
81
Simply put them together as one big reg file. Then you simply merge the data when needed. No need for a batch file.
 

watts3000

Senior member
Aug 8, 2001
619
0
0
Well how do I perform that process I've never written anything like that before. Do you have any tutorial links that show that.
 

AndyHui

Administrator Emeritus<br>Elite Member<br>AT FAQ M
Oct 9, 1999
13,141
17
81
Simply grab a reg file and then have a look at its contents.

If you don't have a reg file handy, say the ones like CoolBits.reg to enable the overclocking for nVidia cards, you can create one yourself using the registry.

Open up REGEDIT, find a key, and then go to File, Export Registry.

That will create a reg file for you. Have a look at the contents. Every reg file begins with REGEDIT4, and then has the key name, and then the contents. You should be able to create one of your own that contains all your registry changes.
 

zephyrprime

Diamond Member
Feb 18, 2001
7,512
2
81
Just go into each registry key that you're interested in in Regedit and export it to a file. Now take all the files you created and copy and paste them together into one big file. There you go!

There's progably also a way to do this with batch files but I don't know how. Doesn't windows include a help file for it's windows scripting language?