Hello Friends, we would know how you can lock folder or may create a private folder that is only accessible with a password. There are many available softwares that helps you to keep your Files and Folder safe but you should buy them or install them.
So, you don’t have your own source of locking a folder you can access them through 3rd party.
Here, you can lock folder which has a password and can save your files and folders imported to it as an hidden things.
We would go step-by-step. For easily accessible I have taken some screen shots so you can use them to make your work easy.
Create an empty folder in any one of your directory.
Open the folder and create a text document in the folder. You can create it by simply
Right click -> New -> Text document.
Also Check : Dual WhatsApp On single phone OgWhatsApp
Paste this code the text document created.
title Folder Private
if EXIST “HTG Locker” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
echo Are you sure you want to lock the folder(Y/N)
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
echo Enter password to unlock folder
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
echo Invalid password
echo Private created successfully
change the password where it is written “PASSWORD_GOES_HERE” on 23rd line and keep
Now save this document with extension “locker.bat”. Hence a batch file is created. So you would get the file with name “file.locker.bat”.
Now delete the original text document and stay only with a batch file.
Open the batch file ,So command prompt is opened. And your private folder is created. Now place the folders and files you want to make private in this
Again open the batch file and it would ask you “Do you want this to be private” Type Y and press enter. So your folder is hiddened out.
To open the folder ,double click on batch file and enter you password. If the password is true it will open the folder else it would just terminate.
Hence, your Private folder is created.