Page 1 of 1

How can I make my program handle arugments!?

Posted: Fri Oct 30, 2009 9:50 am
by armixeight
Please help.
I really would like to know how to make my program read switches/arugments that can be lauched with batch programs. heres what I mean:

Code: Select all

My batch program:

MyProgram.exe -option1 setting1
I would like to know if it is possiable to be able to tell if the user has defined : setting1 after -option1.

Help would be greatly appriciated!

Re: How can I make my program handle arugments!?

Posted: Fri Oct 30, 2009 9:54 am
by Kaeru Gaman
take a look at ProgramParameter().