On Thu, Jan 22, 2009 at 7:42 PM, Ben Scott <[email protected]> wrote: > Sub RunWait (cmd) > Const WshShellRunHidden = 0 > Const WshShellRunWait = True > WshShell.Run cmd, WshShellRunHidden, WshShellRunWait > End Sub
Crud. Cut-and-paste bug. You actually want to *see* the window, so: Sub RunWait (cmd) Const WshShellRunShow = 1 Const WshShellRunWait = True WshShell.Run cmd, WshShellRunShow, WshShellRunWait End Sub -- Ben ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
