
NAME

	Which


FORMAT

	WHICH  <command> [NORES] [RES] [ALL]


PURPOSE

	To search the command path for a particular item.


SPECIFICATION


	WHICH lets you find a particular command, program, or directory 
	by entering its name. If the named item is in the search path, 
	WHICH displays the complete path to that item WHICH lists resident
	commands as RESIDENT and internal commands as INTERNAL.

	If the NORES option is specified, the resident list is not searched. 
	If the RES option is specified, only the resident list is searched.
	The ALL switch causes the search to continue through the full search
	path, even after one or more instances of the named item have been 
	found and listed. This insures that all versions of a command or 
	program are found. It can, however, lead to multiple listings of the 
	same command, if that command is reached by more than one route, C: 
	and the current directory.


EXAMPLE


	1 > WHICH avail
	C: avail


BUGS

	NONE.


AUTHOR

	Commodore Business Machines.  This program is provided with your Amiga
        Workbench disks.  It is an internal command and resides in C:


COPYRIGHT NOTICE

	This man page was written by:

        Markus Hillenbrand
        Hauptstrasse 9
        36124 Eichenzell-Loeschenrod
        Germany

        E-mail: m_hillen@informatik.uni-kl.de


SEE ALSO

	Resident (AmigaDOS)
