Create Password Protected Folder by using notepad is an awesome trick to protect your files and data with password without using any software. Software is not the solution to secure files. Its easy to anyone to uninstall the software and access your data. But its not possible with password protected folders with the help of notepad. Because, not everyone knew coding so we already provided the code for you. Just follow the below steps and create password protected folder using notepad.

Steps to Create Password Protected Folder

Step 1. Create a new folder anywhere on your computer
where you want to keep your files.

Step 2. Open Notepad and paste the code below
to your open notepad file without quotes.

“@ECHO OFF
title Folder Private
if EXIST “Control Panel.
{21EC2020-3AEA-1069-
A2DD-08002B30309D}” goto
UNLOCK
if NOT EXIST Private goto
MDLOCKER
: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 Private “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
%== wiki-how goto FAIL
attrib -h -s “Control Panel.
{21EC2020-3AEA-1069-
A2DD-08002B30309D}”
ren “Control Panel.
{21EC2020-3AEA-1069-
A2DD-08002B30309D}”
Private
echo Folder Unlocked
successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created
successfully
goto End
:End “

Step 3. Change the word wiki-how (the word I
marked in red from the code), to your desired
password. (For example: yourname etc.)

Create Password Protected Folder, notepad tricks, windows tricks

Step 4. Click on File > Save as or Press (Ctrl + S) and name it
“private.bat” (without the quotes)
then click on the “Save as Type” drop down menu and
choose “All Files (*.*)” as save as type. Change the location
to the folder that you created earlier and save it in that folder.

Step 5. Close the notepad file and open the folder that
you created earlier, there should be a program
file named “Private.bat” that you created
earlier, double click on it and it should create a new
folder named “Private” by itself. Don’t change
the folder name, as it may caused error.

Step 6. Now you have a random folder with a folder
inside of it named “Private”, put your private files in
to the “Private” folder.

Step 7. Now double click on the file
“private.bat”, and it should give you the option
to lock the folder. Press “y” to lock the folder,
don’t be surprise once you agree to locked the
folder, the “Private” folder will disappear along
with anything you put inside of it.

Step 8. To spawn the folder, you need to double click on
the “private.bat” and it will ask for password enter your password,
then the folder will spawn by itself. If you don’t change the code password is wiki-how

To lock and make the folder disappear again, click on the “private.bat” and an option
appear that told you if you want to lock the
folder again, you must press “y”.

Step 9. Done and enjoy, don’t forget to like our facebook page for more tricks.

If you like Create Password Protected Folder without using any software trick keep visiting www.wiki-how.in for more tips and tricks. Also check our windows, cmd tricks. If you have any quarry related to this trick let us know and feel free to comment below for any quarry.

Pin It on Pinterest