Run time error
3 Path not found
Reported by the directory handling routines when a path does not exist or is invalid. Also reported when trying to
access a non-existent file.
http://www.freepascal.org/docs-html/user/userap4.html
lass dir mal mit showmessage anzeigen welchen Pfad du da übergibst und schau ob du da überhaupt Zugriff hast.