G
Guest
Guest
Archived from groups: microsoft.public.windows.server.general,microsoft.public.windows.server.scripting,microsoft.public.windowsxp.customize,microsoft.public.windowsxp.general (More info?)
What would be the best way to set a bunch of system-wide environment
variables(I have about 1000 lines) from a script instead of GUI?
I tried using 'setx /m' but it becomes to cumbersome.
e.g:
setx /M PFI="c:\Program Files"
setx /M SRO="%SystemRoot%"
setx /M S32="%SRO%\system32"
setx /M P0=%PFI%;%SR%;%S32%
....
etc,etc,etc...
Thanks
What would be the best way to set a bunch of system-wide environment
variables(I have about 1000 lines) from a script instead of GUI?
I tried using 'setx /m' but it becomes to cumbersome.
e.g:
setx /M PFI="c:\Program Files"
setx /M SRO="%SystemRoot%"
setx /M S32="%SRO%\system32"
setx /M P0=%PFI%;%SR%;%S32%
....
etc,etc,etc...
Thanks