diff --git a/cmd_windows.bat b/cmd_windows.bat index 0dc1bb8f..4a5f4f0e 100644 --- a/cmd_windows.bat +++ b/cmd_windows.bat @@ -2,10 +2,10 @@ cd /D "%~dp0" -echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end - set PATH=%PATH%;%SystemRoot%\system32 +echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end + @rem fix failed install when installing to a separate drive set TMP=%cd%\installer_files set TEMP=%cd%\installer_files diff --git a/start_windows.bat b/start_windows.bat index 99608eba..9af086e6 100644 --- a/start_windows.bat +++ b/start_windows.bat @@ -2,10 +2,10 @@ cd /D "%~dp0" -echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end - set PATH=%PATH%;%SystemRoot%\system32 +echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end + @rem fix failed install when installing to a separate drive set TMP=%cd%\installer_files set TEMP=%cd%\installer_files diff --git a/update_windows.bat b/update_windows.bat index 7d1c7eb1..4701ab48 100644 --- a/update_windows.bat +++ b/update_windows.bat @@ -2,10 +2,10 @@ cd /D "%~dp0" -echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end - set PATH=%PATH%;%SystemRoot%\system32 +echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end + @rem fix failed install when installing to a separate drive set TMP=%cd%\installer_files set TEMP=%cd%\installer_files