password protection is important for privacy and security reasons.Lack of protection may get access to our private files and data to unauthorized users.For security and privacy reason we all use password protection. There are many 3rd party software’s available which are used for locking folders and files.so now the question is that how to provide password protection to folders without additional software’s.today i am going to share you how to make an invisible password protect folders without using any additionl software’s.So let’s get started
how to make your own password protected folder
first of all create a new folder and give it any name. e.g. xyz
now go to xyz folder and right click anywhere and select add > text document as shown below
now open this text document and copy below code into 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%== 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
note :- in above code replace PASSWORD_GOES_HERE with your own password that you want to give to your
now save the file the text file as .bat extension ( for example lock.bat)
now double click on lock.bat file, this will create a folder called private. now in this private
folder place your all important files and documents.
now again run lock.bat file This time you will be asked if you sure that you want to lock the folder,
press the “Y” key and hit enter to lock your folder.
now u see that your private folder is disappeared, now if you again run the lock.bat file it will ask
a password to open the locked folder as shown below
If you enter the same password as you set in the script the Private folder will reappear and you now you can view your private files.
note:- in case you forgot your password just right click on lock.bat file and select edit . now here you can see the password.
how to make folder invisible
>now after password protection you want to make your folder invisible , then select your folder and select view option and put a check mark in the hidden item box as shown below
> So that’s how we can lock a folder without any additional software and make it invisible so no one can notice it.
hope you like it, follow us for exciting tricks.