home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
UTILS
/
SD110.ZIP
/
SD.DOC
< prev
Wrap
Text File
|
1992-03-10
|
5KB
|
146 lines
SD.COM v1.1 by Jace Carlson 10 March 1992
Copyright (c) 1992 by CJE() Systems, All Rights Reserved
=================================================================
SD is a simple program for MS or PC DOS users to easily
navigate through a complex directory structure.
It was written because I run a BBS and have a tremendously complex
tree structure. I like to be able to move places quickly WITHOUT
using the DOS SUBST command, because some software I have doesn't
handle substituted or assigned drives very well. With SD, I can
navigate through directories quite easily, with only a few keystrokes,
unlike the CD or CHDIR DOS command...
=================================================================
For example:
With directory structures like:
F:\FILE\BBS\UTIL\TEMP
F:\FILE\BBS\RA\TEMP
F:\FILE\BBS\QBBS\TEMP
F:\FILE\BBS\FD\TEMP
F:\FILE\BBS\OPUS\TEMP
F:\FILE\BULL\NEW
F:\FILE\BULL\OLD
and
F:\FILE\TEXT\FNEWS\CURR
and
F:\FILE\PROG\CC\TEMP
F:\FILE\PROG\CPP\TEMP
F:\FILE\PROG\PAS\TEMP
etc...
I would have to type all kinds of stuff on a command line to move from
one place to another. If I wanted to go from \FILE\BBS\FD\TEMP to
\FILE\BBS\OPUS, I would have to type either 'CD \FILE\BBS\OPUS' or
'CD ..' plus 'CD ..' plus 'CD OPUS'. That's a pain when you're trying
to maintain lots of file directories and don't want to write DOS batch
files for taking you to places you want to go frequently.
I knew there had to be a better way.
I came upon a program written by J. Owens called GO.COM v1.4 which
more or less did what I wanted, but it had some limitations. First of
all, it didn't allow you to go back just one directory. Secondly, it
only handled directory structures 2 levels deep. Not very useful for
my above example, but it was better than nothing.
I've also used the Norton Utilities NCD program (Norton Change
Directory), but that was slow and clumsy (it took a picuture of a
disks directory structure and had to be updated everytime something
changed), and it still didn't have the capability I was looking for.
=================================================================
So, I wrote SD.COM with 3 major things in mind:
1) ease of use
2) speed
3) effectiveness
For 1), it is easy to use.
Just put SD.COM in your path somewhere (most people have a
SYSTEM or UTILS directory for commonly used programs) and
type 'SD'.
It will take you to the root directory of the drive you're
logged into.
Type 'SD' followed by the a single character, and if it finds
a directory starting with that character, it executes a CHDIR
command and moves you into it.
Type 'SD' followed by one or more characters separated by
spaces and it attempts to find directories to move into.
Type 'SD -' and it will move you back one directory, as if you
had typed 'CHDIR ..'.
Type 'SD ?' and it will bring up a help screen.
For 2), SD is FAST.
Try it and see. There isn't really a way to benchmark a simple
program like this, but I can say that it is significantly faster
than Norton's NCD and doesn't require control files or updates
when directory structures change.
For 3), SD is effective.
It is not only fast in execution, but it allows you to forget
about the normal DOS CHDIR command (most of the time), thereby
speeding up your navigation of directories.
For my example problem, going from the \FILE\BBS\FD\TEMP
directory to the \FILE\BBS\OPUS directory, all I would have
to type with SD.COM would be 'SD F BB O' or 'SD -' plus 'SD -'
plus 'SD O'. Much simpler, much easier, and SD doesn't require
exact spelling of the entire directory name.
(if you wonder why I put 'SD F BB O' on the command line
instead of just 'SD F B O', it is because there are 2 directory
names starting with B -- BBS and BULL. The 'BB' on the SD
command line specifies that I want the BBS directory)
=================================================================
If you use SD and like how it works for you, consider sending
a small donation to:
Jace Carlson
CJE() Systems
1566 Worthington Park Blvd
Westerville, OH 43081
... or at least write a thank-you note to me via e-mail at:
1:226/150@fidonet
8:3004/10@fmlynet
70:2000/500@acn
Compuserve: 76300, 702
... or call my BBS at (614) 841-9991 (1200 - 19200 bps, N81)
=================================================================
'C' Source available by special arrangement to this and other
CJE() Systems utilities...
=================================================================
Updates will follow! Enjoy!
>Jace -- sysop of CJE() Systems