Here is my current batch file code:
As I mentioned above, I can already get the name of the batch file with the %0 parameter. What I would also like to do is to pass it the data with the %1 parameter so my batch file should just be something like:copy %1 mydata.dat
myapp.exe %0
The problem is I cannot figure out how to get %1 so I can copy it into a file/variable. How do I read the second parameter?myapp.exe %0 %1