UtilPad 1.0
Users' Manual

  1. Introduction

  2. Installation
    1. System Requirements
    2. Install
    3. dwTerm

  3. Getting Started

  4. Split/merge files

  5. Compare files

  6. License Agreement

  1. Introduction

    UtilPad is a universal utility with various tools included. This version includes file split, merge and compare, with the following features.

    • The unit size for splitting can be specified.

    • Comparing shows the location of the first different byte from the heads or the ends of the two files.

    • Automation by scripting: Insert your commands in a script, to make UtilPad process them automatically.

    Note that dwTerm 1.0 or higher is needed. The free trial version of dwTerm is enough for all the features, except the 20 commands limit in scripting.

  2. Installation

    1. System Requirements

      • CPU: Intel 80486 or higher

      • OS: Windows 95, Windows NT 4.0 or higher

    2. Install

      UtilPad is distributed as a compressed file, *.zip. The installation process is simple. Just extract all of the files contained in it into a folder. Now you can load and run utilpad.dll (or scripts *.dsc) by dwTerm.

    3. dwTerm

      dwTerm provides a minimal user interface to a dll program, so that the programmer does not have to know how to make a window and can concentrate on programming the core of the program. Any programmer can easily make such "dwTerm dlls", that can be loaded and run by dwTerm. UtilPad is one of them.

      Go to http://www.softbattery.net/dwterm for dwTerm 1.0 or higher. The free trial version of dwTerm is enough for all the functions of UtilPad. The full license of dwTerm is needed when you are going to use the script feature with more than 20 commands in a script file.

  3. Getting Started

    To run UtilPad, dwTerm needs to be run to load utilpad.dll and interact with it. Use the [File]->[Load...] menu to find the dll in UniTool's folder and load it. The result is depicted in the following screenshot where "#2" stage can appear by typing a character as described in the next paragraph. Adjust the main window size to see the entire dark blue area (called the "canvas").

    The largest part of the main window is called the display or output window. Just type in a character as a command or "UtilPad menu", in the command window, an edit box located below the display window. The Enter key or the Enter button then lets UtilPad do the corresponding work, show the result and the next menus available in the display window and wait for typing. Sometimes, according to menus, UtilPad gets ready to wait for a number. Sometimes it issues a dialog box for you to specify a file, or lets you able to drop a file in the display window. It can also call your HTML browser to open this manual, if you enter "h" in the main stage.

    The number after "#" shows up in the title of the Main stage and the titles of the two tool-stages (Split/merge and Compare), just to indicate that an input is processed and the texts in the stage are renewed. That is, it is a trivial number, just increasing by one when the kind of stage is changed or the stage is renewed.

    The next two chapters describe how to use the functions of UtilPad. Since the display window shows various texts enough for a newcommer to know how to use without this manual, only a brief outline and a few additional comments are contained in those chapters.

    We end this chapter by comments on automation. If you feel tired of typing, edit the script file UtilPad.dsc, or create a new file, and load it instead of the dll. Then dwTerm loads the dll(specified in the first line) and automatically input the strings specified after a line "dwTerm Script Commands". One more example, "split.dsc" in the UtilPad folder can let you know about scripting at a glance. On loading, that example lets UtilPad quickly turn into a file splitter suitable for 16MB media. A script also can be loaded by double-clicking it if you associate the extension "dsc" with dwTerm in your system. Refer to dwTerm manual for more information about scripting.

  4. Split/merge files

    For example, let's suppose that the file specified is "test.abc". Then, splitting reads the file, and write the first part of the specified size as a file "test.abc_1", the second part of the size as "test.abc_2", and so on. The last part can be smaller than the size. To merge a set of splitted files, specify the last part. If "test.abc_8" is the last, it must be chosen as FILE, and then merging reads all the 8 files with such names to write "test.abc". Note that writing a file during splitting or merging overwrites the file if it exists already.

    "b" menu issues a dialog box by which you can specify a file. Instead, you may drop a file into the display window. "o" menu can open or run the file. For example, a file "test.txt" can be open by your text editor since "txt" may be already associated with the editor in your system.

  5. Compare files

    Selecting one out of file1 and file2 in this tool stage means that file browsing, droping or opening is for the selected one. If selected, it reads "FILEn" instead of "filen" where n is 1 or 2. If the selected one succeeded to be assigned a file (with path) by browsing or droping, the other one gets selected.

    "f" menu compares the files from the heads to find the location of the first different byte while "r" menu does from the ends. The two menu also shows the sizes of them. Refer to the previous chapter for "b" and "o" menus.

  6. License Agreement

    UtilPad is Copyright(C) 2008 http://www.softbattery.net.

    The compressed form of UtilPad, which is a file with "zip" extension and in which this file (manual.htm) is contained as one of the components, can be freely copied and distributed as far as it is not modified.

    A copy of the compressed form can be freely extracted into the component files to run utilpad.dll or scripts, or to read the manual. Any files except the scripts (*.dsc) are NOT permitted to be de-assembled, de-compiled, reverse-engineered, or modified.

    UtilPad is provided as is, without warranties of any kind. The copyright holder shall NOT be liable for damages of any kind.