<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Run</id>
	<title>Run - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Run"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=Run&amp;action=history"/>
	<updated>2026-05-14T22:45:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=Run&amp;diff=4513&amp;oldid=prev</id>
		<title>Cail at 08:07, 2 July 2007</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=Run&amp;diff=4513&amp;oldid=prev"/>
		<updated>2007-07-02T08:07:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:07, 2 July 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;The above would try and read the event system log from inside c:\windows\&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;The above would try and read the event system log from inside c:\windows\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Also &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;See &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;See &lt;/ins&gt;Also ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;/XRun&#039;&#039;&#039; [&lt;/del&gt;http://www.mircscripts.org/comments.php?cid=1797&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;] &lt;/del&gt;A custom alias that uses COM Objects to run files. Extreamly useful if you want to run batch files and grab the results from the command window.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://www.mircscripts.org/comments.php?cid=1797 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;/XRun&#039;&#039;&#039;, &lt;/ins&gt;A custom alias that uses COM Objects to run files. Extreamly useful if you want to run batch files and grab the results from the command window.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Commands]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Commands]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cail</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=Run&amp;diff=2121&amp;oldid=prev</id>
		<title>Albie at 15:29, 31 July 2006</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=Run&amp;diff=2121&amp;oldid=prev"/>
		<updated>2006-07-31T15:29:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This command allows you to run external applications.&lt;br /&gt;
 run [-hnp] &amp;lt;filename&amp;gt; [parameters]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| width=&amp;quot;10%&amp;quot; | &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Switch&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; || width=&amp;quot;90%&amp;quot; | &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Explanation&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|  h || This will hide the application you run.&lt;br /&gt;
|-&lt;br /&gt;
|  n || This switch will minimize the application which is being ran.&lt;br /&gt;
|-&lt;br /&gt;
|  p || This sets the working path to the path of the application being run.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
When you&amp;#039;re in explorer and double click an executable file the working path is set to the same as the directory of the file you double clicked.&lt;br /&gt;
This is perticually visible when using batch files, if your batch file did something like, DIR it would display which ever directorys content the .bat file was in.&lt;br /&gt;
However in mIRC if you run c:\myfile.bat which contained just DIR, it would display the directory content of your mIRC&amp;#039;s directory ([[$mircdir]]).&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you want mIRC to handle working paths the same way explorer would make sure you give the -p switch.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you give the filename as a none executible file mIRC will attempt to open the file within the program that is associated to the files extention.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 run versions.txt&lt;br /&gt;
 run c:\windows\notepad.exe versions.txt&lt;br /&gt;
The two examples above would run NotePad and open versions.txt from inside mIRC&amp;#039;s directory into notepad.&lt;br /&gt;
&lt;br /&gt;
 run c:\windows\notepad.exe eventsystem.log&lt;br /&gt;
 ;The above would try and read the event system log from inside $mircdir&lt;br /&gt;
 run -p c:\windows\notepad.exe eventsystem.log&lt;br /&gt;
 ;The above would try and read the event system log from inside c:\windows\&lt;br /&gt;
&lt;br /&gt;
== Also See ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;/XRun&amp;#039;&amp;#039;&amp;#039; [http://www.mircscripts.org/comments.php?cid=1797] A custom alias that uses COM Objects to run files. Extreamly useful if you want to run batch files and grab the results from the command window.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Albie</name></author>
	</entry>
</feed>