Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site shell.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!ut-sally!utmbvax!shell!starr From: starr@shell.UUCP (Bob Starr) Newsgroups: net.micro.pc Subject: Am I in a pipe? Message-ID: <204@shell.UUCP> Date: Wed, 15-Aug-84 00:34:07 EDT Article-I.D.: shell.204 Posted: Wed Aug 15 00:34:07 1984 Date-Received: Sun, 12-Aug-84 01:41:01 EDT Organization: Shell Development Co. P&CS Dept., Houston TX Lines: 8 Does anyone know how to tell (within a program) if stdin and/or stdout are under redirection or pipes? I have seen this in UNIX, and figure there *must* be a way under MS-DOS, since it represents a "smooth bridge to UNIX"! Thanks, Bob Starr