求教一个VBS的问题!

来源:百度知道 编辑:UC知道 时间:2024/05/23 19:07:48
dim shell
set shell=CreateObject("Wscript.Shell")
shell.run "cmd /c start %SystemRoot%\system32\我的电脑",0
WScript.Sleep 1000
shell.run "cmd /c start %SystemRoot%\system32\DSCF1030.jpg",0

这个如果我换个路径
D:\Program Files\ps9.0佳艺印象增强版\ps9.0佳艺印象增强版\photoshop.exe

E:\Neat Image\neat image.exe

C:\Program Files\轻松换背景\RecomposIt.exe

应该怎么改啊?
其中的 cmd /c start %SystemRoot%\ 这个是什么意思 ?

dim shell
set shell=CreateObject("Wscript.Shell")
shell.run "D:\Program Files\ps9.0佳艺印象增强版\ps9.0佳艺印象增强版\photoshop.exe",1
WScript.Sleep 1000
shell.run "E:\Neat Image\neat image.exe",1
WScript.Sleep 1000
shell.run "C:\Program Files\轻松换背景\RecomposIt.exe",1

把shell.run 改成 shell.exec 就可以了...