When running vbscripts as a scheduled task we have to use the following
command, c:\winnt\system32\cscript.exe script_name.vbs.  Will you post a
copy of the vbscript file, or send me a copy directly?

Scott Willson
[EMAIL PROTECTED]

 -----Original Message-----
From:   Matt [mailto:[EMAIL PROTECTED] 
Sent:   Friday, January 23, 2004 12:49 PM
To:     [EMAIL PROTECTED]
Subject:        [IMail Forum] Problems with Program Alias

I've tested this program alias with a BAT file that just simply copies 
the TMP file to a new location, and that works, however I am not finding 
it possible to do something not that entirely different.

I have a program alias that points to a VBS script, and while I have 
verified that this VBS script will run, it will not execute the 
following command when called by IMail:

        Set Shell = CreateObject("wscript.shell")
        Shell.Run "c:\imail\declude\sniffer\autoSNF.cmd"

I've emptied the script so that this is all that it contains. If I run 
it from a command line, it works perfectly, however if I try to call it 
from a program alias, it does not run the embedded command.  I have 
verified that other segments of the script (when used) will run 
correctly, just not the line that calls this other script.

I got this code from the Message Sniffer Web site, something that 
another user submitted.  I have to assume that in other IMail 
installations, this works.   On my IMail 8 server, program aliases do 
work, but in this case, it just refuses to call this other program...

Any thoughts?

Thanks,

Matt

-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================



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/

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