Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title AME Auto Shutdown
- :A
- if exist sd.* goto TRUE
- echo.
- echo Datum: %date%
- echo Zeit: %time%
- echo.
- echo Zustand: Rendert.
- echo.
- ping /n 2 localhost >nul
- cls
- goto :A
- :TRUE
- echo.
- color 0c
- echo Datum: %date%
- echo Zeit: %time%
- echo.
- echo Der PC wurde erfolgreich am %date% um %time% Uhr heruntergefahren! >> log.txt
- echo Zustand: RENDERN BEENDET!
- echo.
- echo PC wird in 60 Sekunden heruntergefahren!
- echo.
- shutdown /f /s /t 60
- pause >nul
- cls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement