Tags

, , , , ,

lock folder without software

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

Step 1.

first of all create a new folder and give it any name. e.g. xyz

Step 2

now go to xyz folder and right click anywhere and select add > text document as shown below

lock folder tricks

Step 3

now open this text document and copy below code into it

cls
@ECHO OFF
title Folder Private
if EXIST “HTG Locker” 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 “HTG Locker”
attrib +h +s “HTG Locker”
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
note :- in above code replace PASSWORD_GOES_HERE with your own password that you want to give to your
folder.

Step 4.

now save the file the text file as .bat extension ( for example lock.bat)

lock2

Step 5.

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.

lock3

Step 6.

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.

lock4

Step 7.

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

lock5

Step 8.

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

lockl;ast

> 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.