:: Change directory to the location of the python file cd /d "%~dp0" :: Run the Python file using its relative path python src/Polymath_UpdateDataTxt_with_Xlsx.py