Mail Archives: djgpp/1997/03/14/01:38:17
Eli Zaretskii wrote:
> Nope, it's "COMx" and "LPTx" (no colons). The short program that I
> posted in this thread also fails for "LPT1:", but works for "LPT1".
>
> Generally, DOS disallows file names with a colon (except as part of
> d:pathname), so it's not surprising that the colon doesn't work in
> device names.
This is interesting, because originally with DOS, the intention was the
opposite. A, B, C, D, etc. are all devices; so are CON, PRN, LPT1, COM1,
etc. The idea is if you want to refer to these devices, you suffix them
with a colon. In the case of devices which contain filesystems, you can
including further stuff to demonstrate where on the device to find them.
Is it the BIOS itself that rejects the colons, or what?
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -