Home How To Guides How To Create and Remove folder with Windows Disallowed Names

How To Create and Remove folder with Windows Disallowed Names

In windows you can’t create the folder with name CON . Not only CON you are not able to create the folders with the following names CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9, etc.,

But there is a way to create folders with the above listed names.

How To Steps:

1.Open Command Prompt
Use Start->Programs-> Command Prompt [or] Start-> RUN and type cmd
2. Then type md .c:con [where c:con create con folder in the C: directory home path, you may specify any location where you want to create the directory]
-md is nothing but a make directory command
3.Press Enter the folder will be created in the concerned folder.
4.Also you are not able to delete the folder created using above steps by normal deletion method[by pressing delete key]
5.To delete the folder again go to command prompt and type rd .c:con [where c:con delete con folder in the C: directory home path, you may specify any location where you have created the CON directory]
-rd is nothing but a remove directory command

Hope now you will create any folder with the windows disallowed names.

Ashok Udhayanhttps://www.techtolead.com
Ashok Udhayan is the Founder and Chief Editor at TechToLead. He is a Software Engineer by education and a Blogger by Passion. He loves latest technologies, Gadgets, Android and anything related to tech.

Latest Posts