Brass Plugins: Mime
Supported Directives: Api - Run
Executable
This directive launches a specified command using
the Windows shell launcher. This means not only .exe files can be
run using this method, but websites and folder locations in Explorer
can be run as well.
The format of the directive is:
[Run(target to run)]
The only parameter is the command to run. This can be an executable
file (for example, C:\Windows\Notepad.exe), a website (for example,
http://www.amazingbrass.co.uk) or a local folder location (for example,
C:\Windows). No quotes around the target are needed.
Examples
Launch Notepad:
[Run(C:\Windows\Notepad.exe)]
Open the Brass website:
[Run(http://www.amazingbrass.co.uk)]
Display the local C: root folder
[Run(C:\)]
Launch a program with a space in the filename:
[Run(C:\Program Files\MyApp\My
App.exe)]
Technical Notes
No quotes or escaping of quotes are required. This
is correct:
[Run(C:\Windows\Notepad.exe)]
This is incorrect:
[Run("C:\Windows\Notepad.exe")]
|