Strictly speaking, standard streams are available if they are redirected or handled by a parent process. For example,
- using cmd.exe:
wperl script.pl <input.txt 2>>errors.log | more
- using VBScript:
MsgBox CreateObject("WScript.Shell").Exec("wperl script.pl").StdOut.ReadAll()
(on some versions of Windows (XP?), redirection doesn't work without explicitly specifying an interpreter (wperl), even if the script extension (.pl or .wpl) is associated with it). However, it is not possible to directly use the device CON and redirect to/from it.