Instance Method

changeCurrentDirectoryPath:

Changes the path of the current working directory to the specified path.

Declaration

- (BOOL)changeCurrentDirectoryPath:(NSString *)path;

Parameters

path

The path of the directory to which to change.

Return Value

YES if successful, otherwise NO.

Discussion

All relative pathnames refer implicitly to the current working directory.

See Also

Managing the Current Directory

currentDirectoryPath

The path to the program’s current directory.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software