Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    2
    3
    32
    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 PNW
      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.

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        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 PNW 1 Reply Last reply Reply Quote 0
        • Hans PNW
          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
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors