Differences
This shows you the differences between the selected revisions of the page.
2020-03-03 | 2020-03-03 | ||
missing verb (martin) | using compound statement (martin) | ||
Line 43: | Line 43: | ||
<code batch> | <code batch> | ||
@echo off | @echo off | ||
- | echo Starting WinSCP > C:\script\example.out | + | ( |
- | "C:\Program Files (x86)\WinSCP\WinSCP.com" /script="c:\script\example.txt" /log="c:\script\example.log" >> C:\script\example.out | + | ··echo Starting WinSCP |
- | echo WinSCP done >> C:\script\example.out | + | · "C:\Program Files (x86)\WinSCP\WinSCP.com" /script="c:\script\example.txt" /log="c:\script\example.log" |
+ | · echo WinSCP done | ||
+ | ) > C:\script\example.out | ||
</code> | </code> | ||