Tuesday 23 July 2013

How To Create A Password Protected Folder Using Notepad

It's been a long time since I posted something on my blog. Today I'm going to teach you how to create a password protected folder. It's free and you don't need some kind of special software to do it. So we're going to create the folder using a simple coding on Notepad. Since not everyone know coding, I already provided the code, all you need to do is copy it. So kind of me, right? It's only working on Windows, I already tested it on Windows 7, and some friends of mine have it tested on Windows XP.

What you need to do:

1.  Create a random folder with random name somewhere on your computer (for example, on your Desktop).
2.  Open Notepad and paste this code to your Notepad
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 Private "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%== hitechnologic goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

3.  Change the word hitechnologic (the word I marked in red from the code), to your desired password. (For example: ilogitech)
4.  Save As or Press (Ctrl + S) and name it "private.bat" (without the quotation marks), then click on the "Save as Type" option and choose "All Files (*.*)". Save it on the random folder that you created earlier.
5.  Close the notepad and open the folder that you created earlier, there should be some program named "Private.bat" that you created earlier, click on it and it should create a new folder named "Private" by itself. Do not change the folder name, as it may caused error.
6.  Now you have a random folder with a folder inside of it named "Private", put some private things maybe a pictures, videos, or anything in to the "Private" folder.
7.  When you're done, click twice on the "private.bat", and it should give you the option to lock the folder. Press "y" to lock the folder, don't be surprise once you agree to locked the folder, the "Private" folder will disappear along with anything you put inside of it.
8.  To spawn the folder, you need to click on the "private.bat" and enter your password, then the folder will spawn by itself. To lock and make the folder disappear again, all you need to do is click on the "private.bat" and an option appear that told you if you want to lock the folder again, you must press "y".
9.  Done and enjoy, don't forget to subscribe to my blog!

No comments:

Post a Comment

Follow Now......!

You might like this

Click Here Please

Ads 468x60px