By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,316 Members | 2,355 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,316 IT Pros & Developers. It's quick & easy.

blat command line does not work in Shell method

P: n/a
Jay
Not sure who is familiar with the blat program, but I would like to
send an email using blat by executing a commmand line using the Shell
method.
here's my code:
/================
Dim RetVal
strCommand = "C:\Blat240\full\blat.exe test.txt -to me@myemail.com"
RetVal = Shell (strCommand ,vbHide)
/================
If I run the string that I assign to strCommand in my "Run" box, it
works. What am I missing? Thank you for your insight in advance.
J

Note: This blat command sends the contents of the "test.txt" file to
the specified email address in the command.

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.