home *** CD-ROM | disk | FTP | other *** search
- /* program: which (a freeby)
- ** written: Stan J. Towianski
- ** purpose: looks for the input filename in the directories in your
- ** PATH variable and tells you where it found it.
- ** date: Dec/1996
- */
-
- parse arg fname
-
- call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
- call SysLoadFuncs
-
- say syssearchpath( "PATH", fname )
- return
-