How to copy a text from one file into another file?

How can I replicate the line of a message documents ( C: bkslshdosbkslshcrusoebkslshsrc.txt ) if the message meghana remains in it, and also paste the line right into an additional documents ( C: bkslshdosbkslshcrusoebkslshtrgt.txt )?

2022-06-07 15:15:36
Source Share
Answers: 1

I think on Windows you would certainly be seeking findstr -

For instance:

findstr /x /c:<string> <source-file-name> > <target-file-name>
2022-06-07 15:42:53

Related questions