mfc >> How to Copy Files/Directories from hard disk to CD programmaticall

by U1NSb3k » Tue, 21 Mar 2006 19:42:26 GMT

I want my program to copy(burn) files or entire contents of a directory from
hard disk to a CD. In my program, I have a CString which stores the name of
the file/directory to be burned.
What is the easiest way to do that for Windows XP ? Does the MFC has any
support for this ? What about copying a irectoryfrom HD to CD ?

Please advice,

Regards
Sanjoy Sinha Roy
HCL Technologies



mfc >> How to Copy Files/Directories from hard disk to CD programmaticall

by David Lowndes » Tue, 21 Mar 2006 20:14:18 GMT


>I want my program to copy(burn) files or entire contents of a directory from

Have a look at IMAPI (Image Mastering API) in MSDN.


Not that I'm aware of - but you may find someone who has done some
wrapper code for it.

Dave



Similar Threads

1. Copying .bsc files to a usb hard disk

2. Display the image into picturebox without saving image files into Hard disk

3. To check whether a file exist in hard disk

4. TThread's accessing same file on hard disk.

If you have multiple TThreads writing to the same file on the hard drive
will that cause a problem? I figure it would eventually, but throwing the
write to disk in a Synchronize() function wouldn't that defeat the purpose
if I want to write to disk while the user is doing something else in the
program? How do I work around it?

Thanks



5. copy file to floppy disk - CSharp/C#

6. How to copy a file from a disk to a specified sector of anothe

If it can't do at a file level, how to do it in other ways. 

That is, how to copy data from a specified sector of one disk to the same 
sector of another disk?

"Vipin" wrote:

> you can't do this at a file level.
> Thanks
> Vipin
> 
> "Jahfer V P" <Jahfer V  XXXX@XXXXX.COM > wrote in message 
> news: XXXX@XXXXX.COM ...
> > Hi,
> >
> > I want to perform the following operations given below.
> >
> > 1. Read a file from a disk
> > 2. Write the same file to another disk
> > 3. In the second disk the written file should be on the same
> > cylinder/track/sector as it is on the first disk.
> >
> > Hoping to get a reply soon.
> > TIA.
> >
> > regards,
> > Jahfer V P. 
> 
> 
> 

7. How to copy a file from a disk to a specified sector of another di

8. a disk file copy function is needed

Hi,

I badly need two functions or supports in MFC or Win32 but wonder if they 
exist.  The first function is  to pack files into one container file.  And 
the second function is to copy these files out of the container file.  I can 
simply pack files into IStreams in a IStoage and then programmatically read 
them (IStream::Read) and write to new files (CFile::Write).  But performance 
is quite bad because these files can be very huge.  The second function 
above, if it exists, is fast because it is, in some degree, to bypass the 
main memory and directly copy files across disk spaces.

No 3rd party zip application is allowed in this case due to policies.  Can 
anyone help me out?  I appreciate it so much.

JD