From: Thomas 'PointedEars' Lahn on 15 Apr 2010 17:20 [Cancel & Supersedes] Scott Sauyet wrote: > Thomas 'PointedEars' Lahn wrote: >> Scott Sauyet wrote: >>> Andrew Poulos wrote: >>>> Try naming a text file con.txt >>> Or aux.gif, or lpt1.pdf, or com3.html, or anything else using one of >>> the DOS reserved words. >> ^^^^^^^^^^^^^^^^^^ >> 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 -- realism: HTML 4.01 Strict evangelism: XHTML 1.0 Strict madness: XHTML 1.1 as application/xhtml+xml -- Bjoern Hoehrmann
First
|
Prev
|
Pages: 1 2 3 4 5 Prev: FAQ Topic - Why are my rollovers so slow? (2010-04-11) Next: Help with "location.replace" |