Project

General

Profile

Run » History » Revision 13

Revision 12 (Per Amundsen, 02/16/2023 03:08 PM) → Revision 13/14 (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 [[$qt|quotes]] unless the filetype is .exe or .bat when passing arguments._ 

 *Switches* 

 table(ktable). 
 |*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* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | &lt;filename<notextile>|</notextile>url&gt; | File or url to run. | 
 | [arguments] | Arguments list to be passed to the program. | 

 *Example* 

 <pre> 
 ; 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 
 </pre>