Is the CD heavily scratched or just does not work?
Unless you have made an image it is not possible to put the contents of a folder onto a CD and make it work. You see The Sims CD has a copy protection on it, and that must be read by the guard module in the game. The contents of that folder are not the same as the original CD. The original CD has all of the setup files and such stored away.