From WikiChip
Editing mirc/commands/run

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|/run Command}}
 
 
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.
 
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 ==
 
== Synopsis ==
  /run -pnhau <file/dir/obj> [arguments]
+
  /run -pnh <file/dir/obj> [arguments]
  
 
== Switches ==
 
== Switches ==
Line 9: Line 8:
 
* '''-p''' - changes the working path to the path of the application in context
 
* '''-p''' - changes the working path to the path of the application in context
 
* '''-n''' - minimize the window upon opening
 
* '''-n''' - minimize the window upon opening
* '''-a''' - run as administrator, prompting you if mIRC is not running as admin, if mIRC is already running as admin, no prompt.
 
* '''-u''' - if mIRC is running as admin, runs the program without admin right
 
  
'''Note''':
 
* If mIRC is already running as admin and if you're not using -a nor -u, the program will still be running as admin as though you used -a, by default.
 
* In Win7-32 OS, using the -a switch fails if launching a 16-bit DOS executible, regardless of if mIRC is already running in elevated state or not. Workaround is to not use -a if mIRC is already running as admin, but to use -a if it is not.
 
 
== Parameters ==
 
== Parameters ==
 
* '''<file/dir/obj>''' - the object/file to execute
 
* '''<file/dir/obj>''' - the object/file to execute
Line 28: Line 22:
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|2.1a}}
+
Added: mIRC v2.1a
 +
 
 
== See also ==
 
== See also ==
* {{mIRC|$isadmin}}
+
* [[List of commands - mIRC|List of commands]]
 +
* [[List of identifiers - mIRC|List of identifiers]]
 
* {{mIRC|$url}}
 
* {{mIRC|$url}}
 
* {{mIRC|$file}}
 
* {{mIRC|$file}}
Line 40: Line 36:
 
* {{mIRC|$exists}}
 
* {{mIRC|$exists}}
 
* {{mIRC|/url}}
 
* {{mIRC|/url}}
 +
{{mIRC command list}}
 +
 +
[[Category:MIRC commands]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)