Rewrote GetCWDPlain(Win32). It now correctly returns the path in PFile format. I'm however not completely sure whether I used the _getcwd() function correctly. If the first argument (buffer) is 0, what value should the second one (buffer size) have? Christian -- Drive A: not responding...Formatting C: instead