1.

Solve : Launching Windows Search?

Answer»

I'm trying to find a way to launch a Windows SEARCH applet through a command line and to pass it search criteria.  Here's a scenario I envision:

Let's say I WANT to find all the files with a filename that matches the mask *12*_g*.prt and I want to search a network drive Q: and in the folder MyFiles.  Now, it appears the Windows Search is a function of explorer.exe, so I WOULD hope for a command line switch that would allow me to do something like this from a Start->RUN dialog:

explorer.exe /search:"q:\MyFiles\*12*_g*.prt"

So entering that, I would want the standard Windows Search applet to launch, search q:\myfiles for files matching the criteria *12*_g*.prt and present any files found in the typical windows search window.

Sadly, I've researched the command-line SWITCHES for explorer.exe, none appear to be something to do this.

Does anyone have a trick up their sleeve to do this?

Thanks



Discussion

No Comment Found