Nope, nothing wrong with that at all.  Just didn't think of it!

Thanks!
Floyd

On Sep 8, 2009, at 5:46 PM, Eddie Drapkin wrote:

On Tue, Sep 8, 2009 at 5:39 PM, Floyd Resler<fres...@adex-intl.com> wrote:
How can I rename a directory with files in it? The rename function gives me
a "directory not empty" error.  I know I could do it be creating the
directory, moving the files, and then deleting the old one. Is there an
easier way?

Thanks!
Floyd


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Is there something wrong with `system("mv $oldName $newName");` ?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to