Andy MacRae
2004-10-08 09:38:01 UTC
Hi,
I am writing a script to update an annoying package that our company
is forced to use.
One of the things this script must do is to update the System Path
registry key for the Environmental variables.
It needs to append to the end of it but leave the rest of the path
alone. I need to roll this out to 400 machines, of which most have
different path variables so I cannot just blank it and insert a new
one with all the usual stuff + the bit I want to put in.
Can reg.exe append to the end of the
hklm\system\currentcontrolset\control\session manager\environment\path
value? Or will I need to use a VBS script or something?
Cheers
Andy
I am writing a script to update an annoying package that our company
is forced to use.
One of the things this script must do is to update the System Path
registry key for the Environmental variables.
It needs to append to the end of it but leave the rest of the path
alone. I need to roll this out to 400 machines, of which most have
different path variables so I cannot just blank it and insert a new
one with all the usual stuff + the bit I want to put in.
Can reg.exe append to the end of the
hklm\system\currentcontrolset\control\session manager\environment\path
value? Or will I need to use a VBS script or something?
Cheers
Andy