1

Topic: Print redirection from command line

static void Main (string [] args) {Console. WriteLine ("test");} start parameter "> a.txt" I trace, after performance Console. WriteLine ("test") in a file appears "test". After an output the file disappears also is locked. That do I do not complete here?

2

Re: Print redirection from command line

Hello, Kaifa, you wrote: K> K> static void Main (string [] args) K> {K> Console. WriteLine ("test"); K>} K> K> start parameter "> a.txt" Parameter of start of that? "> a.txt" it not program parameter, and a special command in cmd. Launch the program from under command line and all earns as it is necessary.

3

Re: Print redirection from command line

K>> start parameter "> a.txt" _NN> Parameter of start of that? _NN> "> a.txt" it not program parameter, and a special command in cmd. In studio in project properties it is possible to set command line options _NN> Launch the program from under command line and all earns as it is necessary. After studio restarting earned. For a long time did not restart probably