Sunday 2 December 2012

How to lock a file without any software within a minute( Screen shots added)


  Hide your all private stuffs without any software in a minute


Suppose you want to lock a folder whose name is  private  


Simple steps:


open the notepad type the code  as follows :

cacls private /e /p everyone:n  

ren private private.{21EC2020-3AEA-1069-A2DD-08002B30309D} 

Note : replace private by your folder name.

Save this as all files and with a .bat extension...


when you save the file give a file name example lock.bat

and below in type select all files


open notepad once again and type as follows:

cacls private /e /p everyone:f  

                  OR

ren private.{21EC2020-3AEA-1069-A2DD-08002B30309D} private  

save this with key.bat


now double click on lock.bat to lock the folder

If anyone tries to open the folder it will give error. :

and double click on key.bat to unlock the folder


the cacls stands for change access control  list     


Hit like if you like my post   


Note: cacls command can be used only in NTFS file system


For lazy people like me :

I have attached the key and lock files..

just right click on them and click on edit.

Replace the detail word with your folder name   and save it in the directory of your folder.


IF there is any problem you are facing please let me know..........................

download file from here

No comments:

Post a Comment