T
Thomas 'PointedEars' Lahn
[Cancel & Supersedes]
I was aware of that list, but I find especially the term "reserved word" in
that context misleading. Microsoft does not use it, they use "reserved
device name" instead.
I was not aware that it is not possible to create con.txt etc. on WinDOS (I
have tried to create COM3.txt in Wine and DOSEMU). Thanks for that.
However, I wonder as to the reason why `echo foo > COM3.txt' attempts to
write to COM3.
PointedEars
Scott said:Thomas said:^^^^^^^^^^^^^^^^^^
Pardon?
from Wikipedia article on filenames [1]:
| In addition, in Windows and DOS, some words might also be reserved
| and can not be used as filenames.[3] For example, DOS Device file:
|
| CON, PRN, AUX, CLOCK$, NUL
| COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9
| LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
I was aware of that list, but I find especially the term "reserved word" in
that context misleading. Microsoft does not use it, they use "reserved
device name" instead.
I was not aware that it is not possible to create con.txt etc. on WinDOS (I
have tried to create COM3.txt in Wine and DOSEMU). Thanks for that.
However, I wonder as to the reason why `echo foo > COM3.txt' attempts to
write to COM3.
PointedEars