@CDROM
@CDROM[d:] : Returns 1 if the drive is an optical drive (CD-ROM, CD-RW, DVD, etc) or 0 otherwise. The drive letter must be followed by a colon.
Examples:
echo %@cdrom[C:]
echo %@cdrom[%_disk:]