.Run Run an external Command. Syntax objShell.Run ( strCommand, [ intWindowStyle], [ bWaitOnReturn]) Key objShell: A WScript.Shell object 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). Environment variables within the argument strCommand are automatically expanded. If a file type has been properly registered to a particular program, calling run on a file of that type executes the program. For example, if Word is installed on your computer system, calling Run on a *.doc file starts Word, and loads the document. Settings for intWindowStyle: 0 Hide the window (and activate another window.) 1 Activate and display the window. Html How To Measure Download Speed there. Dj Snake Songs Download Mp3 more.
