How To Create/Delete A Folder Named “Con” In Windows

There are a few differences in Windows and Linux on how they use the names of their system variables. For example, a user in Windows can’t directly create a file or folder named “CON” because it is a system variable used by the system.

Although you can’t create the file, you can move a file named “CON” from the Internet or other media to Windows hard drive. You can also rename a file or folder to CON using ASCII characters. To rename a file/folder to CON, just follow the instructions below:

  1. Right click the file and select rename
  2. Now press Alt + 2 + 5 + 5 from the number pad of your computer
  3. Type CON from the keyboard and press enter

This will rename the file or folder to CON without any problems. The problem is that you will not be able to delete the file or folder directly using the context menu or the delete key.

To delete this folder, you will need to follow the instructions below:

  1. Open command prompt with administrative privileges
  2. Run the following command:
    rd /s ?”E:UsersUsmanDesktopcon”

removing the con directory in Windows

The /s switch will delete the folder con and everything inside it. ? is for telling Windows to stop parsing file names.

You can also use the following command to make a folder named CON using command line:
md. “c:UsersUsmanDesktopcon”

Interesting Reads Next:


  1. jaavaad
    February 27, 2019
  2. Percussionking
    March 10, 2018
  3. cali
    December 30, 2017
    • AD
      March 20, 2018
    • jeremy
      March 26, 2018
  4. sumay
    October 28, 2017
  5. G manikandan
    September 1, 2017
  6. Bob
    June 17, 2017
  7. Cuba Perpetual
    March 30, 2017
  8. Pawan Pandia
    July 30, 2016

Leave a Comment