金融网销好做还是电销:Exec Method (Windows Script Host)
来源:百度文库 编辑:九乡新闻网 时间:2024/04/26 20:01:32
Exec Method (Windows Script Host)
Windows Scripting 5.8Runs an application in a child command-shell, providing access to the StdIn/StdOut/StdErr streams.
object.Exec(strCommand)Arguments
Remarks
The Exec method returns a WshScriptExec object, which provides status and error information about a script run with Exec along with access to the StdIn, StdOut, and StdErr channels. The Exec method allows the execution of command line applications only. The Exec method cannot be used to run remote scripts. Do not confuse the Execmethod with the Execute method (of the WshRemote object).
ExampleThe following example demonstrates the basics of the Exec method.
Dim WshShell, oExecSet WshShell = CreateObject("WScript.Shell")Set oExec = WshShell.Exec("calc")Do While oExec.Status = 0 WScript.Sleep 100LoopWScript.Echo oExec.StatusVBC#C++F#JScript
No code example is currently available or this language may not be supported.
Applies To:
WshShell Object
See AlsoReference
WshScriptExec Object
Exec Method (Windows Script Host)
Run Method (Windows Script Host)
Objects (Windows Script Host)
Host
《Windows 服务器备份和恢复解决方案》(Symantec Backup Exec 2...
修改HOST,访问Google
SHREK Script 史莱克剧本
the lion king script
Jailed ex-exec points finger at official
Successful method of marketing telephone
java反射机制method用法
Indonesia to host NAM ministerial meeting - P...
ftp: connect: No route to host
Madrid presents candidacy to host 2020 Olympi...
Madagascar: Escape 2 Africa Script - transcri...
Madagascar Script - transcript from the scree...
Eclipse BIRT Script Data Source示例K
Tales from the Script - October 2002
Wildcard script mapping and IIS 7 integrated ...
英文剧本:冰河世纪 Ice Age Script
LED display maintenance detection method and steps
腰椎间盘突出症cure method
Generic Host Process for Win32 Services 遇到问题需...
FTP错误ftp: connect: No route to host的解决办法