Thursday, February 19, 2009

Lock Your Folder Through Notepad

Lock Your Folder Through Notepad


Using this technique not only lock your folder but also hide it here it.

Copy and Paste Following code in 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 u 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

Now do the following steps:

1. Copy above folder into notepad.

2. The text which is written in bold letters delete it & type u r password there.

3. Save that file by extension .bat ( name is u r choice)

4. Now on your screen there is a bat file appear.

5. Double click on that file.

6. You will see the locker folder.

7. Save the files in that folder.

8. Double click on that folder & lock that folder

9. After lock that folder it will become hidden.

10. To open that folder double click on that bat file

11. Type your password & open that folder.

No comments:

Post a Comment

You Have Successfully Posted the Message.