Certain disk drive manufacturers allow software control of disk ejection. The trackdisk device provides the td_eject command to tell such drives to eject a disk. You eject a disk by passing an ioexttd to the device with td_eject set in io_Command. DiskIO->iotd_Req.io_Command = TD_EJECT; DoIO((struct IORequest *)DiskIO); Read the Instruction Manual. ---------------------------- The Commodore 3.5" drives for the Amiga and most other Amiga drive manufacturers do not support software disk ejects. Attempting this command on those drives will result in an error condition. Consult the instruction manual for your disk drive to determine whether this is supported.