batch to keep lines with # in certain column

November 15, 2011 at 02:08:33
Specs: Windows 7
Hi All,

I need a batch that will allow me to keep lines in a text file (tab del) that have a certain number (e.g. the number 8) in the second column only (not the whole line).

I am having difficulty directing it only to the second column and not the whole line which is imperative as the other columns do have (for example) the number 8 in them.

Any advice will be much appreciated.


See More: batch to keep lines with # in certain column

Report •

November 15, 2011 at 12:17:21
Do you mean that 8 is the total content of the second column or that 8 will be part of the content? e.g... 8 or 348761

Make life easy for us, show an example of a line.

Please come back & tell us if your problem is resolved.

Report •
Related Solutions

Ask Question