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:
- Open the command prompt:
- 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:
- Make a new folder (Right-click -> New -> Folder)
- Right-click the newly created folder and select “Rename”.
- While holding down the ALT key, type 0160 from the numeric keypad (ALT+0160) and release the ALT key.
- You can now type any name of your choice in the folder name, such as “con”, “prn”, “nul”, etc. and press Enter.
- That’s it…….