Quick way to separate files from folders?

so I have this folder that has 587 folders in it. Each one contains one file. I can only view the file if I first open the folder. I would like to take all those files and put them into one folder without doing it one by one 587 times. Is there a clever way of doing this on windows 7?
5 answers 5