@echo off REM This is how you run it from the command line. REM You don't actually need this script! SET RUN_KOANS=python.exe contemplate_koans.py REM Set this to your python folder: SET PYTHON_PATH=C:\Python26 set SCRIPT= REM Hunt around for python IF EXIST "python.exe" ( SET SCRIPT=%RUN_KOANS% ) ELSE ( IF EXIST "%PYTHON_PATH%" ( SET SCRIPT=%PYTHON_PATH%\%RUN_