Use ENVVAR in the file path

Forums Desktop Info Use ENVVAR in the file path

This topic contains 4 replies, has 2 voices, and was last updated by Avatar Michael 1 month, 2 weeks ago.

  • Author
    Posts
  • #1853 Reply
    Avatar
    Michael

    It will be great to be able to use Set variable as part of the file path.
    Something like this:

    # Set user var javapath from JAVA_HOME
    ENVVAR=active:1,interval:0,text:Java Path:,key:JAVA_HOME,set:javapath

    # Use it to show content of the “release” file
    FILE=active:1,interval:0,type:text,text:Java Version:,file:%javapath%\release,display:%2

    # Or even use the JAVA_PATH directly:
    FILE=active:1,interval:0,type:text,text:Java Version:,file:%JAVA_HOME%\release,display:%2

    1+
  • #1855 Reply
    Glenn
    Glenn
    Keymaster

    sounds like a good idea. I’ll raise an issue for the next release.

    0
  • #2058 Reply
    Avatar
    Michael

    Is this new feature included in v1.18 ?
    Does not work for me 🙁

    0
    • #2060 Reply
      Glenn
      Glenn
      Keymaster

      try setting the interval

      0
  • #2071 Reply
    Avatar
    Michael

    It works now, thank you !

    1+
Reply To: Use ENVVAR in the file path
Your information:




Do NOT follow this link or you will be banned from the site!