Command Line

 


Use keywords to find the content you
are looking for with in the site.

Command WHICH

Function:

Displays the full path of a program.
Syntax:
WHICH filename[.ext]
filenameSpecifies the file name of the program to be located.
.extOptional 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.

Copyright © 1995-2018 Lucien Cinc, All Rights Reserved
WinOne® is an Australian registered trademark

Go to the Australian Command Line Software web site.