I want to create and program .exe that can be launch from windows command line.
That program will require to read a string argument like a specific COM port.
Let say: ReadBarCodeScanner.exe COM13
My program will return what was scanned from the bar code reader on the command line window.
How can I create a program that read an argument?
Solved! Go to Solution.
I find the example changeversion which use the argument from the main(int argc ,char *argv) to retrieve string from the command line.