1 2 3 4 5 6 7 8
@echo off where /Q py.exe IF %ERRORLEVEL% NEQ 0 ( python mach %* ) ELSE ( py -3 mach %* )