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.