xbass540, assuming you know how to write code you can do what you ask for with your own software.
You should get the ISO-9660 spec (or ECMA-119). In this spec you will learn the layout of the file system pointers that are on a CD. Once you understand this, you can find the starting LBA for each file on the disc. This LBA can then be converted to an actual CD time (A-Time) and then you will know where in the timeline any file is on the disc. You can even go further and calcualte ‘where’ (physically) on the disc the file is. To do these last things you need to understand how data is stored on a CD (or DVD). For this you need to review the CD specs (red, yellow, etc…) or the DVD specs. There are probably free versions of these available somewhere as well.
For commanding the CD/DVD drive you can check the MMC specs. Some specs can be found at www.t10.org.
If you are not able to handle the above, you probably need to just find some software that already does it for you.