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