I\'m trying to move a folder by renaming it. Both the test1 and test2 folders already exist.
rename( \"test1\", \"test2/xxx1/xxx2\" );
The e
Why not make sure all parent directories exist first, by making them? mkdir - use the recursive parameter.