EXECUTES THE FILE F WITH PARAMETERS IN OPTION
ACTION
The command EXECUTE F executes the file F. F is the absolute or relative name of the file or the name of an URL. In The case, the name must begin by "http://" and the command EXECUTE use the web browser by default. For instance, to display the forum of PANORAMIC, the command is:
execute "http://panoramic.free-boards.net"
The absolute name is the entire name, related to the root of the file system (ex: "c:\temp\file.exe").
The relative name is the name of the file related to the current directory (ex: "file.exe" or "/file.exe" or "\file.exe").
The command can pass one or several parameters to the executable file F. The parameters must be separated from the executable name by the character |. The parameters must be separated spaces.
Example : EXECUTE "Make_exe.exe|-e source.bas" launches the executable "Make_exe.exe" and passes it two parameters "-e" and "source.bas".
SYNTAX:
EXECUTE F / EXECUTE F Pi
USE ERROR EXAMPLE
rem lauch the program prg.exe
execute "prg.exe"
rem lauch the program prog.exe with 1 parameter
execute "prog.exe 50"
EXECUTE
EXECUTE F [Pi]
SEE ALSO
EXECUTE_WAIT