Office & Productivity Software forum

Question

Looking for specific feature in batch editing software..

by rengar007 / January 10, 2013 5:55 AM PST

Hi everyone,

I'm hoping someone will be able to recommend any software that can help with the following situation:

On a regular basis I need to search for one string in multiple files, but have the replaced string be different in each file, for example:

Search 1.txt for A, replace A with B
Search 2.txt for A, replace A with C
Search 3.txt for A, replace A with D

The B,C,D variables change on a daily basis so importing them must be quick. (It is for many more than 3 files)

While most batch editing programs easily perform replacing A > B for every file easily, I have not been able to find a way to do the above simply and quickly.

All values are already kept in an excel file which would make importing easy either by file or copy and paste.

Thanks for any help or recommendations!

Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: Looking for specific feature in batch editing software..
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Looking for specific feature in batch editing software..
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Collapse -
Answer
Re: batch editing
by Kees_B Forum moderator / January 10, 2013 6:05 AM PST

If all needed information is in the Excel, it's easy to write an Excel macro that writes a batchfile that does what you want, assuming you have a command line tool that does it for one file.

Kees

Collapse -
Answer
And there are tools for this.
by R. Proffitt Forum moderator / January 10, 2013 7:29 AM PST
Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech for the school year

Smart tech for smart students

Forget the pencils and notebooks. Gear up your students with these portable and powerful note-taking machines.