Skip to main content

Make Undeletable, Unrenamable Folders

                      Have you ever wondered how you can make a folder which neither can be deleted nor be renamed. Well, if you have, then you have come to the right place. With this trick, you will be able to create folders in Windows which cannot be renamed or deleted.

Basic Concept
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. Some of them are con, aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9.

Make Undeletable and unrenamable folders

A Test
To test this concept, make a new folder in Windows and try to give it a name same as any keyword suggested above.

Result
Windows will not rename your folder to any of the keyword given above.

Trick
So the question arises, how can we make a folder with a keyword as its name? The solution to this problem is included in Windows itself. As we know that Windows has evolved from D.O.S.(Disk Operating System), its commands can be used in Windows. You can use D.O.S. Programming in Windows to create a folder with a keyword as its name using the steps given below:-

  1. Click 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.

Now Windows will create an undeletable, unrenamable folder in the drive you entered in Step 3. However the folder can be renamed to another keyword using Windows Explorer.

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.

Try it yourself to create one such folder which can neither be deleted nor be renamed.

Comments

Popular posts from this blog

Change your Windows 8 Bootlogo

THIS IS HOW TO CREATE A CUSTOM BOOT LOGO! Confirmed Working on 8.1 As well! Step 1: Take ownership of your Bootres.dll using the following commands from an Administrator Command Prompt: takeown /f C:\Windows\Boot\Resources\bootres.dll icacls C:\Windows\Boot\Resources\bootres.dll /grant yourusername :f Note that you need to replace "yourusername" with your username... Step 2: Make a folder on your C: drive and call it bootlogo, and copy bootres.dll into it. Step 3: Make a folder called Logos (To edit your images in) Step 4: Your going to need to download some stuff into your bootlogo folder: www.coderforlife.com/projects/win7boot/extras/#signer http://dl.7-zip.org/7z930-x64.msi <--- Install This www.bome.com/products/restorator/downloads <-- I used the full version, however I don't know if the free version will work. ^^^RESHACKER WILL NOT WORK. LEAVES DLL CORRUPT^^^ This has been suggested as a replacement f...

A List Of 8 Free Wi-Fi Hacking Tools For You!

  ...

Idea Smart Wifi 3G Dongle To Offer Blazing Fast Internet For Home Or Office Users

                              Committed to catalyzing mobile broadband penetration in India, India’s 3rd largest and fastest growing mobile operator, Idea Cellular, has launched Idea Smart Wifi, a 3G Wifi dongle which offers fast and reliable internet connectivity for home users, SOHO (Small Office Home Office) and business professionals. Idea 3G Smart Wifi enables internet sharing with as many as 10 devices simultaneously such as laptop, handset, tablet, game player, digital camera, music player etc. Smart Wifi is a convenient option for small business enterprises, entrepreneurs and other professionals for their mobile broadband requirements for multiple devices. Idea 3G Smart Wifi dongle offers 21.6 Mbps download and 5.76 Mbps upload speed and is equipped with an inbuilt Wi-Fi antenna which can also run on minimal power sources like lap...