Change the system path (permanently) in a batch

  • Thread starter Thread starter flahmeshess
  • Start date Start date
F

flahmeshess

When I do set PATH=%PATH%;new path

this change it not permanent. Is there a way to change the system
path permanently in a batch ?

Thanks for your advice.
 
flahmeshess said:
When I do set PATH=%PATH%;new path

this change it not permanent. Is there a way to change the system
path permanently in a batch ?

Thanks for your advice.

You have two choices:
setx.exe (Win2000 Resource Kit)
setenv.exe (ftp://barnyard.syr.edu/pub/vefatica/setenv.exe)

Both commands will set the path for all processes that you
start after running setx/setenv. They will not affect pre-existing
processes.
 
Back
Top