Tracker »
Issue 454 – Escaping of quotes on command line
:
Scripting
:
Unspecified
:
Enhancement
:
High
:
0
2009-07-29 09:44
https://winscp.net/forum/viewtopic.php?t=7148
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"""
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"""
Also see Issue #494.