Autor Beitrag
Urba
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Sa 29.06.02 17:02 
Hallo Leute,

Kann mir jemand sagen wie ich alle Unterordner eines bestimmten Ordners herausfinde?

Urba

_________________
Es gibt keine blöden Fragen, nur blöde Antworten :)
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Sa 29.06.02 17:16 
Hallo,

die nötigen Befehle sind FindFirst, FindNext und FindClose. Ich glaube die Online-Hilfe kann sie besser erklären als ich ;). Wenn du Probleme hast kannst du ja noch mal fragen.

Gruß
Klabautermann
crip
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24



BeitragVerfasst: Sa 29.06.02 20:40 
Gucke in den Topik "Ermitteln welche dateien in einem Verzeichnis sind (name)" Da steht der quelltext, ich musste den einfach modefezieren aber bei dir passt er ja perfekt!!!

_________________
MfG
Crip :arrow: Was ist "Real Life" und wo zur Hoelle kann ich es runterladen!! :D
Cashels
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 167



BeitragVerfasst: Sa 29.06.02 20:46 
Hi Crip,

stimmt so nicht ganz der Quelltext... Da fehlt noch ein rekursiver Aufruf der GetDirs Funktion, da sonst nur die direkten Unterorder von Root gefunden werden.

Gruss,
Tom
Pit
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 160



BeitragVerfasst: Sa 29.06.02 23:16