Sunday, 5 August 2012

Lock a folder in windows without using any software

Want to keep personal files in lock a folder. You can lock any folder in windows without using any software.
It's  a simple process.






First create a folder having any name in any location but not in C drive.

eg. abc (you can give any name to the folder)
Now create two batch files in the same location lock.bat and unlock.bat





In lock.bat type "ren abc abc.{0000031D-0000-0000-C000-000000000046}"
In unlock.bat type "ren abc.{0000031D-0000-0000-C000-000000000046} abc"

Place your personal files in that abc folder and open lock.bat file your file will be locked and will be unaccessible. To access the file open unlock.bat file.



Note: Files in this folder is safe only from those who don't have knowledge of this. Well I have to say this is not very safe so beware.