back to top

How to Create a CON Folder in Windows 7, 8, 10, and 11

Follow Us
placeholder text

You can create any folder name such as “con”, “prn”, “nul”, “com1”, “com2”, “lpt1”, etc. but have you attempted to create a CON folder without success? In Windows, can such folders be created

Whenever you rename a folder in Windows XP, the name automatically changes back to “New Folder”. If you try to rename the file in Windows Vista or Windows 7, you will receive an error message saying “The specified device name is invalid”.

Why is this happening? The above names represent the internal devices of the operating system, and so we cannot create folders with them. Yes, you can still create these folders using some simple methods as described below:

Create Con Name Folder in Window

There are two Method to Cerate any folder name such as “con”, “prn”, “nul”, “com1”, “com2”, “lpt1”, etc. Both method are Easy to create such as folder on your window

  • Using Command Prompt
  • Using ALT Key and Numeric Keypad

1. Using the Command Prompt:

Using the command prompt, here’s how to create the “con” folder:

  1. Open the command prompt:
  2. Type in the command prompt (For ex. to create a folder named “con” in the c: drive) md\\.\\c:\\con Note: “C:” change the directory based on your Choice
    For example, “Con” it could be “prn”, “nul” “com1” “com2” “lpt1”.

2. Using ALT Key and Numeric Keypad

It is also possible to accomplish the same task using the Alt key and the Numeric keypad. To accomplish this, follow these steps:

  1. Make a new folder (Right-click -> New -> Folder)
  2. Right-click the newly created folder and select “Rename”.
  3. While holding down the ALT key, type 0160 from the numeric keypad (ALT+0160) and release the ALT key.
  4. You can now type any name of your choice in the folder name, such as “con”, “prn”, “nul”, etc. and press Enter.
  5. That’s it…….