https://legroom.net/software/openargs

Introduction


Open With Arguments is an extension for Windows that allows users to directly pass arguments to executable files. Instead of opening a Command Prompt, changing to the appropriate directory, and typing in the filename and parameters, users can right-click on any executable file directly in Windows Explorer, select Open With Arguments, and then enter the parameters.
Open With Arguments can be used with both GUI and CLI applications. When launching a CLI application (such as a batch file), the Command Prompt will remain open after execution to allow the user to view any output. Open With Arguments can be configured to work with any executable file format recognized by the Windows shell; by default, it works with .exe, .bat, and .cmd files.
Note: As of version 1.2, argument history is supported (see screenshots).
Open With Arguments was written and packaged with the free, powerful, and open source AutoIt scripting language and Inno Setup installer.