beautypg.com

How to rename files, Caution – Gasboy CFN III Mgnr's Mnl V3.4 User Manual

Page 173

background image

MDE-4315 CFN Series CFN III Manager’s Manual for Windows NT · August 2004

Page 157

CFN3 File System

How to Rename Files

Use the command RENAME or REN to change the name of a file. You must
specify the original filename and the new filename on the command line. If you
do not specify the filenames, you will not be prompted for them.

If you are not in the directory where the original file is located, you must also
specify the original file’s path.

When you use the COPY command, you end with two identical copies of the
same file, but under two different names. With RENAME you end up with only
one copy of a renamed file.

With RENAME, both the original file and the new file must be in the current
directory. Use RENAME;A (described in the following section) when different
directories are involved.

How to Move Files Between Directories of the RAM Drive

Use the RENAME;A command to move a file to a different directory. You must
specify the original filename and the new filename on the command line. If you
do not specify the filenames, you will not be prompted for them.

Provide the path for whichever of the two directories, original or destination,
you are not currently in. If you are in a third directory, provide the path for both
the original and destination files.

When you use RENAME;A to move a file from one directory to another, you
do not have to choose a different name for the destination file. Both the original
and destination filenames can be identical; only the paths will change.

RENAME (REN)

P* RENAME PRICE.CMD PRICE.BAK

P* *

P* RENAME;A TEST.CMD /
LOADTEST.BAK

P* *

If a file already exists in the destination directory with the name you have chosen for the
destination file, the existing file will be overwritten.

CAUTION

This manual is related to the following products: