Run » History » Version 9
Per Amundsen, 07/17/2017 02:49 PM
| 1 | 1 | Per Amundsen | _Added in 1.5_ |
|---|---|---|---|
| 2 | |||
| 3 | */run [-hnp] <filename|url> [arguments]* |
||
| 4 | |||
| 5 | Runs the specified program. |
||
| 6 | If a URL is entered, default browser will be used. |
||
| 7 | |||
| 8 | 9 | Per Amundsen | _Filenames using spaces must be enclosed in [[$qt|quotes]] unless the filetype is .exe or .bat when passing arguments._ |
| 9 | 2 | Per Amundsen | |
| 10 | 1 | Per Amundsen | *Switches* |
| 11 | |||
| 12 | -h - Hide the application in context. |
||
| 13 | -n - Minimizes the window of the program. |
||
| 14 | -p - Sets the working path to the path of the program. |
||
| 15 | |||
| 16 | *Parameters* |
||
| 17 | |||
| 18 | 8 | Per Amundsen | <filename|url> - File or url to run. |
| 19 | 1 | Per Amundsen | [arguments] - Arguments list to be passed to the program. |
| 20 | |||
| 21 | *Example* |
||
| 22 | |||
| 23 | <pre> |
||
| 24 | ;Open www.adiirc.com |
||
| 25 | /run www.adiirc.com |
||
| 26 | |||
| 27 | ;Open notepad |
||
| 28 | /run notepad.exe |
||
| 29 | </pre> |