Specifications

rename
40
Impact on communication
None
Response messages
Table 4-3 List of response messages for the rename command
Message Description
Can't execute. The command could not be executed. Re-execute the
command.
The possible causes are as follows:
- The file name is incorrect.
- The file was not found.
- The memory card might be damaged.
- The file system might be damaged.
MC is not inserted. A memory card was not inserted.
Can't access to MC by write protection. Make sure the memory card's protect switch is not set to
Lock. If the switch is set to Lock, move it to the
opposite side, and then insert the memory card again.
Make sure there is no dust in the memory card slot. If there
is dust, remove it with a dry cloth and then insert the
memory card again.
Resultant name exceeds the maximum length. The new file name or directory, including its path name,
exceeds 64 characters. If the old file name or directory
name includes a path name, specify <Base name> with no
more characters than the value of 64 minus the number of
characters in the path name.
Notes
If a file on the memory card is specified, the command can be executed only when
the memory card is inserted.
If a file on the memory card is specified, the ACC LED on the device is on while the
command is being executed. Do not remove or insert the memory card while the
ACC LED is on.
This command cannot move a file from a directory to another directory.
When you rename a directory, you can specify a maximum of 64 characters.
However, if you do so, you might not be able to use a long name in the
show and
copy commands as shown by the following example:
Example:
Old directory name: short-dir (20 characters)
Old file name: long-file (40 characters)
New directory name: long-dir (30 characters)
rename ramdisk short-dir long-dir
In this case, the total number of characters for the directory name and the file name
becomes 70, which exceeds the limit of 64. Therefore, you cannot use these names
in the
show and copy commands.