Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 1.2k Views 3 Watching
    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 Offline
      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 Online
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors