execute
Queues the executing of a local file.
Method of
FileSyntax
int execute ( FileSpecObject executableFile,
[String aParameters] );Parameters
The
executemethod has the following parameters:
Returns
An integer error code. For a list of possible values, see Return Codes.
Description
The specified file is not actually executed until the performInstall method is called. See performInstall for more information about queued commands during the installation process.
Example
f = getFolder("Program", "myTextEditor.exe"); err = File.execute(f, "myfile.txt"); // indicates that 'myfile.txt' will be // opened in the editor
| Netscape Communications devedge.netscape.com |