Got a scripting issue that I can't seem to find a solution to.
I have my batch WinSCP job scheduled to run hourly, which works great. The only problem I have is, upon it running and the folders already being 'in sync', it returns the notification box "No differences found." (OK / Help). The only way I can seem to kill the task is to set a timeout option in Windows Scheduler, but, the problem this causes is that it doesn't clear the job from memory (i.e. it still appears in Task Manager). By the time that this has run multiple times throughout the day where no differences were found, it accumulates numerous 'dead' jobs in memory.
My script looks like this, can anyone recommend a command that either closes this notification box or turns it off by default? I have tried using a 'close' and a '// switch' command, neither of which make any difference.
Any suggestions would be appreciated.