What is the application? Are you using a scripting language to make a program or do you just want to switch between working and non working cd drive? First thought is to use a virtual drive instead of a physical one and use your programming language to exit the virtual drive program and restart it when you want cd access back.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.