C:\Program Files (x86)\WinSCP>WinSCP.com /console /script="d:\backups\testlocal\sync.txt" /log="d:\backups\testlocal\log.txt
On closing this, the final line in the command prompt window is "Access is denied".
I am running Win10 (64 bit) and the command prompt is running as elevated. My simple script can be seen bottom right in the screenshot.
Any ideas why this isn't working please? Is WinSCP scripting not compatible with Windows 10?