on error resume next
dim a
set a=wscript.createobject("wscript.shell")
a.run "C:\WINDOWS\system32\freecell.exe",1,ture
-------------------------------------------------
运行上列代码,打开了空当接龙的游戏
-------------------------------------------------
编写一个“VBS 01.vbs”:
-------------------------------------------------
msgbox "123",48,"123"
-------------------------------------------------
其具体位置为:"C:\Documents and Settings\Administrator\桌面\VBS 01.vbs"
-------------------------------------------------
于是再编一个“VBS 02.vbs”:
-------------------------------------------------
on error resume next
dim a
set a=createobject("wscript.shell")
a.run "C:\Documents and Settings\Administrator\桌面\VBS 01.vbs",1,ture
-------------------------------------------------
运行“VBS 02.vbs”,却没有反应,是intWindowStyle的值错了吗?怎样改?详细点。
子衿沉夜
至尊宝的传说
相关分类