Differences

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

2009-04-23 2009-04-23
typo (martin) echo from wscript to report errors (martin)
Line 103: Line 103:
Some notes for using ''wscript'': Some notes for using ''wscript'':
-  * Every call to ''WScript.Echo'' causes message box to be shown, pausing the execution. So generaly you do not want to use ''WScript.Echo'' from ''wscript.exe''.+  * Every call to ''WScript.Echo'' causes message box to be shown, pausing the execution. So generaly you do not want to use ''WScript.Echo'' from ''wscript.exe'' (except maybe to report errors).
  * Execution of ''winscp.com'' opens new console window (if one is not opened already, e.g. by ''cscript.exe''). Use ''winscp.exe'' instead (without ''/console'' switch). However ''winscp.exe'' does not allow input/output redirection, so you need to pass the commands in [[scripting#using_scripting|using command-line]].   * Execution of ''winscp.com'' opens new console window (if one is not opened already, e.g. by ''cscript.exe''). Use ''winscp.exe'' instead (without ''/console'' switch). However ''winscp.exe'' does not allow input/output redirection, so you need to pass the commands in [[scripting#using_scripting|using command-line]].

Last modified: by martin