Howdy stevenh,
That is the problem. If you have a virus or 2 or more you may end up deleting system files as you go along.
As Bluefish suggested just download rockXP and put it on a cd/r and put the cd/r into the laptop to retrieve your xp key. Write it down and install fresh...