xlnt/clean.bat
2015-11-02 14:22:13 -05:00

7 lines
232 B
Batchfile

@echo off
setlocal EnableDelayedExpansion
for /f %%i in ('where python') DO (set PYTHON=%%i) & goto :done1
:done1
@where python3 > nul 2>&1 && for /f %%i in ('@where python3') DO (@set PYTHON=%%i) & goto :done2
:done2
!PYTHON! clean