Topic starter 13/07/2021 11:36 am
How can I create a simple BAT/CMD (Batch File) file that will run my python script located at C:\somescript.py?
So that I can execute Python script using BAT/CMD file directly.
13/07/2021 3:36 pm
c:\python27\python.exe c:\somescript.py %*
For Example:
cls SET script_path=%~dp0 cd script_path python "%script_path%test-script.py" %* pause
Neha liked