2021-01-12 20:57:33 +01:00
|
|
|
@echo off
|
|
|
|
|
2021-02-27 15:51:47 +01:00
|
|
|
set newPATH=%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\wbem;%SYSTEMROOT%\system32\WindowsPowerShell\v1.0;%LOCALAPPDATA%\Microsoft\WindowsApps;%TOOLS%;%TOOLS%\notepad++;%TOOLS%\git\bin;%TOOLS%\git\usr\bin;%ProgramFiles%\PureBasic\Compilers;%ProgramFiles%\FarManager
|
|
|
|
|
2021-01-12 20:57:33 +01:00
|
|
|
echo ####### %0 #######
|
|
|
|
|
2021-01-30 21:38:46 +01:00
|
|
|
echo setting GLOBAL PATH variable ...
|
2021-01-31 00:41:55 +01:00
|
|
|
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^
|
2021-02-27 15:51:47 +01:00
|
|
|
/v PATH /t REG_EXPAND_SZ /d "%newPATH%" /f
|
|
|
|
|
|
|
|
setx PATH "%newPATH%"
|
|
|
|
set PATH=%newPATH%
|
2021-01-30 21:38:46 +01:00
|
|
|
|
2021-01-12 20:57:33 +01:00
|
|
|
echo ####### %0 #######
|
|
|
|
|