TUTORIALHow To Make A Password'd Folder!

Posts 1–10 of 10 · Page 1 of 1
How To Make A Password'd Folder!
Step 1.
Create A Main Folder On Your Desktop
*Note: This Folder Will Not Be Protected!

Step 2.
Open the folder and create a notepad/text document file.

Step 3.
Copy/Paste the code below into the file and change PASSWORD to your desired password.
Code:
cls
@echo off
title Folder Locker
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
:CONFIRM
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.
GOTO CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}"
echo Folder Locked.
GOTO END

:UNLOCK
echo Enter password to unlock the Folder :
set/p "pass="
IF NOT %pass% == PASSWORD GOTO FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}" LOCK
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END

:MDLOCKER
md Locker
echo Folder created.

GOTO END
:END
Step 4.
Click 'Save As...' , name the txt document 'test loader.bat' , then change 'Save as type' to All Files.
*Note: Leave the Encoding to 'ANSI'.

Step 5.
Double click 'Test Loader.bat' and a file named 'Locker' should show up.
*Note: 'Locker' is the file the password will be on, with the code above 'Locker' can be the only name of it.

Step 6.
Double click 'Test Loader.bat' again and it should show up as a cmd prompt, type 'Y' then 'Enter'.

Step 7. Now When You Double Click 'Test Loader.bat' it should show up as a cmd prompt and tell you to enter your password. When You Want To Lock Your Folder Double Click 'Test Loader.bat' And Type 'Y'.

It Is Now Done.
Rep Please If You Used This And It Worked.
If You Need Help, Reply Below Or Contact Me.
I googled "batch encrypt folder", this was within the top 5 results:

How to Create a Password Protected Folder without any Extra Software
^^even has pictures. Code is the same except for the caption of the prompt.

Quote from bottom of the link:
Attribution note: We found this script on dozens of different web sites going back many years. We have no idea who first created the script, so we’ve omitted any sort of attribution link. If you do have proof that you first created the script, contact us and we’ll adjust the article accordingly
Thanks for sharing.
*coughPORNcough*
Quote Originally Posted by rchayne View Post
*coughPORNcough*
thats what I use it for :3
Nothing worked, Folder is created but dos prompt shows this error
The filename, directory name, or volume label syntax is incorrect.
File not found - Control Panel.{some numbering code}
Folder Locked.
Quote Originally Posted by ArnavKumar View Post
Nothing worked, Folder is created but dos prompt shows this error
The filename, directory name, or volume label syntax is incorrect.
File not found - Control Panel.{some numbering code}
Folder Locked.
This is an error, every time your gonna have to change the name of the folder to 'locker'
Quote Originally Posted by GeneralBr3tt View Post
This is an error, every time your gonna have to change the name of the folder to 'locker'
Good work done, but i am still not satisfied.
Just zip your folder and change the extension to .jpg or .dat

When you want your folder back rename it and no need for this much coding.
awsome!" Love it ( now i can hide my porn there mwhahaha jk ;D)
Thanks man,this is gonna come in handy
.dll kills anyones interest in even deleting it.
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us