I tried renaming a fie with Follwoing Syntax:
int iRenameXML,iRenameXMLErr;
iRenameXML = rename("D:\Debug\CurrentServers.xml",
"D:\Debug\CurrentServersssss.xml");
iRenameXMLErr = GetLastError();
But this Get me GLE 2 ,ERROR_FILE_NOT_FOUND.
Is there any other way I can change tha name of a file at other location.
I do not think chdir will be a good idea.