.VBS字尾檔案

Json______發表於2017-10-24

 

 PHP交流群:294088839

Python交流群:652376983

vbs

 

VBS是基於Visual Basic的指令碼語言。VBS的全稱是:Microsoft Visual Basic Script Editon。(微軟公司視覺化BASIC指令碼版)。

 

惡作劇程式碼

on error resume next

dim WSHshellA

set WSHshellA = wscript.createobject("wscript.shell")

WSHshellA.run "cmd.EⅩE /c shutdown -r -t 60 -c ""叫你不說,知道厲害了吧!"" ",0 ,true

dim a

do while(a <> "我是豬")

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.EⅩE /c shutdown -a",0 ,true

msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,真過癮"

 

技術QQ交流群:294088839

 

 

相關文章