Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- REM To resset the password go to %appdata% and delete the sec.sav file
- REM TO USE THIS CREATE A FOLDER NAMED Desktop ON your Desktop!
- color 0a
- title Desktop Locker - 1.0
- cd %appdata%
- if not exist sec.sav goto maksec
- ren sec.sav sec.bat
- call sec.bat
- ren sec.bat sec.sav
- :RELOAD
- cls
- echo Enter the password! :D
- echo.
- set /p InPutPW=Passwort:
- if "%InPutPW%"=="%pw%" goto UNLOCK
- cls
- echo Password is wrong! :P
- echo.
- pause >>nul
- goto RELOAD
- :UNLOCK
- cls
- cd %userprofile%\Desktop
- if not exist Desktop md Desktop
- attrib -h -s Desktop
- cls
- echo Your folder is now visible! :D
- echo.
- echo Press a key to continue :)!
- pause >>Nul
- attrib +h +s Desktop
- cls
- echo Done! :D
- pause >>nul
- exit
- :maksec
- cls
- echo Please enter your new password!
- echo.
- set /p pw=Passwort:
- if "%pw%"=="" goto maksec
- echo set pw=%pw%>sec.sav
- cls
- cd %userprofile%\Desktop
- echo Completed, Press a key your "Desktop" Folder is now hidden, restart the tool to unlock the folder! ;)
- attrib +h +s Desktop
- pause>>nul
- exit
Advertisement
Add Comment
Please, Sign In to add comment