Vinoth Rajagopal wrote:
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....,
Supposing that you don't want to use the ports of GNU,
suggested in the other reply, you need to write a little
program in some other language. The MSDOS batch file
interpreter is really not up to this job.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
--
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