You cannot format a Nintendo DS memory card on a computer. DS cards use a proprietary FAT16 file system, while computers typically format to FAT32, which is incompatible.
Never format a DS card on a PC. Always use the console or trusted DS-specific software.