Hi All,
I want to know ,How to delete Folder.Folder may or may not contain files.
I have tried with Fs.Delete(folderpath); but this is not working
Pls let me know the solution
Thanks in Advance
Hi All,
I want to know ,How to delete Folder.Folder may or may not contain files.
I have tried with Fs.Delete(folderpath); but this is not working
Pls let me know the solution
Thanks in Advance
Regards,
Gobi
hi use the following:;
RFs fs;
fs.Connect();
CFileMan* fileMan=CFileMan::NewL(fs);
CleanupStack::PushL(fileMan);
TInt err=fileMan->RmDir(_L("Your folder path"));
CleanupStack::PopAndDestroy(fileMan);
fs.Close();
Hi,
Thank you jain.
it got worked
Regards,
Gobi