Archive for the 'Replace in Files' Category

Published by alax on 30 Dec 2007

Freeware: Replace In Files and Resource Tools

Dear Friends and Subscribers,

There is a variety of software nowadays but it almost always happen that there is also something desired but missing, something that would ease one’s life but unavailable. As a software developer I do have this kind of desires on a regular basis and I do have special tools that ease the life, in particular automations tools.

Two of the tools are Replace In Files and Resource Tools are that enormously helpful in automating software release compilation process where there is a need to access Win32 resource scripts and compiled data. The both tools expose OLE Automation interfaces and used from VBScript and JScript script code.

Fully automated software builds is an important concept to avoid human factor in routine build process. If you have a number of C++ projects, re-distributables, installation scripts, additional materials, OEM program partners who need the same packages duplicated with replaced logos, manuals etc. and when you need to gather everything into a single distributable the task becomes too much routine to repeat again and again with every new version coming out as a result of development process. And sometimes you even might wish to compile builds on a daily basis! Or rewind and compile a version from past using version control repository code! Earlier or later you come to a conclusion that this part of the development has to be entirely automated because it is basically all the same again but the cost of a mistake of manual operation is very high.

Both Replace In Files and Resource Tools are freeware since now on! Merry Christmas and Happy New Year!
Continue Reading »

Published by alax on 23 Jun 2007

HOWTO: Use Replace In Files to automatically convert OUI list into C/C++ header file

IEEE OUI and Company_id Assignments is a list of manufacturers and corresponding codes which are used in MAC addresses and protocol identifiers:

The three-octet OUI can be used to generate Universal LAN MAC addresses and Protocol Identifiers per ANSI/IEEE Std 802 for use in Local and Metropolitan Area Network applications.

If your firm manufactures or plans to manufacture products using ISO/IEC 8802 standards, you should apply to IEEE for your firm’s OUI. The Institute of Electrical and Electronics Engineers, Inc. has been designated by the ISO Council to act as the registration authority for the implementation of International Standards in the ISO/IEC 8802 series. This is the one world-wide source of registered OUIs.

The full list is located at http://standards.ieee.org/regauth/oui/oui.txt.

Alax.Info Replace In Files can be used to process the file to create a C/C++ compatible header file of the following format:

{ 0×00, 0×11, 0xDF, “Arecont Systems” },
//0011DF (base 16) Arecont Systems
// 177 N Church Ave suite 1010
// Tucson Arizona 85701
// UNITED STATES

{ 0×00, 0×11, 0xE0, “U-MEDIA Communications, Inc.” },
//0011E0 (base 16) U-MEDIA Communications, Inc.
// 9F, No.1, Jin-Shan 7th St.
// Hsinchu 300
// TAIWAN, REPUBLIC OF CHINA

{ 0×00, 0×11, 0xE1, “BEKO Electronics Co.” },
//0011E1 (base 16) BEKO Electronics Co.
// Beylikduzu Mevkii Buyukcekmece
// Istanbul 34901
// TURKEY

Continue Reading »

Published by alax on 20 May 2007

Alax.Info Replace in Files 1.1

Replace in Files is updated to keep up with the time as well as implement a feature that appeared to be convenient.

What’s new in this build?

  • Migration to Visual Studio .NET 2005 compiler, which is pretty cool itself since the compiler better optimizes the code, and in addition the binary is self sufficient and independent on C++ runtime which results in lighter distributable
  • Switch to Unicode version of runtime, all internal processing is Unicode and thus international characters are processed in a reliable fashion
  • Full support for Ignore Case, Mutiline, Global Match and Regular Expression features; all four might be used in any combination, all are supported
  • Fixed minor bugs
  • Removed trial version string insertion, this build is completely unlocked

Miscellaneous

Some time ago I noticed a discussion on a blog about a tool to perform automated regular expression based replace with files in Unicode format. It is possible with this utility Alax.Info Replace In Files used together with Scripting.FileSystemObject’s TextStream (see OpenAsTextStream) under JScript scripting host. Have fun!

Continue Reading »

Published by alax on 03 Feb 2006

Alax.Info Replace in Files Beta

Alax.Info Replace in Files 1.0.0 is available as a beta version.

Audience:

Developers, especially Visual Studio .NET since VC++.NET regular expression syntax is used.
Included:

  • Automation objects
    • Find files using given base directories and path regularexpression pattern
    • Replace in text, memory text or files text
    • Backup changes
    • Samples
      • JScript samples included; when used through automation a trial version string may be inserted into replaced text
  • Wizard
    • Find files using regular expression mask and one or more base directories
    • One or more simple or regular expression patterns
    • Backup changes
    • Save and restore replacement settings

Screenshots:

Screenshot 1 Screenshot 2
Things to do:

  • Documenation on automation objects
  • Simplified syntax for non-advanced usage, well-known file masks instead of regular expressions etc.

Download:

http://alax.info/blog-dist/AlaxInfoReplaceInFilesSetup-1.0.0.msi

Published by alax on 29 Jan 2006

Announcement: Replace In Files Utility

There will be a Replace In Files utility, or even more than untility: set of automation objects, shell/GUI (wizard), and JScript samples how to use. It will be possible to replace in multiple files, using regular expressions, using file backups. Suggestions are welcome.