EXECUTES THE FILE F WITH PARAMETERS IN OPTION AND WAITS FOR THE END
ACTION
The command EXECUTE_WAIT F executes the file F and waits for the end. 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_WAIT use the web browser by default. For instance, to display the forum of PANORAMIC, the command is:
execute_wait "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 by spaces.
Example : EXECUTE_WAIT "Make_exe.exe|-e source.bas" launches the executable "Make_exe.exe" and passes it two parameters "-e" and "source.bas".
SYNTAX:
EXECUTE_WAIT F / EXECUTE_WAIT F Pi
USE ERROR EXAMPLE
rem lauch the program prg.exe
execute_wait "prg.exe"
rem lauch the program prog.exe with 1 parameter
execute_wait "prog.exe 50"
EXECUTE_WAIT
EXECUTE_WAIT F [Pi]
SEE ALSO
EXECUTE