We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7463a7f commit e37c618Copy full SHA for e37c618
tools/msvs/find_python.cmd
@@ -2,7 +2,7 @@
2
echo Looking for Python 2.x
3
SETLOCAL
4
:: If python.exe is in %Path%, just validate
5
-FOR /F "delims=" %%a IN ('where python 2^> NUL') DO (
+FOR /F "delims=" %%a IN ('where python.exe 2^> NUL') DO (
6
SET need_path=0
7
SET p=%%~dpa
8
IF NOT ERRORLEVEL 1 GOTO :validate
0 commit comments