RE: Re[2]: [sniffer] auto update tmp files
Bonno Bloksma <> wrote on Friday, September 23, 2005 2:44 AM: > C:\IMail\spool\tmp6C40.tmp > > As you can see the %1 is a complete path. So just Del %1 should do > the trick. Wow, thanks. I never thought of actually checking to see what the value of %1 was. I just assumed (I know...) that it was just the file name. 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
Re: Re[2]: [sniffer] auto update tmp files
Hi, I had trouble for a while with the "del %1" functionality, but I had a problem with the script running in the wrong directory. I [] Yeah, my script does explicitly enter the sniffer directory, and the line to delete the file is explicit as well: Del s:\imail\spool\%1 ...but that never worked. Maybe if I cd into the spool first it might It would not work because.. I have the %1 parameter in the email sent to me as part of the reporting. Using IMail 8.21 Here is what's in the email: Rulefile OK, updated C:\IMail\spool\tmp6C40.tmp As you can see the %1 is a complete path. So just Del %1 should do the trick. Groetjes, Bonno Bloksma --- [E-mail scanned at tio.nl for viruses by Declude Virus] 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
RE: Re[2]: [sniffer] auto update tmp files
Pete McNeil <> wrote on Thursday, September 22, 2005 11:24 AM: > On Thursday, September 22, 2005, 9:51:31 AM, John wrote: > >> Sorry I'm late. >> >> I had trouble for a while with the "del %1" functionality, but I >> had a problem with the script running in the wrong directory. I >> believe I added a "cd \sniffer2" type line and it worked thereafter >> like a charm. > > This is a common problem with program aliases in IMail. It is always > best to set the working directory at the top of any scripts that run > as a "program alias" so that there is no question where they are > running. I've learned that one the hard way a couple of times ;-) > > _M > > > > 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 Yeah, my script does explicitly enter the sniffer directory, and the line to delete the file is explicit as well: Del s:\imail\spool\%1 ...but that never worked. Maybe if I cd into the spool first it might work, but it is working with current directive, which is: Del s:\imail\spool\*.tmp ...so I really don't have a compelling reason to test it. 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
Re[2]: [sniffer] auto update tmp files
On Thursday, September 22, 2005, 9:51:31 AM, John wrote: JS> Sorry I'm late. JS> JS> I had trouble for a while with the "del %1" functionality, JS> but I had a problem with the script running in the wrong JS> directory. I believe I added a "cd \sniffer2" type line and it JS> worked thereafter like a charm. This is a common problem with program aliases in IMail. It is always best to set the working directory at the top of any scripts that run as a "program alias" so that there is no question where they are running. I've learned that one the hard way a couple of times ;-) _M 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
RE: [sniffer] auto update tmp files
Sorry I'm late. I had trouble for a while with the "del %1" functionality, but I had a problem with the script running in the wrong directory. I believe I added a "cd \sniffer2" type line and it worked thereafter like a charm. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan HorneSent: Monday, 19 September 2005 11:29 AMTo: sniffer@SortMonster.comSubject: RE: [sniffer] auto update tmp files I have tried to delete %1, but it never seemed to work. I ended up putting a "del *.tmp" at the end of my script and haven't had any problems. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bonno BloksmaSent: Monday, September 19, 2005 9:22 AMTo: sniffer@SortMonster.comSubject: [sniffer] auto update tmp files Hi, Ok, I had auto update pretty much in the air. Seems all I needed was a program alias that fired the script. ;-) There's just one thing, I end up with alot of "tmpID.tmp" files in my spool directory. Any way of deleting those automagically? I could simply delete all tmp.tmp files in my midnight run. Would that be a problem? The only program alias I have is the sniffer update. Met vriendelijke groet, Bonno Bloksma hoofd systeembeheer tio hogeschool toerisme en hospitality julianalaan 9 / 7553 ab hengelo t 074 255 06 10 / f 074 255 06 16 [EMAIL PROTECTED] / www.tio.nl
RE: [sniffer] auto update tmp files
I have tried to delete %1, but it never seemed to work. I ended up putting a "del *.tmp" at the end of my script and haven't had any problems. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bonno BloksmaSent: Monday, September 19, 2005 9:22 AMTo: sniffer@SortMonster.comSubject: [sniffer] auto update tmp files Hi, Ok, I had auto update pretty much in the air. Seems all I needed was a program alias that fired the script. ;-) There's just one thing, I end up with alot of "tmpID.tmp" files in my spool directory. Any way of deleting those automagically? I could simply delete all tmp.tmp files in my midnight run. Would that be a problem? The only program alias I have is the sniffer update. Met vriendelijke groet, Bonno Bloksma hoofd systeembeheer tio hogeschool toerisme en hospitality julianalaan 9 / 7553 ab hengelo t 074 255 06 10 / f 074 255 06 16 [EMAIL PROTECTED] / www.tio.nl
Re: [sniffer] auto update tmp files
I dump them once a day. - Original Message - From: Bonno Bloksma To: sniffer@SortMonster.com Sent: Monday, September 19, 2005 8:21 AM Subject: [sniffer] auto update tmp files Hi, Ok, I had auto update pretty much in the air. Seems all I needed was a program alias that fired the script. ;-) There's just one thing, I end up with alot of "tmpID.tmp" files in my spool directory. Any way of deleting those automagically? I could simply delete all tmp.tmp files in my midnight run. Would that be a problem? The only program alias I have is the sniffer update. Met vriendelijke groet, Bonno Bloksma hoofd systeembeheer tio hogeschool toerisme en hospitality julianalaan 9 / 7553 ab hengelo t 074 255 06 10 / f 074 255 06 16 [EMAIL PROTECTED] / www.tio.nl
Re: [sniffer] auto update tmp files
On Monday, September 19, 2005, 9:21:53 AM, Bonno wrote: BB> Hi, BB> BB> Ok, I had auto update pretty much in the air. Seems all I BB> needed was a program alias that fired the script. ;-) BB> There's just one thing, I end up with alot of "tmpID.tmp" BB> files in my spool directory. Any way of deleting those BB> automagically? BB> BB> I could simply delete all tmp.tmp files in my midnight BB> run. Would that be a problem? The only program alias I have is the BB> sniffer update. The best way to get rid of the temp files is to delete %1 at the bottom of your update script. The name of the temp file is passed to the program by the alias. ;-) Hope this helps, Thanks, _M 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
[sniffer] auto update tmp files
Hi, Ok, I had auto update pretty much in the air. Seems all I needed was a program alias that fired the script. ;-) There's just one thing, I end up with alot of "tmpID.tmp" files in my spool directory. Any way of deleting those automagically? I could simply delete all tmp.tmp files in my midnight run. Would that be a problem? The only program alias I have is the sniffer update. Met vriendelijke groet, Bonno Bloksma hoofd systeembeheer tio hogeschool toerisme en hospitality julianalaan 9 / 7553 ab hengelo t 074 255 06 10 / f 074 255 06 16 [EMAIL PROTECTED] / www.tio.nl