Open selected files with the program you choose, straight from Explorer.
Quick answer: Windows offers Open with for choosing an application, but a custom named menu command needs additional configuration. Commands+ in Productivity Plus Pack provides an editor for programs and scripts. Add the program, pass the selected file as a parameter, choose which file types show the command, then try it in File Explorer.
This example adds an Open in Notepad command for text files. It illustrates the same program, parameter and file-type settings used for other commands.
Use a sample text file for the first check. For scripts that move or change files, test on copies before using the command on your documents.
C:\Windows\System32\notepad.exe. Leave Run as administrator off for this example."$first_selected_path". The quotes keep a path containing spaces together as one argument.*.txt. Save the command.Use what's built into Windows, the tools you already have, or Productivity Plus Pack — they work well together.
Use Open with to select an app for a file, or change its default application.
Give a command its own name, icon, arguments and file-type filter without hand-editing registry entries.
Use Context Menu+ to position commands and group them into submenus.
More about Commands+ · Full Commands+ guide · More how-to guides
Yes. Choose the script's interpreter and pass the script path and required arguments. Quote paths containing spaces and check the result on sample files.
Yes. The first nine custom commands can be run using Ctrl+Win+Alt+G followed by a number key.
Check its enabled state, selected menu location and file-type filter. A command limited to TXT files will not appear for a PDF.
Use this idea in a real-world workflow.
Start a client project from a template, distinguish working files from deliverables, and keep feedback and frequently used commands close to the files.
Free 30-day trial, no account or credit card needed. Then one payment for every feature — no subscription.