On Mon, 2 Jul 2012 17:42:12 -0500, "Marty Stanquist"
Post by Marty StanquistIf we test RDOS, FreeDOS, OpenDOS (or DRDOS), and MS-DOS 6.22, will this be
sufficient? I was also having trouble redirecting both stderr and stdout to
a file in MS-DOS 6.22. Did Microsoft not support constructs like "command >
file 2>&1" until Windows NT?
When I upgraded to OS/2 Warp 4 I created an "MS-DOS 6.22" program
object because Lantastic 8 had worked in such a session under OS/2
Warp 3.x. Unfortunately, it did not worked as well with OS/2 Warp 4.
Actually, that may have been a good thing: it prompted me to use
OS/2's own networking, which has definite advantages over Lantastic
running in a single DOS session.
For those unfamiliar with this capability, this object runs an MS-DOS
6.22 command-line session (using an installation of MS-DOS 6.22 on the
same computer), not an MDOS session. IIRC, this involves creating a
floppy with some special drivers in config.sys that OS/2 can "boot" to
produce such a session, and then converting it to an image file.
Testing with the line indicated:
command file 2>&1
doesn't actually work (it, in fact, hangs the DOS session) -- but it
does create an empty file named "&1".
Perhaps if you provided an example that should actually work, and
explain what it is supposed to do, I could test it. I'm afraid my
imagination no longer extends to this sort of thing.
If necessary, I can reboot my OS/2 machine into genuine MS-DOS 6.22
and try it there.
--
"Nature must be explained in
her own terms through
the experience of our senses."