Solved

automate search assistant from batch file or other application?

Posted on 2004-04-15
4
252 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cannot connect to share on new Win8 PC 3 964
Making a spare domain pc 12 326
WMI Uptime Script Reporting Incorrect Number on W2k Server 16 776
Migrating from IIS5 to IIS8.5 3 178
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…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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