As we know there are lots of tools available that people are using nowadays to lock their desktop folders for privacy or any such purposes, but most of it are paid tools which halted the hands most of like us! However, I now going to tell you guys a deep secret which let you guys to lock folder with no tension in order to save your huhuhuh!
How To Lock Folder Without Any software – Step By Step Instructions:
First you need to create base folder (also referred as root folder) that you need to hide your total information. See the screenshots below for better understand.
Now going browse to the already created folder and after that create a text document inside it (notepad file).
Now open up that document, paste a code that provided below and save it.
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%== Ageeky goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
echo Invalid password
echo Private created successfully
Now one more time open up that document and change the password according to your wish.
Now “Save As” file and use name Locker.bat (it will be a batch file) and change the save as type to “All files”.
Then put all the files which are in to hide list in the folder automatically created and named as “Private”.
After that open up that locker batch file a cmd will be opened, type y there, then press enter.
So here you go all your files will hide in the folder named “Private”.
To unhide your files and data just open that locker batch file again in root folder. Then type your password and press enter. And it’s all done.