Community
    • Login

    When was $(SYS.var) added to notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 873 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TekBearT
      TekBear
      last edited by

      Using npp run command to do some testing:

      cmd /k echo "$(SYS.TEMP)" $(CURRENT_WORD) $(NPP_DIRECTORY) "$(FULL_CURRENT_PATH)"
      Last 3 vars are ok but $(SYS.TEMP) did not work for me. I am using v6.7.7 from 2015 (will update eventually).

      Did $(SYS.env-var) get introduced in a later version?
      I read http://docs.notepad-plus-plus.org/index.php?title=External_Programs&oldid=1845 which was written in 2009 and it has $(SYS.env-var) but the v6.6.4 help file http://docs.notepad-plus-plus.org/index.php/NP%2B%2B_Guides did not mention it.

      1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones
        last edited by

        Interesting. I use the SYS.var variables in the NppExec plugin all the time, but I had never tried in the normal Run dialog: I couldn’t get it to work with Notepad++ 7.5.8, so it’s not just that your v6.7.7 is too old for it.

        Scott SumnerS 1 Reply Last reply Reply Quote 1
        • Scott SumnerS
          Scott Sumner @PeterJones
          last edited by

          @PeterJones

          I’m guessing that when those docs were originally created, Notepad++ and NppExec were more “tightly coupled” so that some documentation was written with “blurry lines” between the two.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors