Discussion:
: How to open a logical partition and read all of its file using windows function ReadFile() ?
(too old to reply)
krish
2009-06-13 12:10:15 UTC
Permalink
Hii

In my application , wanna copy all files from one partition to another
partition.

First I copied a file that I taken default and copied to another
partition.

The above operation is done by using the control code
"FSCTL_GET_RETRIEVAL_POINTERS".

The clusters used are read and wrote into destination volume using
readfile() and writefile() windows functions.


Now I gotta copy all files.....

So how to proceed ....??
Nathan Mates
2009-06-13 16:29:04 UTC
Permalink
Post by krish
In my application , wanna copy all files from one partition to another
partition.
Why not just use robocopy.exe, part of the Windows Resource Kit
Tools? It's a free download from
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
and runs on XP (maybe even 2000), despite the name saying '2003'.
Robocopy is one *really good* copy & backup program, having tons of
useful options. I use it for incremental backups of my computers at
home to external HDs, etc.

Nathan Mates

--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
Loading...