TIP:How to make an undeletable folder
It might be happened, that someone deleted your folder accidentely, which contains your very important files
If you want 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 ( navigate to All Programs->Accessories-> Command Prompt)
2)In cmd change to the directory that you want, If you want to" E "drive.
Just type E: and enter.
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 respective directory where the folder is located and type in
rd \lpt1\\
it will delete that folder without any error message .
If you like this post please Leave a comment ... Thank you....
Re: TIP:How to make an undeletable folder
Re: TIP:How to make an undeletable folder
Re: TIP:How to make an undeletable folder
Re: TIP:How to make an undeletable folder
one question!
is this file protected from software like unlocker too??
Re: TIP:How to make an undeletable folder
Quote:
Originally Posted by planetoja
one question!
is this file protected from software like unlocker too??
NO !!
I have tested with folderlock , this method only makes the folder undeletable !!!
Re: TIP:How to make an undeletable folder
Hi Ron
I tried...fine, fine, fine. This works just fine.
But it seems only the "lpt1" stays put and if I create in another name I can delete it without any probs
I mean right from the explorer...Why is that? can you please throw more light on this one
Re: TIP:How to make an undeletable folder
Quote:
Originally Posted by Sbs
Hi Ron
I tried...fine, fine, fine. This works just fine.
But it seems only the "lpt1" stays put and if I create in another name I can delete it without any probs
I mean right from the explorer...Why is that? can you please throw more light on this one
Hi Sbs
Thanks for your comment...
I want to tell you that it is one of the secret/fact in windows xp that you can not create or rename folder as "lpt1" . but we are using command prompt i.e dos environment to create and delete folder with such name...
Window does not recognise such folder name, therfore it becomes undeletable in windows environment... I have some more example instead of "lpt1"
as "con" , "lpt2", "lpt3" ....."lpt9"
Try it !!!!!!
Re: TIP:How to make an undeletable folder
:)Thanx a lot Ron.. I used your tip in Vista - works fine...Now I'm moving my important files there :)
Re: TIP:How to make an undeletable folder
thanks SBS for your valuable comments !!!
Re: TIP:How to make an undeletable folder
This can be done for LPT1 and similar names in DOS
as these are DOS internal keywords
i.e. these names LPT ..., and other similar names from DOS
LPT is Port name generally given and used for Printer (can refer to Configuring Printers in DOS 6.22)
Like wise COM is also a port name for COM devices it also not delete able and rename able.
Thx
Re: TIP:How to make an undeletable folder
That is smart....... I'll be using it thanks!
Re: TIP:How to make an undeletable folder
Thanks Ron. It works like a charm