cd "\Program Files (x86)\winscp"
And here is the script:
option batch on
option confirm off
If I run the batch file at the beginning from a command prompt (Windows 2003 Enterprise 64-bit, using WInSCP 4.3.3) it runs fine.
If I call it from a Java app, it gets that annoying "Timeout waiting for external Console to complete command"
I saw the article concerning that, but I don't see how calling a simple batch file from Java and calling it from the command line would make a difference. Can someone enlighten me on this so I can get with our programmers, or maybe adjust the settings in Windows?