Project

General

Profile

Actions

Run » History » Revision 13

« Previous | Revision 13/14 (diff) | Next »
Per Amundsen, 02/16/2023 09:38 PM


Added in 1.5

/run [-ahnp] <filename|url> [arguments]

Runs the specified program.
If a URL is entered, default browser will be used.

See also $exec.

Filenames using spaces must be enclosed in quotes unless the filetype is .exe or .bat when passing arguments.

Switches

Switch Description
-a Ask to run the application as a administrator.
-h Hide the application in context.
-n Minimizes the window of the program.
-p Sets the working path to the path of the program.

Parameters

Parameter Description
<filename|url> File or url to run.
[arguments] Arguments list to be passed to the program.

Example

; Open www.adiirc.com.
/run www.adiirc.com

; Open notepad.
/run notepad.exe

; Open firefox to the url 'www.adiirc.com'.
/run C:\Program Files\firefox.exe www.adiirc.com

Updated by Per Amundsen almost 2 years ago · 13 revisions

Also available in: PDF HTML TXT