I reduced things to a very simple test case because I just can't get WshShell.Run to wait until the cmd file it calls to complete.
Set WshShell = CreateObject("WScript.Shel
return = WshShell.Run ("C:\hello.cmd", 2,TRUE)
I was expecting the test.vbs to open the cmd file minimized and remain open until I hit the enter key in the cmd window.
According to http://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.84).aspx
that should work.
Can somone move one of the trees so I can see the forest please?