Monday, June 17, 2013

Create Password Protected Folder Using Notepad




Set Password on Folder Using NotepadThere are many methods available online to protect a folder most of them use third party software. But the method I am going to share is as easy as possible. Now you can protect your folder by using a NOTEPAD file.

It’s important to note that this will not actually conceal your data from somebody that knows what they are doing.

Method:

  • Select a folder which you want to protect.
  • Open Notepad file and paste the below code in it.
cls 
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" 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 "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== itnewscorner.net goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End




  • NOTE : default password is “itnewscorner.net”. To change the password replace itnewscorner.net with your disired password.


  • Save the file and name it “locker.bat”


  • Now double click on locker.bat


  • The first time you run it, it will create a new folder name as Private. You can store your private data in this folder.


  • When you added all your secret stuff in the folder, run locker.bat again


  • This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.


  • You will see that your private folder will quickly disapperar.


  • If you run again locker.bat again, you will prompted for a password.


  • If you enter the correct password your private folder will reappear but if you enter wrong password the bat file will terminate.



WARNING: This is not a 100% secure method. Anyone who knows how to show system files can easily figure out your private folder. But very few people knows this.





Do You Like This Story..? Kindly Share it!!

Facebook Twitter Technorati Digg This Stumble Stumble

Subscribe To Get FREE Tutorials!

Do you like this post? Please link back to this article by copying one of the codes below.

URL: HTML link code: BB link code:
Related Posts Plugin for WordPress, Blogger...