TCC > Variables & Functions > Functions:
Comments (...)
@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:]
Help URL: http://jpsoft.com/help/index.htm?f_cdrom.htm