In acest toturial veti gasi cum sa blocati un folder sa-i puneti paroala si sa-l ascundeti
.Avem urmatorul txt :
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 Are you sure u 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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo Enter password to Unlock folder set/p "pass=>" if NOT %pass%==password goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Locker echo Locker created successfully goto End :End
Acum uram cei 10 pasi.
1. Copy and Paste intr-un fisesr notepad
2. In linia ” if NOT %pass%==password goto FAIL ” schimbi password cu PAROLA TA
3. Salevzi fiserul cu extensia .bat ( pui ce nume vrei )
4. Dublu clik pe fisierul .bat creat
5. Acum va aparut folderul Loker
6. Puneti in folder ce doriti
7. Rulati din nou aplicatia .bat si daty „y” ( doriti sa-l blocati )
8. Folderul dispare
9. Pentrut a reaparea rulati din nou aplicatia si bagati parola
10. Folderul a reaparut cu tot ce e in el Wink