I am trying to run this in a vbscript and i am not quite sure how to do
this, if I run it in a .bat file it runs no problem... any help would be
appreciated...

\\testdc\mailsend\MailSend -from test@test.com -smtp mail.test.net -to
test@test.com -msg "Your Files have been uploaded to the following FTP Site
ftp://192.168.0.1 please use the following username - test and password -
password to access the site. Thank You "

Thanks
Gavin...

RE: How do I run this in VBscript? by ESP

ESP
Tue Nov 29 15:32:02 CST 2005

Watch the 'word wrap' ;-) This should be two lines.

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.Run "\\testdc\mailsend\MailSend -from test@test.com -smtp
mail.test.net -to test@test.com -msg " & Chr(34) & "Your Files have been
uploaded to the following FTP Site ftp://192.168.0.1 please use the
following username - test and password - password to access the site. Thank
You." & Chr(34) & ""


ESP




"Gavin" wrote:

> I am trying to run this in a vbscript and i am not quite sure how to do
> this, if I run it in a .bat file it runs no problem... any help would be
> appreciated...
>
> \\testdc\mailsend\MailSend -from test@test.com -smtp mail.test.net -to
> test@test.com -msg "Your Files have been uploaded to the following FTP Site
> ftp://192.168.0.1 please use the following username - test and password -
> password to access the site. Thank You "
>
> Thanks
> Gavin...
>
>
>