Filled Under: ,

Create 'CON' Folder in Windows

CON is a reserved keyword used by DOS (Disk Operating System), So it is not possible to create a folder named CON or Con. If you try to create a folder with any of these names Windows shows an error.

Here are some more keywords that are reserved by DOS:
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9

But you can force Windows/DOS to create this folder for you. You can use this trick to create a folder named CON or any other reserved keyword from above list. 
  
                                       Create 'CON' Folder in Windows
   

NOTE: It is advisable not to do so, as it might result in your system becoming unstable.Use this tutorial for knowledge purpose only.

Tutorial:

  1. Open Command Prompt.
    Press Win Logo Key + R. Then type 'cmd' and Hit Enter.

                                  Create 'CON' Folder in Windows
     
  2. Now type the following command:
    mkdir \\.\path of folder of your choice\RESERVED_WORD
    For Example, if you want to create a folder named CON on desktop then type
    mkdir \\.\C:\Users\UserName\Desktop\CON

    Change UserName with your username.
     
                          Create 'CON' Folder in Windows
      
  3. After typing the above command hit Enter & you will see 'CON' folder on your desktop.
     
                                                 Create 'CON' Folder in Windows

Deleting a Folder with Reserved Name(CON, PRN etc.):

                                         Create 'CON' Folder in Windows

You can't delete a folder with reserved name. So, to delete this folder type the following command in Command Prompt:
rmdir \\.\Path of Folder\RESERVED_NAME(Folder Name)
For example, If I want to delete the folder that i made above, i will give the following command:
rmdir \\.\C:\Users\UserName\Desktop\CON

                              Create 'CON' Folder in Windows

NOTE: Do not make this folder in your C: Drive or any drive that have OS installed. It might cause serious problems.

If you need any kind of help related to this trick then comment below. Also share your views related to this trick.


Advertisement
If you want more tricks delivered to you for free then you can join our Free Email Newsletter. You can also join us on Facebook and Twitter to get our latest posts in your feed.

0 comments:

Post a Comment

Have anything to add in this article? Just Comment below. Your comments and views are always appreciated.

For Off-Topic Help please refer to this page: http://www.windroidtricks.in/p/help-support.html