Blocarea prin ascundere si parolare, a unui folder in Windows XP Professional

Aici veti gasi cum sa blocati un folder; sa-i puneti parola si sa-l ascundeti.

Avem urmatorul txt :

Cod:

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

1. Copy and Paste intr-un fisier notepad
2. In linia " if NOT %pass%==password goto FAIL " schimbi password cu PAROLA TA
3. Salvezi 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 dati "y" ( doriti sa-l blocati )
8. Folderul dispare
9. Pentru a reaparea, rulati din nou aplicatia si bagati parola
10.
Folderul a reaparut cu tot ce este in el

Niciun comentariu: