Maptitude GISDK Help

SearchFilePath()

Summary

Searches for the path for a filename.

 

Changes

Added to Version 7.0.

 

Syntax

SearchFilePath(string file_name, array options)

 

Argument

Contents

file_name

The name of the file to search for on the path

 

Returns

The fully-qualified filename or, if not found, null.

 

Notes

Example

file = SearchFilePath("ccWorldLandmark.cdf",)

// returned value of file is "C:\\ccData\\ccWorldLandmark.cdf"

Error Codes

Error Type

Meaning

Error

The input file_name is null

 

See Also

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