Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

rename old new


Alias

None


Description

Rename the given file. This command will rename the specified file by replacing the first occurrence of old in their name by new.


Parameters

old

Old filename.

new

New filename.


Return Value

Boolean: TRUE(1) on success, FALSE(0) otherwise. Use libcox_value_to_bool() or libcox_value_to_int() to extract the processing result.