Submitted by Wayne Gibbons on Oct 17, 2010 8:07:37 PM

Call an external program with Lotusscript and wait for it to finish before continuing with your code

This is a much simpler way. The third parameter tells Windows to wait until the process has run (see http://msdn.microsoft.com/en-us/library/d5fk67ky(v=VS.85).aspx)

Set vShell = CreateObject("WScript.Shell")

nRet = vShell.Run(sCommand, 3, True)