Few Might be knowing that Windows Doesn't allow you to name a folder like "CON", But for those who don't know this, can try and create a folder and try and name it Con. Few of the other names which are not allowed are CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9.
Why folders with Above names are not allowed in Windows? Well these names are the reserved names, and so can't be used to name a file or a folder in Windows. But Apart from all this, today we are here to Share 2 ways to Create folder with name "CON" . I will try to make it easy and simple. just follow the below steps
Creating a Folder with Name "CON"
Method 1: Using Special Character:
Follow the Below steps to learn how to Create a folder with name CON using Special character Trick.
Step 1: Create a New folder, this is usually done by right clicking , New > Folder.
Step 2: Now Name it "con" but don't Press enter or don't click anywhere because it wont allow you to name it Con. Just hold Down Alt key and Press 255 from the numpad. and now Click Enter.
Step 3:
You will See no error message "The Specified device name is invalid",
We have successfully Create a folder with name Con Now. What it does is,
it just adds a SPACE after Con. and Hence we saw no message.
Method 2: Using Command Prompt(CMD)
We
can even Create a Folder with Name CON using CMD. Creating a folder
with name CON using CMD is not much know trick to many. today i will be
sharing it here. All we need to do is enter some commands. so let us see
how it is done.
Step 1: Open CMD, Search for CMD or Press Windows key + X , then select Command Prompt.
Step 2: Type in md\\.\\c:\\con Command and Press Enter
Open
Drive C and you will see a folder with name CON. Understand that you
can change the path by replacing c: with any other drive or path. what
ever path you enter there, the folder will be created at that particular
location.
Now this Created folder is
undeletable, you can not delete this folder by pressing Delete key
simply. This folder can be deleted by CMD only. and here is how to do
it.
Step 3: To delete the folder, type in rd\\.\\c:\con and Press Enter, Navigate to the Path to see there is no folder with name Con now, its been deleted
Again
here understand that, while Creating the Folder if you changed the
path, then while entering the command to delete the folder, you must
enter the same path.
So these were the two
methods i shared today to create folder with CON. Try it yourself, show
it to your friends, and let me know how it goes in the comment box
below.
No comments:
Post a Comment