Thursday, June 17, 2010

Password protect ur folders

lock, hide & password protect ur folders!!!!!!!!
trick to lock folder
using this trick not only for locking folder but also hide it....

copy following script:-

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 go for following few steps
1.paste above text into notepad.
2.the text which is written in pink letters delete it & type u r password there.
3.save that file by extension .bat ( name is ur choice)
4.now on ur screen there is a bat file appear.
5.double click on that file.
6.a new folder named locker will appear on the screen.
7.keep the files and folders u want to lock in that locker folder.
8.now again double click on that batch file to lock that locker folder.
9.after locking that folder it will become hidden.
10.to open that folder double click on that bat file
11.type ur password & open that folder.



If ur data will be lost its easy to get this back...........

1. just copy the script from here again.
2. make the batch file again in the same location.
3. and if u have remembered the password then edit password in the program.
4. double click on the batch file & u will get the options back to recover ur data.

No comments:

Post a Comment

Hey! let me know how you feel...