Daily Archives: 12/16/2008

利用批处理事先自动关机

闲着无聊就写了一个自动关机的批处文件,在任务计划中添加可以定时关机 利用批处理自动关机,新建一个txt的文本文件 在里面写下如此代码: @echo. @echo. @echo. @echo         ┌─────────────────────────────┐ @echo         │                                                        │ @echo         │                                                        │ @echo         │                                                       │ @echo         │                   休息时间到了!!                     │ @echo         │                                                       │ @echo         │                                                       │ @echo         │                                                        │ @echo         │                   1分钟后关机!!            │ @echo         │                                       │ @echo         │                                            │ @echo         │                                                     │ @echo         └─────────────────────────────┘ @echo off @echo.& shutdown -s -t 60 set shut=”” set… Read More »