On Sunday, 13 July 2003, at 11:34:10 p.m., Marck D Pearlstone wrote: <snip> > Enclosing the command line in double quotes would have cured that > with the need for a CD first. <snip>
Thanks for the tips, but for anybody else following this thread, note that the correct syntax is "command" "parameter" So, technically, this is not enclosing the *command line* in quotes but enclosing the *command* in quotes. Now, my next problem is that I have four email accounts on which I would like to use this filter, yet it seems to be tied to a single account. Further, you also have to specify a 'from' and 'to' folder and this seems extraneous unless it is an automated filter. For that matter, which filter category should it be under? I have it under 'Read Mail', but does this matter for a manually invoked filter? For convenience, of learners out there, here is my final template with Marck's points taken into consideration. --8<---------------cut here---------------start------------->8--- %SetPattRegExp='^X-POPFile-Link: <(.*?)>$'%- %RegExpBlindMatch="%Headers" "C:\Program Files\Internet Explorer\iexplore.exe" "%SubPatt='1'" --8<---------------cut here---------------end--------------->8--- Which brings me to one more question (good grief!) What concept says that the %RegExpMatch macro returns the first subpattern as Carsten's original script would imply (and I still haven't checked), and not just the whole pattern? Regards, Allister. -- Using The Bat! v1.62r on Windows XP 5.1 Build 2600 Service Pack 1 ________________________________________________ Current version is 1.62r | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html

