Community

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

    Automatically run Find in Files without user interaction

    Help wanted · · · – – – · · ·
    2
    2
    1644
    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.
    • Joe DiTullio
      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!

      1 Reply Last reply Reply Quote 0
      • dail
        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. sed and awk are two that come to mind. They do not come with Windows by default (unfortunately), but they are easy to find online.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors