Hi,
You need to have a main method defining a string[] as parameter
public static void Main(string[] args)
{
if(args.Length > 0 && args[0] == "/?")
// write help info
}
any word entered after your program name will be found in 'args'
If you are using Visual Basic, you can also use My.Application.CommandLineArgs any time.

Signature
Happy coding!
Morten Wennevik [C# MVP]