
Zitat von
Kompon Ente:
Hi,
mein Ordner heißt "data".
...
Delphi-Quellcode:
if DirectoryExists('data\') then
...
Jo, dein Ordner heißt data, meiner aber nicht.

Bitte verwende keine relativen Pfade(außer du willst n Russisch-Roulette-Prog schreiben

). Besser:
ExtractFilePath(ParamStr(0)) + 'data\'; // oder so ähnlich, kommt dreauf an, wo "dein" Ordner liegt.
mfg
Christian