Dim btnList as Button
Dim MyList As List
Dim MyFile As String
Dim i as Short
MyList.Initialize 'initialize list
File.MakeDir(File.DirRootExternal,"Volvomann")
Sub btnList_click
MyList=File.ListFiles("Volvomann")
For i=0 To MyList.Size-1
MyFile=MyList.Get(i)
If MyFile.EndsWith(".txt") Then
Msgbox(MyFile,"")
End If
Next
End Sub