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.

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top