Solved

automate search assistant from batch file or other application?

Posted on 2004-04-15
4
255 Views
Last Modified: 2010-04-13
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
0
Comment
Question by:antonumia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10835591
What do you want to do with the results just display them?
0
 
LVL 1

Author Comment

by:antonumia
ID: 10835733
yes, just display them in the default search results window.
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10836479
I can find nothing on this sorry, a simple dir /s will not work?
0
 

Accepted Solution

by:
jzanette earned 250 total points
ID: 10840271
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

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question