Community
    • Login

    Automatically run Find in Files without user interaction

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.1k Views 1 Watching
    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 DiTullioJ Offline
      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
      • dailD Offline
        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

        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors