I have file like below
ai,one,qew
bet,two,erfv
cars,three,eie
and I need output like below
ai,one
bet,two
cars,three
I need windows script to do this. Here the should be deleted based on 2nd comma
Search found 1 match
- 08 Apr 2019 09:40
- Forum: DOS Batch Forum
- Topic: Cut text after nth comma using batch script
- Replies: 1
- Views: 2691