Running Script file from batch file

Advertisement

Guest

Running Script file 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 know how to run the batch script files but how do I run WinSCP script.txt via a batch file?

Can someone please show me an example?
Dave

Reply with quote

Advertisement

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

Reply with quote

Rickaves
Guest

Don't undersstand your point of view

Hello @Martin, so, what should be instead of this line?
  /log="C:\writable\path\to\log\WinSCP.log" /ini=nul ^
  /command ^
Or how should it be solved?
Don't understand.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum