I am looking for some info on using dispatch to enhance one
of my workflows.

What I have set up is to create an ECR document and folder using a
PDMWE template. Then after approval, I would like to move the ECR
document into an
ECO folder, and then create an ECO folder copying some of the
fields from the
ECR document.

I have been told that a macro or exe file through dispatch will
launch a template
when a file reaches a current state.

I would set up a template to move the file and create the ECO
document, what do I need to set up for the macro or exe file and
how do I get it to launch through dispatch?