Replace in Files doesn't work when re-using a directory
-
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.
-
-
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.
-
@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.