I can use WinSCP.com to connect to my host successfully at the command line.
But when I run a batch file, it trys to connect to an old FTP site that is no longer configured in WinSCP. I deleted it.
It seems to ignore my batch file commands: "C:\Program Files (x86)\WinSCP\winSCP.com" /script=HHSiteUpdate.txt
It attempts to connect to a site not referred to in that txt file, as I said the old site I was using.
I checked WinSCP.ini and it only has the correct site listed.
I checked for other copies of WinSCP.ini.
I made sure it loads the WinSCP.ini from the C:\Program Files (x86)\WinSCP
It doesn't matter if I use /ini= even with a unique ini file name.
Can't figure it out.
Any help or advice appreciated.