Introduction: Folder Locker Using Notepad.

Picture of Folder Locker Using Notepad.

Here I am Sharing with your one of the old trick to create folder lock.
If you want new trick to lock any fil/folder without software(using batch file) then check this >>

Let's start...

Step 1: Open Notepad.

Picture of Open Notepad.

First of all open your notepad.

Step 2: Create File

Picture of Create File

Now goto the follwing link and copy that code in text are.

and save it as locker.bat

Step 3: Run

Picture of Run

Double click on file (Locker.bat) to run

Step 4: Move Data in Locker Folder

Picture of Move Data in Locker Folder

You can see another folder name with "Secure" which is nothing but your locker folder>
Just put your data in that folder to lock. and then double click on "locker.bat" then Type "Y" to lock.

Step 5: UnLock Folder

Picture of UnLock Folder

Now to unlock that folder double click on "locker.bat" the enter your password ther hit enter.
[Default password is "mohit" to edit it just right click on "locker.bat" then find "mohit" and replace it with your assword]

Thats done...!!!!

To get more updates lick this facebook page.


debasnans (author)2017-10-07

sir i am in big trouble......first i locked a subfolder under the main folder Documents by using the .bat technique but then i also used this method in the root folder (i.e Documents)to lock all the contains of the folder (Documents) which included the locked subfolder. Then when i tried to open the documents folder by giving the password it is not opening though the password is right......plz help me to retrive my files as they are very important.

RijasA made it! (author)2016-09-20

plz help me, i Made what u had said to lock folder. but now i forgot the password entered. how can i access to my folder. plz help me its urgent

Erwin DesmondD (author)RijasA2016-09-24

Right click the Batch aplication in your picture then pres Edit: it will show the batch code that you typed into the notepad wich should show your password :

if NOT %pass%==----

Ages0 (author)Erwin DesmondD2017-08-09

Erwin DesmondD Thank you so much, you saved my butt.

GauravG90 (author)2017-05-11

I tried this but it didn't work as i have many sub folders. Any suggestions on a way to by pass this?

RajeshS135 (author)2017-03-19

i deleted the bat file accidentally , now i can't open the txt and image filles , those files have lock symbol. is there any solution to open those files?

Daebris (author)2016-12-07

There is one problem though, the folder is only hidden. If i select "Show hidden folders" the password protected one is shown and i can open it without password. I really need a password on it. Please help!

YashT29 (author)Daebris2017-02-20

check the echo it will mabe solve

adeptzero (author)2013-11-05

if anyone will open the bat file using notepad, they can see what the password is..
after locking the folder "Secure" and hiding it, move the bat file to another folder or you can delete it so you'll have no files in that folder.. if you want to show/open the "Secure" folder, move the bat file or create a new one(if you deleted it) to that folder and open it and enter the password..

SahithiG1 (author)adeptzero2016-10-16

thank uu

SahithiG1 (author)SahithiG12016-10-16

for posting locker pdf

ronys10 (author)2016-08-14

can access the secure folder

just untick the hide protected operating system files option in the folder options and tick show hidden folders ..

ronys10 (author)2016-08-14

can access the secure folder

just untick the hide protected operating system files option in the folder options and tick show hidden folders ..

WYN soldier (author)2016-05-09

Hey ! awesome instructables , got me curious about programming with notepads : P

Quick question : What would you add to the code to make the folder lock itself when you close the ''secure'' folder ?

surajm26 (author)2016-04-07

If delete bat file what i am do ??

hellboy72 (author)2016-03-13


RishabhK8 (author)2015-08-20

this is the code of folder lock

copy it in notepad

(where it is written) if NOT %pass%== type your password goto FAIL

remove type your password and type your own password

and then go to file (in the top of notepad) and then save it

type rename "locker.bat"


boomshakalacka12 (author)2013-10-28

You forgot the p in password... Lol. Other than that nice instructable! ;)

About This Instructable




More by mvaghadiya:Hide your File/Folder using batch fileLock File/Folder using Batch FileFolder Locker using notepad.
Add instructable to: