Community
    • Login

    Replace in Files doesn't work when re-using a directory

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 761 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.
    • Hans PNWH Offline
      Hans PNW
      last edited by

      Our org uses Replace in Files to change text in XML files that are pasted into a temp folder; simple (normal, no regex) text searches are run. The same temp folder is re-used each time. When done, the folder is emptied.

      A user reports that Replace in Files started skipping at least one file, or, at least, isn’t replacing all instances of the Find string in the file.

      • Two other users couldn’t duplicate the issue.

      • Re-installing Notepad++ didn’t resolve the issue.

      • But when I had the user create a new, differently named temporary folder, it works.

      Any idea why the user is having issues re-using the temp folder? Solution?

      If it matters: Win10 env.; users work on the files on their local drive, no cloud.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Hans PNW
        last edited by

        @hans-pnw ,

        I’d check to make sure that the Filters field is set correctly on the “not-working” situation. And checking that the user running Notepad++ has write permissions in the directory and on each of the files therein. And checking that the Directory chosen is actually correct.

        Other than that, it’s all rather vague, and hard to debug from the other side of the internet.

        Hans PNWH 1 Reply Last reply Reply Quote 0
        • Hans PNWH Offline
          Hans PNW @PeterJones
          last edited by

          @peterjones Thanks for taking the time to respond, Peter – I’ll check back with the user. Yes, agreed: hard to poke at the problem from across the internet.

          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