Btutil
Right
click here
to save this document as a PDF file on your computer!
We have added a Btrieve file recovery
utility called BTUTIL to the
download area. BTUTIL is a command line program
that can be used to recover damaged Btrieve files.
There are 2 files, BTUTIL.EXE which is the executable and
BTUTIL.DOC which is a Microsoft Word document that contains
instructions for use. This program is Shareware.
We have used several Btrieve recovery
utilties over the years, and BTUTIL although a bit verbose
in its usage is the best one as far as its ability to
recover damaged Btrieve files.
This bulletin is provided for those who
wish to use BTUTIL from the command line. The use of
BTUTIL using the "File Recover" option has been incorporated
into Shop Trac with the 12/2004 update, so for most users
command line usage is not required.
BTUTIL has several options. Simply
typing BTUTIL without any parameters will display these
options. In brief the following options are available.
Full descriptions are available in the BTUTIL.DOC file.
 | BTUTIL -STOP
Unloads the Btrieve database engine |
 | BTUTIL -VER
Displays version information |
 | BTUTIL -RESET
Resets Btrieve, closes open files and ends any
transactions. |
 | BTUTIL -CREATE <FILE-TO-CREATE>
<DESCRIPTION-FILE> [-Y]
Creates a Btrieve file. |
 | BTUTIL -SINDEX <FILE-TO-ADD-INDEX>
<DESCRIPTION-FILE> [-O<OWNER>]
Creates a supplemental index. |
 | BTUTIL -DROP <BTRIEVE-FILE> <KEY-NUM>
[-O<OWNER>]
Removes a supplemental index. |
 | BTUTIL -SAVE <BTRIEVE_FILE>
<OUTPUT-FILE> [-O<OWNER>] [-Y] [-K:n]
Saves data from a Btrieve file into an ASCII file. |
 | BTUTIL -XSAVE <BTRIEVE_FILE>
<OUTPUT-FILE> [-O<OWNER>] [-Y] [-K:n]
Like Save, except uses extended operations. |
 | BTUTIL -LOAD <INPUT-FILE> <BTRIEVE_FILE>
[-O<OWNER>] [-Accelerated]
Loads data from an ASCII file into a Btrieve file. |
 | BTUTIL -XLOAD <INPUT-FILE> <BTRIEVE_FILE>
[-O<OWNER>] [-Accelerated]
Like Load except uses extended operations. |
 | BTUTIL -COPY <INPUT-FILE> <BTRIEVE_FILE>
[-O<OWNER>]
Copys data from one Btrieve file into another. |
 | BTUTIL -CLONE <OUTPUT-FILE>
<SOURCE-FILE> [-O<OWNER>]
Clones a Btrieve file to make a new empty file with the
same data structure. |
 | BTUTIL -RECOVER <DAMAGED-FILE>
<DESTINATION-FILE> [-O<OWNER>]
Recovers a damaged Btrieve file. |
 | BTUTIL -STAT <BTRIEVE-FILE> [-O<OWNER>]
Provides stats on a Btrieve file. |
 | BTUTIL -INDEXCOMP <BTRIEVE-FILE>
<DESCRIPTION-FILE> <KEY-NUM> [-O<OWNER>]
Compares Btrieve indexes. |
 | BTUTIL -REGISTER
Register your copy of BTUTIL with the author. |