B
Ben Samuals
I need to run an executable for all of our users. The exe can run on its own
without any user intervention. However, I need to run this from a logon
script. What I came up with was using reg.exe to dump a key with its data,
the output looking like:
C:\appdev\Registry>reg query
"hkcu\software\microsoft\windows\currentversion\int
ernet settings" /v autoconfigurl
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\software\microsoft\windows\currentversion\internet
settings
autoconfigurl REG_SZ http://pac.us.proxy.myserver.com:4200
0
Then checking for the correct proxy server autoconfigurl line. The question
is how could I take a part of the http://pac.us.... and set it as a
variable? If that was not true variable=pac then run the exe...
Thx...
without any user intervention. However, I need to run this from a logon
script. What I came up with was using reg.exe to dump a key with its data,
the output looking like:
C:\appdev\Registry>reg query
"hkcu\software\microsoft\windows\currentversion\int
ernet settings" /v autoconfigurl
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\software\microsoft\windows\currentversion\internet
settings
autoconfigurl REG_SZ http://pac.us.proxy.myserver.com:4200
0
Then checking for the correct proxy server autoconfigurl line. The question
is how could I take a part of the http://pac.us.... and set it as a
variable? If that was not true variable=pac then run the exe...
Thx...