Re Compact Flash Card Nikon

Hi, Hope someone out there can help, It seems a friends camera card has contracted a virus (Downloaded from my computer) they do not have a comp. How is the best way to get rid of it? Will reformatting the card do? There are no photos on it at the moment! Nikon D70s with compact flash card! 
