Run » History » Version 11
Per Amundsen, 08/07/2019 10:44 PM
1 | 1 | Per Amundsen | _Added in 1.5_ |
---|---|---|---|
2 | |||
3 | 11 | Per Amundsen | */run [-ahnp] <filename|url> [arguments]* |
4 | 1 | Per Amundsen | |
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 | 11 | Per Amundsen | -a - Ask to run the application as a administrator. |
13 | 1 | Per Amundsen | -h - Hide the application in context. |
14 | -n - Minimizes the window of the program. |
||
15 | -p - Sets the working path to the path of the program. |
||
16 | |||
17 | *Parameters* |
||
18 | |||
19 | 8 | Per Amundsen | <filename|url> - File or url to run. |
20 | 1 | Per Amundsen | [arguments] - Arguments list to be passed to the program. |
21 | |||
22 | *Example* |
||
23 | |||
24 | <pre> |
||
25 | 10 | Per Amundsen | ; Open www.adiirc.com. |
26 | 1 | Per Amundsen | /run www.adiirc.com |
27 | |||
28 | 10 | Per Amundsen | ; Open notepad. |
29 | 1 | Per Amundsen | /run notepad.exe |
30 | 10 | Per Amundsen | |
31 | ; Open firefox to the url 'www.adiirc.com'. |
||
32 | /run C:\Program Files\firefox.exe www.adiirc.com |
||
33 | 1 | Per Amundsen | </pre> |