Everyone needs privacy in everything. I am not different. Now you can lock a folder in computer for privacy reasons. This is not so hard task as I know. This is very easy and interesting task.You can easily lock a folder without any software.
For protecting our privacy,we need to lock a folder……………..
At first, you have to make a folder in any driver of your computer. Now make a text document named ‘locker’ in that folder. Then copy these codes given below and paste them into the text document folder (locker).
These are the codes given below to lock a folder………..
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
Now, you can see there written “PASSWORD_ GOES_ HERE”. There you can give any types of password as you want to give.After that, cut the extension name (.txt) and write there (.bat). So, now your half of work is finish………
You can easily lock a folder without a software…………………….
Now, double click this file “locker.bat”. You can see there a new folder named “privet’’. Here you have to keep your all personal files. After that double click this file “locker.bat”. After click the file there you will see a question-Do want to lock a folder?
See also: 25 Google Chrome Browser Shortcut
Then click “y” and your folder will be automatically vanished after locked.
If you want to get your private folder again, then double click the file “locker.bat”. Then they will ask you for password. After write down the password, there you will see your folder again.
So…..Now you can lock a folder without the help of any software as you want to…!!!!!