Re: Renaming a Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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<fresler@xxxxxxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux