How to setup run from any directory (Windows) Setup defalt program to python interpreter for '.py' files Add '.py' to PATHEXT system variable Add <path/to/project/directory> to system PATH variable After this you can execute imgbkp from any directory