move all files in a folder to another?

lakezt

New Member
when moving one file from one location to another i use\[code\]rename('path/filename', newpath/filename');\[/code\]how do you move all files in a folder to another folder? tried this one without result:\[code\]rename('path/*', 'newpath/*');\[/code\]
 
Back
Top