As of 03-16-13, the following features are available under the Options
Write Fileset feature. You can now press AltG to generate a Time36 fileset
name, AltP to give it the name of the current level, or AltC to make it the
current Entry's name, prepended to a 'DBE' file extension. Pressing 'F'
toggles the fileset type between FILE and DIR; and for the DIR type, only
directory names are written out to the fileset file.
When the DIR type is active, pressing 'I' to insert place markers into a
line format control string allows you to enter text to be written to all
lines of the fileset file as well as to press ^D or ^S to enter markers for
the location at which the long or short form of the directory name is to be
inserted into the current fileset line and to prefix either of these markers
with a ^X character which causes only the relative path from the current
level to be inserted into the line. With this feature it'll be possible
to use DBE to do the bulk of the work of creating SREP and SGET configuration
files, or batch files in which directory names and commands are hard-coded
into each line.
As of 03-18-13, the Write Fileset feature has been modified to support insertion
of the name and extension or both into a fileset file line using ^N, ^E, and ^F
and to prefix the path (either ^P for long or ^S for short) with ^R for relative
pathname.
It's a bit complicated to use the Insert option (i.e., to edit a line format
control string), but the default, OW[Enter]P[Enter], isn't that demanding.
If you wanted to insert the path and the short name with a wildcard replacing
the extension, though, you'd type
OW[Enter]I^P\^S^N.*[Enter]P[Enter]
which is more demanding. So you have to know what effect you intend to achieve
and think about what you're doing while you're pressing those keys to set up
the conditions for the write loop to follow.
After you enter the fileset name once (during a DBE session), when you start
with OW to write more lines, you have to press N to change the name, and until
you clear that filename to a zero-length string the prompt to generate a new
name doesn't appear. But it's no big deal to keep on writing lines to the same
fileset file.
As of 03-19-13, switching from a FILE type to DIR type fileset format removes
the ^E, ^N, and ^F markers from the line format control string. Pressing \ and
/ now switches the path delimiter character to the one you press so that DBE
will use that delimiter when inserting paths into the fileset line wherever
you have placed the ^P or ^S place markers. The '\' and '/' keys set the delimiter
to use for output so that you can write URIs for HTML/XML applications as well as
DOS batch or configuration files. The '.' key cycles the path prefix from '' to
'.' to '..' so that you can control how the ^R relative path flag operates.
For example, if you set DBE's current level to F:\GM\DOCS\DOM where the following
subtree occurs, as seen in DBE's SelectLevel view,
── DOM
── IDL
── IMAGES
── JAVA
── JAVA
── DOC
── ORG
── W3C
── DOM
── HTML
── L2CORE
and then use the default '' prefix setting, the fileset would contain the
subdirectories of DOM as follows:
\*.*
\idl\*.*
\images\*.*
\JAVA\*.*
\JAVA\java\*.*
\JAVA\java\doc\*.*
\JAVA\java\org\*.*
\JAVA\java\org\w3c\*.*
\JAVA\java\org\w3c\dom\*.*
\JAVA\java\org\w3c\dom\html\*.*
\L2core\*.*
but if you press '.' twice to set the prefix to '..' the fileset would
contain the parent directory of the current level, 'DOM':
DOCS\DOM\*.*
DOCS\DOM\idl\*.*
DOCS\DOM\images\*.*
DOCS\DOM\JAVA\*.*
DOCS\DOM\JAVA\java\*.*
DOCS\DOM\JAVA\java\doc\*.*
DOCS\DOM\JAVA\java\org\*.*
DOCS\DOM\JAVA\java\org\w3c\*.*
DOCS\DOM\JAVA\java\org\w3c\dom\*.*
DOCS\DOM\JAVA\java\org\w3c\dom\html\*.*
DOCS\DOM\L2core\*.*
and using the prefix '.' would result in
DOM\*.*
DOM\idl\*.*
DOM\images\*.*
DOM\JAVA\*.*
DOM\JAVA\java\*.*
DOM\JAVA\java\doc\*.*
DOM\JAVA\java\org\*.*
DOM\JAVA\java\org\w3c\*.*
DOM\JAVA\java\org\w3c\dom\*.*
DOM\JAVA\java\org\w3c\dom\html\*.*
DOM\L2core\*.*
This only affects the use of the relative path flag; and if you do
not press I to insert flags into the format control string, the '.'
prefix setting will not affect output of the fileset lines.
As of 03-27-13, a semicolon beginning a FILESET line flags it as a
comment line, and DBE ignores it. (This was documented previously
but not implemented due to the author's oversight.)
As of 03-28-13, the Options Input Fileset feature now by default
restricts directories added to the list to those explicitly given
when a DIR type fileset file is being read, although it isn't going
to prevent immediate subdirectories of the current file path during
input of a FILE type fileset from being added to the list.