in reply to Moving a Text File
FYI, that won't work in this case since rename() usually doesn't work across file systems (and Win32 isn't an exception), and the original code was trying to go across file systems.