01-09-2019 10:57 AM
Hi,
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.
01-09-2019 02:20 PM
I find the example changeversion which use the argument from the main(int argc ,char *argv[]) to retrieve string from the command line.
08-17-2020 09:54 AM
Handle the argc and arg v variables in the main(int argc, char**argv) function that is the entry point into you software.