I need some help passing a variable to a batch file, specifically the path of a file. My batch file looks something like this:
net use lpt2: serverdesignjet
copy /b filename.plt lpt2
net use lpt2: /delete
It would be great if users could just drag a .plt on to this batch file and have it run. Currently the have to move the .plt file and rename it, which as you can imagine isn't very fast.