Rocket Division Software http://www.starburnsoftware.com/forum/ |
|
beginner question http://www.starburnsoftware.com/forum/starburn-sdk-f3/beginner-question-t396.html |
Page 1 of 1 |
Author: | jay [ Tue May 24, 2005 1:42 pm ] |
Post subject: | beginner question |
hello, how do you copy specific files to CD/DVD into their own directory... for example if i wanted to copy a file c:\source_dir\file.dat to CD as D:\target_dir\file.dat, how would i do that? the code i'm using right now is below, but it burns a file on the CD '\target_dir\file.dat' and doesn't create any directories... Code: StarBurn_ISO9660JolietFileTree_Add(
l__PVOID__ISO9660JolietFileTree, ( PCHAR )( &l__CHAR__ExceptionText ), sizeof(l__CHAR__ExceptionText), &l__ULONG__Status, "C:\\source_dir\\file.dat", "\\target_dir\\file.dat", FILE_TIME_LAST_WRITE, &l__PVOID__Root, NULL); what am i doing wrong? thank you, sorry for the dumb question =) |
Author: | jay [ Tue May 24, 2005 4:02 pm ] |
Post subject: | |
ok, i have been playing around and got it to do what i want with this code. is this the right way to go about it? Code: StarBurn_ISO9660JolietFileTree_Add(
l__PVOID__ISO9660JolietFileTree, ( PCHAR )( &l__CHAR__ExceptionText ), sizeof(l__CHAR__ExceptionText), &l__ULONG__Status, NULL, "target_dir", FILE_TIME_LAST_WRITE, &l__PVOID__Root, &l__PVOID__NextChild); StarBurn_ISO9660JolietFileTree_Add( l__PVOID__ISO9660JolietFileTree, ( PCHAR )( &l__CHAR__ExceptionText ), sizeof(l__CHAR__ExceptionText), &l__ULONG__Status, "c:\\source_dir\\testfile.dat", NULL, // Keep same filename FILE_TIME_LAST_WRITE, &l__PVOID__NextChild, NULL); |
Author: | anton (staff) [ Tue May 24, 2005 8:41 pm ] |
Post subject: | |
Exactly! P.S. We *LOVE* self-supporting customers |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |