Either your CD is damaged, the optical drive is defective or the hard drive is defective. Try and obtain a copy of Ultimate Boot CD and perform diagnostics on the hard drive to eliminate it as the cause. Check the Dell Windows CD for scratches / smudges. There is no magic combination of keystrokes to fix hardware issues.
I put the drives into another computer and it loaded XP fine so I think it is the hard drive Thank You