سؤال

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