There is no API that will copy only part of a file (and as you found out,
canceling a copy will rewind the whole thing).
You need to open the file, read what you need to read and then write it out
to the target file.
--
. . . . . . . . . . . . . . . . . . . . . .
Klaus H. Probst, MVP
http://www.vbbox.com/
Please post/reply to the newsgroup(s)
Quote:
> i want to create a smaller file from a larger file.
> In other words, I like to extract a smaller portion of a media file from
the
> original one.
> Is there a way?
> I try to copy the file to another path and then cancelling it before its
> complete, however, the partial copy file did not appear.