3 Replies Latest reply on Feb 1, 2016 5:42 PM by johnrellis

    LrFileUtils.createDirectory and Windows environment variable paths

    gandalf44

      I am trying to use the Windows %TEMP% environment variable to create a directory for myself, but cannot get it to parse the %TEMP%.

       

      something like

      tempPath = '%TEMP%\\my_temp'

      LrFileUtils.createDirectory( tempPath )

       

      but it doesn't work.  I've tried every which way to escape the %.  Anyone have any ideas?!?!

       

      -Brian