Launch application examples
These examples illustrate some of the uses for launch application and give the definition syntax.
- Launching a batch file
- To launch a batch file, you must specify the command prompt as
the target and the batch file as the argument. This example starts
myscript.bat.
- Target:
c:\windows\system32\cmd.exe - Arguments:
/c start c:\scripts\myscript.bat - Start in:
c:\windows\system32
- Target:
- Launching a website with search text
- In this example the user typed everything in the Arguments text
box except for &NT_Logical_Disk;:Disk_Name, which was added when
DiskName was selected from the list of Substitutable items. The attribute
is replaced by the current value when the application is launched.
- Target:
C:\Program Files\Mozilla Firefox\firefox.exe - Arguments:
http://www.ibm.com/search?q=+&NT_Logical_Disk.Disk_Name
- Target:
- Launching a website with no target browser specified
- This example specifies a URL for the argument, much like the previous
example. Notice, however, that there is no specified target. When
the Target field is left blank, the Microsoft Internet Explorer is
assumed (unless another browser was specified with the kjr.browser.default
client parameter).
- Arguments:
http://www.ibm.com
- Arguments:
- Launching another Cloud Pak System Software Monitoring Portal browser client on a different portal server
- This example is similar to the previous one. You can start a new
browser client in another Tivoli managed network. If the browser supports
multiple tabbed windows, a new tab is started for the launched portal
workspace.
- Target:
C:\Program Files\Mozilla Firefox\firefox.exe - Arguments:
http://floor3west.usca.ibm.com:1920///cnp/kdh/lib/cnp.html?hostname=floor3west*
- Target:
- Launching a Telnet session
- To launch a Telnet session, you must specify the command prompt
as the target and the Telnet session as the argument.
- Target:
c:\windows\system32\cmd.exe - Arguments:
/c start telnet.exe computer, , where computer is the location where the Telnet executable is found. - Start in:
c:\windows\system32
- Target: