Pada line if NOT %pass%== Password Anda goto
FAIL, ganti password anda dengan
password yang anda inginkan:
Code:
cls
title Folder Private
if EXIST “Control Panel.
{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCKER
:CONFIRM
Echo Are you sure you 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 Private “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +n +s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder Locker
goto End
:UNLOCK
echo enter password to unlock folder
set/p “pass==>”
if NOT %pass%===12345 goto FAIL
attrib -h -s “Control Panel.
{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocker successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md private
echo Private created successfully
goto End
:End
Comments
Post a Comment