Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Get selective columns from a dump file using MS DOS and make new dump

tanvirkhantanvirkhan BangladeshPosts: 1Member

Hi: I've a dump file in text format (pipe separator). I need to select specific columns from the file and make a new file. For Example,

Original Dump (I need to select column 3, 4 and 6; and make a new dump). How can I do it in MS DOS using a batch file?

AAA|BBB|CCC|DDD|EEEE|FFFF|GGGG|HHHH TTT|MMM|KKK|123|FFFF|VVVV|IIII|BBBB XXX|SSS|AAA|ZZZ|TTTT|JJJJ|RRRR|YYYY

Output Dump

CCC|DDD|FFFF KKK|123|VVVV AAA|ZZZ|JJJJ

Please help.

Tanvir

Tagged:
Sign In or Register to comment.