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.
FreewareFiles tested MSCExec for Windows v2.0 on 2005-04-30 using leading
antivirus scanners and found it 100% Clean. It does not contain any form
of malware, spyware, viruses, trojans, etc. We will re-test each updated
version and remove the award as well as the program if found infected.