Lock any folder without using Software

Posted by Alex on Thursday, January 17, 2008

Did you ever want to lock any secret folders in your computer? However, you don't have any folder locking software in your desktop. Here I'll show you a simple trick that can lock any folder quickly . The trick which I am going to tell you will make your folder change into control panel , so if anyone tries to open it , the control panel will open instead of your folder.

Open your notepad and paste the code below

@echo off
ren %1 "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder Locked.
pause


Then, save it as locker.bat. Now you have created your own folder locking software. You can save it to your Desktop or USB drive, so you can lock your folder anytime.




How to lock your folder?
Just click on any folder you want to lock, drag it on the locker.bat and drop it. Then, your folder has been locked. When someone clicks on this folder, the control panel will open and your files inside the folder remain hidden.

lockfile
   

How to unlock it?
It's pretty simple, just rename your locked folder to the default name or any name and done.  So, next time your folder locked by your friend with this trick, your will know how to unlock it : )




Related Posts


2 comments:

Hi... :-) I've followed all the steps and the result till the creation of locker.bat file is perfect. When I double clicked the locker file this is what the message I get in commaned prompt( Black screen),
"The syntax of the command is incorrect."
"Folder Locked."
"Press any key to continue..."

Please help me out as I'm very much interested . Thank U.

Hi Moderator,
Nice to meet you ;-)
For your question, you don't need double click the locker.bat file. To lock a file, you just need to drag a file you want to lock into the locker.bat (just as what I shown on the screenshot above)...