Batch file to perform a looped search based on the line items of a text file.
Posted
by
Tulga
on Stack Overflow
See other posts from Stack Overflow
or by Tulga
Published on 2010-12-19T18:55:24Z
Indexed on
2010/12/22
4:54 UTC
Read the original article
Hit count: 194
I have been reading great posts in this forum and got close to what I want to do but couldn't figure out the exact code.
I want to create a windows batch file to do following:
- Perform a looped search for each line item of a text file (this is a list of keyword) to locate files in a a specific directory
- For this search partial match is okay.
- Each time a file is found, move it to a predefined directory (e.g. C:\temp\search_results)
Thanks.
© Stack Overflow or respective owner