This program will rename the 6.txt as 6666.txt. It is done with TurboC in windows.
The restiction here is that the file that is to be renamed must be in the TC folder.
Hi saeid5977,
MoveFile is a win32 api and will work only on Windows OS and if we need to make it generic on different platforms,it better to stick with c++ Ansi runtime library calls.