formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | File
Description
Sets the pathname of a file locator. This will set the pathname of a file locator. If the locator was previously a folder locator, it is still a folder locator for the new path. If the locator was previously a file locator, it is now a file locator for the file at the new path. The implementation differs on platforms. Macintosh requires that the path exist. There is no existence check on Windows.
Plugin Prototype
fzrt_error_td fzrt_file_floc_set_path_name(
floc, | |
char * | path ) |
Parameters
floc [Input]
file locator created with fzrt_file_floc_init
path [Input]
pointer to pathname as a C string. Must be allocated by user
Returns
FZRT_NOERR on success, Otherwise, an error ID.
Availability
5.0.0.0
See Also
Function Set
Defined in