Why can’t we Create a Folder by name CON

by gedet basumatary on April 20, 2008

in Computer tips and tricks

While browsing through the orkut community, I came across the discussion that folder can’t be name as Con. Then I started googling about Con and got some cool solution to it.

Also 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!!!

Source-lists.evolt.org

I am sure that many people still don’t know that they can’t create a Con folder in windows XP and in some other Operating System.

So Why cannot we create a folder by a name Con? What’s the reason behind it?

It’s pretty simple, Con is a reserved name from the early days from DOS, it stands for the “CONSOLE” I/O device, Since it is already used by the system. If we create one with some evil tricks then the system will get confused. There will be an ambiguity.

Check out other reserved words to understand what are all the reserved words using which you can’t create folders in windows.

Like Con, many other reserve words are there which we can’t create. They are

PRN – It stands for printer.

AUX – It stands for Auxiliary device.

COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9 – They stands for serial ports.

LPT1, LPT2, PRN – They stands for Parallel ports.

NUL - It stands for Bid Bucket.

Did I said that the Con folder can’t be created, what a big typo. Well friends, There’s a evil trick to create a Con folder. Here goes the evil tricks.

Open the Command prompt by Start->Run and type in cmd

Type MD\\.\\C:\CON

C is the drive path, you can change this drive to your own choice of path.

Now Open My Computer and browse through the path where you created the Con folder. surprising huh!!! yeah buddy, you have successfully created a Con folder.

Now try to delete the folder, it won’t get deleted by simple delete option. Better try this:-

To delete the folder, type RD\\.C:\CON

Another method to create Con folder without the use of the Dos.

Create a new folder. Name it Con and press Alt + 255 simultaneously.

Well Alt+255 stands for a blank character in ASCII so it allows you to use this folder name.

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

The next time when someone asks the question that why can’t we create a folder by name Con, say with confidence that it is not true…

{ 12 comments… read them below or add one }

jimm April 21, 2008 at 2:01 am

hi,dude this is awesome .now i can control my pc. thanks for the info . i hope more post like this..

Reply

gedet basumatary April 22, 2008 at 9:13 pm

Yeah dude, we can always make pc according to our benefit.

Reply

nitin mittal April 27, 2008 at 3:05 am

hi gedet this is nitin….nice reading that…really good…keep up the good work…actually cud u provide information as to log into windows xp without knowing the password..

Reply

gedet basumatary April 27, 2008 at 11:21 pm

Hi nitin, its great to see you here. Ya sure I will posts that stuffs within a few days. Keep visiting.

Reply

StuckS May 14, 2008 at 9:50 am

You can also make an invisible folder with Alt+255..
xD

Reply

gedet basumatary May 14, 2008 at 11:56 am

hi stucks, Alt + 255 doesn’t make folder invisible, it can create a nameless folder. You would like to read this
http://gedetbasumatary.com/create-a-nameless-folder/

huh, it is possible if you change the icon to invisible icon, m i right.

Reply

StuckS May 20, 2008 at 9:54 pm

that’s what i mean.
change the folder icon to invisible icon
and rename it to alt+255.. :D

Reply

venkatReddy September 10, 2008 at 7:08 pm

I was created this are all CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 on desktop

Email-ID-welcomelakki@yahoo.com

Phone #-9966397790

I am staying in hyd

Reply

Samit September 16, 2008 at 5:54 pm

V can create folder by name com0………………

Only com1 to com9 is not possible……….

Reply

Samit September 16, 2008 at 5:57 pm

I found how to create a folder or file named CON , LPT1 , COM1 etc…

STEP1: goto command prompt

STEP2: type in prompt e:\> “mkdir \\.\e:\con”

STEP3: verify by typing “dir \\.\e:\con”

STEP4: delete the file or folder “rmdir \\.\e:\con”

Reply

Mr.Z September 26, 2008 at 10:18 am

hi, this is ‘Z’ the trick is ok but after the name a blank character is also added and can easily be recognized. Search for another method so that everybody is proud of it.

Reply

gedet basumatary September 27, 2008 at 12:13 pm

@samit, hi buddy you said that you can create com0, try to create it, it can’t be done. Although I have already given the link http://msdn.microsoft.com/en-us/library/aa365247.aspx where they have mentioned that com1 – com9 can’t be created but still com0 can’t nowhere be created.

Thanks for sharing new methods to create Con and other files. Will update this tricks soon.

@Mr.Z, Can you please clarify.

Reply

Leave a Comment

CommentLuv Enabled

Previous post:

Next post: