Command WHICH
Function:
Displays the full path of a program.
Syntax:
WHICH filename[.ext]
| filename | Specifies the file name of the program to be located. |
| .ext | Optional program filen ame extension to search for. |
Note:
- Command WHICH will search the PATH environment variable, in order to locate the specified file name.
- When no file name extension is specified, then the extensions .EXC, .PIF, .COM, .EXE, .CMD and .BAT are tried.
- The full path displayed, when the file name is found, reflects the program that WinOne® would execute, unless the program is located in the current directory. Command WHICH does no search the current directory.
- Also see command WHERE.
|