Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cls
- @ECHO OFF
- title CyberDarx Db
- if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
- if NOT EXIST Db goto MDLOCKER
- :CONFIRM
- echo Do you want to lock Db? (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 Press Y or N.
- goto CONFIRM
- :LOCK
- ren Db "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
- attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
- echo Db Locked
- goto End
- :UNLOCK
- echo Input password
- set/p "pass=>"
- if NOT %pass%== masukkanpassword goto FAIL
- attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
- ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Db
- echo Db has succesfully opened
- goto End
- :FAIL
- echo Password wrong
- goto end
- :MDLOCKER
- md Db
- echo Db Succesfully created
- goto End
- :End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement