I have a folder with several csv files. They are labeled like this:
Name1-year.csv
Name1-year.csv
Name2-year.csv
Name2-year.csv
Name3-year.csv
etc...
I know you can use copy *.csv combined.csv
to combine all the csv files in a directory, but is there a way to combine files with the same prefix?
You can write
copy prefix* copiedfile.csv