Exitlaunch (Slash Command): Difference between revisions
Jump to navigation
Jump to search
BlackSpectre (talk | contribs) No edit summary |
BlackSpectre (talk | contribs) No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
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}} | ||
* ''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 or | * 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, <code>C:\Windows\<span style="background: yellow;">n</span>otepad.exe</code> will '''not''' work, but <code>C:\Windows\<span style="background: yellow;">N</span>otepad.exe</code> 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 Parameters|Command Line Parameter]]== | |||
The command can be made more or less permanent by running it automatically at log-in as a [[Command Line Parameters|Command Line Parameter]]. For example,<BR /> <code>-exitlaunch "C:\games\TicTacToe\Ttt.exe"</code> | |||
==Example== | ==Example== | ||
/exitlaunch C:\games\TicTacToe\ | /exitlaunch "C:\games\TicTacToe\Ttt.exe" | ||
==Also== | ==Also== | ||
[[Default Folder]] | * [[Default Folder]] | ||
* {{slashcommand|quittocharacterselect}} | |||
* {{slashcommand|quittologin}} | |||
* {{slashcommand|quit}} | |||
* {{slashcommand|exitlaunch}} | |||
{{Navbox Command Line Parameters}} | |||
[[Category:Slash Commands]] | |||
[[Category:Command Line Parameters]] |
Latest revision as of 05:02, 20 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.
- 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