Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.4k Views 2 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.
    • johann woeckingerJ Offline
      johann woeckinger
      last edited by

      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
      • Jim DaileyJ Offline
        Jim Dailey
        last edited by

        @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
        • johann woeckingerJ Offline
          johann woeckinger
          last edited by

          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

          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