Exitlaunch (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 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 (.exe) file or program to run.
* ''FilePath'' is the path to the executable file or program to run.
* Does not work with .lnk shortcut files or any file other than one ending in .exe.
* 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>


'''Note:''' Might work in MacOS or Linux OS, but haven't figured out how to do it yet. Might not be possible.


==Example==
==Example==
  /exitlaunch C:\games\TicTacToe\ttt.exe
  /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, but C:\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