Some time you have important data to store for that you need such a folder which neither can be deleted nor be renamed. This trick will fulfil your wish. Lets see ….
If you want to make such a folder then you can create a folder with the following names only - con, aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9.
The basic concept behind this trick is the use of Keywords. Keywords are reserved words in any programming language that cannot be used as names of variables. Windows also uses certain keywords in its programming. Above are one of them.
But to make this folder you have to use command prompt.
- Click on Start.
- Click on Run. Type in "cmd" without quotes and press Enter.
- 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.
- Type md con\ and press Enter. You can choose any of the keywords given above as the name of your folder.
- Now Windows will create an undeletable, unrenamable folder in the drive you entered in Step 4.
Deleting the Folder
Although it is not possible to manually delete the folder, you can delete the folder by typing "rd con\" or "rd lpt1\" in Step 4 instead of "md con\" or "md lpt1\".
Windows Compatibility: This works on Windows XP, Windows Vista, Windows 7 and Windows 8.