Automated backup to CD-RW?

MrWhiteUK

Senior member
May 13, 2001
625
0
0
I'm trying to write a program thats backs up certain files at set intervals to my cd-rw, I will be using C# under Win XP pro.

For those that don't know, to copy a file to CD-R in XP you drag and drop the file to the cdrw drive (doesn't write to cd yet), then you have to click on 'write these files to the cd-r' which starts the write.


My first attempt at writing an app to do this for me, I just used a simple File.Copy() method to copy the files to the drive, this didn't work and threw up an unauthorised access exception, not sure why.

Then I read there is an IMAPI library as part of the Win api, this can be used to write to cd-rw but the problem is I'm not too well up on using interop in C# and second, all the documentation for the IMAPI is missing from the msdn site (404 error).

Can anyone help me with this? thanks

Dom.