This page is orphaned, abandoned, and unmaintained.
No further updates will be made to this page, and accuracy is neither expected nor guaranteed. It is left in place solely for historical interest.
numtracks is a simple utility program which will just echo the number of audio tracks a CD-ROM has to the console.
It's useful if you wish to write a simple script to rip the contents of a CD-ROM to MP3/Ogg formats - to be honest it's not that useful otherwise.
If you use some sort of new-fangled GUI ripping application you'll have no need for it either...
Download from the following URL:
Most of the code was taken from the workbone console MP3 player, if not directly then indirectly.
Since there isn't much to the code you're welcome to take it and use it however you like.