- %1 is what you use to specify the first command line argument
- I do this for all the command line programs I use: make a directory somewhere, preferrably under your c:\users\Andrius directory, put all the command line programs (and their .dlls, if needed) and put that directory in your PATH environment variable, accessed through the Control Panel → System → Advanced thing…
- ‘pause’ by itself should work as you intend.
- Consider installing MSYS2 and doing it all in bash…
1 Like