How Microsoft missed this!
Nobody can create a folder anywhere named as “con” , “PRN” , “LPT1” , “LPT2” , “LPT3” , “COM1” ,”aux” , “COM2” or “NUL” on any Windows Operating System
This is something pretty cool…and unbelievable… At Microsoft the whole Team, including Bill Gates, couldn’t answer why this happened! It is a standard device name in DOS. You cannot use these too
In addition, the following file names are pre-assigned to certain devices.
CON:
Console (screen display for output and keyboard for input)
PRN:
Printer. This is usually LPT1.
LPT1:
The first parallel printer/port. The printer device may be used only as an output device.
LPT2:
The second parallel printer/port (for output only).
LPT3:
The third parallel printer/port (for output only).
COM1: or AUX:
The first asynchronous communications adapter port.
COM2
The second asynchronous communications adapter port.
NUL:
A nonexistent device to avoid the generation of output from programs.
Try it out yourself…
Comments (5)
I think as this keywords for drivers definition and if u create New Folder has this names it may make ambiguous for operating System
I don’t think they missed it, it makes a lot of sense to me, those names are reserved! its that simple I don’t find it confusing at all..
nice blog…
visit also asp.net example
Yes u r right
but and I have the solution for this problem
if any one want it please contact me
Omar Mostafa
Software Developer
Those names are put for bw comp. with older system.
Although you can enforce the creation of such folders by doing it as if you’re doing them through network path