Escolar Documentos
Profissional Documentos
Cultura Documentos
(S/N) if %OF% == s goto DOWN if %OF% == S goto DOWN if %OF% == n goto END if %OF% == N goto END echo la opcion no es valida. goto HOME :DOWN echo 1. Ahora mismo echo 2. En 10 minutos echo 3. Otro tiempo echo 4. Suspender apagado echo 5. Salir set /p TIME=Ingrese numero de opcion: if %TIME% == 1 goto NOW if %TIME% == 2 goto A if %TIME% == 4 goto SUS if %TIME% == 5 goto END if %TIME% == 3 goto YO echo La opcion no es valida. goto DOWN :NOW shutdown -s -t 0 goto END :A shutdown -s -t 600 goto END :YO set /p TIME30= Ingrese en cuantos SEGUNDOS quiere apagar la PC (0-600) shutdown -s -t %TIME30% :SUS shutdown -a goto End :End