rosenblg@acf4.UUCP (05/04/84)
Nf-From: acf4!rosenblg May 4 11:04:00 1984 (at nyu) a (probably) simple question about redirection under dos 2.0: i've encountered a strange problem when i attempt to redirect standard input and/or standard output to a file, and then try to redirect it back. when i redirect standard input to a file, what should i do to redirect it back to the standard input device? i tried many things: we tried to make a duplicate handle for standard input, but that handle ALSO gets redirected to the file (as is documented). The documentation is lacking, to say the least, when it comes to redirection. what finally worked was to redirect standard input to the standard ERROR output device!! which doesn't make sense, since this is an OUTPUT device, not an input device. does anyone out there in 'micro land' have an easier way of doing this? or an explanation? thanks! Gary Rosenblum ( !floyd!cmcl2!acf4!rosenblg)