Project

General

Profile

Run » History » Version 13

Per Amundsen, 02/16/2023 09:38 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 1 Per Amundsen
21
*Parameters*
22
23 12 Per Amundsen
table(ktable).
24
|*Parameter*|*Description*|
25
| &lt;filename<notextile>|</notextile>url&gt; | File or url to run. |
26
| [arguments] | Arguments list to be passed to the program. |
27 1 Per Amundsen
28
*Example*
29
30
<pre>
31 10 Per Amundsen
; Open www.adiirc.com.
32 1 Per Amundsen
/run www.adiirc.com
33
34 10 Per Amundsen
; Open notepad.
35 1 Per Amundsen
/run notepad.exe
36 10 Per Amundsen
37
; Open firefox to the url 'www.adiirc.com'.
38
/run C:\Program Files\firefox.exe www.adiirc.com
39 1 Per Amundsen
</pre>