Subj : redirection of stdout. To : Jasen Betts From : Winston Smith Date : Wed Mar 20 2002 03:01 am RE: redirection of stdout. BY: Jasen Betts to All on Sun Mar 17 2002 16:43:09 > (4dos/msdos:) > > is there a way (using 4dos) to detect from inside a batch file if stdout > has been redirected (to a file/pipe). Under MS-DOS using a pipe creates a temporary file in your designated temporary directory that uses three dollar/currency signs as a naming convention. It would be fairly easy to scan for that. I am not sure how 4DOS handles output redirection. I think that it can redirect Standard Error? .... WWW.WERS.ORG, WERS Streaming Audio, 22:00 UTC/GMT, "The Playground" .... WWW.WERS.ORG, Saturdays, Sundays, 22:00-00:99 UTC/GMT, Playground --- Synchronet+SBBSecho v2.00 * Origin: Pony's Corral BBS telnet://thecorral.darktech.org (1:101/805) .