Feb 21, 2017

Windows Doesn’t Allow You To Create Folder Named ‘CON’, PRN, NUL, etc. Here Is How You Can Still Create It

It is one of the names reserved for Windows only.


ou can’t create folders in Windows OS having CON, PRN, NUL, etc. as the name. This is because these folder names are reserved for use in specific system tasks. You can use the command prompt, or blank space code to create folders with reserved names in Windows.

In Microsoft Windows operating system, you can’t create folders that have their name from one of these words: 

Also, you can’t add file extensions with these names. For instance, you can’t create NUL.mp3 folder.

The reason is these keywords are reserved for some tasks to be performed by the OS. It uses these words to create folders from time to time and store data in them for tasks related to printing and other functions. We creating a folder with the same name would confuse the system.

The history of these reserved Windows folder names dates back to the time when Microsoft was known for its DOS operating system. Since then, no change has been made to these names. You might’ve read a similar story on Fossbytes, why the first drive letter is C?

You can still create CON, PRN folders
Although it’s hard to name a Windows folder as CON or PRN directly, a workaround is possible. Before proceeding further, I would like to tell you that Windows also doesn’t allow a folder name only comprising of a blank space.

You can create a folder without a name or one of the reserved names using a key combination.

Create a new folder, or click the rename option for an existing folder.
Delete all the text written in the name field.
Press and hold the ALT key and type 255 on the “Numpad”. As you enter the key combination, you won’t see anything typed in the name field.
After this, type the desired name and press Enter. Or don’t enter any name to create a Windows folder without a name.


The key combination ALT+255 is a code used to introduce a blank space in Windows. You are just adding an extra invisible character to create a folder name CON or PRN.

Create CON, PRN folders using the command line?
For most Windows users, command prompt or CMD is probably the last mile solution for a problem. But it’s effective. You can use the command prompt in Windows to create folders with reserved names.

1. To open CMD, right on the Start button and click Command Prompt.
2. Now type the following command to create a folder name CON on the desktop (Copy the path to your desktop):

md C:\Users\fossBytes\Desktop\con\

3. Press Enter. You can create other reserved Windows folder using CMD. Also, you can change the location where want to create the folder.
4. Delete the CON folder:

rd C:\Users\fossBytes\Desktop\con\

Although we can create the folder successfully, it is still inaccessible. Also, it can only be deleted using the command line. I would recommend not to use the command-line method.

Did you find this helpful? Drop your thoughts and feedback.

authorarticle: Master3395


keywords: Microsoft, windows10, folder

Previous Article
Next Article

Page 1 of 505  >  >>

Check out OnePlus 8! They will reveal on April 14


Mar 31, 2020 | Category: General | Comments

Completely raw in black with HDR10 + and 120Hz.

read more…

Slack to integrate Microsoft Teams calling feature


Mar 30, 2020 | Category: General | Comments

The popular team collaboration software maker has seen a spike in use as remote working becomes more common in the wake of the Covid-19 outbreak.

read more…

Sina Weibo Suffered Data Breach Exposing 538 Million Records Now On Sale


Mar 29, 2020 | Category: General | Comments

Chinese microblogging giant Sina Weibo has now made it to the news owing to a security incident. Weibo suffered a data breach exposing 538 million records. What’s concerning is that the stolen data is now for sale on the dark web.

read more…

Page 1 of 505  >  >>