antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
Rúben Alexandre

Como Criar Pasta Protegida C/palavra-Passe

1 post in this topic

Instruções:

  • [*]Crie a pasta no directório desejado. [*]Dentro da pasta, crie um documento de texto [*]Copie o seguinte código:

cls@echo offtitle Folder LockerIF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}" GOTO UNLOCKIF NOT EXIST Locker GOTO MDLOCKERecho Folder Created.:CONFIRMecho Are you sure you want to lock the folder? (Y/N)set/p "cho="IF %cho%==Y GOTO LOCKIF %cho%==y GOTO LOCKIF %cho%==N GOTO ENDIF %cho%==n GOTO ENDecho Invalid Choice.GOTO CONFIRM:LOCKren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}"echo Folder Locked.GOTO END:UNLOCKecho Enter password to unlock the Folder :set/p "pass="IF NOT %pass% == PASSWORD GOTO FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303**09D}" LOCKecho Folder Unlocked Successfully.GOTO END:FAILecho Invalid Password!GOTO END:MDLOCKERmd Lockerecho Folder created.GOTO END:END 
  • [*]Altere ao seu gosto e guarde o documento de texto (ex: passw.bat) [*]Execute e o resto é fácil!

Abraço,

Rúben Alexandre.

Share this post


Link to post
Share on other sites
antiblock
diamwall

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this