How To: Create a CON Folder in Windows Vista or in XP

Read this amazing fact:-

“An Indian discovered that nobody can’t create a FOLDER anywhere named as “con“. This is something pretty cool….and unbelievable . At Microsoft the whole Team, including Bill Gates, couldn’t answer why this happened!!!”

In Microsoft’s Windows operating systems like Windows XP or in Vista we cant create folders with names CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 directly from GUI. This is because, DOS device names are reserved words, and cannot be used as folder or file names.As a variable can’t be named as keyword so as the folder.When parsing a reference to a file or folder, Windows correctly checks for the case in which a single DOS device name is used in the path, and treats it as invalid. But in computers there is nothing is Impossible. We can create folders with these names in Microsoft Windows Vista or in XP.If you try to make a folder named “CON” (case insensitive)in Windows Vista or XP renames it back to what it was. So creating a new folder with the name “CON” just renames it to “New Folder”.The bug seems like a variable that got treated as a string or vice-versa. Trying to create the folder from a cmd prompt failed with an error “The directory name is invalid.”.This also works when you try to create a file called “CON”, or “CON.” “.CON” shows up the way it should.Moreover, if you try to use a reserved name to name a file such as a Notepad or Microsoft Word document you will generally receive an error message.

Is it possible to create a folder which is names as CON in Windows Vista or in XP.YES because it is still possible to create these folders using the command prompt.Here is the instructions to create it.

C:\>md \\.\e:\con

C:\>rd \\.\e:\con

NOTE:The folder can only be deleted from the command prompt.You cannot remove it by right-click delete

Anoher Method:

Create Folder While name Type CON and then stroke the key ALT+0160 on numeric key pad.(CON -> ALT+0160).Then you can create CON folder and other described folders.It means that when you type a folder name with simple ALT+0160 you can create empty folder.There is no name for a folder.Here we are using “CON ” (CON with space).This is the tricky logic here.

Note:- Actually you’ll have to press the number’s of the number pad or else it won’t work. That is, create a new folder, rename it Con but don’t press enter yet. Hold down Alt and type 255 on the number pad and then press enter. (for laptop users, press Fn key and press the letter keys k-i-i to make use of number pad).

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Popularity: 7%

Did You Like This Post? Then You Might Find These Also Interesting:

Written by Tony on January 14th, 2009 with 3 comments.
Read more articles on Windows Tricks.

Related articles

3 comments

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com Vincent
#1. January 15th, 2009, at 11:31 PM.

I have tried creating con files in dosbox (dos emulator) and in windows 3.11 which runs in dosbox both of them creats con files without problems.

Get your own gravatar by visiting gravatar.com Veeramani
#2. January 29th, 2009, at 11:43 AM.

I am unable to create a new folder – using Vista Business.

Get your own gravatar by visiting gravatar.com pankaj
#3. October 3rd, 2009, at 1:58 AM.

nice one it works good

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .