Automatically run Find in Files without user interaction
Joe DiTullio last edited by
Hello: I am new to Notepad++ and to command line processing. Let me tell everyone what I am looking to do and then leave it to the good people of the board to see if there is a way to do it!
I have a series of repeated “Find in Files” jobs where I have to come in everyday and perform the same task over and over (basically replacing every instance of “@@” in a series of index files with a “,”. I do Find in files, put the values in, as well as the file location, and replace all. Works like a charm.
I have written a Macro to perform this process, which is also works.
As I am an automation freak, is there a way that through command line or something else that I can make this happen on an everyday basis without having someone manually complete? We have an automation software program called OpCon which can run command line jobs, which is why I asked about command line.
Any assistance would be greatly appreciated. Thank you!
dail last edited by
AFAIK there is not a current way to automatically do something like that. Honestly it sounds like using N++ would be overkill. You might try other command line programs that are made specifically to do these tasks.
awkare two that come to mind. They do not come with Windows by default (unfortunately), but they are easy to find online.