Possible Duplicate : Write to CD from .net
I have a data file in f:\ drive named 'cd.txt'. I want to write this file to a CD i.e E:\.
String source ="F:\\cd.txt";
String destination="E:\\cd.txt";
File.copy(sorce,destination);
The above line is throwing exception saying "Access to the path 'E:\cd.txt' is denied".
What is the solution for this .Please help.