(C) Copyright 1988-1994 by Alan J. Avery, Springfield, Illinois ALL RIGHTS RESERVED ====================================================================== This file explains the DOS environment variables that ELFTREE recognizes and how to activate them. If you will be using one or more of them each time you start up ELFTREE, we strongly suggest you put the commands that activate them in your AUTOEXEC.BAT file. Note: In the examples that follow, we assume that ELFTREE was installed in the directory C:\TREE. ====================================================================== If you have DOS 2.X, add this: SET ELFTREEPATH = C:\TREE ====================================================================== Add C:\TREE to the end of your PATH variable, like this: PATH C:\DOS;C:\TREE; ====================================================================== To tell ELFTREE which drives to include when using the Find or Space commands, use the ETDRIVES variable (shown for drives [C] through [G]): SET ETDRIVES=CDEFG ====================================================================== If you have Validate Tree (Customize/Switches menu) set to Yes, you may want the tree for selected disks to not be validated. For example, if your machine has drives A, B, C, D and F, and drive D: is a remote drive on another computer (which takes a long time to grow a tree), here's how to limit validation to just the other drives: SET ETVALTREE=ABCF ====================================================================== REMOVABLE MEDIA or RAM DISKS ====================================================================== If your computer has removable disk drives (such as cartridges, optical media or floppy diskettes) or a RAM disk, you may want ELFTREE to store the tree maps for one or more of them in the root directory of those drives. The advantage is faster access to the disks once the tree maps have been built. Here's how to do this for drives [E] and [F]: SET ETMAP=ef If you want the tree maps stored with all of the other tree maps, use UPPER CASE letters instead of lower case. For example: SET ETMAP=EF This is recommended only for drives where you seldom change disks. Upper and lower case can be combined, so you can say: SET ETMAP=eF Note: If a drive is removable, tree maps will ONLY be stored if they are included in this list. Thus, if A: and B: are floppy drives, tree maps will otherwise NOT be stored for them at all. If a non-removable drive appears in this list (such as a RAM disk), tree maps are stored where you have indicated. ====================================================================== CD-ROM DRIVES ====================================================================== CD-ROM drives present a special challenge because you cannot store tree maps on them, and growing the tree can take a LONG time. ELFTREE automatically recognizes which drives are CDROM (conforming to the MSCDEX standard) and will store a tree map for each unique platter where the other tree maps are stored. For all other drives for which you want this service, or to indicate that you don't want this service for a CDROM, you must define an environment variable called ETMAPCDR. Here's how to do it for drive G: SET ETMAPCDR=G (Note: Use G to activate it, and g to deactivate it) For these disks, ELFTREE builds a 'key' for each platter that it scans, and uses this key to tell it what file the tree map is stored in. So, when you insert a disk for which a tree map has already been built, ELFTREE will determine which file has the tree map and load it immediately. Notes: If a disk letter is used in both the ETMAP and ETMAPCDR environment variables, the ETMAP one takes precedence. Up to 1000 tree maps can be tracked automatically, and these use names like ETMAPCDR.###, where ### is a number from 000 to 999. ====================================================================== ADVANCED FEATURES - NETWORKS, RAM DISKS and MULTITASKERS ====================================================================== When using ELFTREE on a network by several people, each one will need a place to store menus, tree maps, etc. This is specified with the ETFIND variable. Use a unique directory for each person using it, like this: SET ETFIND=C:\TREE\MARY To let MARY run ELFTREE from a RAM disk, just copy ET.EXE, ELFTREE.CHL and ETT.BAT to her RAM disk, change her PATH to include it and set ETFIND to C:\TREE\MARY. To run ELFTREE in a multitasking environment, where more than one copy of it may be active at the same time, the above remarks apply, of course. In addition, the environment variable ETIDENT can be used as a reminder to you of which copy is active. For example, if using ELFTREE under OS/2 in three windows (called DOS1, DOS2 and DOS3), you may find it helpful to: SET ETIDENT=DOS1 when starting partition 1. SET ETIDENT=DOS2 when starting partition 2. SET ETIDENT=DOS3 when starting partition 3. ELFTREE will display whatever ETIDENT is set to on the Current Path line of the File and Directory Tree screens. ======================================================================