RE: Can TB move a file, and send a link to it?

"Brian Archer" <[email protected]> Fri, 11 Apr 2008 11:59:29 -0700
Newsgroups gmane.mail.the-bat.devel
Message-ID <000001c89c06$2be19500$6601a8c0@BARCHER>
Can TheBat! automatically move a file to a subdirectory and then mail a link
to that subdirectory file?

Presently, the files have the users email address as part of the file name.

A file name example is: [email protected]~~myLifeStory.txt.

I am currently using to files that extract the email address from the file
name, attach the file and send the attachment.

 

I'm using sendFile.cmd:

For %%i in ("C:\BAT\TA\*.txt") do "C:\Program Files\The Bat!\thebat.exe"
/MailT="C:\BAT\Sendfile.tpl";A="%%i";To="%%i";Send

 

And sendfile.tpl:

%SetPattRegExp='C:\\BAT\\TA\\(.*?)~~(.*?)\.txt'%- 

%RegExpBlindMatch='%To'%-

%ModifyOnce(To)%- 

%SetHeader(To,%SubPatt='1')%- 

%Subject="Hello" 

Hi %ABToFirstName="%ToFName", 

 

Thank you.

Regards, %FromFName

 

Instead of sending the file, can I get some help so that TheBat! can
automatically move the file to a subdirectory (named with the email address
name - already created),

and send a link to the file, via the email address? Thank you.