formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | File

# fzrt_file_floc_set_crnt

Description

Sets the current folder to the specified folder. If the file locator points to a file, this will set the current folder to the folder that contains the file.

Plugin Prototype

fzrt_error_td fzrt_file_floc_set_crnt(

fzrt_floc_ptr | floc )

Parameters

floc [Input]

pointer to folder to set as current working folder

Returns

FZRT_NOERR on success, Otherwise, an error ID.

Availability

5.0.0.0

See Also

fzrt_file_floc_get_crnt, fzrt_file_floc_init

Function Set

fz_fzrt_file_fset

Defined in

fzrt_api.h