Announcement

Collapse
No announcement yet.

getting CSIDL_LOCAL_APPDATA folder path

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

  • getting CSIDL_LOCAL_APPDATA folder path

    Hi

    In setup factory is there a way to get the path for CSIDL_LOCAL_APPDATA ?

    I can only see the session variable for CSIDL_APPDATA i.e. %ApplicationDataFolder%

    Thanks
    Peter

  • #2
    There are at least these three methods for getting the folder path:
    Code:
    sFolder = Shell.GetFolder(SHF_APPLICATIONDATA_LOCAL);
    sFolder = Shell.GetFolder(28);
    sFolder = os.getenv("LOCALAPPDATA");
    More info on my site.

    Ulrich

    Comment

    Working...
    X