home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
d
/
dirdbf.zip
/
DIRDBF.DOC
< prev
next >
Wrap
Text File
|
1993-03-04
|
2KB
|
53 lines
PROGRAM: DIRDBF.COM Version 1.0
CONTACT: Keith P. Graham, BBS (914) 623-0039
SHAREWARE: This program is free to use as long as it is
not offered for sale or is included with other
files which are for sale.
DESCRIPTION:
Creates a standardized DBF file which can be
Read by DBASE/FOX/CLIPPER/ETC.
The contents of the DBF are a list of files.
The Format of the DBF file is:
Field Field name Type Width Desc
1 NAME Character 8 File name
2 EXT Character 3 File extension
3 SIZE Numeric 10 Size of file
4 DATE Date 8 Date file last touched
5 TIME Character 8 Time file last touched
6 ATTRIB Character 6 Attributes of file
7 PATH Character 128 Disk and path of file
USAGE:
DIRDBF dbfname[.dbf] [dirspec]
where: dbfname is the name of the dbf to be created (with or without
the extension .DBF).
dirspec is the disk,path and filespec of the files to be listed.
This can include wild cards. It defaults to *.*.
example:
dirdbf dlist c:\dos\*.exe
This creates a list of all exe's in the c:\dos dir and
creates dlist.dbf with this info.
TIME is in the format HH:MM:SS
PATH contains the complete disk and path of the file. The trailing
backslash "\" is left off. On networks the disk is included as the
server name in the format \\SERVER\.
The fields are filled in from information about the file. ATTRIB
contains up to 6 attributes. They are positional.
The following are the contents of ATTRIB and their meaning:
A = Archive bit
H = Hidden
S = System
R = Read only
D = Directory
V = Volume Label