I would like to quick modify a simple .bat to insert an input file of choice in the executing string. Namely, the simple .bat string is:
java -cp myapp.jar infile
Wonder if there is a smart way to send the infile from Win explorer (or other file manager) to such string, without doing it via cmd-line-typing everytime? Besides, java might need additional controls, so in a properly prepared .bat the only variable will be the infile-name at end of string. Thanks for a thought in advance!