From 29727c6502701b960c2c299fa63f502b3ef3476c Mon Sep 17 00:00:00 2001 From: jllllll <3887729+jllllll@users.noreply.github.com> Date: Mon, 8 May 2023 23:49:27 -0500 Subject: [PATCH] Fix Windows PATH fix (#57) --- cmd_windows.bat | 4 ++-- start_windows.bat | 4 ++-- update_windows.bat | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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