Autor Beitrag
Land-Gull
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 51

SuSe 9.2, WIN XP
D7 Enter
BeitragVerfasst: So 12.03.06 14:01 
Hi,

ich will den Umfang meines Programms relativ gering halten.
Ich muss für mein Prog die Anzahl der Dateien in einem Ordner überprüfen.
Gibt es dafür eine vorgefertigte Funktion oder muss ich die mir per FindFirst/FindNext selber schrieben?

Danke

Moderiert von user profile iconChristian S.: Titel geändert.
Moderiert von user profile iconTino: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Do 16.03.2006 um 10:50
Backslash
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 202

WIN XP
Delphi 5 Ent, Delphi 2005 Prof
BeitragVerfasst: So 12.03.06 14:08 
Land-Gull Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 51

SuSe 9.2, WIN XP
D7 Enter
BeitragVerfasst: So 12.03.06 14:10 
Meine Frage war ja ob ich das ganze auch ohne FindFirst machen kann.. Also ob es schon eine Funktion gibt die direkt alle Dateien in einem Ordner ermittelt.
opfer.der.genauigkeit
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754
Erhaltene Danke: 1



BeitragVerfasst: So 12.03.06 14:12 
Ich denke, es wird keine vorgefertigte Funktion dafür geben.
Gefunden habe ich nichts und wenn man sich z.B. im Explorer für einen Ordner mit
vielen Dateien den Informationsdialog anzeigen lässt, braucht es auch einige Zeit, bis
die Gesamtzahl der Dateien errechnet wurde.
-> Also denke ich, dass es keine vorgefertigte Funktion MS gibt.

_________________
Stellen Sie sich bitte Zirkusmusik vor.
Land-Gull Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 51

SuSe 9.2, WIN XP
D7 Enter
BeitragVerfasst: So 12.03.06 14:20 
Ok... Danke
Hab das ganze dann doch mit FindNext gemacht. War gar nicht so aufwendig :-)