Iuli Posted October 30, 2007 Posted October 30, 2007 Hi, I'm in a big trouble. Is there any chance to detect with AutoIT the type of media (CD,DVD) in a selected drive. Thank you very much . [size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
BigDod Posted October 30, 2007 Posted October 30, 2007 You could try using DriveGetType but I do not think that it knows the difference between CD and DVD. DriveGetFileSystem might also help. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Iuli Posted October 30, 2007 Author Posted October 30, 2007 (edited) Yeah, thanks, DriveGetFileSystem would help me. But what if i want to detect disks as CD-R/DVD-R DVD+R, CD-RW/DVD-RW etc ? Edited October 30, 2007 by Iuli [size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
bhoar Posted November 14, 2007 Posted November 14, 2007 Yeah, thanks, DriveGetFileSystem would help me. But what if i want to detect disks as CD-R/DVD-R DVD+R, CD-RW/DVD-RW etc ?My approach was to extend my SPTI code (posted in these forums) which talks directly to the drive and use the Get Configuration CDB (0x46). I'd post the code I'm using now, but it is desperately in need of a cleanup.-brendan
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now