After just talking with Dave Wood at SCO, we just found mkdir() does not work in the 286 compiler under large model. It's a kernel bug, to be fixed REAL SOON NOW. Hope this saves someone some time; cost me several phone calls! phil