You cant however rely on that the execution path is in that string.
The user might have changed directory prior to start your application:
cd c:\dev
YourApp "An Argument"
or he might not:
c:\dev\YourApp.exe "An Argument"
but you are probably aware of that already.
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Brian Scott" <Br***@MosaicSoftware.co.uk> wrote in message
news:d3*******************@news.demon.co.uk...
Frisco,
That is what i was using prior but using the Environment variable seems
better as we can also see the execution path. I was trying to debug
invalid
user enterred arguments.
Thanks
"FriscoSoxFan" <ju**@kreusch.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com... string arguments = String.Join(" ", args);