From WikiChip
mirc/commands/run
< mirc‎ | commands
Revision as of 04:49, 6 December 2013 by David (talk | contribs) (Created page with "The '''/run command''' executes the given file or object using the application associated with its file extension. It can also be used to open directories. The file parameter ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The /run command executes the given file or object using the application associated with its file extension. It can also be used to open directories. The file parameter can be enclosed by a pair of double quotes to separate it from the argument list.

Synopsis

/run -pnh <file/dir/obj> [arguments]

Switches

  • -h - hide the application in context
  • -p - changes the working path to the path of the application in context
  • -n - minimize the window upon opening

Parameters

  • <file/dir/obj> - the object/file to execute
  • [arguments] - arguments list passed to the program

Example

alias example {
  ; open our site
  run www.zigwap.com/mirc
  ; open notepad, minimized
  run -n notepad.exe
}

Compatibility

Added: mIRC v2.1a

Added On: 28/02/95

Note: Individual switches were not taken into consideration.

See also