I had tried renaming the .cmd as .bat and running that via the Alias, but that also didn't work. The nested .bat -> .cmd does work, for whatever reason.
I did set up the double-alias situation. Thanks for the tip on deleting the .tmp file. I suppose that could run into a conflict if there are other Program Aliases that happen to trigger at the same time, but I don't have that situation so it should be OK. G.Z. ----- Original Message ----- From: "George Kulman" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, June 15, 2005 4:54 PM Subject: RE: [sniffer] Auto Sniffer Updates There seemed to be a problem with IMail running a cmd file and since the bat file worked so I didn't bother checking further. I did two other things which might be of interest to you: I set the Alias that receives the notification email (in my case [EMAIL PROTECTED]) as a standard alias that forwards the email to two addresses. One is my regular email address so that I actually receive a copy of the notification message and the other is [EMAIL PROTECTED] which is the Program Alias that triggers the .bat file. A also added a line to Bill Landry's script to get rid of the tmp file that IMail leaves behind when the script uses the IMail1 program to generate the script results by email. This goes after the script line which generates the email: del %IMailDir%\spool\*.tmp George -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glenn \ WCNet Sent: Wednesday, June 15, 2005 5:31 PM To: [email protected] Subject: Re: [sniffer] Auto Sniffer Updates Well blow me down. That did the trick, least-wise it does for triggering by a test message! I'll know for sure when the next notification arrives. Thanks!!! G.Z. ----- Original Message ----- From: "George Kulman" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, June 15, 2005 4:06 PM Subject: RE: [sniffer] Auto Sniffer Updates You might want to try the following which resolved this problem for me (a while ago) 1. The IMail program alias is: c:\Sniffer\snfupd.bat 2. I created a .bat file which is: echo off cd\ c:\sniffer snfupd.cmd All of my Sniffer programs and files are in the c:\sniffer folder (directory) which isn't required but happens to be the way I chose to do it. George -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Morgan Sent: Wednesday, June 15, 2005 4:54 PM To: [email protected] Subject: RE: [sniffer] Auto Sniffer Updates > That is what I'm using. I tried editing the .cmd file to do away > with the variables and hard-wire my parameters into it. It works > either way (before or after eliminating the variables) when executed > manually. It does not work via Program Alias -- my .snf file does > not change when an update notification arrives. > Procedure: I send a test message to the update address. I get back > a copy of the test message, and a "S n i f f e r update" notice > indicating that an update occurred . . but, in fact, an update > does NOT occur, the .snf file is still date/time stamped the same > (I'm not using the -N option on WGET at this point, so a download > should always occur). My guess would be either a permissions problem or a path problem. Verify that the account that runs the program alias has permissions to all of the data locations and verify that you are not relying on the PATH environment variable which may be different in each context. Regards, Brad Morgan IT Manager Horizon Interactive Inc. This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html
