home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 April / PCO_04_97.ISO / filesbbs / os2 / dialip14.arj / DIALIP14.ZIP / which.cmd < prev   
Encoding:
Text File  |  1997-01-10  |  366 b   |  16 lines

  1. /* program: which  (a freeby)
  2. ** written: Stan J. Towianski
  3. ** purpose: looks for the input filename in the directories in your 
  4. **          PATH variable and tells you where it found it.
  5. **    date: Dec/1996
  6. */
  7.  
  8. parse arg fname
  9.  
  10. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  11. call SysLoadFuncs
  12.  
  13. say syssearchpath( "PATH", fname )
  14. return
  15.  
  16.