Solved

automate search assistant from batch file or other application?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now