How can I enter multiple parameters for an application favorite?

In favorites advanced settings, you can enter command line parameters (also called arguments) that are added to the application path when the application is launched (more info on this). If you have only one parameter, simply type it in the field Parameters of the last tab of the Add/Edit Favorite dialog box. Usually, you would not need to enclose the parameter between double-quotes but this is something you could try if this does not work as expected.

You need to know that not all applications parse command-line parameters the same way. This is why some trial-error may be required. This is especially true if you want to enter more than one parameter. These parameters need to be separated by putting a space between them. But this may not be sufficient because spaces could be part of the parameters. The solution I found (based on my personal experience with a limited number of applications) is to enclose each parameter between double-quotes.

For example, if you want to launch Outlook with two parameters:

  • in Location (first tab) of an Application favorite, enter Outlook.exe (you don't need to enter the full path if the application is properly registered in your Windows environment);
  • in the last tab Advanced Settings, in Parameters, enter "/a c:\filename.txt" "/nopollmail" (double quotes around each parameter, one space between the two parameters).

This will launch Outlook without checking mail at startup ("/nopollmail") and will create a new mail item with the specified file attached ("/a c:\filename.txt").
(note: this parameter /nopollmail used as an example does not work anymore with recent versions of Outlook)

But remember that this technique is not universal and may require adjustments depending on the target application.

Please use the new QAP Support Google Group to ask questions or post comments.