
wshell.run arguments don't work
I want to launch two programs, one minimized and the other not. Per
documentation you can use arguments to set the initial window for the
launched application. Any idea why the following launches both windows
maximized even tho I specified minimized on one of them? I have tried all
window arguments with no resulting difference in how the windows launch.
set wshell = CreateObject("WScript.Shell")
wshell.run "D:\CTCBR\PPTWin.exe", 2
wshell.run "D:\CTCBR\Bridge.exe"
I also tried
return = wshell.run("D:\CTCBR\PPTWin.exe", 6)
Any help would be appreciated.