1 Private Sub Command()2 Dim dd As String3 dd = Dir("d:\*", vbDirectory)4 Do5 MsgBox dd6 dd = Dir7 Loop Until Len(dd) = 08 End Sub