teratermpro macros

Joined
May 9, 2006
Messages
1
Reaction score
0
Hi,
I need to run ttermpro from a batch file, and also use macros.

I run a batch file whose core is

@for %%a in (*.eml) do ttpmacro mac.ttl %%a

mac.ttl is

----------------------------------
connect 'address.dom:25'
wait '220' #10
.
.
.
quit
wait 'bye'
beep
end
-----------------------------------

Evrything works but .... the 'end' instruction doesn't exit the task, so the loop doesn't proceed.
If I close the macro manually everytime it works correctly.

I tried exit and everything, but the result is the same.

IT IS NOT A SPAM ATTEMPT. (there are simpler ways)
(need to transfer all emails from one online account to another and keep the dates)

Any help ??

Thanks,
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top