I have a python script that I want to be able to drag .exe files onto and have that python script process the files. I don't think Python easily supports this so I want to make a .BAT file which, for a file dragged onto it, gets the path of that file and then runs something like:
python C:\files\myPy.py [full path to dragged .exe here]
Basically, it just runs my script with the dragged file as an argument.
The part I am struggling with is simply getting the path of a dragged executable. Would this be %%f or %1?