xmlspy #1 I don't want to have a . or .. when I scan for folders. tdir = ReadDir("modules") Repeat f$ = NextFile(tdir) If FileType(f$) = 0 Then Exit If FileType("modules"+f$) = 2 Then Game_Mod$ = "modules"+f$ DebugLog Game_Mod$ EndIf Forever