Command Line Parameters

  • Thread starter Thread starter Mark
  • Start date Start date
Mark said:
How can I use (get) command line parameters in my application?

They are passed into Main as string array:

static void Main(string[] args) { ... }

You can also obtain them using Environment.GetCommandLineArgs().

Cheers,
 
Mark,

I think I misunderstood you and you needs Joerg's answer.

Cor
 

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