@echo off rem determine directory of script. may be different from current working directory for /F %%I IN ("%0") do set BIN_DIR=%%~dpI rem expect python.exe in the PATH python.exe %BIN_DIR%\create_jobs.py %*