In this tip, you will see how QAP can help system administrators and power users change folders instantly in Windows command line (CMD) or PowerShell. This trick is very simple but frequent users of these tools must not ignore it! You will also see how to add the various flavors of these tools to your QAP menu and how to make them run with or without administrative privileges.
Sysadmins love it! Yes, you can popup the QAP menu over the Windows Console (CMD command line utility) and the newer PowerShell application.
To change folder in these applications, click the Middle Mouse Button over the CMD or PowerShell window (or activate the CMD/PowerShell window and hit Windows + W) and select a folder in your popup menu. The folder will be sent to the target window with the appropriate command to change folder in CMD or PowerShell.
Users of international Windows versions who had issues with accentuated characters not being sent properly to the CMD window, this issue has been solved since v8.7.
In this page:
Using QAP Context menus
You can add favorites to your QAP menu with the Windows Explorer context menus. Right-click or Shift+Right-click on any file or folder to show its context menu. QAP's command in this menu are recognizable by the QAP icon on the left. You can also right-click the Desktop background to show the QAP popup menu!
- Context menus are automatically added when you install and removed when you uninstall QAP using standard Windows procedure (see Easy one-step installation).
- At any time, you can remove or re-install the context menus using the Enable Explorer Context Menus checkbox found in Options dialog box, Menus tab.
- Users who prefer portable installation (see Portable installation) can setup context menus manually by following the instruction below.
The following ten context menus are added to your Windows Explorer menus:
|Files in Explorer||Right-Click||Add File to Quick Access Popup menu||Open the Add Document or Add Application dialog box ready with the selected file|
|Files in Explorer||Shift + Right-Click||Add File to Quick Access Popup menu Express||Add the selected document or application at the top of the main QAP menu, no question asked|
|Folders in Explorer||Right-Click||Add Folder to Quick Access Popup menu||Open the Add Folder dialog box ready with the selected folder|
|Folders in Explorer||Shift + Right-Click||Add Folder to Quick Access Popup menu Express||Add the selected folder at the top of the main QAP menu, no question asked|
|Desktop background||Right-Click||Show Quick Access Popup menu||Open the QAP popup menu|
|Desktop background||Shift + Right-Click||Show Quick Access Popup Alternative menu||Open the QAP Alternative popup menu|
|Explorer window background||Right-Click||Show Quick Access Popup menu||Open the QAP popup menu|
|Explorer window background||Shift + Right-Click||Show Quick Access Popup Alternative menu||Open the QAP Alternative popup menu|
|Explorer window background||Right-Click||Add Folder to Quick Access Popup menu||Open the Add Folder dialog box ready with the current folder|
|Explorer window background||Shift + Right-Click||Add Folder to Quick Access Popup menu Express||Add the current folder at the top of the main QAP menu, no question asked|
|Windows Shortcut icon||Right-Click||Import Windows shortcut to Quick Access Popup menu||Open the Add Folder dialog box ready with settings imported from the shortcut: working directory (for application favorites), window state (for folder favorites) and icon settings (for any type of favorites)|
Setting up Context menus manually (for portable installation users)
You can install or remove Windows Explorer context menu entries in the Windows Registry using a batch file created by Doğan Çelik (thank you, Doğan!):
1) Unzip the file ManageContextMenu.bat from the QAP zip file and save it in the same folder where you unzipped the files QAPmessenger.exe and QuickAccessPopup.ico.
2) You will need administrator privileges to execute this command. To run this batch file as administrator, in Windows Explorer, right-click its icon and select Run as administrator.
Calling QAP from the command line
Context menus send commands to QAP using the utility QAPmessenger.exe installed in the QAP application folder. If you wish, you can also use this utility to call the QAP menu 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.
"C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuLaunch "C:\Program Files\Quick Access Popup\QAPmessenger.exe" ShowMenuAlternative "C:\Program Files\Quick Access Popup\QAPmessenger.exe" AddFolder "C:\FolderPath" "C:\Program Files\Quick Access Popup\QAPmessenger.exe" AddFolderXpress "C:\FolderPath" "C:\Program Files\Quick Access Popup\QAPmessenger.exe" AddFile "C:\Folder\FilePath.ext" "C:\Program Files\Quick Access Popup\QAPmessenger.exe" AddFileXpress "C:\Folder\FilePath.ext"
The entries with Xpress add the folder or file instantly. Be cautious if you use them in a batch loop.
You can also set the settings from command-line using the parameter "/Settings:", for example...
For easy-setup users:
"C:\Program Files\Quick Access Popup\QuickAccessPopup.exe" "/Settings:C:\Users\UserName\AppData\Roaming\Quick Access Popup\My Settings.ini"
For portable installation users:
"C:\My Folder\QuickAccessPopup.exe" "/Settings:C:\My Folder\My Settings.ini"
Use separate double-quotes for application file and for parameter if the location includes one or more spaces.
If you create a file shortcut (.lnk file) for QAP, insert the command in the Target field. And do not forget to set the correct Start In folder, for example:
"C:\Users\UserName\AppData\Roaming\Quick Access Popup"
The Settings file location can include environment variable (like %userprofile%) and supports relative paths based on the QAP working directory. See Can I use system environment variables in favorite paths? and Can I use relative paths in favorite settings?
Suggestion from Carsten.
List of commands:
- Exit QAP
- Restart QAP
- Edit QuickAccessPopup.ini
- Switch Settings file (ini)
... and why not all QAP features (see "QAP features" favorite type).
This would be done using QAPmessenger.exe to pass commands to the running instance of QAP.
Request from rainroom:
"To be able to start QAP with a specific parameter let’s call it ” -useQuickAccessPopup.ini “. This allows to create different menu’s depending on the needs. An easy switch between ini configurations is desired. example C:\portable files\QAP\QAP.EXE -useQuickAccessPopup.ini
It would even be more nice to be able to rename the ini. ex. QAPmenu1 , QAPmenuWork , QAPmenuHome ,…
But that with a portable installation a use can easely switch from one set of configuration menu’s to others.
I use heavey the executor program to open ALL I do on computers :-)) (http://www.executor.dk/)
Would like to have possibility to use QAP like this: shortcut in Executor starts QAP.exe -useQAPWork1.ini
If I want to switch I use another shortcut in Executor which will start QAP.exe -useQAPWork2.ini
Of course QAP must allow to switch in a correct way from a set of ini files…
Hope you can manage to do so. See http://www.dropitproject.com/ opensourceproject (where this is also implemented on users request."