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: