gemus_script_reference:functions:run_gamefile
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | gemus_script_reference:functions:run_gamefile [2023/10/04 14:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Back to [[.:|Script Function Reference]] | ||
+ | ====== Run_GameFile() ====== | ||
+ | |||
+ | Similar to the [[.: | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Arguments ===== | ||
+ | |||
+ | ^ Argument ^ Required ^ Description ^ | ||
+ | | // | ||
+ | \\ | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | < | ||
+ | Run_GameFile() | ||
+ | |||
+ | Run_GameFile(DOSCLOSE) | ||
+ | </ | ||
+ | |||
+ | ===== Remarks ===== | ||
+ | |||
+ | * If the game file's type is .exe, .com or .bat, then it will be treated as an executable file and simply run normally. For all other file types, the game file will be run using its default program as determined by its Windows file association (e.g. if the game file is a text file, it might be opened in notepad.exe). | ||
+ | * On some systems, running programs in MSDOS mode restricts the command string to a certain length. If you find that the game file will not execute, try reducing the length of the command line arguments. A common reason for this is because you have added a path to the command line arguments which is too long or has too many subfolders. | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | * [[.: | ||
+ | * [[.: | ||
+ | * [[.: | ||
+ | * [[.:|Script Function Reference]] |
gemus_script_reference/functions/run_gamefile.txt · Last modified: 2023/10/04 14:15 by 127.0.0.1