VB script error in Cygwin

Andrew DeFaria Andrew@DeFaria.com
Wed Jul 25 15:07:00 GMT 2012

On 07/25/2012 12:25 AM, Eric Padriquez wrote:
> Hi, we have a VB script that is working fine when run in command prompt.
> However we encounter when we run the VB script in Cygwin by using shell
> script to invoke VB.  We've tried to use cscript and cygstart but also
> encounter error.  Thanks!
> Error: attach_sendmail.vbs(52, 1) CDO.Configuration.1: The specified
> module could not be found.
> Code: 8007007E
> Commands tried:
> cscript.exe <Path>/attach_sendmail.vbs "${EMAIL_SUBJECT}" "${EMAIL_TO}" "<Path>/email_msg.3592.mail" "<Attached file>"
> cygstart <Path>/attach_sendmail.vbs "${EMAIL_SUBJECT}" "${EMAIL_TO}" "<Path>/email_msg.3592.mail" "<Attached file>"
Try executing a VB script that's in your CWD that does something very, 
very simple like echos "Hello World". Does that work? If so start adding 
complexity until it breaks.

cscript should work for you. I believe I have an alias vbs="cscript 
Andrew DeFaria <http://defaria.com>
Whenever I feel the need to exercise, I lie down till the feeling goes 

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list