As we use computers to store data like pictures,movies,music,MS office files,pdfs,videos etc. we also store some valuable data like id's and passwords of your social networking sites,debit card information in to the files.
And today im( SAI LAKSHMAN). In this post I am going to show you an interesting thing in notepad by which you can create your own folder locker application within 2 minutes.
In order to protect all this data from thefts or to keep them private from the other users of your pc you need a software to lock them with a password.But now a days if we want a full version of a software to lock files definitely we have to pay some money.So here's a solution in which I will show you how to create a folder locker using only notepad
We often think that we use notepad for just writing some text and numbers,but the amazing thing behind the notepad is with the help of the programming language and using the correct extensions we can actually create many simple and useful applications.Here is an example for one of them.
THINGS YOU NEED:
- Just a NOTEPAD in your PC
HOW TO MAKE A FOLDER LOCKER USING NOTEPAD:
step 1: press WIN+R and type "Notepad" without quotes in the run box
step 2: Copy the following code and paste it in the notepad
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker 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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter Password to Unlock folder
set/p "pass=>"
if NOT %pass%==YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid Password
goto end
:MDLOCKER
md Locker
echo Locker Created Successfully
goto End
:End
step 3:Replace YOUR PASSWORD HERE with your own password
step 4: Save the file with filename .bat extension this is the very important step , Because extension type is very important to run the file
ex: lakshman.bat
step 5: Now when you double-click that file to open it, a new folder named "LOCKER" will be created in the same location automatically.
Now you have created your folder locker. Lets see how to lock files and folders
HOW TO USE THE FOLDER LOCKER:
STEP 1: Copy the files or folders you need to lock in to the newly formed LOCKER folder and close it.
STEP 2: Now open the file (.bat extension file we have created before).
A window appears as below
step 3: Press Y and hit enter. The folder named LOCKER disappears from that location, it means you have locked the files successfully.
step 4: Unlocking the files
- Double-click the file with extension .bat (the file which we created before) and a window appears as below
- If you enter the password correctly your folder named LOCKER will reappear in the same location which contains all your files which you have locked.
- You can lock the files again by following from step-2 in this section.
CONGRATULATIONS now you have a FOLDER LOCKER
- It require less than 1kb
- It's Free of cost
- It's with out any registration
- It's not a trail version
- It has no expiry dates
- It's password protected
- It's very simple to use
(to get more update on locking,hacking tricks please subscribe our blog)
If you have any doubts or suggestions for us, please feel free to post your comments below.Your comments are very valuable to us...