vbs实现无黑框无DOS窗口隐藏批处理运行窗口
程序员文章站
2022-07-04 20:42:49
option explicit dim wshshell, pro set wshshell = wscript...
option explicit
dim wshshell, pro
set wshshell = wscript.createobject("wscript.shell")
pro = "d:\program files\千千静听\ttplayer.exe d:\千千静听\默认.ttpl"
wshshell.run chr(34) & pro & chr(34),0
支持路径或文件名带空格,网上给出的vbs代码貌似没有留到空格问题,特此补充。
上一篇: VBScript 常用函数总结
下一篇: 无人驾驶车出车祸了,这责任由谁来承担?