Hi all,
I'm developing a console program (program.exe) that takes file A and produces file B.
What I wanted to know is what is the convention for passing files as arguments on the command line?
In other words is it convention to do:
program.exe "C:folderfile.abc"
or is it convention to use the CWD:
cd c:folder
Program.exe file.abc
Both will require different code internally. I want to know this because I am developing a program and need to know which to use.
Also, is it convention to pass command line switches before or after the main input argument?
Thanks in advance.