Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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 Images
 
My System SpecsSystem Spec
.

Reply

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




Thread Tools



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

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 07:28 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33