Executes a program, with arguments.
Syntax
RunProgram(program, arguments)
Parameters
- program
- Name of the program to execute.
- arguments
- Program arguments, separated by spaces. If an argument contains a space character, that argument should be enclosed in double quotes.
Remarks
Executes a program, as if program followed by arguments was 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 a perl script
Upload Home Page = RunProgram(perl, C:/Scripts/uploadHomePage.pl);
CopyCopy a file
Run Backup = RunProgram(xcopy, '/y C:/Users/Pat/important.txt "F:/My Backups"');
See Also
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)