I have a problem with the MoveFile() function of the Win32 API.
I cant move files which are in the same directory as the exe file,if i specify the pathname,it dosent work.I dont know how this function works.Need urgent help.......
# include<windows.h>
# include<iostream.h>
int main()
{
MoveFile("C:\File1.txt","C:\New Folder\File2.txt");
}