How to make undeletable, unrenamable folder

Undeletable folder

  1. lick on Start.
  2. Click on Run. Type in "cmd" without quotes.
  3. In the Command Prompt Window that opens, type the name of the drive you wish to create your folder in the format <drive-name>: and press Enter. e.g. If you wish to create the undeletable folder in D drive, type "D:" without the quotes. Note that the folder cannot be created in the root of C:/ drive (if C: is your system drive).
  4. Type this command- "md con\" or "md lpt1\" without the quotes and press Enter. You can choose any of the keywords given above as the name of your folder.
  5. Instead of "con" or "lpt1", you can also write con, aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9. 

How to delete undeletable folder

Although it is not possible to manually delete the folder, you can delete the folder by typing "rd con\" or "rd lpt1\" in CMD 

Comments

Popular Posts