@CDROM

Print Topic  Return to Overview  Previous Topic  Next Topic 

@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:]

 

Topic "f_cdrom.htm" last edited 8/31/2006. ©2008  JP Software, Inc.
Keywords: @CDROM,CD-ROM