Sizzlechest Posted March 5, 2018 Posted March 5, 2018 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?
LIGHTNING UK! Posted March 5, 2018 Posted March 5, 2018 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.
Sizzlechest Posted March 5, 2018 Author Posted March 5, 2018 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.
LIGHTNING UK! Posted March 5, 2018 Posted March 5, 2018 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.
Recommended Posts