Download Audacity, the free recording and editing software (see Resources for the link). Follow the instructions to install it on your computer.
Connect the tape deck to your computer. Plug one end of the male-to-male audio cable into the line-out or headphone jack of the cassette player. Plus the other end into the line-in or mic jack of the computer's sound card.
Prepare Audacity for recording. Open the Audacity program and change the input type. Do this by going to Edit > Preferences and clicking on the tab labeled Audio I/O. Under "playback," select the device with the name of your specific sound card. Find "recording" in the same window and select this device again.
Start recording. Press the Record button on Audacity, then start the cassette. When the song is done, press the Stop button on Audacity.
Export the file. Click on File > Export. Export the file as a wave or a mp3, depending on the format you want. Save file to your computer.
Burn the file to a CD.