Exitlaunch (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


* ''FilePath'' is the path to the executable file or program to run.
* ''FilePath'' is the path to the executable file or program to run.
* Used internally for issue preloads, but can be set to execute any program when you finish playing.
* The command will work with any Windows executable file (.exe, .bat, .cmd, .com, etc.).
* The command will work with any Windows executable file (.exe, .bat, .cmd, .com, etc.).
* Does not work with .lnk shortcut files.
* Does not work with .lnk shortcut files.

Revision as of 21:49, 19 February 2024

Slash command

/exitlaunch FilePath

Set program to run when game exits

  • FilePath is the path to the executable file or program to run.
  • Used internally for issue preloads, but can be set to execute any program when you finish playing.
  • The command will work with any Windows executable file (.exe, .bat, .cmd, .com, etc.).
  • Does not work with .lnk shortcut files.


Command Line Parameter

The command can be made more or less permanent by running it automatically at log-in as a Command Line Parameter. For example,
-exitlaunch "C:\games\TicTacToe\ttt.exe"


Example

/exitlaunch "C:\games\TicTacToe\ttt.exe"


Also