"""Open Notepad and Copy paste this text and Save as (lock.bat)""""
cls
@EcHO OFF
echo // Check1 (In Main Function)
title Folder LockFolder
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKFolder
if NOT ExIST LockFolder goto MDLockFolder
:AuthConfirm
echo Are you sure u want to lock Folder (Y/N)
set/p "cho=>"
if %cho%==Y goto LockFolder
if %cho%==y goto LockFolder
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice
goto AuthConfirm
:LockFolder
ren LockFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder LockFolder Locked!
goto End
:UNLOCKFolder
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== 123456 goto FailUnlock
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LockFolder
echo Folder UnLocked Successfully!
goto End
:FailUnlock
echo Invalid Password!
echo Try again? (Y/N)
set/p "choice=>"
if %choice%==Y goto UNLOCKFolder
if %choice%==y goto UNLOCKFolder
if %choice%==N goto END
if %choice%==n goto END
:MDLockFolder
echo // Check2 (In MD Dir Function)
md LockFolder
echo Folder LockFolder created Successfully!
goto End
:End
Wednesday, January 5, 2011
Lock Folder whit out Software
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment