Hi,

I�ve got a problem with a program alias on my Imail 8.1 system.

I would like to call my test.vbs script which has the following content:

'---------

' Set the shell object
Set Shell = CreateObject("wscript.shell")

' Send confirmation of update email code here
retval = Shell.Run("D:\IMail\imail1.exe -f D:\IMail\Sniffer\text.txt -s
'Sniffer Update OK' -t '[EMAIL PROTECTED]' -u '[EMAIL PROTECTED]'",
0 true)

Set Shell = Nothing

'---------

If I run this script from my command prompt I get the email-message okay,
but when run from a program alias like:

C:\WINNT\system32\cscript.exe D:\IMail\Sniffer\sniffer_update.vbs
Or
cscript D:\IMail\Sniffer\sniffer_update.vbs
Or
D:\IMail\Sniffer\sniffer_update.vbs

Nothing happens.

I then tried creating a .bat file with the following:


What am I missing ?
        



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.650 / Virus Database: 416 - Release Date: 04-04-2004
 


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to