We are using .scp script, called by winscp.com, to send/receive files. We have an outside command line .exe that completely automates our archive process of said files. We are calling the .exe with its arguments inside the .scp script as follows:
shell C:\archiver\archiver.exe [arg1] [arg2]
When using Script Debugger, the entire .scp runs without issue as we step through it line by line, including the archiving. When we have the script run normally as scheduled, the .exe is never called and the archive is skipped. Everything else completes as designed.