Dim objApl Dim objFolder Dim objItem Set objApl = CreateObject("Shell.Application") Set objFolder = objApl.NameSpace( "C:\Users\Default" ) For Each objItem In objFolder.Items If true = objItem.IsFolder Then WScript.Echo " + " & objItem.Path End If Next Set objItem = Nothing Set objFolder = Nothing Set objApl = Nothing