Copy the whole SD contents to your PC into a folder. Now put the blank SD card back into your camera and format it, maybe take a picture. Then put the card back into your PC and copy the other photo's back to that root folder that the camera should have created.
Hope this helps!