home *** CD-ROM | disk | FTP | other *** search
- Name: which for MSDOS - tell which command is executed.
-
- Synopsis: which program [program]...
-
- Description:
- 'Which' searches the PATH for executable programs.
- ' Which' first looks for filename.COM, then .EXE,
- then .BAT . This is the way MS-DOS tries to find the program
- when you type its name at the command prompt.
- 'Which' always looks in the current directory (.) first.
- If the program is compiled with the appropriate setargv()
- object file, wildcards can be used.
-
- Author: Matt Cohen (bitnet matt@psuhcx, matt@psuecl)
- PO Box 10589, State College, PA 16805
-
- Copyright (C) 1988 Matt Cohen.