I have a batch file that calls a *.reg file and appends the contents to the registry of the machine. The batch files reads:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyServer"="10.150.0.1:3128"
The batch file reads:
@ECHO OFF
REGEDIT /s Z:\updproxy.reg
:END
The batch file calls the *.reg file and if I remove the /s informs me that a change is about to be made, but even when I select Ok or Yes the update is not applied to the registry?
Any ideas?
Thanks
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyServer"="10.150.0.1:3128"
The batch file reads:
@ECHO OFF
REGEDIT /s Z:\updproxy.reg
:END
The batch file calls the *.reg file and if I remove the /s informs me that a change is about to be made, but even when I select Ok or Yes the update is not applied to the registry?
Any ideas?
Thanks