Batch Text Replacer

So what is it?
The Batch Text Replacer is a small program that takes a number of files in a directory, searches through it for a specified bit of text, and replaces it with another bit of text. Simple really.

So what can I use it for?
Well, I'll give you the reason why I decided to write it. I'm working on a website for work, and there are a couple of minor errors in the page content. The problem is that these minor errors are errors that appear on every single page that I have made for it - not being sure of what will be on the server I've used plain simple HTML so the headers and footers have their code on each and every page. So to avoid going through each page and changing it by hand, it would be useful to have a program that'd do it for me.

Ah - so it's for websites then!
Well yes, and no. A HTML is just one file type that can be edited, and will indeed be my own primary function for it. But, perhaps you have some TXT files that you want to edit, or any other programming language type of file. If it is a file which you can open in Notepad and actually make sense of, then the Batch Text Replacer will do its magic on it.

Hmmm... I'm not convinced - what can BTR do that other similar programs can't?
I don't know. What I do know is that when I was looking for similar programs on the Internet when I first came across the problem I described above, I could not find one that was either free or could be installed without actually needing any installation. This one will run without any installation, for instance off a USB Flash Disk.

OK, so how do I download this wonderful piece of programming genius?
Just Click Here and it will download. It's in a Zip file so you will need to uncompress it somehow - I assume you are running either a latish version of Windows or will have Winzip or a similar program on your computer... or perhaps even both!

Wait a minute - you say Windows... are there any other system requirements?
Probably... you're right, it does require Windows to operate - I've tested it on Windows Vista and Windows XP. It may run on older Windows' but I cannot guarantee that. The size of the program is a mere 36KB, the Zip file an even merer 10KB. As the program has the option to create a copy of files, you will need an equal amount of disk space that those files take up if that makes sense.

Are there any problems with this?
I would be lying if I said there weren't any... Known problems at this point include:

  • Read Only Files / Directories: Will not edit these and the program will probably crash
  • Copy Files will copy all the files it searches, not just the ones that it edits
  • Is case sensitive
  • When entering file extensions, ONLY THE EXTENSION can be entered - not the dot or any wildcards. Only one extension can be entered at a time.
I don't know if I'll sort these problems out - as I said, this program was written for me to use in a specific situation so only if I feel like it will I sort any problems out with it.

Any disclaimers?
Sure - this program is provided as-is with no guarantees that it will work as intended (though I hope it does) and I will take no responsibilities if it screws up your system. It shouldn't do, but in the miniscule event that it does it's not my respobsibility. This is a free program. If you find any problems with it, please contact me in the appropriate manner, though I do not take nicely if you're all shouty at me so please be nice and I'll see what I can do. This may go out open-source at some point - it's written in VB6 - but I won't guarantee that either.