!!下面的是用什么来写的?C语还是VB呢?应该保存为什么类型的文件系统才能运行它啊?

来源:百度知道 编辑:UC知道 时间:2024/06/16 15:05:25
高手快来看看!!!!!下面的是用什么来写的!C语还是VB呢?应该保存为什么类型的文件系统才能运行它啊?还有就是能不能给我讲解一下下面的语法和每个词的作用是什么??有没有学这种语言的知料!!很有意思!很想学一下!呵呵^-^!

on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就30秒关你机,不信,试试···"" ",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.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "嘎嘎"

这个是VB的吧,你可以去下载一个VS2005或者什么的安装,然后创建一个VB工程文件,接着把代码拷过去应该就能运行了。VB还是比较容易学习的,你随便找一本书看看基本就会了