| Maptitude GISDK Help |
Searches for the path for a filename.
Added to Version 7.0.
SearchFilePath(string file_name, array options)
| Argument | Contents |
|---|---|
| file_name | The name of the file to search for on the path |
The fully-qualified filename or, if not found, null.
file_name does not use any wildcards.
No options are currently supported.
file = SearchFilePath("ccWorldLandmark.cdf",)
// returned value of file is "C:\\ccData\\ccWorldLandmark.cdf"
| Error Type | Meaning |
|---|---|
| Error | The input file_name is null |
| Function | Summary |
|---|---|
| FileCheckUsage() | Checks whether files are in use by Maptitude. |
| GetDirectoryInfo() | Gets a listing of the contents of a directory |
| GetFileInfo() | Gets information about a file |
| SetFileAttributes() | Changes the attributes of a file or a directory |
| ©2025 Caliper Corporation | www.caliper.com |