Sign in to follow this  
Followers 0
--J.LO--

How to check properties of cdrom drives

3 posts in this topic

HI,

i want to check if a cdrom or dvd rom is capable of writing cds or dvds or is a rom only.

i have seen tools like cdidentifier.exe frum bustools, but they cannot deliver inof to the commandline.

does anybody have any idea how to solve this?

THX

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

HI,

i want to check if a cdrom or dvd rom is capable of writing cds or dvds or is a rom only.

i have seen tools like cdidentifier.exe frum bustools, but they cannot deliver inof to the commandline.

does anybody have any idea how to solve this?

THX

It would be up to you on whether or not to deliver the information to the command line, but you could certainly check out the functions in my CompInfo.au3 Library.

Edit: Link in my sig (ComputerGetInfo UDF's)

JS

Edited by JSThePatriot

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

HI,

i want to check if a cdrom or dvd rom is capable of writing cds or dvds or is a rom only.

i have seen tools like cdidentifier.exe frum bustools, but they cannot deliver inof to the commandline.

does anybody have any idea how to solve this?

THX

I've got some autoit code written that can query a drive directly* and tell me the type of disc that is currently inserted (cd/dvd/bd/hddvd and -ROM/-R/-RW/-RAM/+R/+RW and whether or not it is dual layer) if the drive recognizes it.

I'll see if I can add some more code to determine the exact drive capabilities. I starting doing that before, but the T10 MMC-x standards documentation makes my eyes bleed (profusely), and so I took a break once the disc-recognition code was done.

Another method would be to research if using some of the ported-from-linux tools (such as cdrdao, cdrecord tools/cdrtools and dvdplusrw tools) might give enough information for the environment your program is in. e.g. http://fy.chalmers.se/~appro/linux/DVD+RW/tools/win32/

-brendan

* on NT and later, assuming you have admin rights, since SPTI requires that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0