Easily create undeletable folder/unrenamable folder in your windows pc using command prompt
Have you accidently delete a folder that holds your valuable data. You may find it in your recycle bin or you can recover it by using data recovery software recuva. I already wrote article on how to recover deleted files from a memory stick, you can use same method in recovering from your pc.If you want to make undeletable folder to reduce these jobs, yes here in sajeetech.com i am going to introduce a trick that make an undeletable or not renamable folder that add more value to your valuable data. We are using command prompt to create the undeletable folder. It is not very difficult, and will end the trick in just 4 or 5 steps. In this technology world, learn technology information with sajeetech.com.
Idea behind the trick of creating undeletable folder
The core idea behind this trick is what we are using some reserved keyword as a folder name and this cannot be deleted unless there is no permission from the command. Yes, there are a lot of reserved keywords in any programming languages. Here we are using the reserved keywords of the command prompt and using this keyword as name of the directory or folder which is undeletable folder.
Windows uses some keywords in its programming language and we are using those keywords to create undeletable folder.
The reserved keywords are lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9, con, aux etc.
We are using D.O.S (Disk operating system0 programming with the help of command prompt to carryout this.
Also one thing that we can only create such undeletable folder in any drive other than C: drive since C drive is the root directory of any windows system.
Yes lets look at the steps that we are going to follow. I will give the pictorial steps to this tutorial.
Step 1: First click start button from the task bar
Step 2: In search programs or files type the word “run” that will give you run window.
step 3: Type the word “cmd” in run window. and press enter or click ok button
So that command prompt window opened as a window.
and it is like this
and the command prompt is now directing the root directory and it in C:\Users\INTEL
step 3: and i already said that we cannot create undeletable folder in the root directory of system, so you have to open any other directory to create undeletable folder. So here i am selecting D: drive. This can be just typing D: and press enter button so that the D:\ is opened.
step 4: Ok we are now close to create undeletable folder. Next we are urged to use one command which is simple. and that comment is md which stands for manage directory.
you have to write one reserved keyword that i listed such as lpt1-9, aux, con any of this followed by “cd” command.
here i am writing the command in D:\ that we are opened as
step 5: D:\md con\ and press enter
look the screenshot
increase laptop battery life
yes now you have created undeletable folder named “con” go to D drive and look con folder is there.
and when you are trying to delete or rename the folder the box will appears saying that “could not find this item, no longer located in this D:\” in item not found window.
yes, now you have successfully created undeletable folder.
How to Remove the folder
we cannot delete or rename the folder. we can delete or remove only by through command prompt.
To this go to command prompt and D drive
in command line D:\rd con\
yes we have used “rd” command, remove directory command. This will remove the directory from the drive.
How is the trick. Try this simple trick and it is very easy anyone can do. If you like this article on creating undeletable folder. please share this to your friends.