Vocola.net
Vocola 3.1 Function Library
RunProgram(program)
Namespaces LibraryMain ► RunProgram
Executes a program.
Syntax
RunProgram(program)
Parameters
program
Name of the program to execute.
Remarks
Executes a program, as if program were typed at a command prompt. Returns after launching the program.

If program does not specify a full file path, the program must be in a folder listed in the PATH environment variable.

Examples
CopyLaunch Firefox
Start Browser = RunProgram("C:\Program Files\Mozilla Firefox\firefox.exe");
Launches Mozilla Firefox.
CopyOpen a document
Show Home Page = RunProgram(C:/WebSite/index.html);
Specifying a file for the program argument opens the file using its default application, here presumably a web browser.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)