How do I set the global PATH environment in a batch file?
You can use the setx command:
setx PATH C:\WINNT;C:\WINNT\System32 /m
Setx is available in Windows 2003 and later, but can be downloaded in the Support Tools for Windows XP.
You can use the setx command:
setx PATH C:\WINNT;C:\WINNT\System32 /m
Setx is available in Windows 2003 and later, but can be downloaded in the Support Tools for Windows XP.