Autor Beitrag
Millo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 147



BeitragVerfasst: Mi 14.08.02 00:53 
Hallo

Ich hab mal ne Frage: Wie kann ich die Größe eines einzelnen Verzeichnises feststellen.
DBR
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 46



BeitragVerfasst: Mi 14.08.02 03:05 
z.B. mit FINDFIRSTFILE den Ordner durchgehen und alle Dateigrößen addieren.

gruss DBR
Millo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 147



BeitragVerfasst: Mi 14.08.02 03:24 
THX

Ich Teste das mal aus
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: Mi 14.08.02 10:44 
Tatsächlich musst du mit FindFirst, FindNext und FindClose das Verzeichnis abarbeiten und die Dateigrößen Addieren. Allerdings muss das ganze Rekursiv geschehen da du ja auch die Dateien in den Unterverzeichnissen mit addieren musst.

Gruß
Klabautermann
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: Mi 14.08.02 10:57 
Oder schau dir mal den Tip an :

www.swissdelphicente.../showcode.php?id=149