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 mentioned 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, Windows 8 and Windows 8.1.

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

Comments

Popular posts from this blog

List of all USSD codes for Android phone. By TechFilz

         LIST OF ALL USEFULL USSD CODES FOR ANDROID   NOTE : Some of these codes can wipe/delete some or all data from your phone. So please use these codes on your own risks. 1. Information Serial Description USSD Code 1 To Know IMEI Number of Android *#06# 2 GPS System Test *#*#1472365#*#* 3 Service For Google Talk *#*#1472365#*#* 4 Reset Factory Date *#*#8255#*#* 5 Current Firmware of SmartPhone *#*#7780#*#* 6 Main Service Menu *#*#197328640#*#* 7 General Information And Battery Info *#*#4636#*#* 8 Power Button Change *#*#7594#*#* 9 Testing Mode *#0*# 10 Signal Status Service Mode *#0011# 2. System Serial USSD Code Description 1 *#7780# Factory Reset 2 *2767*3855# Full Factory Reset 3 *#*#7780#*#* Factory data reset 4 *#745# RIL Dump Menu 5 *#746# Debug Dump Menu 6 *#9900# System Dump Mode 7 *#8736364...

Command Prompt Tricks, Hacks & Codes

Command Prompt is one of the most powerful tools in Windows; but sadly, it is also the most ignored one. Things were not always like this; but with the advent of GUI based operating systems, people started feeling that computing through command based tools was boring. This ultimately lead the command prompt into obscurity.  However, the command prompt is not useless. In fact, it can be pretty useful. This article provides some excellent tricks, secrets and hacks that will make you realize that the Windows Command Prompt is not only useful but also a tool that you should definitely give more respect to. 1- Watch ASCII version of the Star Wars Episode IV movie Surprised yet? You can watch an ASCII version of the full Star Wars Episode IV Movie right in your command prompt window. Just open command prompt, type a small code and the movie will start playing immediately. Read the  complete instructions here .  2-  Create Matrix falling code effect Have you watched “Th...

How To Run C C++ Java Programs Without Any Software. [By TechFilz]

How To Run C C++ Java Programs Without Any Software C/C++ and Java are the also known as the mother of all the programming languages as this is one of the best Object Oriented Programming Language Of Computer World that plays great role in building out the real life project. So today in many school colleges of the world are teaching this language as a part of their studies. But you need a compiler and an interface to use these programming language. But not all the students have computer with them. That is why we are here to resolve the problem of  How To Run C C++ Java Programs Without Any Application . Yes you can do this without any need of any third party software in your PC. Just follow up the below method to proceed. How To Run C C++ Java Programs Without Any Software Run C C++ Java Programs Without Computer The method is simple and cool and with this you can run C/C++ and Java program in any smart device without having any software or compiler. Also this method ...