How to create a folder with name con.

Why cannot I create a folder with name con

Have you ever tried to create a folder with name con? If you have then you probably know that it cannot be done. And this happens because you can’t make folders or files that have “System Action” or “Device” references such

as con, nul and prn. And yes I by any chance did not meant conman :P.

Now there are two method to create a folder/file with name con. Both the methods are explained below – 

1) Method one: Using Command prompt –

  1. Open command prompt (cmd).
  2. Then type the line – (for example you have to create the folder in E: drive)
  3. C:>md \.e:con

  4. If you want to delete this folder then use the command –

  • C:>rd \.e:con:

2) Method two: Using num keypad and ALT key –

  1. Create a new folder (right click > new > folder).
  2. Now right-click on the folder, and click on rename.
  3. Now rename it as “con” BUT don’t press Enter key.
  4. Then hold down the Alt key and type 255 on the number pad and press Enter.

Howdy! I’m Apurva Nagar a Blogger, Technology Geek, and Coding Enthusiast. I simply love anything related to computer science. I am the Founder and Admin. of Electric Web – An online tech. magazine for geeks.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge