- Copy The Whole Text Below!! but one thing.. replace the portion "type your password here"..with your desired password!!!
@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.. paste the whole text in note pad.. and save it as .bat file..
- this will create a batch file 'friend' as shown below
- now click on that batch file.. it'll auromatically create a folder named locker.
- now click on that friend.bat file again.. & it'll ask you... 'you want to lock the folder(y/n)??
- press y to lock that folder.. n it'll be invisible!![it'll not be found in hidden folders even]
- noe to unlock or make that folder visible.. you have to do a click on that friend.bat file again.. and it'll ask for your password.
- Enter your correct password and enjoy the experience!!
No comments:
Post a Comment