Here's MS's example for WMI though:
http://msdn.microsoft.com/library/defaul...and_folders.asp