I am currently trying to debug an application and I am passing debug command line arguments via Visual Studio when starting the application as this is the only way available to me to debug this.
When I use either the >
or <
symbols in the command line arguments they are simply ignored. This does not happen when the application is called via command prompt however.
I have tried using 'ampersand' gt; , but this did not work. Can anyone please advise?
EDIT: The code I'm using is
Processor.CommandLineArgs = My.Application.CommandLineArgs
An example of it being used is me passing "/output.txt />3"
My.Application.CommandLineArgs has 2 items, "/output.txt"
and "/3"
Processor.CommandLineArgs = My.Application.CommandLineArgs
An example of it being used is me passing "/output.txt />3"
My.Application.CommandLineArgs has 2 items, "/output.txt" and "/3" – Matt Feb 25 '19 at 15:29