View Single Post
  #1 (permalink)  
Old 03-08-2007, 04:00 PM
Calin Iaru
Newsgroup Contributor
 
Posts: n/a
Copy a file with Windows Explorer reserves the file size in advanc

Hi all,

Ctrl + V a file into the destination folder and it can be noticed that the
destination file has the size equal to the source file size. For a large
source file, this is not possible to achieve with normal copy operations. The
advantage is that, by reserving the requested amount of space, the file
manager can write a new file starting from the position where the current
destination ends; it also reduces fragmentation, and there may be other
benefits.
I would like to integrate this feature into an application. What is the
name of the Win32 API that does this? I could not find a function that
achieves this.

Thanks,
Calin
Reply With Quote

 
Old 03-08-2007, 04:00 PM