A
A
angelyss512020-02-12 10:37:50
cmd/bat
angelyss51, 2020-02-12 10:37:50

How to write a bat to search and select a specific line and save the result?

Hello. There is such a problem. I have a lot of small XML files (about 800) and I need to copy one line from them, in all files it starts and ends the same, only the numbers inside are different (...). We need a bat or a script that will look through all the files and copy this line into one document.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wisgest, 2020-02-12
@wisgest

FINDSTRor FINDand redirect output to a file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question