Command: which
WHICH searches and displays the executable file for each
specified command.
Syntax:
which command [/?]
Options:
command The command to be found.
/? Shows the help.
Comments:
WHICH is a utility born in the UNIX world that enables users to find
executable files in directories listed in the PATH environment variable.
WHICH is a command internal to command.com and needs no other file
in order to work.
Examples:
which xcopy searches the executable for the xcopy command.
The output is: "xcopy.exe C:\FDOS\BIN\xcopy.exe"
which copy The output is: "copy" (copy is a command.com command)
See also:
- nowhere -
File:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 2008 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.