How to find the number of lines in tst file using DOS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Everyone,

In batch code, is it possible to count the number of files from the text
file 

For eg.,
Text file "Src.txt" contains the following text....
uuuuu
vvvvvv
xxxxxx
yyyyyy
zzzzzz

I need to find the number of lines available in "Src.Txt" and also i need to
print(echo) the 3rd line. 

Is there any option to resolve this issue..., Please help me to resolve this
issue....,

Thank in Advance.

Ur,
Vinoth
-- 
View this message in context: http://www.nabble.com/How-to-find-the-number-of-lines-in-tst-file-using-DOS--tp17793459p17793459.html
Sent from the linux-msdos mailing list archive at Nabble.com.

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux