As part of a larger project I needed to have a text file that contained the filenames and metadata for the contents of my Windows Media Player 9 library. Below are two examples to show how it is done. The scripts are not exactly the same, but are close