On Thu, Jan 22, 2009 at 8:05 PM, its.mike <[email protected]> wrote: > 2. use cscript and run your script from a cmd prompt (that way the box won't > disappear)
In my experience, WshShell.Run always opens a new window, even if you're running it with CSCRIPT. Is there another way? I do second the use of CSCRIPT anyway, just because it means you can embed lots of debugging/progress output with WScript.Echo without having to [OK] over and over again. -- Ben ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
