> Aha, thanks for that, smartass!! Whoa. Not a nice thing to say. Richard answered your question well. If that's not the answer you were looking for, maybe you need to ask a better question.
> -----Original Message----- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Richard Birkby > Sent: 29 May 2002 11:21 > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] C# CommandLineArgs > > class ConsoleTest { > public static void Main(string[] args) { > System.Console.WriteLine("{0} {1}", args[0], args[1]); > } > } > > or use something like Chris Sells excellent command line parser from the > Ghengis project[1] > > Richard > [1] - http://www.sellsbrothers.com/tools/genghis/ > > > -----Original Message----- > > From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf > > Of Wayne Lee > > Sent: 29 May 2002 11:10 > > To: [EMAIL PROTECTED] > > Subject: [DOTNET] C# CommandLineArgs > > > > > > All, > > > > Anyone explain I can write a console application to accept command > > line args, eg: > > > > Consoleapp.exe /l:user /p:pass > > > > And then retrieve these via the app? I can see it's something to do > > with the EnvDTE to get the commandlineargs property but the > > documentation doesn't go into too much depth. > > > > Since I've joined this list, yes I admit, I've become lazy but I tend > > to find the knowledge on this list more helpful than MSDN these days > > > > :-) > > > > Thanks all > > > > Wayne Lee You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
