If you want to pass switches directly in, like: (I apologize if this is totally redundant and you already know this)
...just grab the arguments off main().Code:80initparse.exe switch1 switch2
argc contains the number of arguments passed into the program from the command line.Code:int main(int argc, char **argv)
argv is an array containing the arguments placed in the command line.
Note: argv[0] contains the name of the program (in this case 80initparse.exe) and the arguments start at argv[1]