home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
util
/
dos
/
019
/
pcd.doc
< prev
next >
Wrap
Text File
|
1991-10-31
|
9KB
|
218 lines
*---------------------------------------------------------------------*
| PCD - another quality, compact MSDos utility program from |
| Phil Nickell - NSoft Co. |
*---------------------------------------------------------------------*
| PCD is a utility program designed to make changing directories much |
| quicker and easier. This is especially significant with larger |
| drives with multiple partitions. |
*---------------------------------------------------------------------*
PCD works in a manner similar to Norton's NCD command (a commercial
product) and Led's Change Directory LCD command (another shareware
product). Two main ideas used by PCD were 'borrowed' from NCD and
LCD. I liked the 'fuzzy' searching used in NCD, and the
multiple-drive function of LCD.
PCD, I believe, has these advantages over the others:
* PCD executable file size and memory requirements are very small,
especially compared to Norton's product which has become bloated
in recent releases.
* PCD is a 'quiet' utility with none of the flash & fury of
other products. It just does its job and doesn't brag about it.
* PCD works 'across all drives' in a manner similar to LCD. You
don't have to specify a drive letter when changing directories.
* PCD does 'fuzzy' best-match directory finding similar to NCD by
using its directory database. You can often specify just two or
three letters of the directory and PCD will take you there.
* PCD - the price is right. See below.
------------------------------------------------------------------------
DISCLAIMER. I strive to create a functional and reliable product, but
lawyers say that this disclaimer is necessary.
I specifically disclaim all warranties, express or implied,
including but not limited to, any implied warranty or
merchantability or fitness for a particular purpose. I shall not be
liable for damages of any kind resulting from the use of this
product. Use this product at your own risk. Please use PCD only if
you accept this disclaimer.
SHAREWARE Pricing:
$5.00. Bottom Line! This is minimum-priced shareware program that
sells for a very frugal $5. To keep the price this low I cannot
afford to send diskettes or printed documentation. I will reply with
a letter to acknowledge your purchase and to give you a record of
license. PCD is copyright 1991 by Phillip M. Nickell, NSoft Co.
1 copy: $5.00
2-10 copies: $2.50 each
11-up: $2.00 each up to an absolute maximum
of $100.00 for an unlimited quantity
site license or corporate license.
Mail Checks payable to: Phillip M. Nickell
address: NSoft Co.
1027 19th Ave.
Longmont, Co. 80501
------------------------------------------------------------------------
PCD Syntax:
command explanation
----------- ---------------
PCD no parameters? You get a help screen.
PCD actual-directory-name change to directory
PCD partial-directory-name change to best-match directory
PCD md directory-name create directory and update the database
PCD rd directory-name delete directory and update the database
PCD /d [p] directory list from database. [paused]
PCD /scan [drivelist] scan drives and build directory database
PCD /qscan [drivelist] scan drives (ignore directories
with extensions - much quicker)
INSTALLATION.
PCD consists of the single executable file PCD.EXE. Copy pcd.exe to
your hard drive. It is a good idea to put it in a directory that is
searched by dos (i.e. it is 'in the path'). That's all. Please read
this .doc file that comes with pcd to fully understand the program
and its various options.
FIRST things first: Scanning directories.
The first time you execute PCD, you must specify the /SCAN or the
/QSCAN parameter. This tells PCD to scan all of the available DOS
'hard drives' and construct a file named PCD.IDX in the root
directory of the first (lowest letter) hard drive. If you use PCD
to create and remove directories it will keep the database file
properly updated. If you tend to use the DOS MD and RD commands to
create and delete directories, you will need to occasionally
re-scan your drives to update the database.
If you only want PCD to 'know' about certain specific drives (i.e.
only non-network and non-ramdisk drives) you can specify a drive
letter list after the /SCAN or /QSCAN parameter. To have PCD scan
only drives C:, D: and E: you would do this:
PCD /SCAN CDE
If you don't have subdirectories with extensions on their names
( for example, D:\FILES.SAV\ ) then you can specify /QSCAN instead
of /SCAN. This causes PCD to scan much faster.
CHANGING directories:
Use PCD to quickly switch to another directory. For example, if you
have a directory named D:\QMODEM\UPLOADS you can switch to it
quickly with the command:
PCD UPLOADS
If you only have one directory named UPLOADS on your drives you may
be able to switch to that same directory by using the command:
PCD UP
If you have two directories named UPLOADS, you can usually switch
between them by just executing PCD UPL again. Since you are
requesting a change of directory, the PCD fuzzy-matching algorithm
gives extra 'weight' to finding another directory with a similar
name rather than just staying in the current directory.
Experience will tell you how much of a directory name you need to
specify to make sure you get there. The more of a directory name
you specify the better the 'fuzzy matching' will work. The matching
algorithm is designed to work best when you use the first few
characters of a subdirectory name.
In all cases PCD will attempt to do an immediate change-directory to
find the exact directory you specify. If that fails then PCD will
read the directory database file and use its best-guess matching
algorithm to satisfy your request.
LISTING contents of database
The /d (directory list) command causes a list of the directories in
the database to be displayed. Any character as a second parameter
will cause the screen display to be paused each 24 lines waiting for
a keypress.
PCD /D display entire database
PCD /D P display entire database with pauses
PCD /D >DATA.LST list of database is redirected to
the file data.lst
IMMEDIATE database update:
When PCD is used to create and remove directories it will update the
database immediately. This reduces the need to scan the drives to
update the database. For example, to create a subdirectory named
CHARTS on the C: drive you would do:
PCD MD C:\CHARTS
The directory will be created, and the pcd.idx database file will be
quickly updated to include the new directory. This feature comes in
handy for users of command shells that allow aliasing, such as CED,
ALIAS or NDOS. With those utilities, you can change the standard
MD and RD commands to run PCD instead. With ALIAS, you could set up
the aliases like this:
ALIAS MD PCD MD %1
ALIAS RD PCD RD %1
ALIAS CD PCD %1 %2
It is possible to 'fool' PCD by creating directories with PCD and
removing them with dos, or vice-versa. In these cases the PCD
database will not be updated properly and will not reflect the true
structure of the har