How to make an undeletable folder
April 1, 2009 by Ivan
Filed under Articles, Windows Tips
It probably happened once, that someone deleted a folder ,which is containing a few hundred files and was very important.If you’d like to avoid anything similar happening in future.You can protect your important folders by making them undeletable. Here is simple tip, which can help you.
1)Open cmd ( Type in Run option cmd or navigate to All Programs->Accessories-> Command Prompt)
2)In cmd change to the directory that you want,I change to E.Just type E: and enter.If you don“t know how change directories with Cmd, here is post where I wrote about it
3)Type md \lpt1\\ and press enter, the folder will now in your E:

4)If you try to delete or rename it, it will appear error message

How to delete undeletable folder?
Just go to cmd Navigate to the directory and type in rd \lpt1\\
Best of PC Hacks
- Best Free Antivirus Software
- Free Hacking Tools
- 42 Sites Where To Submit Your Tutorials
- Free Logo Generator
- How To Become The SYSTEM User In Windows XP
- Free Blackberry Software







param mohite on Fri, 3rd Apr 2009 10:05 pm
it is not competable with ntfs partition, folder can be deleted, i have tryed and suceed
Ivan on Sat, 4th Apr 2009 12:02 pm
@param mohite
Thanks a lot for the useful information
Sairam on Fri, 24th Apr 2009 6:54 am
Thanks .. Going to test it now … and Can I share this information to others ? Let me know ..
Waiting your earliest reply ..
Ivan on Fri, 24th Apr 2009 2:46 pm
@Sairam
Sure,you can share all information from PC Hacks , but , please don’t copy the full article,
Check this http://hackspc.com/copyright-policy/
Hank on Sun, 10th May 2009 6:45 pm
it didnt work on my xp. i tried and the folder was deleted. so i tried again, and still it was deleted, so it wont work
Eriq on Sat, 30th May 2009 5:38 am
“md” command is creating a folder at a specified location.
so…. you are not changing its directory, you are making creating folder with the same name in other directory…
I’ve tried it
How to make an undeletable folder
April 1, 2009 by Ivan
Filed under Articles, Windows Tips
but it is not working
thanx
johny on Sat, 6th Jun 2009 6:16 am
like it
Sakura on Fri, 21st Aug 2009 11:48 am
its not working ..it states error occurred while processing
ant on Wed, 23rd Sep 2009 10:26 am
i like your helpful mind and thank you very much .
sai on Mon, 28th Sep 2009 2:22 pm
Hi…….Thanx for the tip and what is the use of the lpt1 option…Will u explain plssssssssssssssssssss
thaufeeg on Thu, 5th Nov 2009 5:30 am
it can’t work. but it can delete it from cmd
KurtisLowedown on Tue, 2nd Feb 2010 8:54 am
Ok, so the creation of the folder is easy. But when I enter the eraseure command, “rd \lpt1\\” (minus the quotes, obviously) it tells me the directory is not empty. When I hover over the folder in the windows window, it says there are 6.00kb worth of something there, but there are no files in the folder, hidden or otherwise. They were removed. So, wtf? I can’t delete it, and I need to erase my tracks. I can’t move the directory, either, for some reason unknown to me. WTF?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!
Tausif on Wed, 24th Feb 2010 4:32 pm
Thanks, thats really good
Sachin on Sun, 14th Mar 2010 5:49 pm
good good :)
aylian on Tue, 16th Mar 2010 10:44 am
it is not working
wajid on Fri, 2nd Apr 2010 10:54 pm
i check it. it is best for saving our personal docement
and thanks for giving tip.
seedrom193 on Thu, 8th Apr 2010 10:18 am
wow, cool thank you but i have a queation if i format my computer . the folder still ?????!
Anshu on Fri, 9th Apr 2010 7:57 am
hey i did the same in windows xp . but thr folder could be deleted easily :-S
rahul jain on Thu, 22nd Apr 2010 2:12 pm
CAn anyone please tell me the correct method to make undeletable folder..
HackGod on Fri, 23rd Apr 2010 6:44 am
This makes sense only with the lpt1 folder name. No other folder name works. You have to keep the folder name same. It does work on ntfs Partiton. It’s of no use because u cant copy or change anything in the folder. Still.. hack appreciated brother.
man88 on Sun, 30th May 2010 1:13 pm
hi thnx 4 the information but do we can change the name of the undeletable folder
man88 on Sun, 30th May 2010 1:14 pm
i mean by the cmd
Pradumna on Mon, 31st May 2010 10:14 am
awsome tip buddy…its working ….Thanks!!!!!
Yckho on Sun, 4th Jul 2010 5:10 am
There is one that i think is best but too bad, work on win98 and ME only… just go to command prompt then rename your folder like for example I made a folder named Joy:
C:/ren joy joy(then press Alt+255) and enter..
there in can’t be open and can’t be deleted… you can try any numbers but make sure to remember it otherwise sorry and goodbye…
to open the folder just rename again
C:/ren joy(then press Alt+255) joy
there it is open again
Shakti on Sun, 25th Jul 2010 3:13 pm
It reailly work
& so funny trik