Hi iFool,
INCA heißt Applikation eines Bosch-Steuergerätes ?!?
Wenn deine Fahrzeuge einen Stern tragen, hätt ich ja noch was viel komfortableres, aber so erstmal ein einfaches Beispiel... :o)
Code:
Dim MyFileNames, iCount
Call FileNameGet("ANY", "FileRead", DataReadPath, "INCA data (*.dat),*.dat", "All.lst", True, "Data selection")
If DlgState="IDOk" Then
Call FolderCreate(FileDlgDir & Str(Now, "#yyyymmdd"))
MyFileNames = Split(FileDlgFileName,"|")
For iCount = 0 To Ubound(MyFileNames)
Data.Root.Clear()
Call DataFileLoad(MyFileNames(iCount))
Call DataFileSave(NameSplit(MyFileNames(iCount),"P")&Str(Now, "#yyyymmdd")&"\"&NameSplit(MyFileNames(iCount),"N"),"TDM")
Next
End if
Grüße grisu