Autor Beitrag
DelphiFreund
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 120

Win XP
D7 Enterprise
BeitragVerfasst: Sa 24.07.04 22:17 
Nochmal hi,
wie kann ich überprüfen, ob eine Datei existiert?

Gruß DelphiFreund
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 24.07.04 22:40 
Mit der Suchfunktion, indem du schlicht deine beiden Zauberworte Suche in: Delphi-Forum, Delphi-Library "DATEI EXISTIERT" eingibst.
raven_22
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 95

Win XP pro
D7 Enterprise
BeitragVerfasst: Fr 13.08.04 22:19 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.Button1Click(Sender: TObject);
begin
if FileExists('C:\Datei.xyz') = true then
   Showmessage('Datei ist da ;-)')
else
  Showmessage('Datei ist nicht da :-(');
end;


LG raven 8)

_________________
---_-= raven_22 =-_---