• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 444 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.
  • H
    Hans PNW
    last edited by May 12, 2022, 5:02 PM

    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.

    P 1 Reply Last reply May 12, 2022, 5:08 PM Reply Quote 0
    • P
      PeterJones @Hans PNW
      last edited by May 12, 2022, 5:08 PM

      @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.

      H 1 Reply Last reply May 12, 2022, 6:10 PM Reply Quote 0
      • H
        Hans PNW @PeterJones
        last edited by May 12, 2022, 6:10 PM

        @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
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors