Differences
This shows you the differences between the selected revisions of the page.
| 2014-10-20 | 2016-01-22 | ||
| articles (martin) | commandline#scripting (martin) | ||
| Line 99: | Line 99: | ||
| 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'' (except maybe to report errors). | * 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 ''[[commandline#scripting|/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]]. |
| ===== .NET (C# or VB.NET) ===== | ===== .NET (C# or VB.NET) ===== | ||