countCdDrives

Returns the number of cd-rom drives on the system.
Old numDrivesCD syntax is still valid but is discouraged.

Syntax:
variable = countCdDrives

Example:
print countCdDrives