Locate this file.
This function searches for the given file and gives the full path for that file (the foundpath argument).
The argument lookfor represents the name of the file to search for. The string must include the file's extension (if any).
The search criteria can be limited to a particular drive or directory tree by prefixing the filename with a drive or subdirectory name, such as "c:\intellicad\drawing.dwg".
The argument foundpath represents the complete path name for the specified file.
This function returns RTNORM or RTERROR.
Example
char lookfor[512],foundpath[512];
sds_getstring(0,"\nEnter the name of a file to find: ",lookfor);
sds_findfile(lookfor,foundpath);
sds_printf("\nThe path for that file is %s: ",foundpath);
Tell me about...
Programming Overview of SDS™ (Solutions Development System™)