From aba12e73f4a4a6c6b84d9f99682bc78540de7d71 Mon Sep 17 00:00:00 2001 From: briangladman Date: Wed, 13 Nov 2013 12:24:21 +0000 Subject: [PATCH] Minor change to Python detection in the Visual Studio build to avoid spurious error message --- Mkfiles/vc10/genperf/run.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mkfiles/vc10/genperf/run.bat b/Mkfiles/vc10/genperf/run.bat index 775f1d0a..f67049da 100644 --- a/Mkfiles/vc10/genperf/run.bat +++ b/Mkfiles/vc10/genperf/run.bat @@ -1,14 +1,14 @@ cd ..\..\.. @echo off -for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Applications\python.exe\shell\open\command`) do (set _my_=%%f %%g) +for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Applications\python.exe\shell\open\command 2^>NUL`) do (set _my_=%%f %%g) goto try1%errorlevel% :try10 goto ok :try11 -for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Python.File\shell\open\command`) do (set _my_=%%f %%g) +for /f "usebackq tokens=1*" %%f in (`reg query HKCR\Python.File\shell\open\command 2^>NUL`) do (set _my_=%%f %%g) goto try2%errorlevel% :try20: