Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Is there a way to delete the first column of a csv using a batch command file? I have data in this first column but I want to get rid of it and output a new file starting at the 2nd column.

Thanks!

share|improve this question

marked as duplicate by Karan, Simon Sheehan, Hennes, Scott, Dave M Apr 11 '13 at 20:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Does it have to be cmd-line? You could easily do this in Excel. – Brad Patton Apr 11 '13 at 14:44

What about?

cut -f 2- <file>

EDIT: The delimiter can be defined with -d

share|improve this answer
    
cut isn't available on Windows by default. – Karan Apr 11 '13 at 15:04
    
+1 for using 2- instead of 2-9 (or even 2-42). – Scott Apr 11 '13 at 17:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.