Is that correct: http://www.delphifaq.com/faq/delphi/windows_file_system/f419.shtml ? If yes, then you need IFDEFs to distinguish between Linux and Windows. ;-( Jürgen Hestermann