Command line arguments do not show in Environment.CommandLine

  • Thread starter Thread starter **Developer**
  • Start date Start date
D

**Developer**

'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
 
Hi,

This works

For Each s As String In Environment.GetCommandLineArgs

Trace.WriteLine(s)

Next



Ken
 
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?
 
Back
Top