How To Lock Files In Folder (no app needed)



Archi Luger

Basic
Joined
20.02.20
Messages
3
Reaction score
0
Points
1
1. Open Up Notepad and Paste this in Below:
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% == YourPasswordHere 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
PAUSE




2. Set your Password!
Above in the code it will read "YourPasswordHere", you need to change it to your desired password.
To do so just delete the text and type your password.

3. Next Click the Following:
"File > Save As > Type secrets.bat > Save as Type: All Files > Save"

Make sure to choose "save as type: All Files." *Also you can name it anything you'd like but just make sure to have the .BAT at the end. Without it, it will not work!*

That's It! Your folder is now Created!
You will see it pop up in the location that you saved it. To be able to use it here is what you will need to do.
- Click on the .BAT file. It will open up a CMD box saying "folder created" and "press any key to continue."
- You will now see a folder named "Locker", in the same location that you saved the .BAT file.
- Put all the files that you want to hide in that folder.
- Click on the .BAT file again and another CMD box will open asking "Do you want to lock the folder?", Type Y for Yes and N for No.
- Now your folder is locked and invisible!!!
- To unlock and see the folder again Click on the .BAT File. A CMD box will open saying "Enter Password", Type your password and Hit Enter.
-Your folder will now appear in the same location.
 

NightG

Basic
Joined
28.03.20
Messages
13
Reaction score
0
Points
1
lol nice. but ez to find the password.
i just open it with Notepad
 
Top Bottom