Can I display the QAP menu or launch QAP favorites from the command-line or from a batch file?

You do it with the QAP executable companion QAPmessenger.exe installed in the QAP application folder. This utility is used to send commands to QAP from the Windows Explorer Context menus. But you can also use it this utility to call the QAP menu or launch QAP favorites from the command line, a batch file, a Windows shortcut, etc.

Enter one of the following lines at the command prompt, in a .BAT file line or in the Target field in a Windows shortcut. Replace C:\Program Files\Quick Access Popup\QAPmessenger.exe with the current path and filename of QAPmessenger in your setup.

The first line shows the regular menu. The second line shows the same menu but will change the folder in the current Windows Explorer window (for favorites of type Folder or Special) instead of opening a new window:

"C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuLaunch
"C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuNavigate

You can also use these commands to popup a specific submenu. Enclose in double-quotes  (greater than + space) and the name of the submenu, for example:

"C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuLaunch "> MySubMenu"
"C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuLaunch "> MySubMenu > 2nd Level"

This example shows the Alternative menu:

"C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuAlternative

 
The last examples shows how to launch a favorite named FavName from the command line (requires QAP v11.5.4 or more recent). In the first line, QAP will launch the favorite FavName located in the Main menu. The following lines shows how to launch favorites in a submenus.

"C:\Program Files\Quick Access Popup\QAPmessenger.exe" LaunchFavorite "> FavName"
"C:\Program Files\Quick Access Popup\QAPmessenger.exe" LaunchFavorite "> SubMenu > FavName"
"C:\Program Files\Quick Access Popup\QAPmessenger.exe" LaunchFavorite "> Sub1 > Sub2 > FavName"

 
If you use the ampersand (&) in a submenu or favorite name to make a keyboard shortcut, make sure you reference the submenu or favorite with its name as it is entered in the Customize window (for example &&FavName).  Same thing if you use the double-ampersand to insert a real ampersand in the favorite name.

"C:\Program Files\Quick Access Popup\QAPmessenger.exe" LaunchFavorite "> &FavName"
"C:\Program Files\Quick Access Popup\QAPmessenger.exe" LaunchFavorite "> FavName && Co."

 

You can also launch submenu s(this will display the submenu) or groups (this will launch all group items). When launching groups, do not include the «n» suffix in the group name (indicating the number of items in the group). For example:

"C:\Program Files\Quick Access Popup\QAPmessenger.exe" LaunchFavorite "> SubMenu > GroupName"

See also how you can use a command-line to add favorites to your menu.