Thursday, 8 October 2015

Creating Con Or Non Deletable Folder With CMD

In Windows you can not create a folder with name con or can not rename a folder to con. This is because it is a variable name used by Windows programming. Other variable name includes lp1, lpt2, lpt3 up to lpt9, aux. So Windows can not allow you to make a folder with this name. But with the help of dos command we can create a folder with such name.


1. Press Windows button and run CMD as administrator.

2. Type the command with this syntax "drive name: ". This command allow you to enter in the drive in which you want to create a folder. For example d: and press enter.

3. Now enter the following command

md con\ and press enter.

4. After that your folder is created in specified drive.
con folder cmd command

con folder


Deleting con Folder

 You can not delete such folder manually by using Windows. To delete this folder type the following command in the command prompt.

rd con\

No comments:

Post a Comment