Export STEP and execute external .bat file

Hello everyone!

I have tried to do it by myself but I did not find the way, i hope you can help me.

Regardless of whether it is an assembly or a single part, how can I export the file in .step in a fixed path and execute a .bat file?
Is this possible?

Thanks!