Command arguments

  • Thread starter Thread starter SK
  • Start date Start date
SK said:
how can i get the arguments given in the command line?

Use a Main method which takes an array of strings as its parameter. The
arguments will be in there.
 
SK said:
how can i get the arguments given in the command line?

Environment.GetCommandLineArgs() or Environment.CommandLine

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top