Subj : Re: Rename Directory To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Wed Nov 19 2003 08:13 am Ed Mulroy [TeamB] wrote: >In a 32 bit Windows program the Windows API function MoveFile can be used to >rename the directory. > >In a 16 bit Windows or a DOS program I do not know of a function to rename a >directory but you can rename a directory from the command line using the >move command. Using WinExec in a 16 bit Windows program or system in a DOS >program with a command such as "move old_name new_name" should work. rename() should work. From a command prompt, I just tried: md b ren b c now there is a 'c' subdir. rd c .