0

i have a folder like C:\temp with a lot of .csv files in it. All of these .csv files got the same structure without header. I need to delete the second and third column of each .csv file in this folder. How can i do this in powershell?

3
  • 1
    You can use the site search faility, to find some of the, probably thousands, of examples of scripts which are performing that task, and incorporate what you've learned from those into your own solution. Please also note, that there are no columns in a CSV file, there are records made up of Comma Separated Values, (although other separators can be used too). Commented Sep 30, 2020 at 12:20
  • 1
    Does this answer your question? Remove Columns from CSV File Using Powershell. Please check: how to ask Commented Sep 30, 2020 at 12:48
  • unfortunatly it doens't answer my question because i need to edit multiple csv at one time Commented Oct 1, 2020 at 6:32

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.