Windows 7 Forums


Windows 7: Windows 7 Start Menu Search - pass command line parameters to program

17 Jun 2012   #1

Windows 7 Professional 32
 
 
Windows 7 Start Menu Search - pass command line parameters to program

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

myprog 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.
Attached Thumbnails
Windows 7 Start Menu Search - pass command line parameters to program-excel.png  
My System SpecsSystem Spec

Reply

 Windows 7 Start Menu Search - pass command line parameters to program problems?



Thread Tools



Similar help and support threads for: Windows 7 Start Menu Search - pass command line parameters to program
Thread Forum
WBADMIN - command line parameters Performance & Maintenance
New command-line parameters for Defrag.exe Performance & Maintenance
missing start menu search line? General Discussion
Run Command vs. Start Menu Search Field Performance & Maintenance
Game command line parameters Gaming


All times are GMT -5. The time now is 12:06 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32