![[About]](r:\html\rexxabout.gif)
![[Toc]](r:\html\rexxtoc.gif)
0.9b (c) 1995 Peter Childs
Function: SysSearchPath
Syntax: filespec = SysSearchPath(path, filename)
filespec The complete filespec of the file found, or '' if the
filename was not located along the path.
path Any environment variable that resembles a path, such as
'PATH', 'DPATH', and so on.
filename The file to search the path for.
Purpose: Searches the specified path for the specified file and returns
the full filespec of the file if found, otherwise it returns.
Example:
/* Code */
fspec = SysSearchPath('PATH', 'CMD.EXE')
say fspec
/* Output */
C:\OS2\CMD.EXE
Inf-HTML End Run - Successful