Project

General

Profile

Run » History » Revision 12

Revision 11 (Per Amundsen, 08/07/2019 10:44 PM) → Revision 12/14 (Per Amundsen, 02/16/2023 03:08 PM)

_Added in 1.5_ 

 */run [-ahnp] <filename|url> [arguments]* 

 Runs the specified program. 
 If a URL is entered, default browser will be used. 

 _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; | &lt;filename|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>