Search found 1 match
- 01 Aug 2012 10:25
- Forum: DOS Batch Forum
- Topic: Count string occurrences in text file
- Replies: 43
- Views: 40272
Re: Count string occurrences in text file
Hi, I tried to create a code to find a string "MK" in series of files in a folder. The output file should list file name and count of string "MK". Somehow countstr does not get couted in the code below. Please help! @echo off set pathname=Z:\CAD\PDMS\Project\HIBFLR\BTHINFO\MAR se...