Call PortMonitor (strCommand) When I run this program, it always returns nothing and indicates the command in strCommand cannot past to VBScript finally. Executing command line: Run command line InstallSoftware 01.The full code of the VB script can be found in the appendix A or B below depending on your requirements. There are paid-for solutions like febootimail and even free solutions like SendEmail.