How to select each row in the result to a different text file in SQL Server


I am using sql server and I ran a query that resulted in 5000 rows. I want each row to be saved as a separate text file. Is there a way to do that?

Use SSIS, I was going to type it all out, but here is a site where he has it detailed with screenshots.