Question

I have a huge xml and I want to extract from it only the first lines using prompt commands in a txt. Is it possible? How can I do? Thank you everyone.

Was it helpful?

Solution

This uses a helper batch file called findrepl.bat from - http://www.dostips.com/forum/viewtopic.php?f=3&t=4697

It will display from lines 1 to 5

type "file.xml" |findrepl /o:1:5
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top