M
M
mamonic2017-07-19 15:38:25
cmd/bat
mamonic, 2017-07-19 15:38:25

How to add search arguments in a BAT file as a list (each on a new line), and not through a space?

Hello. How to specify words to search in a list?
Not: "word1 word2 ..."
But like this:
word1
word2

FINDSTR /L "слово1 слово2" result.txt >> found.txt
del test.txt

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2017-07-19
@mamonic

Look towards the /f and /g options for findstr

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question