@ECHO OFF <br /> <br />title Folder Private <br /> <br />if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK <br /> <br />if NOT EXIST Private goto MDLOCKER <br /> <br />:CONFIRM <br /> <br />echo Tem certeza de que deseja bloquear a pasta (Y/N) <br /> <br />set/p "cho=>" <br /> <br />if %cho%==Y goto LOCK <br /> <br />if %cho%==y goto LOCK <br /> <br />if %cho%==n goto END <br /> <br />if %cho%==N goto END <br /> <br />echo Invalid choice. <br /> <br />goto CONFIRM <br /> <br />:LOCK <br /> <br />ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <br /> <br />attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <br /> <br />echo Folder locked <br /> <br />goto End <br /> <br />:UNLOCK <br /> <br />echo Digite a senha para desbloquear pasta <br /> <br />set/p "pass=>" <br /> <br />if NOT %pass%== 123 goto FAIL <br /> <br />attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" <br /> <br />ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private <br /> <br />echo Folder Unlocked successfully <br /> <br />goto End <br /> <br />:FAIL <br /> <br />echo Senha Invalida <br /> <br />goto end <br /> <br />:MDLOCKER <br /> <br />md Private <br /> <br />echo Private foi criada com sucesso <br /> <br />goto End <br /> <br />:End