How to create a Password Protected Folder without using any Software


Hello Viewers,
Everyone likes their privacy and surely there has been a time when you would have liked to protect folders by a Password. Unfortunately earlier versions of Windows (Before Windows 10 & Windows 8 Professional) do not come with a built in software for that (Or so you thought.). To do that, you have to use third party softwares which is often a pain.
Now what would your reaction be if I tell you that you can create a Password Protected Folder on your PC by just using Notepad?
Well, you read right. We will use notepad and the Disc Operating System to create your very own Private Folder.

So here’s how:

First of all,
Create a Folder in your Destination Drive.
Open it.
Right Click anywhere and select New Text Document.
Then, copy the code given below and paste it in the Text Document.
Replace PASSWORD with your Password.

title Folder Safe
if EXIST “HTG Locker” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
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.
ren Private “HTG Locker”
attrib +h +s “HTG Locker”
echo Folder locked
goto End
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== PASSWORD goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Private
echo Private created successfully
goto End

Now select file in the top left corner and select Save As.
In the filename write: Virtual Safe.bat
In the File Type select: All Files.
Hit Save.
Now, close the text document. If the text document is still present, delete it. (DO NOT DELETE Virtual Safe.bat).
Then, double click on the Virtual Safe.bat.
This will create a folder named Private.
Then double click on the Virtual Safe.bat again. A Command Prompt will open asking you whether you want to lock the folder or not.
Type Y and hit enter.
You will see that the Private Folder has vanished.
Now, double click on the Virtual Safe.bat
A Command Prompt will open up which will ask you to give your Password. Type your Password and hit Enter.
The Private folder will appear again. Transfer the files that you want to keep private into the Private Folder.
Then double click on the Virtual Safe.bat file to Lock the folder gain.

Done. You have your own hidden and password protected Private Folder. Psst, don’t forget to lock the Folder after each use.

I don’t need to tell you how brilliantly you can put this to use. To start with, you can hide the batch file with an innocent name in an innocent place or whatever. Only your imagination is the limit. Have Fun!

Author: Rohan Dandavate

Public Key: []

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2019 The Blue Sphere Observer — Lyrical theme by