How to lock folders without any software - using notepad

How to lock folders without any software

You must have downloaded Folder Lock, or any other software to encrypt and save your files from wrong hands, specially your secret data, *ifyouknowwhatimean :D , but Here is a easy way to lock the folder without any software just with some bit of coding, it is always free, and it wont require any software installing or downloading, so here we go! follow the below steps.
How to lock folders without any software

Open Notepad and copy the below code and save as locker.bat or any other name.bat

cls
@ECHO OFF
title Free Folder Locker - www.filehouse.tk
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Personal goto MDLOCKER
:CONFIRM
echo Are you sure u 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.
goto CONFIRM
:LOCK
ren Personal "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set /p "pass=>"
if NOT %pass%==TYPE-PASSWORD-HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Personal
echo Folder unlocked successfully
goto End
:FAIL
echo Invalid password
goto UNLOCK2
:FAIL2
echo Invalid password
goto end
:MDLOCKER
md Personal
echo Folder created successfully
goto End
:UNLOCK2
echo Last chance to enter correct password to unlock folder
set /p "pass=>"
if not %pass%==TYPE-PASSWORD-HERE goto FAIL2
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Personal
echo Folder unlocked successfully
:End

Now open that saved file, it will ask for password, type the password that you typed in the bat file before saving it, and hit enter, it will create a folder with name "PERSONAL" and then you have to keep your files in it,  after that, open LOCKER.BAT again and press y to lock that folder again, after you enter y, folder will disappear and it won't appear NO MATTER WHAT YOU DO, but it will just open by typing its CORRECT password.


Hope you like it, do not forget to share it to facebook/twitter via sharing buttons BELOW!

0 comments:

Post a Comment