×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2009
    Location
    India
    Posts
    143

    How to delete Folder

    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

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: How to delete Folder

    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();

  3. #3
    Registered User
    Join Date
    Jan 2009
    Location
    India
    Posts
    143

    Thumbs up Re: How to delete Folder

    Hi,
    Thank you jain.
    it got worked
    Regards,
    Gobi

Similar Threads

  1. [j2me] Delete Folder
    By altropinto in forum Mobile Java General
    Replies: 1
    Last Post: 2008-03-30, 19:19
  2. Delete operator of a custom memory allocator
    By cflaviu in forum Symbian
    Replies: 3
    Last Post: 2008-03-26, 13:49
  3. Deleting a Folder in use
    By raiday in forum Symbian
    Replies: 2
    Last Post: 2006-06-22, 12:06
  4. Deleting a folder
    By vinayakak in forum Symbian
    Replies: 1
    Last Post: 2006-03-20, 09:21
  5. Creating and Delete databases
    By -kevbo- in forum Symbian
    Replies: 1
    Last Post: 2001-12-13, 12:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×