How to I make it eject (or close) my cd when I run a program?
You can use the command line options that are included with Open/Close CD. Here is the usage:
OPEN_CD.EXE {open or close} {cd-rom drive letter} {path to program to execute}
For Example:
"C:\OPENCD\OPEN_CD.EXE" open d "C:\WINDOWS\NOTEPAD.EXE"
This would eject the CD-ROM drive D:\ and then open Notepad.
"C:\OPENCD\OPEN_CD.EXE" open "C:\WINDOWS\CALC.EXE"
This would eject Windows default CD-ROM and then open the Calculator.
If you want to specify a drive letter (for multiple CD-ROM's) just add the drive letter:
C:\OPENCD\OPEN_CD.EXE open e c:\windows\notepad.exe
This would eject the CD-ROM drive E:\ then launch Notepad.
For more information on how to modify the command line, please click here.
OPEN_CD.EXE {open or close} {cd-rom drive letter} {path to program to execute}
For Example:
"C:\OPENCD\OPEN_CD.EXE" open d "C:\WINDOWS\NOTEPAD.EXE"
This would eject the CD-ROM drive D:\ and then open Notepad.
"C:\OPENCD\OPEN_CD.EXE" open "C:\WINDOWS\CALC.EXE"
This would eject Windows default CD-ROM and then open the Calculator.
If you want to specify a drive letter (for multiple CD-ROM's) just add the drive letter:
C:\OPENCD\OPEN_CD.EXE open e c:\windows\notepad.exe
This would eject the CD-ROM drive E:\ then launch Notepad.
For more information on how to modify the command line, please click here.
Support Our Work
Please consider making a contribution today to help us keep Open/Close CD available for everyone.
Didn't find your answer?
Our support team can help you with your specific issue. Submit a request and we'll get back to you.
Get Help Now
Additional Information
Added: Jan 20, 2005
Added: Jan 20, 2005
