Subj : Re: Creating Full Folders To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Fri Oct 24 2003 01:51 pm A Davis wrote: >Locally, since mkdir() only works within the current Folder, It does? > I've written a function which creates folders along the chain:- >Eg To create C: \ folder1 \ folder2 \ folder3 > >This works ok on Local Drives, but fails across a network. > >Eg a network folder might be:- >\\ networkpc\folder1 Have you tried it with the full path? mkdir( "C:\\folder1" ); mkdir( "C:\\folder1\\folder2" ); mkdir( "C:\\folder1\\folder2\\folder3" ); Same should work on network.. mkdir( "\\\\networkpc\\folder1" ); mkdir( "\\\\networkpc\\folder1\\folder2" ); I don't remember if mkdir will self-recurse to instantly make multiple level directories. You might try it. .