Home » , , » Giving a password on folders using notepad

Giving a password on folders using notepad

Written By Unknown on Monday, June 3, 2013 | 11:59 PM

Do you have a very important file or personal file that do not want to see other people? usually you put it in a special folder and then given a special name, too. So how do I give a password on folders without software and that certainly that only you can open it ...?

On this occasion I will share a tutorial on how to Giving Password on Folder Using Notepad. Notepad is the default application is versatile in Laptop / PC us. one of its uses is to lock a folder.

Here this is the tutorial to lock the folder use the notepad:




1. Make an Folder in Computers / Laptop agan.
2. Then open notepad (START> All Programs> Accessories> Notepad).
3. Enter the Code under this into inside 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 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%==PASSWORD AGAN 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
4. Replace red writing with the password you want, then save as Lock.Bat name and save it into the folder   you created above.
5. (as shown below)



6. Her close Notepad, and then you go to the folder where the notepad, then click 2x Lock.Bat her, it would appear foder locker

7. Save the file you want into a folder locker, close the folder and then click again Lock.Bat her, will appear later this command like "Are you sure want to lock the file Y / N"

8. Just press Y and then press Enter and then see his locker folder is hidden.
9. To bring back the folder again, just click 2x Lock.Bat and enter the password that you created earlier and press enter, tara ... Her locker folder reappears.

that's the slightly science of ane which already I did and finally ane share to a friends-friend all

0 comments:

Post a Comment

Powered by Blogger.