Windows tricks, Linux tricks, Windows hacks, Mobile hacks, Notepad tricks, Comment prompt tricks, Facebook Hacking ,gmail hacking ,SQL injection and much more ,please visit regularly to get update.  

Feb 21, 2011

LOCK A FOLDER IN WINDOWS WITHOUT FOLDER LOCK

          In this trick i will show you how to lock a folder in windows without the need of any folder lock software. It is easy and anyone can do it. follow the below steps.

              1. Open command prompt  (you can open it by  start -> accessories -> command prompt)
                        or type  cmd  in run box.

                   2.  type  attrib +s +h "directory" in the command prompt.
                         the directory is the original directory of the folder you want to lock.
          example ::  if the folder is in D drive and the name is hello then type attrib +s +h d:\HELLO (there should be a space between these elements - attrib ,+s, +h and the directory)
                     Now you can see that your folder has disappeared from the original directory. The folder has hidden but its not like the normal hiding of a folder in windows. It would not available even from the folder option.

                      Now see how we can unlock or show that folder
                      3. Open command prompt and type   attrib -s -h "directory" 
                           Here the directory is the original directory of the folder that we have hidden. Now you can see that the folder has shown or unlocked.


Hope you enjoy this well , mail me at :: faisalkt888@gmail.com









1 comment:

  1. but dat hidden directories cn b seen by ticking show hidden system folder in folder option menu....

    ReplyDelete