
SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
50
pwd
Syntax
pwd
View
User view
Parameter
None
Description
Using the
pwd
command, you can display the current path.
If the current path has not been set, the operation will fail.
Example
Display the current path.
<NEC-PHILIPS>
pwd
flash:/test
rename
Syntax
rename filename_source filename_dest
View
User view
Parameter
filename_source
: Name of the source file.
filename_dest
: Name of the destination file.
Description
Using the
rename
command, you can rename a file.
If the name of the destination file is the same with the name of an existing
directory, the execution will fail. If the name of the destination file is the same
with an existing file, the operation will fail.
Example
<NEC-PHILIPS>
dir
Directory of *
0 -rw-2145123 Jul 12 2001 12:28:08 ne.bin
1 -rw-595 Jul 12 2001 10:47:50 vrpcfg.txt
2 drw--Jul 12 2001 19:41:20 test
3 -rw- 50 Jul 12 2001 20:26:48 sample.txt
6477 KBytes total (2144 KBytes free)
Rename the file sample.txt to sample.bak.
<NEC-PHILIPS>
rename sample.txt sample.bak
Rename flash:/sample.txt to flash:/sample.bak ?[Y/N]:y
% Renamed file flash:/sample.txt flash:/sample.bak
NEC-PHILIPS>
dir
Directory of *
0 -rw-2145123 Jul 12 2001 12:28:08 ne.bin
1 -rw-595 Jul 12 2001 10:47:50 vrpcfg.txt
2 drw--Jul 12 2001 19:41:20 test
3 -rw- 50 Jul 12 2001 20:29:55 sample.bak
6477 KBytes total (2144 KBytes free)