Simple Folder Locker

253K30168

Intro: Simple Folder Locker

UPDATE:

Sorry I haven't replied back to any of your comments guys. This is the
first time I've logged into this site in a long time. This instructable was something I made when I was in 8th grade. Yes I know my grammar is terrible and my spelling is even worse. This was just something I done for fun. It was never meant to be "secure or encrypted." Also this was only meant to work in Windows XP. I see that some of you have found ways to make it work in other OS and I think that's great. Most of your problems are probably related to using windows vista or windows 7. If you forgot your password just make another locker.bat and delete the old one. Just because you delete the locker.bat or locker.exe for those who converted it, doesn't mean you delete the folder where your files are stored. I will try to come back more often and respond to your comments and questions.

I'm going to show you how to make a simple folder locker by just useing note pad.

This is my first instructable so tell me what my mistakes were and how i can improve my next instructable.

STEP 1: Open Up Notepad.

First you need to open up notepad. Go to start, run and type in notepad or go to start, all programs, accesories, notepad.

STEP 2: Now Enter the Code

Now enter the code below into notepad, and put in your password that you want to use for the Folder Locker were it says YOUR PASSWORD HERE.

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker 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.
pause
goto CONFIRM
:LOCK
ren Locker "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%==YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
pause
goto end
:MDLOCKER
md Locker
echo Locker created successfully
pause
goto End
:End

DONT FORGET TO PUT IN YOUR PASSWORD WERE IT SAYS YOUR PASSWORD HERE

STEP 3: Save the Document

Now you need to save the document as File Locker.bat You must make sure that you have .bat at the end. This will save it as a batch file. Save it to the location were you want the Folder Locker to be.

STEP 4: Now Just Open It.

Now just go to were you saved the Folder Locker and open it. It should make a folder called locker. To lock the Folder you need to open the batch file. It should ask you if you want to lock the folder, all you have to do is type Y for yes and N for no. and the folder should disapere. To unlock the folder just open the batch file again and enter your password.

148 Comments

Sorry I haven't replied back to any of your comments guys. This is the first time I've logged into this site in a long time. This instructable was something I made when I was in 8th grade. Yes I know my grammar is terrible and my spelling is even worse. This was just something I done for fun. It was never meant to be "secure or encrypted." Also this was only meant to work in Windows XP. I see that some of you have found ways to make it work in other OS and I think that's great. Most of your problems are probably related to using windows vista or windows 7. If you forgot your password just make another locker.bat and delete the old one. Just because you delete the locker.bat or locker.exe for those who converted it, doesn't mean you delete the folder where your files are stored. I will try to come back more often and respond to your comments and questions.

Guys please help i've deleted locker.bat and i can't get my hidden pics back please it's so important

just make a new locker.bat and delete the old one

how to create bat file ? and also locker.bat

I LOST ALL MY GAMES D:
Be careful when you use batch files!!
Plsss. Hepl me I can't open it te ne how to open it plsss. My important documents are there. It's 90GB i reay need it plss Send me a message ASAP I really needed it right now😭
just delete the .bat file
create a new .bat file by copy pasting the code and put a new password in the code.
then copy the .bat file to that folder and then run
passsword will be asked and then type the new password
thats all,the hidden folder will unlock
Don't worry. He just mistaken in creating it. Just follow me to get back your files and to create a new and perfect one:
1. Go to My PC and then click on "view" at the top of the screen under close and minimize line.
2. After that Click on " Hidden Items".
3. Now go to your files location and you shall find your files.
To create and new and perfect one. Follow the steps:
1. Create a text file.
2. Type the following Command:


cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker 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 Locker "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}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


3. Click on Save as option in Files.
4. type any name and then necessarily type this extension at the end ".bat". For example: Files.bat
5. You can type your own password in the following line above there:


if NOT %pass%== """"Type Password Here"""" goto FAIL
Right click on the folder locker and select "Edit" it shows the password
I have created a batch file for locking d folder on my PC. It was working fine till i formatted my C drive. after that the disk in which i created this batch file is locked and it is showing that access is denied. I am totally stuck and do not know what to do. Plzzzzzzzzz help me.
Uhm hello! I saw this method on youtube and I tried it to lock my important files. It was working fine for a few months but now when I tried opening it, the window for the insert password keeps crashing. How am I supposed to open my folder if I can't insert my password :/ How can I undo this lock? Please, I need your help, these files are important to me..
how to erase this folder
hi im using it for a while and when u unlock the folder i cant see the stored files in it but the properties show the storage as 60gb please help
(if you type wrong password in your code.... it will open the folder. )

try my CODES.


cls@ECHO OFFtitle Folder Lockerif EXIST "Locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST Locker goto MDLOCKER:CONFIRMecho Are you sure u want to Lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Locker "locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedecho Created by MAQSOODpausegoto End:UNLOCKecho Enter password to Unlock folderset/p "pass=>"if NOT %pass%==password goto FAILattrib -h -s "locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Lockerecho Folder Unlocked successfullyecho Created by MAQSOODpausegoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Lockerecho Locker created successfullyecho Now you will find a folder nomed locker in the location of this fileecho Put the stuff to be locked in it and open this file again.echo:echo:echo Created by MAQSOODpausegoto End:End

it does not hides your any file, you can see it without opening the locked folder. for example in search press *.jpg, it will show all pics that you put in your locker.

More Comments