


     Which(V1.3, 2.x, 3.x in C:)


     NAME
          Which - display pathname of command.

     SYNOPSIS
          1.3:
          Which filename [NORES or RES] 

          2.x/3.x:
          Which filename [NORES or RES] [ALL]


     DESCRIPTION
            Which searchs the command path (including the 
        resident list) for the file you specify.  This command is 
        useful in determining exactly Which command you are 
        executing.  By default, Which searches the Resident list, 
        then the command path.

            Which is extremely useful in the way it will allow 
        you to tell Which AmigaDOS command will be found first 
        when there are multiple versions of that command in your 
        system paths.

     KEYWORDS
          filename
            The name of the file, directory, or device to find. 
        If you don't specify a logical device, then the Assign 
        list is also checked.

          NORES  
            Don't search the resident list.

          RES 
            Search only the resident list.

          ALL
            Which will search all of your paths including the 
        internal and resident lists. This should reveal all of 
        the copies of a given command.	  


      EXAMPLES

            1. To display the directory which the MUInt program 
        is stored, while only checking for its existence in the 
        resident list:

             Which MUInt RES


            2. To display the device to which ImageFX: is 
        Assigned:

             Which ImageFX:
 
