Rename project

I somehow have 2 projects with the same name but with differenr folders. How can I change the names of the projects so they are different?