• Login
Community
  • Login

langs.xml missing when starting notepad++ from batch script

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 2.0k 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.
  • J
    johann woeckinger
    last edited by May 24, 2017, 2:51 PM

    Hi,
    I’m using a version control system (serena dimension) that allows me to configure user defined tools via context menu -> cmd script.
    I want to use notepad++ to e.g. view sources, so i’ve setup a cmd script that pulls a certain version of a file form vcs to a local temp directory and fires up npp with this file.

    The script looks like (simplified):
    <get the file from vcs to c:/tmp/tmpfile.txt>
    <path to npp>/npp c:/tmp/tmpfile.txt

    The script is launched via a context menu of the vcs.
    When i run the script, i get the “load langs.xml failed” and “load styles.xml failed”.
    I already played around with cd’ing into the <user>/appdata before launching npp and so on but without success.

    Any idea what i’m missing?
    Thanks in advance,
    br johann

    1 Reply Last reply Reply Quote 0
    • J
      Jim Dailey
      last edited by May 24, 2017, 3:31 PM

      @johann-woeckinger

      No idea. Have you tried adding <path to npp> to your PATH environment variable? I don’t have any reason to believe it will help, but it is something to try.

      1 Reply Last reply Reply Quote 0
      • J
        johann woeckinger
        last edited by May 29, 2017, 5:51 AM

        After some pausing & thinking i digged into the problem again and i think i was hit by https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3088 . After reinstalling with (or better “without” the dont-use-APPDATA-option) it works like a charm.
        Sorry for bothering you,
        br johann

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