Tuesday 22 January 2013

How to LOCK your folder





:End
@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%==amrit 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


NOTE :--- IF U CHANGE UR PASSWORD FOLLO THIS LINK

if NOT %pass%== amrit goto FAIL

STAPS:-

1) Open Notepad [ Start - Run - Notepad ].

2) In Notepad just copy/paste the below code.

3) Now save this Notepad file as yourfoldername.bat, Here .bat is extension of your file.

4) Now Double click on the .bat file and you will see a Locker folder at the same location where your .bat file is saved.

5) Now Double click on that locker folder and store your personal data in it.

6) After storing all your data in that folder again double click on .bat file and press Y there to lock the folder and press Enter.

7) Now your locker will be hide and only .bat file will be there.

8) Double click on this .bat file and give your password and hit Enter.


? That's it Now every time you want to open your secret folder you have to enter the password.

No comments:

Post a Comment