tumblr tracker

Run

Library Reference ›› System ››
Parent Previous Next

System.Run


Namespace: System


Executes an external program.


retval = System.Run(Path, [Parameters], [Directory], [WaitToFinish])


Parameters:

- Path; string constant or variable or function returning a string; path to a file to open or program to execute, web site to open, etc.

- [Parameters]; optional; string constant or variable or function returning a string; any parameters to pass to the program

- [Directory]; optional; string constant or variable or function returning a string; the directory to set as current

- [WaitToFinish]; optional, default is true; boolean value; if true waits until the external program finishes before continuing the execution


Returns:

True or False, depending on whether the external program was successfully started; boolean value.


Example


System.Run("http://www.moscripto.com");