Differences

This shows you the differences between the selected revisions of the page.

2008-02-14 2008-02-14
Modifying the script automatically (martin) Checking script results (martin)
Line 54: Line 54:
You can also put the script on your desktop and than easily use it by dropping files on its icon. Windows automatically run the script and passes path to dropped file as command-line parameter. You can also put the script on your desktop and than easily use it by dropping files on its icon. Windows automatically run the script and passes path to dropped file as command-line parameter.
 +===== Checking script results =====
 +To check results of the script your can:
 +  * Check exit code of WinSCP. See [[faq_script_result|another FAQ]].
 +  * Save and inspect log files. Use [[command-line|commandline]] parameter ''/log''.
 +  * Save and inspect output of the script. Use output redirection (''> filename'' at the end of commandline executing WinSCP). Note that you can redirect output of ''WinSCP.com'' only (see [[scripting#console|documentation]]).