MSCExec allows you to call OS command or launch an application right from your script. You can set parameters for the call and check results.
MSCExec for Windows 2.0.1 download in progress...
If your download doesn't begin automatically, click and download here.