设置窗体的代码解释 Imports System.Diagnostics Public Class 设置窗体 Private shutTime As String '关机时间的字符串 Private IsToday As Boolean = True '判断是否是今天的变量 Private delay As Integer '延时多少秒放关机 Private lastTime As Integer '关机的倒计时 P rivate action As String '关机或重启或注销 Priv
绝对的绿色软件。。BAT文件 @echo off & cls & color 27 & mode con cols=70 lines=25 & title [定时关机工具] 今天是:%date:~0,4%年%date:~5,2%月%date:~8,2%日,%time:~0,2%点%time:~3,2% 分%time:~6,5%秒 ::10080是你设定的上限,7天应该够了吧.如果不够,你可以自己更改.. set n=10080 ::这句话在这是没用的.作为一个完整的工具,在打包时会附上shut