Command prompt is still very much popular in experts or an intelligent people. There are lots of command about which we are not knowing. Here i posting one trick to lock your folder permanently and ofcourse it is free.
Steps to lock folder:
1) Go to command prompt.
2) Now locate the path where your folder is present.
3) Now use this command: attrib +h +s xxx
Here xxx indicates folder name.
Steps to unlock folder:
1) Repeat step-1 and 2 as above.
2) Now use this command: attrib -h -s xxx
Using attrib command you can set or clear the archive attribute. Function of each is shown below.
+ : Sets an attribute
- : Clear an attribute
H : Hidden attribute
S : System attribute
When the +S option will use, this flags the file as a command file used only by DOS. So your folder is invisible in your windows directory even if your folder option setting is in shown mode for hidden files and folder as shown in below image.
Suggested by: Chirag Ghoniya
If you like this then please share this with your friend...







0 comments:
Post a Comment