If you go to Spool settings under General Settings for Admin.
Command-Line File this would be your EXE or BAT, it passes a filepath as a parameter. I would give that a look. Make sure your process ends when it is done as SM waits for your process or Command-Line Timeout to finish.
Matt Petty
Senior Software Developer
SmarterTools Inc.
www.smartertools.com