in reply to Re: rename
in thread rename

I never use win32, but I imagine something like this would work (pseudo-code below):
copy file from old name to new name if error handle error else delete old file