cls @ECHO OFF title Folder Cofre if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Cofre goto MDCOFRE :CONFIRM echo Pretende bloquear a sua pasta (S/N) set/p "cho=>" if %cho%==S goto LOCK if %cho%==s goto LOCK if %cho%==n goto END if %cho%==N goto END echo Escolha inválida. goto CONFIRM :LOCK ren Cofre "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Pasta Bloqueada goto End :UNLOCK echo Digite a senha para desbloquear a pasta set/p "pass=>" if NOT %pass%==guiainformatica goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Cofre echo Pasta desbloqueada com sucesso goto End :FAIL echo Senha inválida goto end :MDCOFRE md Cofre echo Cofre criado com sucesso goto End :End