Re: Exiting a batch file
The problem is that when there is nothing to download, the script stops and does not exit the CMD.exe dialogue.
That's not how WinSCP behaves on its own. It must be related to how you use/run WinSCP. We need a full example.
The problem is that when there is nothing to download, the script stops and does not exit the CMD.exe dialogue.
( "get -delete _MainDir/SubDir/* D:\DestinationDir\" )