If the windows installation CD won't do formatting, I would use a windows boot floppy for this. I don't really see the point of using linux to format windows partitions.
I have to reformat 10 hard drives (each one is between 5 and 15 gb). Which would be the best way to reformat the hard drives? I will be installing windows 95 on all of them. Is there any way I could reformat the hard drives in knoppix? Is this the best, if there is a way, or are there some better ways using a bootable floppy?
If the windows installation CD won't do formatting, I would use a windows boot floppy for this. I don't really see the point of using linux to format windows partitions.
Ok
Just out of curiosity...how would I format a hard drive in linux?
fdisk or cfdisk to make the partitions.
mkfs.msdos or mkfs.vfat to make a Windows FAT16/32 partition.
Qtparted will both partition and format if your into GUI.

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00
Lot of (7) Intel Core CPU Processors
$219.00
Intel Core i5-12400F 2.50GHz 6 Core SRL5Z 12 Thread LGA 1700 CPU- check Images
$170.00
AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065
$135.00
Intel Core i9-9900 3.10GHz CPU Processor SRG18
$165.00
Intel Core i7-7700 3.6GHz Quad-Core Desktop CPU Processor SR338 LGA1151
$40.00
Intel Core i5-7500 SR335 3.4GHz 4-Core LGA 1151 CPU PROCESSOR
$14.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
*Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5 (Bulk+Fast)
$790.00