Can anyone throw me a tip and tell me how to rename files in a c++ program? What I want to do is have file1.txt renamed to file1_old.txt, then open file1_old.txt for input, and file1.txt for output. Thanks, Mark.