Done better redirection help

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
 
  • Like
Reactions: Charles G
Nov 2, 2008
231
2
Is it javac's fault or tcmd's fault. Just because it comes to a console, it does not mean it comes from STDIO.
 
Similar threads
Thread starter Title Forum Replies Date
H Done Better documentation Suggestions 2
L Declined No better than cmd.exe (scrolling, long lines, resize, selection) Suggestions 7
P Done Better update information Suggestions 1
O Done Unlimited startup tabs, Better scroll-refresh and CR in toolbar Suggestions 7
S Done Better PLUGIN support Suggestions 0
Peter Murschall Done Redirection Switch ANSI / UNICODE Suggestions 2
J Declined Here documents redirection Suggestions 3
S Declined Enhanced redirection Suggestions 0
Joe Caverly Link in Help File to Blog Articles Suggestions 0
Joe Caverly Declined Update FFIND in Help File with example for ORing expressions to search for Suggestions 6
R Declined Help system improvements Suggestions 11
x13 Done Typo in help file (including PDF) | v24.02.46 Suggestions 0
R User-created extended help (probably in a text file): DIRHISTORY /?x Suggestions 10
R Done Add to Pause Help text re indenting the prompt Suggestions 0
N Done Update help (more) and new tutorials Suggestions 8
Joe Caverly Declined Help File "See Also" Suggestions 4
rps Declined Remember the Help "Select Topic" window settings Suggestions 4
C Done Help suggestion TCMD Suggestions 3
M Declined A sticky thread to report HELP issues Suggestions 0
rconn Declined Help file organization Suggestions 0
rconn In the Help tab let the user add links either to files or web pages, with an icon & label. Suggestions 0
R Documentation CLARIFY START /C HELP Suggestions 0
R Done Just a Help addition - Alias name can use variables Suggestions 1
R Done Just a Help addition - Set can indirectly set variables Suggestions 0
Alpengreis Declined Any chance for quick help with all command-options? Suggestions 3
Roedy Done Augmented Help Suggestions 0
T Done Help for SET to include @ExecStr[] hint Suggestions 1
S Declined Plugin Help Suggestions 2
S Done Command and help enhancement, esp. ALIAS, FUNCTION and SET Suggestions 2
Charles Dye Done v11 suggestion: plugin online help interface Suggestions 0
Charles Dye Declined Help file request Suggestions 2
S Done Debugger window HELP pulldown menu Suggestions 3
E Done move @unquote, @unquotes in help docs Suggestions 0

Similar threads