Saturday, April 5, 2014

How to Make a Folder Locker Using Notepad to Lock Your Folders



There are a lots of ways of hiding and locking files and folders. I have written some ways in my previous posts. Now I will show you the way to make a .bat file with Notepad Document to hide and lock your files and folders. You have to follow the steps given bellow to create a folder locker using notepad.

 Step 01  Open a Notepad Document First
Open a Notepad Document and paste the following codes given below in the box. Go to Start>All Programs>Accessories>Notepad or simply press Windows Key+R together to open a notepad document.

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%==Type-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 02  Provide Your Expected Password and Save
Look at the codes, there is written Type-Your-Password-Here in the 23rd line of the codes. You have to replace the red portion with your expected password. Now Save the Notepad Document as AnyName.bat file. You must have to add .bat extension. Bat extension represents Batch File.


 Step 03  Keep Your Data in Locker Folder
Now keep the .bat file in a Drive where you want to hide a folder. Double click on the .bat file. A folder locker window will open asking you the password you have provided. A message will appear like this Enter password to Unlock folder. Type your provided password and press Enter. Then you will found a folder named Locker. Keep your files and folders inside of this folder named Locker.

 Step 04  Lets Hide Your Files
Again double click on the .bat file. The Folder Locker window will open with a question like Are you sure you want to Lock the folder(Y/N). Now type Y and press the Enter Key from the keyboard. That means you have locked the folder named Locker. Look, now there is no any folder named Locker. Thus you may Lock and Hide your Files and Folder as much as you want. And there is no doubt about the security of your files and folders.

You may also hide and lock the files, folders and drives following the ways given below. All the ways I have suggested below is tested. I have personally tested them. So, hide and lock your Files and Folders and enjoy the protection.
  1. Lock the Drives with Password in the Latest Version of Windows Operating System
  2. Hide a Folder Using RUN Command
  3. Hide and Lock a File or Folder with Password by Winmend Folder Hidden Software
  4. Hide a Drive of the HDD without any Software
  5. Hide a Drive by Drive Hide Software



1 comment: