Okay. so workingdir is simply wrong because it shows the standard user-directory... The when the exe opens the file is by using fileRead("inifile.ini",0) without a path => in the actual directory. This works on windows, no matter where i put the two files. But in Linux/Wine, when the inifile is in the same directory as the exe, the file will not be read.