Hallo Brian,
On Mon, 14 Apr 2008 15:14:18 -0700GMT (15-4-2008, 0:14 +0200, where I
live), you wrote:
BA> I have tried this filter: Sorting Office> Outgoing mail > Export
BA> Message To File > C:\BAT\move.bat with a template:
BA> copy "C:\BAT\XX\%Attachments"
BA> "C:\BAT\Sent"
Those two should have been on one line in order to work. BTW Are
sending your messages as HTML or test only? HTML might cause this to
go awry.
BA> But, the files never moved, so I just left the template as: del
BA> "C:\BAT\TA\%Attachments"
BA> which worked successfully.
BA> Would the filter template look something like this, in move.bat?
BA>
BA> %SetPattRegExp='C:\\BAT\\XX\\(.*?)~~(.*?)\.txt'%-
BA> %SetHeader(To,%SubPatt='1')%-
BA> copy "C:\BAT\XX\%SubPatt='1'~~(.*?)"
BA> "C:\BAT\Sent\%SubPatt='1'\"
BA> del "C:\BAT\XX\%SubPatt='1'~~(.*?)"
No, you're thinking too complicated (and besides your regular
expression wouldn't work either). It's a filter that's being
triggered by your outgoing message and we've extracted the necessary
information before sending that message, that's why I placed the file
name in the Subject header.
Change it to this:
Copy C:\BAT\XX\%ToAddr~~%Subject C:\BAT\XX\%ToAddr\%Subject
Del C:\BAT\XX\%ToAddr~~%Subject
--
Groetjes, Roelof
And those who lack the courage say it's dangerous to try.
http://www.voormijalleen.nl/
The Bat! 4.0.20.2
Windows Vista 6.0 Build 6000
3 pop3 accounts
OTFE enabled
P4 3GHz
2 GB RAM
________________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html