Pages that need to execute external actions such as viewing readme files or launching should have tags of the following format:
<a href="cmd:MyCommand">Do MyCommand</a>
For an entry of this syntax, there should be a section entitled [MyCommand] which lets HTML AutoPlay know what command should be executed. The entries under [MyCommand] are the following:
Key | Format | Interpretation |
---|---|---|
Command | Relative path | The relative path to the HTML file to display when the autoplay browser first loads. This value is required. |
Params | String | Any command line parameters to pass to the ShellExecut'ed file specified in . If this key is empty or missing then no command line parameters will be used. |
Verb | String | The verb to use when ShellExecuting this file. If this key is empty or missing then the default shell verb will be used. |
ShowCmd | One of SW_XXX values in text format | The parameter to use when executing the HTML command. Valid constants are enumerated in MSDN under the ShellExecute API. If this key is empty or missing then the SW_SHOWNORMAL parameter will be passed to ShellExecuteEx. |
<a href="cmd:ok">Ok</a>