Post a reply

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

Yes, but again, use winscp.com, not winscp.exe.
Guest

thank you Martin - so I just create a batch file with this line?

"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\writable\path\to\log\WinSCP.log" /ini=nul /script="C:\path\to\script\script.txt
Guest

Rinnign Script fiel from batch file

Hi
the auto generated script file has this line:
# Execute the script using a command like:

# "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\writable\path\to\log\WinSCP.log" /ini=nul /script="C:\path\to\script\script.txt"


I knwo how to run the bacth script fiels but how do I run WinSCP script.txt via a batch file?

Can someone please show me an example?

Dave