Currently, I am prompting the user for the drive letter of the CD-ROM before I start to copy files from the CD. Is there a way around this (a way in which I don't have to prompt the user)?
Thanks in advance!
Printable View
Currently, I am prompting the user for the drive letter of the CD-ROM before I start to copy files from the CD. Is there a way around this (a way in which I don't have to prompt the user)?
Thanks in advance!
you can step through the available drives until you find the cdrom.
use GetDriveType and check for a return value of DRIVE_CDROM
Hope this helps,
Gary Kirkham