Command: which

  WHICH searches and displays the executable file for each
  specified command.

Syntax:

  which command [/?]

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

Options:

  command  The command to be found.
  /?       Shows the help.

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

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.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

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)

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  - nowhere -

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

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.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  Copyright © 2008 W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.