How to lock your folders just like 1.2.3

When I used to stay in a bachelor house, we used to share a single PC in an apartment. And approximately 5-6 of us will have the access to the machine for gaming and also for study purpose like assignment and projects paperwork. Sometimes, some dude might want to hide some folders from others to access it but they need top look for certain software like folder lock. But if we install something like that, it will make others to be more curious about what are the secret content that need to be locked by you. Hence, your folder might be vulnerable of being hacked/ cracked or even intruded by using third party crack-wares.

To avoid all this, there’s a simple code for you to protect the private data in your computers or even in your thumb drives. Personally, i find it really simple and easy to use. It can be deployed with just a click to lock the folder that you think is vulnerable with highly confidential data i.e. porn bank e-statements.

Please do refer to below steps to try our on your own windows machine.

1. make a new folder ( name it as you like )
2. inside this folder make a (.TXT ) file & copy the following inside it:

title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
echo Are you sure you want to lock the folder(Y/N)
set/p “cho=>”
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
ren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== password here goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Private
echo Private created successfully
goto End

3. After u copy the command go to line ( 23 ) u will find “password here” Change to any password u want.
4. After that, save it as locker.bat (the txt file will change to an application file)
5. Now go back to the folder & u will find a this locker.bat file.
6. Click on it & u will find a new folder called Private.
7- Now copy what u want in it & after that go to locker.bat by clicking it, it will open and ask you if you want to lock your folder? Y/N ?
8. Type Y
9. If you want to UNLOCK your folder, go open locker.bat & type your password and the Private folder will be made visible again.

All right, for your information, of course I did not write the code. I learned it some where. Cheers and have a wonderful weekend!

Be Sociable, Share!

4 Replies to “How to lock your folders just like 1.2.3”

  1. How ah bro..delete the ‘password here’ and replace with our desired password right? the private folder did appear but didn’t disappear even type Y in command prompt..

  2. yea bro, u need to put in ur desired password in the given space. then try to run the .bat file again. u gotta click it several time (for the first time) if it doesn’t disappear. please get back to me if the error appears again. i just tried and it worked fine. wait, are u running on vista?

  3. haha, yea u are rite philip but i meant the locking and unlocking folder process. click>enter pwd>lock..1.2.3. rite..lolz…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.