Create 'CON' folder in command prompt

Previously, I posted about device files. We cannot create a folder named with those device file names. 
But there is a way to create such folders using command prompt… 


Just follow the steps:

1. Open command prompt  Start -> Run -> cmd
2.  I planned to create the folder in K: location so I’m going to enter
    md \\.\k:\con  in command

    This will create a folder named ‘con’ successfully. 



But, you cannot delete it by normal ways like hitting the delete key or shift + delete.
If the folder contains anything, deleting by shift+delete or delete key will delete all the files in the folder alone. Leaves the folder as it is..

3. To delete the folder, open command prompt and enter
    rd \\.\k:\con




This command removes ‘con’ folder.




I hope this was interesting and helpful.. :) 



Related posts, 

Comments

Post a Comment

Popular posts from this blog

The ALT codes

How a webcam works?