As long as you do a full format, not just a quick format, you should be fine. Though to be safe, I still prefer formatting infected drives under an OS such as Linux. The viruses shouldn't be able to infect the other machine/OS and you should be able to destroy most all the data on the drive.