Techshristi's Forum

Author Topic: Why can't you create a folder named con in windows or ms dos  (Read 1377 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr. Patel

  • Behind Every Sucessful Business Decision there is always a CMA!
  • Global Moderator
  • *****
  • Posts: 301
    • http://www.techshristi.com/
  • Education: BBA,MBA,CMA
In Windows, when renaming or creating a new folder, you are not allowed to write in 'con' (without the quotation marks). Why? Apparently no one seems to know why, not even Microsoft itself.


In MS-DOS, several special "device files" were available to aid in performing certain tasks, such as clearing the screen or deleting extraneous output from a program. In order to maintain backwards-compatibility, all versions of Windows up to and including Windows Vista will refuse to allow you to create a file with these "reserved" device file names. The following file names are reserved:

CON
PRN
AUX
NUL
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM8
COM9
LPT1
LPT2
LPT3
LPT4
LPT5
LPT6
LPT7
LPT8
LPT9
CON, incidentally, was a device file used to capture whatever was printed onscreen. :D

check out personally on your pc friends
« Last Edit: January 01, 1970, 05:30:00 AM by Guest »

Techshristi's Forum


 
Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18