a=inputbox("请收入关机时间","时间","1800")set objShell=wscript.createObject("wscript.shell")objShell.Run("shutdown -s -t " & a)wscript.quit
你想做一个shutdown。exe的GUI吗?不用了,系统自带(冒汗)“shutdown -i”
网上好多的