How to Lock a Folder by Password Protect without any software

Here you will learn that How to lock a folder with password protect without using any software that works in all windows. You know there are many folder lock software's available on the internet market with password protecting features, which are especially developed for securing the privacy of your personal data from your desire place and you can use them for keep away your personal data from others by creating a password protected folder OR hide your file. But those software's are expensive as you have to spend money for obtaining folder lock software. You can also get Folder Lock Freeware software by type "Lock A Folder Download" or "Folder Password Free Download" but they have limited security. So in this topic we will learn about how to create a password protect file OR how to lock a folder without using any software in all kind of windows.
How to lock a folder

How to Lock a Folder without any Software

This method can be applied for Lock Folders in Windows 7, Windows xp, Windows 8, 8.1, in other words by this way you can protect your folder without any software in all kind of windows. Anyhow, we start the process...
1. First Create an empty folder on desktop with name of your choice, where you want to keep your personal data. Like we create it with the name of our blog "Bloggercell" and then open it.

Create a folder
2. Now create a new text file in that folder, like the below screenshot (How to Lock a folder)

New Text file
Now paste the below set of code in text file and replace "PASSWORD_GOES_HERE" with your desire password
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)
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=>"
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
4. Now save as the file with name of "locker.bat", as you can see the example below

save file

5. After the above step, delete the "New Text Document" file, because now you did not need this file.

delete text file

Now you have only one file named "Locker.bat" in it...

6. Double click on "Locker.bat" file, and a new folder named "Private" will be created automatically, now put your personal data in it, and again double click on locker batch file and DOS will open then type "Y" and hit enter.

Click Yes
Now your personal data has been hide by password protect without any software, if you want to show your data again, then again you have to double click on locker batch file and on the DOS, type your password and hit enter. And your data will be shown.

Note: But this is not more secure because batch file can be edited easily by right click on batch file and then click on edit, and everyone can see the password. But if you avoid this, you have to download Batch to Exe software that is absolutely free.
When you will download it then simply install it, and start the software then Browse the Batch file and select the destination target where you want to save your converted exe file, and hit on "Compile" button. Now delete the batch file because you have a new exe file in the place of batch file.

Now converted file works the same like batch file. Hope you understand that how to lock a file in all windows without any issue.

Final Words about Lock a Folder without any Software

This is the easy and simple way to lock a folder without using any software, which i told you with step by step guide, if you face any problem or have any question in your mind, then you can ask me. But don't forget to share this post with your friends and relatives. Have any question relating to lock a folder? If yes then comment below.