If you don't have reinstallation discs, then wiping the drive with a reformat causes nothing to work..
There is hope though...
For most HP computers, there should be a Recovery Partition (usually a D: drive), which can be run by pressing F10 or F11 immediately after powering up the computer.. Check the HP website for specific Recovery Partition instructions for your computer model number but it's generally easy to start the computer, press the correct F-key to access the recovery screen, then follow the prompts to recover the computer..(Remember, after formatting and such a destructive recovery, all your personal documents and files will be gone. Hopefully, you have backups of such.) If the Recovery Partition still exists, the recovery partition procedure will format the hard drive, then reinstall the operating system and all drivers and software back to the factory state.
Hope this helps.
Grif
My pc has just been hit by a virus attack and despite running McCaffee Security Center and running system restore - which didn't restore - the viruses wouldn't go away. I changed the user to 'guest', ran the anti virus again and this time it showed no problems. So, I decided to delete my user account from the pc and start a fresh one on reboot. This I did but now, the C Drive is showing as 0 bytes although programs are still showing on the desktop and I was able to access the internet.
I do not have recovery disks so is there any way I can re-format the C Drive? When I right clicked on the C drive icon and scrolled to re-format, it asked that I closed all programs that are are open or running and I wasn't sure how to do this. I'd be grateful for any help. My pc is an HP Media Center running on Windows XP Professional.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic