Computing.Net > Forums > Windows 2000 > using regedt32 in a batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

using regedt32 in a batch file

Reply to Message Icon

Name: FonsD
Date: June 17, 2003 at 14:21:07 Pacific
OS: win2k pro sp3
CPU/Ram: xp1700 / 256mo
Comment:

Hello

does anyone know how to add a key in the windows registry using regedt32.exe in a .bat file ?
I'm writing a script and need it !!!
I also know that it is possible.

thanx,

FonsD




Sponsored Link
Ads by Google

Response Number 1
Name: robjeeves
Date: June 17, 2003 at 23:06:44 Pacific
Reply:

I have done this with regedit and I think the switch is valid

regedit /s \\server-location\regfile.reg

That line will apply the reg entry and surpress any prompts that normally flag when a request like this is made. Hope this helps


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: using regedt32 in a batch file

Setting vars in a batch file BY THE www.computing.net/answers/windows-2000/setting-vars-in-a-batch-file-by-the/36503.html

Saving a line in a text file as %G% www.computing.net/answers/windows-2000/saving-a-line-in-a-text-file-as-g/54650.html

Reading input from a batch file www.computing.net/answers/windows-2000/reading-input-from-a-batch-file/51608.html