Can you create a CON Folder in Windows? If how can?

Can you create a CON Folder in Windows? If how can?

Guys, have you ever tried to create a CON folder or any folder with names such as “con”, “prn”, “nul” “com1” “com2” “lpt1” etc. but failed? Is it impossible to create folders with such names in windows?

Actually the answer is NO and YES. NO because, when create a new folder and try to rename it to any one of the above specified names, you know what happens! In Windows XP the folder name automatically changes back to “New Folder” no matter you try to renaming it any number of times. Where as in case of Windows Vista and Windows 7, when you try to rename the file you get an error message saying “The specified device name is invalid”.

So, we in deed can’t create the folder naming “CON” anywhere in the computer unless and until you have altered the settings using command prompt. Not only CON there were many other key words with which we can’t create the folders.

Here are others:

CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9,
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9.

Keywords and Their corresponding Functions:

Reserved Keywords Function
CON Keyboard and Display
PRN System list device, usually a parellel port
AUX Auxiliary Device,usually a serial port
NUL Bit-Bucket Device
A:-Z: Drive Letter
COM1 First Serial communications port
COM2 Second Serial communications port
COM3 Third Serial communications port
COM4 Fourth Serial communications port
LPT1 First Parallel printer port
LPT2 second Parallel printer port
LPT3 Third Parallel printer port

YES because it is still possible to create these folders using some simple methods as explained below:

  1. Using the Command Prompt:

Here is a step-by-step procedure to create the “con” folder using the command prompt:

  1. Go to the command prompt:
  2. Type in the command prompt (For ex. To create a folder in the C: drive by name: “CON”)

C:\>md \\.\c:\con

Create-a-Folder-Named-Con-Step-4

NOTE: “con” can be replaced by any other names such as “prn”, “nul” “com1” “com2” “lpt1” etc.

  1. In case if you wish to delete the folder, use the following command:

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

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

  1. Using ALT Key and Numeric Keypad:

You can also use the Alt key and the Numeric keypad to accomplish the same job in a much easier way. Here is how you can do it:

  1. Create a New folder (Right-click -> New -> Folder)
  2. Once the new folder is created, right-click on it and select the option “Rename”.
  3. Hold down the ALT key and type 0160 from the numeric keypad (ALT+0160) and release the ALT key.
    1. Now, the folder name should go blank so that you can type any name of your choice such as “con”, “prn” “nul” etc. and press Enter. That’s it, you’re done!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s