home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
SD201.ZIP
/
SD.DOC
< prev
Wrap
Text File
|
1993-09-22
|
7KB
|
172 lines
Speed Directory
---------------
Eric Tauck
1304 Deerpass Road
Marengo, IL 60152-9644
U.S.A.
Compuserve: 72457,1557
Internet: 72457.1557@compuserve.com
Speed Directory is a DOS utility allows you to quickly and easily
change the current directory. For instance, you could switch to
the directory \SUB1\SUB2\ABC just by running "SD ABC". Speed
directory will also change drives if the desired directory is on
a different drive. To be able to change directories quickly,
Speed Directory saves the directory tree structures in the file
SD.DIR in the same drive and directory as SD.COM. The name and
location of the directory file can be changed with the SD envi-
ronment variable (described later). Speed directory may be used
and distributed freely.
Refreshing Drives
-----------------
Drives should be refreshed before running Speed Directory for the
first time, or when a directory tree of a saved drive has been
changed. The syntax for refreshing (saving or resaving) directo-
ry trees is:
SD [[+|-]<drive> ...] /REFRESH [/CLEAR]
<drive> is a drive letter followed by a colon. No drives, a
single drive, or multiple drives may be specified. Speed Direc-
tory will refresh the directory trees of the specified drives.
If no drives are specified and there are no previously saved
trees, Speed Directory will try scanning all drives; otherwise
Speed Directory will only scan drives for which tree information
has been previously saved. Each drive may be preceded by a plus
or minus sign. Drives without a sign or preceded by a plus will
be the only drives refreshed. Drives preceded by a minus will be
excluded from a default refresh (when Speed Directory would
normally scan all drives or all previously saved drives). The
/CLEAR switch forces Speed Directory to erase all directory trees
of drives not explicitly refreshed. Note that excluded drives
(drive letters preceded by a minus) will also be erased by the
/CLEAR switch. Examples:
SD /REFRESH
refreshes all drives or all saved drives
SD c: /REFRESH
refreshes only drive C:
SD -a: -b: /REFRESH
refreshes all drives or all saved drives except A: and B:
SD d: /REFRESH /CLEAR
refreshes D: and erases all other saved drives
Changing Directories
--------------------
Once the relevant drives have been refreshed, Speed Directory can
be used to change directories. The syntax for changing directo-
ries is:
SD <directory>
<directory> is a full or partial directory name. Speed Directory
will search all saved directory trees in the drive letter / DOS
tree order, starting after current directory of the current
drive. If there is no directory that exactly matches the entered
name, Speed Directory will find the first directory that partial-
ly matches the name, for instance ABC will match ABCD. A drive
letter may be specified to restrict the search to a particular
drive, for instance "SD C:MYDIR" will search for MYDIR on drive
C:, but no other drives. Speed Directory cannot match compound
directory names (like DIR\SUBDIR), but if a directory is speci-
fied from the root (like \DIR\SUBDIR), SD will change to that
directory without using the saved tree information. Examples:
SD doc
searches for DOC on all drives
SD d:write
searches for WRITE on drive D:
SD \data
changes directory to \data
SD a:\game\data
changes drive/directory to a:\game\data
Erasing Directory Trees
-----------------------
When a directory tree is erased, Speed Directory will no longer
search for directories on that drive. The syntax for erasing
directory trees is:
SD [[+|-]<drive> ...] /FORGET
<drive> is a drive letter followed by a colon. No drives, a
single drive, or multiple drives may be specified. Speed direc-
tory will erase the directory trees for the drives specified. If
no drives are specified, Speed Directory will erase all saved
directory trees. Each drive may be preceded by a plus or minus
sign. Drives without a sign or preceded by a plus will be the
only drives erased. Drives preceded by a minus will be excluded
from a default erase (when Speed Directory would normally erase
all saved directory trees). Examples:
SD b: /FORGET
erase the directory tree of B:
SD -c: /FORGET
erase all directory trees, except for C:
Directory File Location
-----------------------
By default, the directory trees are saved in the file SD.DIR in
the same drive/directory as SD.COM. You can change the name and
location of this file with the SD environment variable, by set-
ting this variable to the desired file name (including drive and
directory). For instance:
SET SD=d:\data\dirs.lst
This directs Speed Directory to save its directory trees in the
file D:\DATA\DIRS.LST. You MUST include a valid DOS file name,
and probably should specify a drive and directory as well.
Environment variables are usually set the AUTOEXEC.BAT file.
Version History
---------------
Version 1.00, 08/19/1993
Initial release.
Version 2.00, 09/11/1993
Directory trees no longer saved in .COM file, much better
status and error messages, refresh scans all drives, scanning
continues after drive error, and searching continues if cannot
change to matched drive/directory.
Version 2.01, 09/22/1993
No longer crashes when changing from a non-saved drive greater
than all saved drives.