I was looking for a solution for this, but could not find it. Not sure if this is possible.
Can I go to the command line that passes a in the bat file that has the input file as arguments?
So, from the command line it will look like this:
C:\run.exe "C:\space folder\run.bat "C:\space folder\input.txt""
The problem is folders with spaces, so the quotation marks should be there.
source
share