Discussion Locked

dos command for ejecting a CD

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would like to add a step in a DOS batch job to eject a CD automatically.

Could someone please tell me the command if there is one.

7 replies

by dmiles

There is a command in the following
OPEN.EXE (not part of MSDOS)
It gets installed when you install the CDROM driver for MSDOS,in the folder C:\SBCD
It will be on the floppy that accompanies the CDROM

It may be that you will need to download autility to accomplish this
1)www.simtel.net/pub
2)www.bookcase.com/library/software/msdos.util.cdrom

by dklippert

Boy! This was harder to find than I thought. There is no direct DOS command, but there are some add-ins that will do the job.

Take a look at www.cmdtools.com

Near the bootom of the page is a file Eject.zip that may be what you need.

This discussion is closed to new replies.