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
