Differences
This shows you the differences between the selected revisions of the page.
| 2009-04-15 | 2009-04-17 | ||
| WScript.Shell (martin) | alternative waiting to exit from wsh (with print) (martin) | ||
| Line 45: | Line 45: | ||
| } | } | ||
| </code> | </code> | ||
| + | |||
| + | If you want to see WinSCP output replace the trailing ''while'' statement with: | ||
| + | |||
| + | // wait until the script finishes | ||
| + | while (!exec.StdOut.AtEndOfStream) | ||
| + | { | ||
| + | WScript.Echo(exec.StdOut.ReadAll()); | ||
| + | } | ||
| ==== XML parsing ==== | ==== XML parsing ==== | ||