I have a program, myprog.exe (.BAT compiled to .EXE). I can run this program from a command prompt and pass command line parameters. I want to put this program (or shortcut) in the Windows 7 search path and call it the Start Menu Search Box. I can run the program from the Search Box but cannot add command line parameters. As soon as I add parameter1
after the program name, the search no longer displays my program.
I noticed other programs, such as Notepad, Excel and Ping, allow the addition of command line parameters within the Search Box. Does a method exist to allow this same functionality for my program?
Attached is a picture of passing parameters to Excel. This is the functionality I want for my program.