January 12, 2014

How To Create A Folder With Name Con

Posted by Unknown
Once I saw a post in some tech forum stating as follows
Nobody can create a folder with name "con" in your windows . Whole Microsoft team even Bill Gates could not answer this mystery.
folders

I was surprised and tried to create a folder with name con.In fact I was not able to create folder with name con and my windows is showing repeated error message as shown in below picture.
folder+with+name+con
I tried to create many times in different possible ways but could not create a folder with name con.So how to create a folder with name con? Keep Reading.

Why is it not possible to create a folder with name con?

Not only CON but also we cant create a folder with many words like   PRN, AUX, CLOCK$,  NUL  , COM1,  COM2,  COM3,  COM4,  COM5,COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and  LPT9 .
The reason behind this is that they are reserved keywords used by DOS.These folders are already existing folders so when you try to create these folders then windows gets confused because of ambiguity(repetition) where to write data ,either virtual con folder or real con folder.So when you try to create a folder with these names then a error message will pop up and your folder will again revert to name New Folder.

How To Create Folder With Name Con?

Here I will explain two methods by which you can create a folder with name con and the reasons behind those methods.

Method 1(This method is not correct):

1.Right click then choose option new folder.
2.Now type "con"
3.Wait its not over yet,now you have to hold Alt key and then press "0160".
4.Now you will be able to create a folder with name "con"
Is it actually a folder with name con?
No the folder which you have create is a folder with name con+one space.The key Alt+0160 will help us creating one space while naming a folder.So the folder which we have created is not actually folder with name con.

Method 2(Original Method):

1.Open your command prompt.
2.Then type "MD \\.\D:\CON"(Without quotes).Here D is the drive which I have selected to create the folder with name CON.You can replace D with C,E,F etc.
create+folder+with+name+con


But it is not recommended to create this folder with name con on your Desktop or C drive because your PC might become unstable.
Now you cant delete this folder normally.If you want to delete the folder then you have to delete it through command prompt.
Open Command Prompt and then type “RD \\.\D:\CON”(Without Quotes)
delete+folder+con


Note:In some cases they may not be able to delete this folder with name con from command prompt also.In such cases you have to delete this folder(con) through Safe Mode.

How we are able to create a folder with name CON?

We have successfully created our folder with name con by UNC(Universal Naming Convention) Path.
\\server\share\file_path
For more info on Universal Naming Convention just google it.
Well let us know if there are any other methods of creating a folder with name con.Please share your views through your comments.

0 comments:

Post a Comment