Apologies if this has been asked and answered before
I successfully created a script to retrieve files from a Solaris 10 Server and was working fine. However when trying to run this script today I now receive "Host does not exist", I am unaware of any changes to my end or the server end, so effectively it has just stopped working from what I can see.
However the following run from the command line works fine
winscp.exe /console /command "option batch off" "open root:email@example.com"
But the following does not work in a script and generates the "Host does not exist" error
I have added to the host key to the cache already
Any ideas would be appreciated