2 Replies Latest reply on May 22, 2009 6:07 AM by DHL83

    AIR: Name of "Application Data" folder in different language versions of Win XP?

    DHL83 Level 1

      Is there a way to retrieve the name/path of  the XP/Vista "Application Data"/"AppData" folder in Adobe AIR?


      This works for US or English versions of Windows XP/Vista :

      var appDataDir:flash.filesystem.File = flash.filesystem.File.userDirectory.resolvePath("Application Data");

      var appDataDir:flash.filesystem.File = flash.filesystem.File.userDirectory.resolvePath("AppData");


      But on my netbook with XP Home - Norwegian,the AppData folder is called "Programdata" and hence this code will not work.



      Dag Hendrik