Tracker »

Issue 197 – Pass command-line parameters to script

: Scripting
: Unspecified
: Enhancement
: High
: 0
: RESOLVED
: IMPLEMENTED
: 4.2.2
For example:
winscp /script=script.txt /params file1.dat file2.dat

script.txt:
open session
put %1
put %2
Raising priority
Implemented.
The pattern is %1%, %2%
Not %1 or %2 as shown above.