Project

General

Profile

Actions

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.
-u If AdiIRC is running as admin, runs the program without admin right.

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 over 1 year ago · 14 revisions

Also available in: PDF HTML TXT