Tracker »

Issue 454 – Escaping of quotes on command line

: Scripting
: Unspecified
: Enhancement
: High
: 0
: RESOLVED
: IMPLEMENTED
: 4.2.3
Changing solution to different implementation of command line parsing:
Double double-quote is treated as a single double-quote within value of command-line parameter.

So to use double-quote inside script command passed on command line, do:
winscp /command "put ""c:\file with spaces.dat"""