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?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!