Mega Folder Locker

Published

Introduction: Mega Folder Locker

this instructable is on how to hide files behind a password with a batch file..,
thecatch is that the password is loaded into the batch files through a free-standing text file.

and please rate this instructable.

Step 1: Making the File

first open notepad
either open the run box and type "notepad.exe"

or click start then goto all programms
then to accessories and finally click on notepad.

then type in:

@echo off
set /p password= <password.txt
title Folder Locker
color C
:begin
echo.
echo please type the password please...
echo.
echo =) you have as many tries as you want =)
set /p passcode=">"
if %passcode%==%password% (
goto right
)
goto wrong
:right
echo that is the right password!!
pause
start "your destination here"
goto exit
:wrong
echo
echo =( in sorry that is the wrong password =(
echo
pause
goto begin

after you copy that save the file as "anything".bat

Step 2: Making a Password

open notepad again, type in anything you want for a password.

===then save the file as PASSWORD.TXT===

::::::yes you must do this or the batch file will not work::::::
also make sure that the two files ae in the same directory (folder)
but if you want to move this file you must change part of the batch file...

"anything".bat
and password.txt

now right click on the password file and pick properties, then click on the box "HIDDEN" and apply to the file you should now notice that the file is now un-seeable and cannot be spied on.

Step 3: Finish

now that the two files are there all that you have to do
is run them and hope you did everything right =>

here are the files in case you cannot find notepad:

Share

    Recommendations

    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Backpack Challenge

      Backpack Challenge

    31 Discussions

    Absolutely no idea.....
    I think he was going off about the fact that

    attrib +s +h

    does not "lock" the folder. It merely hides it.

    simple fix for this problem
    1. put password in the file
    2. convert to exe

    You're right. It doesn't work. If i wanted the password, I would right click on the batch file and then click edit. That would display the internal workings of the file and it would take me seconds to find the password

    No, I mean the batch file Does Not Work at all. I tried it and it did not work. At all.

    Also you could just find the directory even if you get the password wrong, it's pretty pointless but i've made something like this with the password internally stored, but not able to be changed without editing.

    One little problem. What if the person who is looking for the "Files" opens up the file called password. (I would call password.txt something a little less obvious. And even if they didn't open password.txt, they could just right click on folder locker.bat and then click edit and then that would display the internal workings of the file, so therefore they would see the direct path to the password container. To improve security, download Batch to exe converter, so then the person wouldn't be able to look at what is inside the file. Good Try! lol

    1 reply

    This is really cool, I've tried this on a couple of computers I was rebuilding after each of them succumbed to a virus. Great 'ible.

    Yeah like attrib +s +h The file here?
    Still all you have to do is change the view options