I need to do an fopen(path, "wb") where path includes directories that may or may not exist. On windows I use CreateDirectory to create the directories first, then do the fopen for the file. What is the Linux / Unix equivalent? --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html