Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 24, 2016, 06:46:35 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Notepad counter  (Read 1715 times)


  • Participant
  • Joined in 2008
  • *
  • Posts: 26
    • View Profile
    • Donate to Member
Notepad counter
« on: February 16, 2009, 08:19:08 AM »
Hi there people!

I encountered a small promblem, witch is just the same as my other posts here on this forum...
Someting need to be done, witch is very time-consuming!

I have a few hondred text files (.txt) In those text files are items registered.

It looks like this:

SH0001002006,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002005,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002004,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002003,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002002,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002001,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:43
SH0001002000,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:43
SH0001002030,NT_ZH5496.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002031,NT_ZH5497.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002032,NT_ZH5498.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002033,NT_ZH5499.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24

And so on for thousends of records per text file.
As you can see there is a difference between the lines.
I need something like an automatic counter, witch counts per text file al the records who have the word NT in it...

Can someone help me on this one?
Thanks all!

Kind regards,


  • Participant
  • Joined in 2008
  • *
  • Posts: 26
    • View Profile
    • Donate to Member
Re: Notepad counter
« Reply #1 on: February 16, 2009, 09:33:12 AM »
People... Sorry for this post!
I am stupid! Notepad++ did the job for me...
For the people reading this post...
I am sorry...

Kind regards,
Koen Franssen