Yesterday, I went on a road trip and I gathered a pile of information using System Information for Windows (SIW) and saving it in a series of CSV files. SIW generated a 750 KB CSV file for each system with a load of information. Unfortunately, to perform a proper analysis in Excel, I needed all of the information in one file.

Now, I could have copied and pasted the text files all into one file but this would have been time consuming, especially if I had several hundred files. So, here is what I did to make life really easy for me. I simply copied all of the files into one directory by themselves and then ran the following command:

for %F in (*.csv) do type %F>>AllData.csv

This copied the contents of each file into one file called AllData.csv. That’s all it took! Now, I can open this up in Excel and then analyze away!

If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?