You can't format a CD drive. It doesn't work that way. CD-ROMs are one use only, so they need to have no format. You can only write them with a CD writer, and once. (unless it's a CD-RW)
What is your laptop model? Is your CD drive a CD writer? Is it written something on the drive door? If it's an old laptop, it may not have a CD writer at all, thus it is unable to write disks. You will need an external cd writer drive.
Most external CD/DVD drives should work if it's Win98SE.