Syed,
It is very simple. I will give you the logic, see if you can implement it.
1. ReadAll the data in the file.
2. SPLIT it line by line.
3. Find out if a substring exist in the whole line.
4. Introduce and iterate the counter where the value is found.
5. Report the final value of the counter.
PS : Vbscript should do, and the COM i am talkin about is Scripting.Filesystemobject.
Each line which i have provided has a keyword. Try to search and you will find the end of the road soon mate !!
It is very simple. I will give you the logic, see if you can implement it.
1. ReadAll the data in the file.
2. SPLIT it line by line.
3. Find out if a substring exist in the whole line.
4. Introduce and iterate the counter where the value is found.
5. Report the final value of the counter.
PS : Vbscript should do, and the COM i am talkin about is Scripting.Filesystemobject.
Each line which i have provided has a keyword. Try to search and you will find the end of the road soon mate !!
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.