COMO CRIAR UM ARQUIVO .bat PARA DESLIGAR O COMPUTADOR DEPOIS DE DETERMINADO TEMPO.

PRIMEIRO: ABRA O BLOCO DE NOTAS.

SEGUNDO: COLE ESSE CÓDIGO


@echo off

title DESLIGAMENTO TEMPORIZADO!

color 0a

echo: Desligar o computador em 180 segundos?Se necessario edite este arquivo e reprograme o tempo restante se necessario.

pause

shutdown -s -t {Sr} -c "O Windows esta sendo desligado nos proximos 180 segundos."


TERCEIRO: SALVE O ARQUIVO NO SEGUINTE FORMATO {[qualquernome].bat}.

QUARTO: (opicional) FAÇA UM ANTIDOTO (atalho que se for clicado depois de ativar o desligamento temporizado ele o cancelará) PARA ISSO CRIE UM

ATALHO COM O CODIGO shutdown -a.

QUINTO: AGORA TESTE O ARQUIVO .bat.

PARA CANCELAR USE O ANTIDOTO OU ABRA: EXECUTAR, DIGITE {shutdown -a}


DICA COMPATIVEL COM: XP, VISTA E MUITO PROVAVELMENTE TAMBÉM COM WINDOWS 7.                                                                               MARCELO FERREIRA


This free website was made using Yola.

No HTML skills required. Build your website in minutes.

Go to www.yola.com and sign up today!

Make a free website with Yola