How can I make my program handle arugments!?

Just starting out? Need help? Post your questions and find answers here.
armixeight
New User
New User
Posts: 9
Joined: Sun Sep 13, 2009 4:34 am

How can I make my program handle arugments!?

Post 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!
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

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

Post by Kaeru Gaman »

take a look at ProgramParameter().
oh... and have a nice day.
Post Reply