Strange error
I'm attempting run run the following:
I'm getting an error of the following:
[Everything runs fine with authenticating up to this and then it fails". Which "^" is causing the issue?]
@echo off "C:\Program Files (x86)\WinScp\WinSCP.com" ^ /log="C:\Users\MHeat\WinSCP.log" /ini=nul ^ /command ^ "open sftp://mark:*******@1xxx.xxx.x.xxx/ -hostkey=""key""" ^ "synchronize both C:\Users\MHeat\WinToLinFileShr /home/mark/WinToLinFileShr" ^ "exit"
[Everything runs fine with authenticating up to this and then it fails". Which "^" is causing the issue?]
< 2025-05-08 16:32:09.548 Script: Active session: [1] mark@xxx.xxx.x.xxx > 2025-05-08 16:32:09.549 Script: ^ < 2025-05-08 16:32:09.551 Script: Unknown command '^'. . 2025-05-08 16:32:09.552 Script: Failed