Differences
This shows you the differences between the selected revisions of the page.
| 2014-07-25 | 2014-08-27 | ||
| recommending to use winscp.com when cheking console output (martin) | batch file syntax highlighting (martin) | ||
| Line 7: | Line 7: | ||
| For example, if in Windows Scheduler you have ''%%"C:\Program Files (x86)\WinSCP\WinSCP.exe"%%'' in //Program/script// and ''%%/script="c:\script\example.txt"%%'' in //Add arguments//, try to execute following full command in Command prompt: &winpath | For example, if in Windows Scheduler you have ''%%"C:\Program Files (x86)\WinSCP\WinSCP.exe"%%'' in //Program/script// and ''%%/script="c:\script\example.txt"%%'' in //Add arguments//, try to execute following full command in Command prompt: &winpath | ||
| - | <code> | + | <code batch> |
| "C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="c:\script\example.txt" | "C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="c:\script\example.txt" | ||
| </code> | </code> | ||
| Line 22: | Line 22: | ||
| For example in Windows Scheduler the //Add arguments// may look like: | For example in Windows Scheduler the //Add arguments// may look like: | ||
| - | <code> | + | <code batch> |
| /script="c:\script\example.txt" /log="c:\script\example.log" | /script="c:\script\example.txt" /log="c:\script\example.log" | ||
| </code> | </code> | ||
| Line 28: | Line 28: | ||
| Full command to be executed from Command prompt is: &winpath | Full command to be executed from Command prompt is: &winpath | ||
| - | <code> | + | <code batch> |
| "C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="c:\script\example.txt" /log="c:\script\example.log" | "C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="c:\script\example.txt" /log="c:\script\example.log" | ||
| </code> | </code> | ||