PC Review


Reply
Thread Tools Rate Thread

Command line arguments do not show in Environment.CommandLine

 
 
**Developer**
Guest
Posts: n/a
 
      16th Aug 2005
'Under "Properties/Configuration Properties/Debugging/Command line
arguments" I inserted the string: /Debug

Also tried \Debug and Debug



But it doesn't show in Environment.CommandLine



Shouldn't it?





Thanks


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      16th Aug 2005
Hi,

This works

For Each s As String In Environment.GetCommandLineArgs

Trace.WriteLine(s)

Next



Ken

-----------------------------

" **Developer**" <(E-Mail Removed)> wrote in message
news:%235fy$(E-Mail Removed)...
> 'Under "Properties/Configuration Properties/Debugging/Command line
> arguments" I inserted the string: /Debug
>
> Also tried \Debug and Debug
>
>
>
> But it doesn't show in Environment.CommandLine
>
>
>
> Shouldn't it?
>
>
>
>
>
> Thanks
>
>



 
Reply With Quote
 
**Developer**
Guest
Posts: n/a
 
      17th Aug 2005
Doesn't work for me. I believe I'm doing something wrong when I add the
command line arguments.
Does the below appear OK to you?

>> 'Under "Properties/Configuration Properties/Debugging/Command line
>> arguments" I inserted the string: /Debug
>>
>> Also tried \Debug and Debug
>>
>> But it doesn't show in Environment.CommandLine
>>
>> Shouldn't it?
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with command-line arguments geezer Windows XP General 6 3rd Dec 2005 08:24 AM
Command line arguments =?Utf-8?B?anA=?= Windows XP Internet Explorer 0 10th Mar 2005 01:45 PM
Command Line Arguments Eric Dreksler Microsoft Access External Data 6 5th May 2004 10:33 PM
Command line arguments Paolo Nunberg Microsoft Word Document Management 4 27th Feb 2004 11:36 PM
Command Line Arguments for a Non Command Line Program? CMG Microsoft VB .NET 6 30th Dec 2003 10:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:52 PM.