Run » History » Version 14
Per Amundsen, 04/19/2023 04:59 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 | 13 | Per Amundsen | _See also [[$exec]]._ |
9 | |||
10 | 9 | Per Amundsen | _Filenames using spaces must be enclosed in [[$qt|quotes]] unless the filetype is .exe or .bat when passing arguments._ |
11 | 2 | Per Amundsen | |
12 | 1 | Per Amundsen | *Switches* |
13 | |||
14 | 12 | Per Amundsen | table(ktable). |
15 | |*Switch*|*Description*| |
||
16 | | -a | Ask to run the application as a administrator. | |
||
17 | | -h | Hide the application in context. | |
||
18 | | -n | Minimizes the window of the program. | |
||
19 | | -p | Sets the working path to the path of the program. | |
||
20 | 14 | Per Amundsen | | -u | If AdiIRC is running as admin, runs the program without admin right. | |
21 | 1 | Per Amundsen | |
22 | *Parameters* |
||
23 | |||
24 | 12 | Per Amundsen | table(ktable). |
25 | |*Parameter*|*Description*| |
||
26 | | <filename<notextile>|</notextile>url> | File or url to run. | |
||
27 | | [arguments] | Arguments list to be passed to the program. | |
||
28 | 1 | Per Amundsen | |
29 | *Example* |
||
30 | |||
31 | <pre> |
||
32 | 10 | Per Amundsen | ; Open www.adiirc.com. |
33 | 1 | Per Amundsen | /run www.adiirc.com |
34 | |||
35 | 10 | Per Amundsen | ; Open notepad. |
36 | 1 | Per Amundsen | /run notepad.exe |
37 | 10 | Per Amundsen | |
38 | ; Open firefox to the url 'www.adiirc.com'. |
||
39 | /run C:\Program Files\firefox.exe www.adiirc.com |
||
40 | 1 | Per Amundsen | </pre> |