This extends upon my previous code scrap for listing all files in Windows. If you want to produce a list of just a certain type of files in a directory and all sub-directories, you can use the following command on the Windows command line:
[codeStart]dir /b /S *.csproj > c:\temp\projects.txtThe above will in this instance, write a list of all CSPROJ files (C# Project definitions) to a file called projects.txt in the C:\Temp directory.
You can read the previous code scrap here.