which v1.0.1
===========================================================================
Copyright (c) 1998-1999 Magnus Bck
http://www.jpl.nu/~magnus/misc.html
baeck@swipnet.se
===========================================================================

1. Purpose and usage
2. Known issues
3. Revision history
4. Downloading
5. Notes on distribution

===========================================================================
1. Purpose and usage
===========================================================================

A Win32 port of the UNIX command which. Takes one filename as a command-
line parameter and searches the directories in the PATH variable for the 
file. If it's found, the full path is printed to stdout. If the file was 
not found, an error message in any of two formats (see below) will be 
shown.

Example:

C:\>which fowner
d:\winnt\system32\console\fowner.exe

As seen in the example, the file extension can be omitted if it is .exe.
If you want to search for a file without extension, you must explicitly
specify this by appending a period to the name.

The error message format can be chosen between brief where only "filename
not found" is displayed, or verbose where the full search path is shown.
Brief is default, but this can be overridden either by the command-line
switch /V or by including "verbose" in the enviroment variable WHICH_OPTS.

Full Delphi 2+ source code is provided.

===========================================================================
2. Known issues
===========================================================================

which doesn't work with foreign characters in the name (, ,  etc). This 
will be resolved in later releases.

===========================================================================
3. Revision history
===========================================================================

1.0.1, 5 Jan 1999
-----------------

   * Added option to choose between brief and verbose error output.

1.0, 21 Aug 1998
----------------

Initial release.

===========================================================================
4. Downloading
===========================================================================

   * WHICH101.ZIP (26 kB) from JPL Solutions, Sweden.
     http://www.jpl.nu/~magnus/files/which101.zip
   * WHICH101.ZIP (26 kB) from Tele2, Sweden.
     http://home2.swipnet.se/~w-22337/which101.zip

===========================================================================
5. Notes on distribution
===========================================================================

which is freeware and is licensed for any use; private, commercial or
governmental. It may also freely distributed on any electronic media as
long as nothing is charged for it, except for nominal copying costs. If you
upload it to an FTP och WWW site or some other service, such as BBSs (which
I do encourage), I would appreciate if you'd notify me. The source code may
also be modified but the original copyright must still remain (but can of
course be accompanied by your own if you do modify the source code).

[End of README.TXT]
