Login | |
|
 |
RE: return value for run method - 8/25/2006 1:16:32 PM
|
|
 |
|
| |
Cybex
Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
|
Not sure if this helps because I am not exactly sure what you are trying to do but... Google says... WshShell.Run Run an external Command. Syntax WshShell.Run (strCommand, [intWindowStyle], [bWaitOnReturn]) Parameters strCommand : The Command to be executed intWindowStyle (Optional) : Int value indicating the appearance of the program's window. Not all programs make use of this. bWaitOnReturn : Wait for the command to complete before continuing execution of the wsh script. If bWaitOnReturn is set to TRUE, the Run method returns any error code returned by the application. If bWaitOnReturn is not specified or FALSE, this method immediately returns to script execution rather than waiting on the process termination (and returns an error code of 0) Specifying the bWaitOnReturn parameter allows you to run programs synchronously (one at a time).
< Message edited by Cybex -- 8/25/2006 1:18:50 PM >
_____________________________
Common sense is not so common.
|
|
| |
|
|
|
|
|