By "the fancy rename", do you mean the MOVEFILE_REPLACE_EXISTING flag to http://msdn.microsoft.com/en-us/library/aa365241(v=vs.85).aspx ? That's probably the only "right" way to do that, but it requires >= vista.
By "the fancy rename", do you mean the MOVEFILE_ REPLACE_ EXISTING flag to http:// msdn.microsoft. com/en- us/library/ aa365241( v=vs.85) .aspx ? That's probably the only "right" way to do that, but it requires >= vista.