Autor Beitrag
alexschultze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 317



BeitragVerfasst: Fr 12.07.02 10:34 
hi

ich hab lange nett mehr geproggt, desshalb ne dumme frage:

wie teste ich ob eine bestimmte datei existiert?
Am liebsten wäre mir als Ergebniss Boolean.

k?

alex
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: Fr 12.07.02 11:04 
Hallo,

in der unit SysUtils gibt es folgende Funktion:
ausblenden Quelltext
1:
function FileExists(const FileName: string): Boolean;					


Die sollte dir helfen ;).

Gruß
Klabautermann