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.