boegehol@az33.informatik.uni-stuttgart.de (Harald Boegeholz) (02/10/90)
In article <9673@spool.cs.wisc.edu> thaler@shorty.cs.wisc.edu (Maurice Thaler) writes:
That's funny, I have a os2.bat file for DOS that reads
ECHO y|c:\os2\boot /dos
and it works just fine.
... and it leaves a 3 byte temporary file in your current
directory whenever you use it. That happens because DOS has no
real pipes; it first stores all standard output of the first program
in a temp file and then reads that file into the second program.
In this case, the second program boots...
Since I found this out, I use
C:\OS2\BOOT /DOS < C:\BATCH\Y
with a file named Y containing (guess what...)
Harald Boegeholz