Exitlaunch (Slash Command): Difference between revisions
Jump to navigation
Jump to search
BlackSpectre (talk | contribs) No edit summary |
BlackSpectre (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{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}} | ||
* ''FilePath'' is the path to the executable | * ''FilePath'' is the path to the executable file or program to run. | ||
* Does not work with .lnk shortcut files | * The command will work with any Windows executable file (.exe, .bat, .cmd, .com, etc.). | ||
* Does not work with .lnk shortcut files. | |||
Line 12: | Line 13: | ||
==Example== | ==Example== | ||
/exitlaunch "C:\games\TicTacToe\ttt.exe" | /exitlaunch "C:\games\TicTacToe\ttt.exe" | ||
==Also== | ==Also== |
Revision as of 22:36, 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