Exitlaunch (Slash Command)
Jump to navigation
Jump to search
Slash command
/exitlaunch FilePath
Set program to run when game exits
- FilePath is the path to the executable file or program to run.
- The file path is case sensitive, and the name of the file that is to be executed usually needs to start with a capital letter whether it has one or not on your computer. For example,
C:\Windows\notepad.exe
will not work, butC:\Windows\Notepad.exe
will. - The file path must be enclosed in quotation marks (" ") if it contains any blank spaces.
- 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