Announcement

Collapse
No announcement yet.

I want to Delete a folder in AppData \ Roaming

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I want to Delete a folder in AppData \ Roaming

    I want to Delete a folder on AppData \ Roaming universal path

  • #2
    RTFM
    Click image for larger version

Name:	RTFM.png
Views:	123
Size:	73.1 KB
ID:	306197

    Code:
    sApplicationDataFolder = Shell.GetFolder(SHF_APPLICATIONDATA);
    -- set default target folder
    sDBFolder = sApplicationDataFolder .. "\\MyFolder";
    Folder.Delete( sDBFolder );
    Cheers

    Comment


    • #3
      Thanks.

      unfortunately it didn't.

      Comment


      • #4
        if you have folders inside of the folder you wish to delete,
        then use Folder.DeleteTree instead of Folder.Delete
        if still not working then post code you have

        Comment


        • #5
          Thank you very much!
          It worked.

          Sorry for my English

          Comment

          Working...
          X