How To Lock a Folder With Password Protection Without Any Software
Learn How to lock a Folder with a Password without any software. You can lock folders in a lot of ways. But this one is cool and without software.
Locking a Folder with Password – Overview
There is a lot of software that will provide you this feature but there is a problem with that. if by any means that software is un-installed you might lose your personal data because the login credentials will be deleted. In this tutorial, you will learn to create your own method to lock a folder with password protection.
How to Create a Folder with Password Protection.
How To Lock a Folder With Password – Steps
Step#1 Create a Folder name ‘PRIVATE’ inside of the folder you want to save your content.
Step#2 Now open ‘Note Pad’ or any other ‘Text Editor’. Remember to create that notepad file outside that folder.
Step#3 Copy the below code and paste it in that Note Pad file by typing your password in “CHANGE_YOUR_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)
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%== CHANGE_YOUR_PASSWORD goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
echo Invalid password
echo Private created successfully
Step#4 Now save this file as “LOCKER.BAT”.
Step#5 Once you did that delete your Notepad file because there will be a BAT file to use.
Step#6 Now run that LOCKER.BAT file and you will see a CMD window. In there Press ‘Y’ to lock the folder. Every-time when you need to see your private data you have to run that file and enter the password to access your private data.
Conclusion – You’ve Learnt How To Lock a Folder Without Any Software
So isn’t it cool? You can easily lock a folder with a few clicks. Complete folder protection without any software. Let us know if you faced any issues during folder locking. You can easily save your personal documents and files inside that folder and lock them.