Setting a system environment variable from a Windows batch file?
The XP Support Tools (which can be installed from your XP CD) come with a program called setx.exe: C:\Program Files\Support Tools>setx /? SETX: This program is used to set values in the environment of the machine or currently logged on user using one of three modes. 1) Command Line Mode: setx variable value [-m] Optional … Read more