
Using Technician Interface Software
5-14 117381-A Rev. A
Renaming a File or Directory
Use the rename command to change a file name or directory name.
If you specify a path to the file or directory, the file is moved to the new directory.
The new file or directory must reside on the same diskette as the original. You can
use the wildcard characters
* and ? to rename files and directories with the
character strings you specify. Enter the following to rename a file or directory:
rename
<old_name> <new_name>
Examples:
Note: You cannot rename a file whose attributes are h (for hidden) or s (for
system). See “Chang
ing File Attributes” on page 5-20 for instructions on
changing these protections.
rename new.cfg old.cfg
Changes the file named new.cfg in the present
working directory to old.cfg
rename *.cfg *.arc
Changes all file names with a .cfg extension to
have a .arc extension in the present working
directory
rename \logs\l6_22.log
\inv\span.log
Moves the l6_22.log file in the logs directory to
the inv directory and renames the file span.log
Komentarze do niniejszej Instrukcji