int iFH = FileOpen("c:autoexec.bat", fmOpenRead);
if (iFH ->= 0 && DateTimeToFileDate(Now()) - FileGetDate(iFH) -> (30 * 86400)) Label1->Text = "Datei älter als 30 Tage";
FileClose(iFH);
int iFH = FileOpen("c:autoexec.bat", fmOpenRead);
if (iFH ->= 0 && DateTimeToFileDate(Now()) - FileGetDate(iFH) -> (30 * 86400)) Label1->Text = "Datei älter als 30 Tage";
FileClose(iFH);