beautypg.com

How to remove user files, How to copy files, Cp without error messages – Gasboy CFN III Mgnr's Mnl V3.4 User Manual

Page 172: How to remove user files how to copy files

background image

CFN3 File System

Page 156

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

How to Remove User Files

Use the command DELETE or DEL to remove user files. You must specify a filename on the
command line; you will not be prompted for it. You may specify more than one file to delete.
You do not need to use the C option with DEL.

How to Copy Files

Use the command COPY (COP) or CP to make a copy of a file. You must specify the original
file and the file to copy to on the command line. (The command line is the line starting with
the name of the current drive and an asterisk; for example, P*). If you do not specify the
filenames, you will not be prompted for them.

You can use the wildcards ? and * with either copy command. The commands can copy files
between directories, but you must use full pathnames.

CP without Error Messages

The CP command with the I option suppresses error messages. CP;I silently skips copying any
files it is told to copy that does not exist. For example, if there is no NOPE.TXT file, then the
CP command without the I option results in an error message.

With the I option, there is no error message. The I option is useful in command files when you
are copying files, some of which may legitimately be absent. In such cases, this option avoids
confusing error messages.

DELETE (DEL)

P* DELETE PRDATA.CMD

P*

COPY (COP)

P* COPY PRICE.CMD PRICE.BAK

P*

CP

P* CP PRICE.CMD BIN/PRICE.BAK

PRICE.CMD copied to PRICE.BAK
P*

P* CP;I R:NOPE.TXT A:

P*

P* CP R:NOPE.TXT A:

Can’t find NOPE.TXT
P*

This manual is related to the following products: