[Cmd] Add Python Path.cmd
@set SAVE_RESTORE_FILE_NAME="c:\Non-Python.sav"
@set PATH_ENV_REG_PATH="HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment"
@if exist %SAVE_RESTORE_FILE_NAME% echo The backup file already exists! & @goto end
reg save %PATH_ENV_REG_PATH% %SAVE_RESTORE_FILE_NAME% /y
reg add %PATH_ENV_REG_PATH% /v path /d "%Path%;C:\Python34;C:\Python34\Scripts" /f
:end
@pause
[Cmd] Remove Python Path.cmd
@set SAVE_RESTORE_FILE_NAME="c:\Non-Python.sav"
@set PATH_ENV_REG_PATH="HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment"
@if not exist %SAVE_RESTORE_FILE_NAME% echo The backup file not exists! & goto end
reg restore %PATH_ENV_REG_PATH% %SAVE_RESTORE_FILE_NAME%
del /f %SAVE_RESTORE_FILE_NAME%
:end
@pause