From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinoth Rajagopal Subject: How to find the number of lines in tst file using DOS? Date: Wed, 11 Jun 2008 23:37:16 -0700 (PDT) Message-ID: <17793459.post@talk.nabble.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org 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.