- Jun
- 127
- 2
Add a concise example like this in help for redirection and put redirection, sysout, stdout, stderr and syserr indexes in help
rem redirect just stdout to prog.log
javac.exe *.java >prog.log
rem redirect both stdout and stderr to err.log
javac.exe *.java >& err.log
rem redirect stdout to prog.log
javac.exe *.java 1> prog.log
rem redirect stderr to err.log
javac.exe *.java 2> err.log
rem redirect stdout to prog.log and stderr to err.log
javac.exe *.java 1> prog.log 2> err.log
rem redirect just stdout to prog.log
javac.exe *.java >prog.log
rem redirect both stdout and stderr to err.log
javac.exe *.java >& err.log
rem redirect stdout to prog.log
javac.exe *.java 1> prog.log
rem redirect stderr to err.log
javac.exe *.java 2> err.log
rem redirect stdout to prog.log and stderr to err.log
javac.exe *.java 1> prog.log 2> err.log