Opens or closes the CD tray.
CDTray ( "drive", "status" )
|drive||The drive letter of the CD tray to control, in the format D:, E:, etc.|
|status||Specifies if you want the CD tray to be open or closed: "open" or "closed"|
|Failure:||Returns 0 if drive is locked via CD burning software or if the drive letter is not a CD drive.|
RemarksCDTray works as expected with virtual CD drives such as DAEMON Tools.
; Open the CD tray on drive E: