Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cls
- @ECHO OFF
- title Folder Locker
- if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
- if NOT EXIST Locker goto MDLOCKER
- :CONFIRM
- echo Da li zelite zakljucati ovaj 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 Pogresan izbor.
- goto CONFIRM
- :LOCK
- ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
- attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
- echo Folder zakljucan
- goto End
- :UNLOCK
- echo Unesi te password da odkljucate folder
- set/p "pass=>"
- if NOT %pass%==Ukucajte vas password goto FAIL
- attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
- ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
- echo Folder uspjesno odkljucan
- goto End
- :FAIL
- echo Pogresan password
- goto end
- :MDLOCKER
- md Locker
- echo Locker uspjesno napravljen
- goto End
- :End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement