Jonathon Lee (email@example.com) posted:
=[command] > file.txt 2>&1
=will redirect both stderr & stdout to file.txt
This will work on some Unix shells; FYI, on the C shell it's:
[command] >& file.txt
Of course, as James Bucanek pointed out, this is not going to
work on Windows 98.
Reverence the eternal.