Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: arguments

decunde wrote:

If does not accept arguments I did not get the meaning for the "parameter". Can someone explain "parameter"?

The post you react to is more than 3 years old, there was no /parameter then.

See documentation to learn how to use /parameters.
decunde

arguments

If does not accept arguments I did not get the meaning for the "parameter". Can someone explain "parameter"?
martin

Re: how can i pass arguments to .bat with /script option

WinSCP script does not allow arguments. However you can make a batch with arguments to create temporary WinSCP script file.
mani

how can i pass arguments to .bat with /script option

my problem is -
the batch file which i am calling needed to be passed an argument.
suppose there is a bat file which i am passing to WinSCP3.exe as-:

WinSCP3.exe /console /script="Call.bat"
this is okay.

the problem is i want to pass argument to that Call.bat
WinSCP3.exe /console /script="Call.bat LogAug16"

something like this.But it,s not working.

the Call.bat contains-:

open example@rac.com
option transfer text
put c:\logs\%1 /home/windows
close
exit

if somebody knows any other way of passing the arg to bat file via winscp