Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

automate search assistant from batch file or other application?

Posted on 2004-04-15
4
Medium Priority
?
262 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 750 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

636 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