I have done some reading about how to use command line params in your delphi app but they did not really tell a full story of how it's done so I am asking the experts for alil help.
Basically I have my program completely finished and I would like to give the end user the ability to go to the Start>Run box in windows and type something like this.
program.exe /param1 /param2 /param3 .......
and depending on what switches they put in the program would start in a different manner.
Lets take a cd burning program for example. In the program when a user presses ButtonA it starts the burning process and if they press ButtonB it checks how much free space is left on the cd.
So given the example above how would you add command line support so that if the user types in the Start>Run box
cdburn.exe /burn it will do the same as if he pressed buttonA
cdburn.exe /check it will do the same as buttonB
cdburn.exe /check /burn it would do both functions
Anyway thx for all replies in advance.