sds_findfile (const char *lookfor, char *pathfound);
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:\progeCAD\drawing.dwg".
The argument foundpath represents the complete path name for the specified file.
This function returns RTNORM or RTERROR.
sds_getstring(0,"\nEnter the name of a file to find: ",lookfor);
sds_printf("\nThe path for that file is %s: ",foundpath);
Tell me about...
Programming Overview of SDS (Solutions Development System)