Monday, April 2, 2012

How to create a folder in the name “Con” in Windows

The windows is being a wellknown os in present days. In windows when you create  a folder in the name “con” in usual method of  creating a new folder, you will obtain error message from windows. Not only for the folder name “con” but also it is impossible to create the folders in the following name.
  1. PRN
  2. AUX
  3. CLOCK$
  4. NUL
  5. COM1,  COM2,  COM3,  COM4,  COM5,COM6, COM7, COM8 and COM9,
  6. LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and  LPT9 .
The following message will be provided by windows to you.
Why you can’t create the folders in the name mentioned above?
The reason for the error message is that they are reserved keywords used by DOS. These folders are already existing folders so when you try to create these folders , windows gets confused because of 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 an error message will pop up and your folder will again revert to name New Folder.
How to create a folder in the names mentioned above?
1.open CMD. For opening CMD ,simply enter term “cmd” in run and press enter.
2.  then type “MD \\.\E:\CON”. In this code E: is the drive we have selected to create the folder.You can change the place to create the folder by replacing E in the above code.
3.Now you can observe the folder with the name “con” in the drive which you have mentioned above.
Deleting the folder
1. If you delete the file created it will say that windows could not find the item.
How to delete the folder?
1. Open CMD and enter “RD \\.\D:\CON”. In this code, you have to enter the drive name where you have created the folder.
Note: In some instances, the cmd too can’t delete the folder In that instances you have to delete the folder using SafeMode.

No comments:

Post a Comment