Subj : redirection of stdout. To : Jasen Betts From : Winston Smith Date : Sun Mar 24 2002 07:05 am >> (4dos/msdos:) is there a way (using 4dos) to detect from inside a >> batch file if stdout has been redirected (to a file/pipe). WS> Under MS-DOS using a pipe creates a temporary file in your WS> designated temporary directory that uses three dollar/currency WS> signs as a naming convention. It would be fairly easy to scan for WS> that. -> so how do I access the name? I believe it is :.$$$ for example, C:\TMP\*.$$$ or C:\WINDOWS\TEMP\*.$$$ ....but I haven't tried to crash MS-DOS I/O in a while, now. .... WWW.WERS.ORG, WERS Streaming Audio, 22:00 UTC/GMT, "The Playground" .... WWW.WERS.ORG, Saturdays, Sundays, 22:00-00:99 UTC/GMT, Playground --- ViaMAIL!/WC v1.60d * Origin: Chowdanet (401-331-5587) telnet://chowdanet.com (1:323/120) .