I want to create a shortcut for a command line tool, so that when I drag files onto it, it will pass the filename to the tool as part of the command line arguments (with quotations around it or whatever so that paths with spaces work), and then keep the terminal open after it has finished. Specifically:
cmd /k "C:\Program Files (x86)\SRecord\bin\srec_info.exe" "%<something goes here>" --guess
Is this possible? What goes after the percent sign? What's this called?