Saturday, 1 November 2014

How to create a non-delete able folder ?

Hey friends, this post is all about how to make a folder that cannot be deleted.
Well, this might sound strange to your friends and they would say "No way!!".
 But you prove them wrong, nut.
Here are the steps to do it:

1.) Open Command Prompt (Windows Key+R and type cmd and hit enter).
   
2.) Type  cd\  (it brings command out to C drive).
     Now is the tricky part, you have to type this:
               md\\.\<YourDrivehere>:\con  (Replace YourDriveHere with your desired 
drive and you can add further path too.) 
   

3.) Now, ask your friends to delete it, and they will be amazed as folder cannot be deleted.
 Actually, this is due to the bug that windows cannot create a folder named con. So, it can`t delete a folder which it don`t think is created.
4.) However, if you ever want to delete this folder, Do remember that it won`t get deleted by normal deletion but rather by this command:    
rd\\.\<YourDrivehere>:\con (Replace YourDriveHere with your desired drive and you can add further path too.)                                                                                                             

1 comment:

Anonymous said...

Wow, it really works

Post a Comment