This sets pass fail based on when the shell closes, that doesn't always guarantee file was sent. Thanks for trying though.
- victorme
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Process
object does not exist in VBA, at least not with the libraries available.
stream.WriteLine "WinSCP\winscp.exe /console /script="script.txt 2> error.txt"
script.txt
is referenced by my batch file, and the error.txt
is the file I want the code 0 or 1 output to.