Table of Contents

Back to Script Function Reference

Run_GameFile()

Similar to the Run_Emulator() function, this function will run the game file, not the configured emulator. Any command line arguments that have previously been set using the Add_CLP() or Add_CLP2() functions will be applied to this function provided that the game file's type is .exe, .com or .bat).

Syntax

Run_GameFile([DOSCLOSE])

Arguments

Argument Required Description
DOSCLOSE No If the literal string DOSCLOSE is supplied as a function argument and the game file runs in MSDOS mode, the DOS command window will be automatically closed when the game file closes. You should only supply this parameter if the game file runs in MSDOS mode.


Examples

Run_GameFile()

Run_GameFile(DOSCLOSE)

Remarks

See Also