nn::fs::RenameDirectory Function

Syntax

void RenameDirectory(
     const wchar_t * currentPath,
     const wchar_t * newPath
);

Arguments

Name Description
in currentPath Path to rename
in newPath Renamed path

Return Values

None.

Description

Renames a directory.

This function is implemented to show an error screen when errors occur internally, whether or not such errors are fatal. Control does not return from the function in this case. Use nn::fs::TryRenameDirectory on everything other than ROM archives.

To read details about error handling, see Handling Errors During File and Directory Operations.

Revision History

2010/12/24
Added a link to the error handling page.
2010/11/09
Initial version.

CONFIDENTIAL