To move a file, 1) open the original file, 2) open the new file, 3) copy contents of original file to new file, 4) close both files, 4a) you could then verify that the contents of the two files are the same, 5) delete the original file.
You could also use CreateProcess and use the OS's move command. James P. Cottingham
When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.