Simplest is from the command window. For STDOUT:
myscript.pl>myfile.txtFor STDERR
myscript.pl 2>myfile.txtIn reply to Re: How can I redirect STDOUT and STDERR from a program on WIN32?
by dannoura
in thread How can I redirect STDOUT and STDERR from a program on WIN32?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |