QArchive.ORG Main Page
Home | Blog | Terms of service
All
Audio & Multimedia
Web Development
System Utilities
Automation Tools
Backup & Restore
Benchmarking
Clipboard Tools
File & Disk Management
File Compression
Launchers & Task Managers
Other
Printer
Registry Tools
Shell Tools
System Maintenance
Text/Document Editors
Home & Hobby
Education
Servers
Security & Privacy
Games & Entertainment
Network & Internet
Desktop
Development
Business
Communications
Graphic Apps
Related Products
Replace.exe 1.1
Download Now
File Size: 521.4 Kb

Replace.exe 1.1

Released:2006-06-12
License:Freeware
Publisher:BESTCODE.COM
Language:English
Platform:Windows
Install:Install and Uninstall
Downloads:2083
Recommend Replace.exe Suggest to Friend
Add to your Watch List Add to Watch List

Publisher's Description:

Replace.exe - Replace is a Windows command line utility that searches files in directories to find a given text and replace with another. It can be incorporated in your scripts and invoked automatically. It can search files in nested directories. It can optionally copy modified files into another directory.

Bulk file Find/Replace tool version 1.0. Copyright 2005 - bestcode.com
This program finds a given string in a batch of files and replaces them with ano
ther string and places the output files in a separate directory if such director
y is specified. The file size must be small enough to fit in available memory.

Command line parameters are:

-srcdir adirectory directory of the original files. By default, this is t
he current directory.

-destdir adirectory destination directory to save modified files. By defau
lt, this is the current directory. The source files will be over written.

-find atext find this text to replace.

-replace atext replace the text that was found with this one.

-fname apattern the file name pattern to search, for example *.*

-casesens presense of this flag means search is case sensitive.

-quotes this flag means the following characters are used instead of double quo
tes in the -find and -replace parameters. This is to help escaping quotes inside
your find replace parameters.
<br><br><a href="http://www.bestcode.com/html/findreplace.html">Read more about Replace.exe Bulk File Text Replace tool here.</a>

Latest Changes:

New release.

User License Agreement:

REPLACE.EXE - Copyright bestcode.com

This is a free tool. Use however you like.

www.bestcode.com

support@bestcode.com

Screenshot:

Find/Replace text in multiple files
 

Download Now
File Size: 521.4 Kb



Social bookmarks:

 Add to Delicious  Add to Technorati  Add to Blogmarks  Add to Digg  Add to Reddit  Add to Furl  Add to Newsvine Add to Slashdot Add to StumbleUpon Add to Blinklist  
RSS: Add to Google  Add to Yahoo  Add to Newsgator  Add to Bloglines  Add to Netvibes  Add to MyMSN 

Text link code :
Hyper link code:
UBB/BLOG code:

Latest User Reviews:

xfer 2006-07-13 00:26:52
Version: 1.1

Time saver

It took 2hrs to incorporate Replace.exe into a script and I was able to turn a task that was going to take hours into a double click of a batch file.

Author's Response:
Yeah! It makes life easy. Glad that it helped you too. A real time saver.

Zclampit 2006-08-10 08:56:13
Version: 1.1

Special Characters

The product does not allow replacement of special characters e.g. a line feed character. Allowing entry of hex/ascii codes for replacement would be a useful feature.

Author's Response:
While useful, such features are harder to communicate to avarage user. This product has a very short and sweet few lines of help thats easy to understand. It's existing functionality is easy to comprehend and to use.

hslab 2007-01-02 17:52:33
Version: 1.1

tr for Windows

We needed a commandline utility like tr fo *nix to do a simple find-and-replace on a text file's contents. To run maintenance tasks on workstations in our domain, we used to use a statically-updated list of workstation names. We moved to a dynamic list that fetched the workstations from Active Directory with dsquery. The only problem was that dsquery returned the workstation names in a format that is incompatible with the maintenance scripts' syntax.

We used replace.exe to cut out the characters that were disrupting the maintenance, and now we no longer have to worry about workstations getting skipped because of an out-of-date list.

cwi 2007-02-01 11:26:27
Version: 1.1

Command Line Tool for Replace strings in file

was exactly what I needed to automatically (in a batch script) replace text in text-files.

Author's Response:
i am glad you liked it :-)
http://www.bestcode.com/html/products.html


RayDolphin 2007-02-18 15:17:00
Version: 1.1

my opinion

I was looking for a "replace" program to cancel RC LF in a file writed by the command "echo" (in a dos script).
But your replace utility cannot make this action (action only on printable characters!?)
I am sorry, but i use an other program which is "scriptable" from dos commande (XVI32.exe = binary editor)

Thanks a lot

aljordan 2007-03-31 06:47:03
Version: 1.1

Useful little utility

This is a useful utility if you are used to working at the command prompt. Unfortunately, there is already a command called replace in Windows XP, so you have to prepend the full path to this version of replace.exe to run it, otherwise you get the different replace command that is shipped with the operating system.

I use cue sheets for my music files that are encoded in flac. One of my media players needs to the full path to the flac files referenced in the cue sheets. When I copied my music files onto my new computer they had to live on a different drive. I was able to use replace.exe to change all of the cue files at once running the command:
replace.exe -find C:\CD_Music -replace D:\CD_Music -files *.cue

Worked quickly and properly. I would have hated to had to change all 300 of those files by hand.

luc1 2007-04-04 01:58:31
Version: 1.1

-srcsdir creates the whole directory structur

When using the parameter -srcdir it creates the whole subdirectory tree, even the directories that are empty.
It would be more logical:
- have an option if subdirectories are scanned or not
- have an option to create empty subdirectories or not

Lexa2 2007-04-18 05:31:27
Version: 1.1

New features

I need regexp in what find and what replace.

JBHaire2004 2007-05-10 01:42:49
Version: 1.1

SharePoint...

This was not a bad program at all. I need a program to remove illegal characters before a sharepoint migration. Unfortunately I was not able to accomplish this with replace but it is a nice app.

Xtrial 2007-05-13 18:12:43
Version: 1.1

Additional functionality required

The app worked exactly as documented - however when we trialed it we thought we'd prefer to write our own app that enabled us to provide pairs of search & replace strings in a file that more closely reflects our requirement.

bigdoug 2007-07-04 13:58:04
Version: 1.1

Work`s great

It will save me alot of time.

eXeDK 2007-11-06 02:03:24
Version: 1.1

Fair program but miss some features.

I miss a feature to replace text and symbols in textstrings and not just in txt files.

Author's Response:
What is a textstring? This is a command line tool.
Thanks.


NoelParicollo 2007-11-12 08:33:24
Version: 1.1

Fantastic!!!!

Replace.exe is just what I needed, keep the good job.

It is already working fine in my batch files.

- What I do is, I generate about 200 XML files for a C# project. The project needs them to work as "EmbeddedResource" instead of "Content". So now I can replace those references in a DOS batch file using Replace.exe

axel668 2007-12-05 10:09:24
Version: 1.1

Great stuff.

Great tool, does exactly what it is supposed to do with an easy syntax to call from batch files.

Mohsan Raza 2007-12-13 04:09:00
Version: 1.1

A Powrfull Little Utility to Handle Complex..

This is a little powerfull utilty to handle power full task. In my case am making complex dos base bat file installer which needs to modify a lot of text file in response of user selections during installations.


--------I can say its a killer utility---------

Regards,
Mohsan Raza

Ardneh 2008-01-17 03:59:13
Version: 1.1

It does what it claims

I needed to change a phrase in over 100 files, and this utility did that.

Caveat: I got into a recurssion problem if the output folder is a subfolder of the folder containing all the target files.
However that is only a minor issue.

Edwards 2008-01-28 02:47:54
Version: 1.1

Regarding Replace.exe

It could help the use of the program if the help wrote an example of use.

Aname Aname 2008-02-08 12:58:42
Version: 1.1

replace.exe review

I found the program does what it says, though I've found a couple of querks:

1. you must provide some replacement text - it can't hand replacing with an empty string (NULL)

2. you can't make the output directory a subdirectory of the current directory as it recurses

Lharris 2008-03-07 13:02:40
Version: 1.1

Great utility

This worked great! I needed a utility to search & replace the text in some files. This one did the trick!

scu 2008-03-14 06:42:36
Version: 1.1

Substitute

I had to replace "X0" by "XO" in several files and the tool did just that. Fine.

However, there already exists a DOS utility "replace", which replaces files, not strings in files. In order to being able to call "replace" from any folder, I renamed it to "substitute" and copied it to the C:/windows directory.

Andreas Block 2008-05-08 02:52:22
Version: 1.1

Good and simple

Nice little tool. Works exactly as expected. Behaves as promised. Nice.
Exactly what I've been looking for.

Amaxwell 2008-05-09 15:58:55
Version: 1.1

REPLACE.EXE 1.1

Despite the fact that it said it was Command Line only, I got really excited about all those promises!!! Downloaded without any problem ............. But alas!!!.............. It wouldn't run on WinXP.

What next? Any suggestions?

Pat Gillen 2008-07-03 15:09:09
Version: 1.1

Doesn`t work on Word docs?

Product did not work on Office 97-2003 formatted doc files. Corrupted files.



Social bookmarks:

 Add to Delicious  Add to Technorati  Add to Blogmarks  Add to Digg  Add to Reddit  Add to Furl  Add to Newsvine Add to Slashdot Add to StumbleUpon Add to Blinklist  
RSS: Add to Google  Add to Yahoo  Add to Newsgator  Add to Bloglines  Add to Netvibes  Add to MyMSN 


Download Now
File Size: 521.4 Kb

Write a Review and Rate Replace.exe



Search
 
Advanced Search