Dec 132017
 
Display DBF File Info From DOS.
File DBDIR8.ZIP from The Programmer’s Corner in
Category Dbase Source Code
Display DBF File Info From DOS.
File Name File Size Zip Size Zip Type
DBDIR.C 6276 2127 deflated
DBDIR.COM 7990 5247 deflated
DBDIR.DOC 2660 1086 deflated

Download File DBDIR8.ZIP Here

Contents of the DBDIR.DOC file


+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
*
* Program..: DBDIR.c Version 8
* Author...: Vernon E. Davis
* Date.....: 12/21/86
* Notes....: a utility for DOS to display
* database file information like dBASE.
*
* Compiled with Turbo C v2.0
*
* References:
* Advanced Programmers Guide(dBASE) - Ashton Tate
* C Language User's Guide - Weber Systems
* Programmer's Guide to the IBM PC - Peter Norton
*
* dBASE is a registered trademark of Ashton Tate
* Turbo C is a trademark of Borland International
*
*
* Revision History
* ~~~~~~~~~~~~~~~~
* V Date Description
* ~ ~~~~~~~~ ~~~~~~~~~~~
* 1 12/15/86 Preliminary release( Lattice C v3.1 )
* 2 12/21/86 Corrected pointer problem ( *buffer was not reinitialized )
* 3 02/09/87 Added III,III+ distinction; corrected problem in II
* ( *buffer was not reinitialized )
* 4 08/08/87 Recoded and recompiled under Turbo C v1.0; II info removed
* 5 02/20/88 Recompiled under Turbo C v1.5
* 6 05/04/88 Fixed printf() when memo field is present
* 7 02/04/89 Recompiled under Turbo C v2.0; added IV distinction;
* added title message; source code included with program.
* 8 04/03/89 Fix to filter DBF type.
*
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

Written by Vernon E. Davis CompuServe:71330,2705
Placed in the public domain.

DBDIR is a .COM program to display database files in the current directory.
It simulates the dBASEIII/IV DIR command displaying not only the filename,
but # Records, Last Update, Size, Memo(Y/N), Record Length, Number of Fields
and Version.

By typing DBDIR at the DOS prompt, the display will look similar to this:

C>DBDIR
dBDIR.com version 8 (04/03/89) Vernon E. Davis

Database Files # Records Last Update Size Memo RecLen # Flds Ver.
STOCK.DBF 107 12/15/86 62903 No 572 52 III+
CUSTOMER.DBF 3 12/15/86 2166 No 444 25 III
VENDOR.DBF 101 12/15/86 7063 No 68 5 III
HISTFILE.DBF 0 12/15/86 930 Yes 244 28 IV
DATEFILE.DBF 0 12/15/86 930 No 244 28 III+

73992 bytes in 5 files.
1911296 bytes remaining on drive.
------------------------------------------------------------------------------


 December 13, 2017  Add comments

Leave a Reply