Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 4 File Management Commands
3Com Corporation
4-15
View
User view
Parameter
None
Description
Use the pwd command, you can view the current path.
If the current path is not set, the operation will fail.
Example
# Display the current path.
<3com> pwd
flash:/test
4.1.16 rename
Syntax
rename filename-source filename-dest
View
User view
Parameter
filename-source: Name of the source file.
filename-dest: Name of the target file.
Description
Use the rename command to rename a file.
Note that the target file name must not be the same as an existing directory or file
name.
Caution:
If only one application file (system.bin if dual image is supported or
main.bin/backup.bin/secure.bin if dual image is not supported) exists in the system,
you cannot rename it. Any modification may cause boot failure when you upgrade the
application in the router.