Command line parameter question
- From: "jcane" <james.cane@xxxxxxxxx>
- Date: 12 Sep 2005 02:42:17 -0700
Hi
Is it possible, in C#, to retrieve the entire literal string passed to
a console application as a command line?
I'm aware of the String array on Main, but this parses the string to
remove quotes, break arguments on spaces, etc. For legacy reasons, I
have to produce an application which accepts command line arguments
with a syntax which doesn't fit within this model.
I'm also aware of the Microsoft.VisualBasic.Interaction.Command()
function, which works and which I can use, but what I'd like to know
is, is there a more elegant approach?
Thanks
.
- Follow-Ups:
- Re: Command line parameter question
- From: jcane
- Re: Command line parameter question
- Prev by Date: RE: Outlook RSS Feed Add-In, Required .NET Framework, Fails with error
- Next by Date: Re: Command line parameter question
- Previous by thread: development environment shuts down
- Next by thread: Re: Command line parameter question
- Index(es):
Relevant Pages
|
Loading