Exitlaunch (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
==Slash command==
==Slash command==
{{SlashCommandArticle|command=exitlaunch|options=FilePath|note=Set program to run when game exits}}
{{SlashCommandArticle|command=exitlaunch|options=FilePath|note=Set program to run when game exits}}

Revision as of 22:37, 23 June 2023

Slash command

/exitlaunch FilePath

Set program to run when game exits

  • FilePath is the path to the executable file or program to run.
  • 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