标题:
[问题求助]
把参数拖到vbs里而且路径有空白要怎麽写呢?
[打印本页]
作者:
Topgunguy
时间:
2012-10-26 00:19
标题:
把参数拖到vbs里而且路径有空白要怎麽写呢?
各位版友大家好,我想请教一个基本格式问题。
请问如果是把参数拖到vbs里而且路径有空白要怎麽写呢?
排列组合试了好久都失败
Set ws = CreateObject("wscript.shell")
rem ws.run """C:\Program Files (x86)\KMPlayer\KMPlayer.exe""" wscript.arguments(0)
rem ws.run ""C:\Program Files (x86)\KMPlayer\KMPlayer.exe"" wscript.arguments(0)
rem ws.run "C:\Program Files (x86)\KMPlayer\KMPlayer.exe" wscript.arguments(0)
rem ws.run C:\Program Files (x86)\KMPlayer\KMPlayer.exe wscript.arguments(0)
rem ws.run """"C:\Program Files (x86)\KMPlayer\KMPlayer.exe""" wscript.arguments(0)"
remm ws.run """C:\Program Files (x86)\KMPlayer\KMPlayer.exe"" wscript.arguments(0)"
rem ws.run ""C:\Program Files (x86)\KMPlayer\KMPlayer.exe" wscript.arguments(0)"
rem ws.run "C:\Program Files (x86)\KMPlayer\KMPlayer.exe wscript.arguments(0)"
ws.run C:\Program Files (x86)\KMPlayer\KMPlayer.exe wscript.arguments(0)
作者:
czjt1234
时间:
2012-10-26 07:17
字符串连接,用 & 或 +
Set ws = CreateObject("wscript.shell")
ws.run """C:\Program Files (x86)\KMPlayer\KMPlayer.exe""" & wscript.arguments(0)
作者:
Topgunguy
时间:
2013-4-29 22:13
请问"""C:\Program Files (x86)\KMPlayer\KMPlayer.exe"""里,三对引号分别代表什么意思?
欢迎光临 批处理之家 (http://www.bathome.net/)
Powered by Discuz! 7.2