automate search assistant from batch file or other application?

I would like to search a cdrom with user specific search words from a multimedia app.
I can write out a batch file at runtime

Is there a way to open the windows search assistant [search:files and folders] from a batch file with the search options prefilled e.g.

search files/folders named: *.doc *.txt *.xls
containing txt: user entered search terms
Look in: e.g. H:

and start the search
LVL 1
antonumiaAsked:
Who is Participating?
 
jzanetteConnect With a Mentor Commented:
As long as none of the data in the files to be searched is encrypted, you can do this using only the builtin command set using "SET /P" to get the input strings and then FindStr.exe to search.

Cross-platform, color-coded syntax for these builtin commands is at

(http://TheSystemGuard.com/TheGuardBook/CCS-Int/SET.htm)
(http://TheSystemGuard.com/TheGuardBook/CCS-Ext/FindStr.htm)
0
 
ewtaylorCommented:
What do you want to do with the results just display them?
0
 
antonumiaAuthor Commented:
yes, just display them in the default search results window.
0
 
ewtaylorCommented:
I can find nothing on this sorry, a simple dir /s will not work?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.