Hi,
Formatting means removing the present material, and all of it. It can be done a one partition basis, but you said you used both drive C and D.....
What you are interested in is a
partial recovery or a
Repair install and some branded computers do allow that type --- but you have to be very careful and actually hit the right keys to make it do only a partial recovery/ repair install of XP.
If the computer is not a branded type like a Compaq, HP etc you definitely have the ability to try a Repair Install. This is not by any means guaranteed to remove the virus....not at all.
By default, the My Documents folder and contents is supposed to stay as is in a Repair install, but things do happen, and if your documents are located in a non-system folder or on another partition I cannot say what might happen. Of course, you do not want to format any partition or drive.....
It might be best to get any important files off the drive by hooking it up to an "unimportant" computer running XP, installed as a Slave or second drive you should be able to copy off files you need. Yes, an infection can transfer this way. You are not booting up the computer from the infected drive, only temporarily using it in another machine to pull data from.... It depends on the virus whether anything infected might be moved. A scan can be done afterward....
I don't see much else of a way to fix the problem.
We don't know what type of hard drive you have, SATA or the older type IDE.....they don't mix well, best to use the same type of drive
Here's a site with directions: for a Repair install of XP
http://michaelstevenstech.com/XPrepairinstall.htm
But, if you have a specific brand or something you need to follow the directions for your model...
Or, if you are going to install the infected drive in another computer here is some help>
http://ask.reference.com/related/Ins...&l=dir&o=10601
That's a list of posts with info about slave drive and how to do it.
You will most likely have to redo the jumpers on both the host computer's main hard drive (not the CD) while you are using the infected or slave drive in it. And of course, redo the jumper on the infected drive to make it NOT a Primary drive....temporarily.