# AudioCDReader: Which drive letter corresponds to which index

**URL:** <https://forum.juce.com/t/audiocdreader-which-drive-letter-corresponds-to-which-index/6562>\
**Category:** General JUCE discussion\
**Created:** [March 14, 2011, 8:49am UTC](https://forum.juce.com/t/audiocdreader-which-drive-letter-corresponds-to-which-index/6562 "2011-03-14T08:49:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zamrate](https://avatars.discourse-cdn.com/v4/letter/z/f4b2a3/32.png) [@zamrate](https://forum.juce.com/u/zamrate)\
**Post date:** [March 14, 2011, 8:49am UTC](https://forum.juce.com/t/audiocdreader-which-drive-letter-corresponds-to-which-index/6562/1 "2011-03-14T08:49:50Z")

</div>

I have a quick AudioCDReader question. Let’s say I have 3 CD drives on my Windows OS, called E: G: X: .  
How do I know which drive corresponds to which index to pass to AudioCDReader::createReaderForCD(const int index) ?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [March 14, 2011, 8:59am UTC](https://forum.juce.com/t/audiocdreader-which-drive-letter-corresponds-to-which-index/6562/2 "2011-03-14T08:59:46Z")

</div>

If the letter’s known, then it should be there in the drive’s description string.
