home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
diskutil
/
pcd
/
pcd.doc
< prev
next >
Wrap
Text File
|
1993-11-12
|
5KB
|
135 lines
P C D v2.31
Paddy's Change Directory
PCD is an easy-to-use directory-change tool for OS/2 2.x able to handle both
HPFS and FAT drives as well as long filenames.
It is written in REXX and EMX 0.8g.
Installation
==============
The first time you use PCD it asks you to enter four paths:
- Path of PCDCMP.EXE Contains the sorting routines.
- Path of the PCD.IDX-file This file is the index-file in which the
directories are stored. It remains on
your disk.
- Path of the temporary .IDX The temporary index contains the just
found filenames during the scanning-
process and is automatically deleted
after the scan.
- Path of a temp file for PCDCMP.EXE This file will be created by PCDCMP.EXE
during the sorting and is being deleted
afterwards.
To change these settings later just type "PCD /INIT".
The file PCD.CMD must be located in a directory in the path (e.g. C:\TOOLS).
The EMX.DLL file must be in a directory included in the LIBPATH= statement of
your CONFIG.SYS. To view your current settings type "set " <Enter> at any
prompt.
You should create a program in the WPS-Startup-folder to update the index-
file automatically everytime the system is booting.
To build or update the index-file run "PCD /SCAN".
Usage
=======
To change to the directory <dir-name> just type "PCD <dir-name>". Instead
of the whole directory-name, <dir-name> can also be a substring of it. If
the substring is ambiguous PCD presents a window that displays all dirs
containing the substring. Here you can choose to which dir you want to
change to using the following keys:
<Cursor Up>, <Cursor Down>, <Page Up>, <Page Down> are moving the
highlighted bar
<Ctrl + Home>, <Ctrl + Page Up> jumps to the first dir in the list
<Ctrl + End>, <Ctrl + Page Down> jumps to the last dir in the list
Should a directory-name exceed the width of the selection-window a small
arrow right of the list-entry is indicating the possibility to use
the following keys to scroll the line:
<Cursor Left>, <Cursor Right> are scrolling the line
<Home> jumps to the leftmost character
<End> jumps to the rightmost character
If you want PCD to display only those directories matching exactly <dir-
name>, add "/E" to your command-line.
Commandline arguments
=======================
"*"
Let you make your selection from the complete index-file.
"<dir-name> [/E]"
Tells PCD to change either to the named directory or display a window with
all directories containing the name/substring. The switch [/E] displays only
directories exactly matching the name/substring.
"md <dir-name>"
With PCD it is possible to create directories and update the index-file with-
out the need for a new "/SCAN". It creates a directory named <dir-name>.
"rd <dir-name>"
The same way you can remove your dirs with an update of the index-file. PCD
removes the directory given as <dir-name>. It is impossible to use sub-
strings with this command!
"/SCAN [list]"
This command scans your drives and stores the directory tree in the index-
file PCD.IDX. If there are any drives given as the argument [list], PCD
scans only these. [list] must be like the following example:
"cef" to scan the drives c:, e: and f:; but NOT d:!
"/INIT"
Necessary to adapt OS2.INI for the use of PCD (stores the above mentioned
informations).
"/CLEAR"
Deletes PCD's informations in the OS2.INI.
Copyrights & Thanks
=====================
For private use PCD is distributed as cardware. That means, if you find PCD
useful, you must send me a postcard - so I can see where PCD is used.
For non-private use PCD is distributed as shareware. When you are using PCD,
you must pay a fee of US$ 10 or DEM 15 for your registration.
PCD: copyright by Patrick Asché.
EMX: copyright by Eberhard Mattes.
The author wants to thank Markus Rex for the documentation.
Contacting the author
=======================
For suggestions and any other purposes you can reach the author by the
following ways:
Via Internet
------------
pkasche@cip.informatik.uni-erlangen.de
pkasche@cip.e-technik.uni-erlangen.de
sz0074@epix.rrze.uni-erlangen.de
sz0074@daphne.rrze.uni-erlangen.de
Via Mail
--------
Patrick Asché
Theodor-von-Zahn-Str. 7
91052 Erlangen
Germany