How Microsoft missed this!

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…

Share this post

Comments (5)

  • Anonymous Reply

    I think as this keywords for drivers definition and if u create New Folder has this names it may make ambiguous for operating System

    January 24, 2009 at 9:59 AM
  • Sarah Arram Reply

    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..

    January 30, 2009 at 2:02 PM
  • Saiful Alam Reply

    nice blog…
    visit also asp.net example

    January 31, 2009 at 8:27 PM
  • Omar Mostafa Reply

    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

    February 20, 2009 at 10:57 AM
  • Mohamed Moshrif Reply

    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

    July 10, 2009 at 1:51 PM

Leave a Reply

Your email address will not be published. Required fields are marked *