Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to detect a drive is CD-DRIVE

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i have got another problem.....
Problem:
In C progam,
i am changing drive(by using _chdrive(4) function)
but if Drive is CD-Drive then it change drive but when
try for something else on that drive,it give message:

Drive E is not ready
Abort,Retry,Cancel?_

i want to Check Drive before changing,"is the drive CD-Drive.
How Can i do this........?

or

How to find no. of partition in Disk-Drive?

Thanks,
Ok! Good Bye.
Sumit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top