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
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
here's my code:
Dim RetVal
strCommand = "C:\Blat240\full\blat.exe test.txt -to"
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.

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.