Sorry, I do not understand what do you want to achieve. CFileMan::EOverWrite means "overwrite files with the same name". iFilePathNew should be "path indicating the directory into which the file(s) are to be moved". Try modifying your code the following way:
Code:
_LIT(KFileToMove,"\\ModMobile\\abc.pl");
_LIT(KTargetPath,"\\AnotherFolder");
RFs fs;
fs.Connect();
CleanupClosePushL(fs)
CFileMan* fileMan = CFileMan::NewL(fs);
CleanupStack::PushL(fileMan);
TInt err = fileMan->Move(KFileToMove, KTargetPath, CFileMan::EOverWrite);
CleanupStack::PopAndDestroy(2); // fileMan, fs
console->Printf(_L("\n aaa %d\n"), err);
Also check the following article in SDK help:
» Developer Library » Symbian OS Guide » C++ API guide » Base » File Server Client Side » How to use sessions, files, and directories » How to move a file