Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Burn files to a CD at runtime
Message
 
À
28/06/2005 08:41:45
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01026046
Message ID:
01028024
Vues:
14
Paul,
I've got another question for you.
I am trying to figure out the 2nd parameter of the AddFile() method. From reading the docs it should define the path on the CD. Considder the code below:
string sFileName = System.AppDomain.CurrentDomain.BaseDirectory+"myFile.txt";
string sOnCD = @"\myFile.txt";

myBurn.AddFile(sFileName,sOnCD);
myBurn.RecordDisc(false,true);
I was hoping that the code above would create a file called myFile.txt on the root of the CD, but it creates the same directory structure as the source file.
Do you know how to burn a file to the root of the CD?

Thanks,
Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform