Autor Beitrag
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Mi 01.10.03 09:43 
Wie mache ich das am besten?
Einfaches deltree will ich haben.

-lemmi
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mi 01.10.03 10:08 
Hallo,

mit Suche in: Delphi-Forum, Delphi-Library SHFILEOPERATION. Wenn ich mich nicht irre, dürfte es zu diesem Thema genügend Antworten im Forum geben.

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Mi 01.10.03 13:06 
Du kannst das auch mit einer for-schleife lösen und die Dateien nacheinander aus dem Verzeichnis löschen und danach den Ordner löschen.

_________________
...To err is human, but to really foul things up requires a computer.
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 01.10.03 13:17 
Hi,
G-man hat folgendes geschrieben:
Du kannst das auch mit einer for-schleife lösen und die Dateien nacheinander aus dem Verzeichnis löschen und danach den Ordner löschen.

Rekursiv währe das ganze einfacher zu lösen, da ja unterverzeichnisse und deren Inhalt auch gelöscht werden müssen.

Gruß
Klabautermann