Jump to content

Get disc information from command line


Recommended Posts

Posted

I'd like a way to get information about a disc to verify there is only one session and has been finalized. I was able to accomplish this with IMGBurn using the following command:

 

"C:\Program Files (x86)\ImgBurn\ImgBurn.exe" /INFO "test.txt" /CLOSEINFO /SRC 1:0:0 /MODE Discovery

 

I can then parse the output to verify the disc meets my criteria. Is there a better way to do this?

Posted

I'd imagine that's the only way to do it in ImgBurn.

 

Of course anything outside of ImgBurn is also pretty much outside the scope of this forum. :)

Posted

Right, but I was wondering if there is a better way. This still brings up the GUI rather than a completely silent opperation. Could the output be dumped to standard output rather than a file. I'm not sure how it handles errors like when there's no disc in the drive. Stuff like that.

Posted

ImgBurn is a GUI app.

 

There may well be other (actual 'command line') tools that'll do what you're after.

 

You could also learn to write your own.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.