I am using Snagit to capture the contents of a portion of a screen and then want to invoke WINSCP to transfer the file that was captured. Snagit supports the insertion of a generated file into a command line param passed to another windows exe.
This seems to properly invoke winscp3, and leaves me with a window properly formated and populated for me to confirm a "COPY".
After one click the copy completes, everything closes, and I am happy.
I dont seem to be able to find a way to PREVENT this pop-up and just have the copy happen.
I would prefer NOT to use the scripting and the .com file since its behavior when run in a spawned dos window is less than appealing.
But that's the only way. Parameter /upload is not intended for automation.