Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? Add date/time to custom tpipe based BTM

Apr
1,793
15
I would like to add the last run date/time to filter out files that have already been processed - on the line from the attached BTM:

for %fn in (*.eml *.lst *.txt) (

but not sure how best to do it. I would aloso think it would be a user registry variable - like

SET EMailAddrsRunTime=%_DATETIME

then the contents is used to filter out files earlier then that date/time....
 

Attachments

  • EMailAddrs.btm
    1.3 KB · Views: 669
Shortly tested
Code:
for /[d-1000,%_date@%_time] f in (*) ...
works for me. You could have to add a DELAY 1 in the FOR because %_TIME has a precision to the second.
 

Similar threads

Back
Top