home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dirutl
/
which.arc
/
WHICH.Z
< prev
Wrap
Text File
|
1988-04-27
|
633b
|
18 lines
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.