Registry Edits via .bat files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Cutting a long story short, i want a batch file that changes IE's Proxys when used..

i know where the key is [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

but how do i write a batch file that edits the proxy key

I have little knowledge in writing batch files.
 
For Internet Explorer assistance:

Please visit the Internet Explorer newsgroup experts:
news://msnews.microsoft.com/microsoft.public.windows.inetexplorer.ie6.browser

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

------------------------------------------------------------------------------------------------


| Cutting a long story short, i want a batch file that changes IE's Proxys when used...
|
| i know where the key is [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
|
| but how do i write a batch file that edits the proxy key?
|
| I have little knowledge in writing batch files.
 
T said:
Cutting a long story short, i want a batch file that changes IE's
Proxys when used...

i know where the key is
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings]

but how do i write a batch file that edits the proxy key?

I have little knowledge in writing batch files.

The easiest way is to set the proxy the way you need and then EXPORT
that key from regedit.exe. You can then double-click the resulting .reg
file and merge those keys into another system. You can edit .reg files
with notepad.exe to delete keys that you don't need in your .reg file
that got exported from regedit.

Or you can run regedit or reg from a .bat file and use that tool to
merge a .reg file into the registry. reg includes options to load other
hives into the registry for easy editing.
 
Back
Top