I would like to count the number of Tab Delimited Columns in a .TXT file, using a batch file. I found this script, but "Solution 1" gives the wrong result for me.
Count rows and columns using a batch file
I have 23 or 24 columns, but it gives a result of 85, and I can't see why.
Please show me what I can do to modify the script, or perhaps there's an alternative solution.
Thanks
2.1m questions
2.1m answers
60 comments
57.0k users