Documentation for DIRSYS/CMD 
By John C. Fowler 
DIRSYS/CMD and this documentation are in the public domain. 
Version 1.0 Assembled July 7, 1986 
  
PURPOSE 
  
      DIRSYS/CMD is a utility that allows TRSDOS 1.3 users to 
take full advantage of the wildcard features of David 
Huelsmann's SQ31, USQ31, and LU31 (with a possible LUM31 in 
the future).  DIRSYS/CMD reads the directory of the disk 
specified and puts it into a file called DIR/SYS, which David 
Huelsmann's utilites can access.  This program is for users of
TRSDOS 1.3 ONLY, and may go as far as erasing the directory of
other DOS's, so please use with caution! 
  
FORMAT 
  
      The DIRSYS command has the following format: 
  
DIRSYS [{:}d] 
  
where d is the drive where it is desired to form a DIR/SYS. 
Thus, 
DIRSYS 
will make a DIR/SYS on drive 0 (note - not the master drive. 
The MASTER command has no effect on DIRSYS).  The following 
commands will do the following things: 
  
DIRSYS     (put a DIR/SYS on drive 0) 
DIRSYS 0   (another way of putting a DIR/SYS on drive 0) 
DIRSYS :0  (yet ANOTHER way of putting a DIR/SYS on drive 0) 
DIRSYS :1  (put a DIR/SYS on drive 1) 
DIRSYS 3   (put a DIR/SYS on drive 3) 
DIRSYS 4   (put a DIR/SYS on drive 0) 
DIRSYS 100 (put a DIR/SYS on drive 1) 
  
Note that only four drive numbers are accepted, so if drive 3 
is specified, drive 3 will be used, but if drive 4 is 
specified, it will "wrap around" to drive 0 again.  Likewise, 
drive 5 is drive 1.  Only the first character after the 
filename that is not a space or a colon is accepted, so 
DIRSYS 100 is the same as DIRSYS 101 is the same as 
DIRSYS 1 BOTTLE OF BEER ON THE WALL is the same as DIRSYS 1. 
A colon before the desired drive is optional. 
  
OTHER INFORMATION 
  
      A DIR/SYS is not updated as the directory of the disk is
updated.  Every time you want a current wildcard reading if 
you have changed the directory, you must run DIRSYS again. 
  
      The DIR/SYS that is created is not fully compatible with
the DIR/SYS of a different DOS.  As this version was made 
specifically for the squeeze and library utilities, it 
contains only information necessary to them.  It contains no 
information about passwords or extents, for example. 
  
      DIRSYS uses the TRSDOS 1.3 $RAMDIR call, which has a bug
in it if your directory contains some entries that have 
extensions and some that do not.  The following PATCHes 
correct the bug, and should be made if you haven't already 
done so. 
  
PATCH *14 (ADD=4F00,FIND=0E,CHG=0F) 
PATCH *14 (ADD=4F11,FIND=010D000901,CHG=0E0D090E03) 
PATCH *14 (ADD=4F16,FIND=0300BE2810,CHG=BE2812F53E) 
PATCH *14 (ADD=4F1B,FIND=F53E2F1213,CHG=2F1213DD2B) 
  
Thanks to Andy Levinson for that patch.  It appeared in 
"Northern Bytes" Volume 7 Number 3 published by TASIO. 
  
ACKNOWLEDGEMENTS 
  
SQ31, USQ31, and LU31 are all by David Huelsmann.  As of the 
time of this writing, SQ31 and USQ31 are in version 1.10 and 
LU31 is in version 1.41 
  
TRSDOS is a trademark of the Tandy Corporation. 
  
"Northern Bytes" is published on an irregular basis by The 
Alternate Source Information Outlet (TASIO).  Back issues are 
$2.00 for Volume 5 through Volume 7 Number 2 (24 pages each) 
and $4.00 for Volume 7 Number 3 onwards (48 pages each).  For 
more information write: 
      The Alternate Source Information Outlet 
      704 North Pennsylvania Avenue 
      Lansing, Michigan  48906-5319 
or call voice (517) 482-8270 or data (517) 482-9927.  Finally,
you can get in touch with them at CompuServe 72167,161, 
Delphi TASIO, MCI Mail 109-7407, or Telex 6501097407 MCI. 
This is one of the best publications for the Model I/III/4, 
folks, so I'd like to recommend you try one of their issues. 
You won't be sorry! 
  
=== END OF DOCUMENTATION === 
                                                          