PC Magazine has a pretty good Win31 scripting program call WinCmd. You can
get the files from the ZDNet or PC-Magazine sites (www.zdnet.com,
www.pcmag.com), and like all PCMag utils, it's freeware. There's the basic
WinCmd and two supplemental libraries of functions/commands (look for the
files WINCMD.ZIP, WCLIB.ZIP, WCLIB2.ZIP). Unfortunately, the second library
is very pooly documented if you don't have the PC Mag utilities article. I
use a WinCmd script at home for my login to my firm's network remote access
capabilities, it works quite well. I've never used it to launch a DOS
program, but I suspect that'll work.
If you can't find WinCmd anywhere, e-mail me directly (lemired@bah.com) and
I can send you the ZIP files and my sample script.
- DaveL
----------------------------------------------------------------
David P. Lemire | "Outside of a dog, a book is man's best friend
lemired@bah.com | Inside of a dog, it's too dark to read!"
Maryland, USA | -- the one and only Groucho