Unfortunately I do not have the solution for you. However, if you have played with the Macro Language for extending VS or are willing to investigate, you should look at the sample macros that came with VS. The first is called "AddDirAsSlnFolder", it does the opposite of what you are asking for. It takes a directory folder, and creates a solution from the folder. It also creates folder (filters) in the solution that mimics the directory structure. One other function that may be useful, is in the Utilities group, and it is called "ListProj". This macro helps iterate through all of the project items (files). Good Luck