Differences
This shows you the differences between the selected revisions of the page.
2012-02-10 | 2012-03-24 | ||
Windows script host (martin) | msdn interwiki (martin) | ||
Line 30: | Line 30: | ||
==== [[inout]] Access to Input/Output streams ==== | ==== [[inout]] Access to Input/Output streams ==== | ||
- | You can use ''[[http://msdn.microsoft.com/en-us/library/aew9yb99(VS.85).aspx|WScript.Shell]]'' to execute WinSCP [[executables|console interface tool]] and feed the script commands (using input stream), without creating temporary script file: | + | You can use ''[[msdn>aew9yb99|WScript.Shell]]'' to execute WinSCP [[executables|console interface tool]] and feed the script commands (using input stream), without creating temporary script file: |
<code javascript> | <code javascript> | ||
var shell = WScript.CreateObject("WScript.Shell"); | var shell = WScript.CreateObject("WScript.Shell"); | ||
Line 48: | Line 48: | ||
==== XML parsing ==== | ==== XML parsing ==== | ||
- | You can use ''[[http://msdn.microsoft.com/en-us/library/ms756987(VS.85).aspx|MSXML2.DOMDocument]]'' object to parse [[logging_xml|XML log]] produced by WinSCP. The following example follows up to the previous one (which starts session with XML logging and lists contents of initial directory): | + | You can use ''[[msdn>ms756987|MSXML2.DOMDocument]]'' object to parse [[logging_xml|XML log]] produced by WinSCP. The following example follows up to the previous one (which starts session with XML logging and lists contents of initial directory): |
<code javascript> | <code javascript> | ||
// parse XML log file | // parse XML log file |