Autor Beitrag
3rdnuss
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 139



BeitragVerfasst: So 06.03.05 14:23 
Hallo.

Ich haber da ein kleines Problem.
Ich wollte alle Dateien eines Ordners löschen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Button1Click(Sender: TObject);
begin
deletefile ('C:\123Test\*.*')
end;

end.


Naja, es würde ja mit removedir funktionieren, aber ich möchte ja dann nicht (z.B den Autostartordner) löschen :?


Lg Felix
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: So 06.03.05 16:19 
Lies mal bei folgenden Stichworten die Hilfe:
    TStringList
    FindFirst
    FindNext

und dort auch das Beispiel.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 06.03.05 16:35 
Einfachhher: Suche in: Delphi-Forum, Delphi-Library SHFILEOPERATION.
3rdnuss Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 139



BeitragVerfasst: Mo 07.03.05 17:33 
Cool.

Danke @Luckie :)

Lg Felix