Can I change folder in Windows command line CMD or PowerShell?

Sysadmin 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 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.

What else should I know about Explorer Context menus?

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!

Add Folder context menu in Explorer

Add Folder context menu in Explorer

Context menu in Desktop background

Context menu in Desktop background

  • 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:

Target Trigger Menu name Action
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.

3) In the menu, select 1) Install... to create the registry keys or 2) Uninstall... to remove them.

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.

 

Can I set the QAP settings file location from the command line?

You can set the settings from command-line using the parameter "/Settings:", for example:

"C:\Program Files\Quick Access Popup\QuickAccessPopup.exe" "/Settings:C:\Users\UserName\AppData\Roaming\Quick Access Popup\QuickAccessPopup-DEFAULT.ini"
(for easy-setup users, all this on the same line)

"C:\My Folder\QuickAccessPopup.exe" "/Settings:C:\My Folder\My Settings.ini"
(for portable installation users)

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"
or
"C:\My Folder\"

The Settings file name 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?

[Wishlist] Configurable ini file from command line

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."