我知道的有两种调用方法:
1.这样可以调节1.bat中所有代码
Createob;ect ("Wscript.shell").Run "1.bat",0
2.在中间加入命令,但只能加一句:
set h=Wscript.Createobject("Wscript.shell")
h.run "cmd /c ***",0
×××代表批处理代码!
我现在想在里面加入多条代码,怎么可以实现?
还有就是见过别人把。bat和。vbs加入到同一压缩式。exe,双击。exe就都运行了,这个怎么做到的?
谢谢大家分享方法!~~~
1.这样可以调节1.bat中所有代码
Createob;ect ("Wscript.shell").Run "1.bat",0
2.在中间加入命令,但只能加一句:
set h=Wscript.Createobject("Wscript.shell")
h.run "cmd /c ***",0
×××代表批处理代码!
我现在想在里面加入多条代码,怎么可以实现?
还有就是见过别人把。bat和。vbs加入到同一压缩式。exe,双击。exe就都运行了,这个怎么做到的?
谢谢大家分享方法!~~~
