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]
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.
________________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html