Copying A File (Copy); Copying To The Same Mass Storage Devices; Copying To A Different Mass Storage Device - HP 250 Operating

Hide thumbs Also See for 250:
Table of Contents

Advertisement

System Commands
Copying
a File
(COPY)
The COpy command duplicates a file,
either on the same medium or
on another medium.
Copying to the Same Mass Storage Devices
If you wanted to copy a file named TAX to the same mass storage
device, you would execute the following command:
COpy "TAX" TO uJNCTAX u
Note that you must name the destination file with a different
name than the file you wish to copy.
If you tried to copy the
file
TAX
to another file
TAX
on the same mass storage device, you
would get an error message
(ERROR 54) which tells you that a
duplicate file already exists.
Copying to a Different Mass Storage Device
If you need to copy a file onto a second mass storage device,
the
COpy
statement can be used with a slight modification from the
first example.
CUP YilT
t~~
X :
fJ"
T[) " T
(.~I:X:
:
1<
II
This above command transfers a file named tax from the tape
cartridge to the 7908 fixed disc.
Since the files are on
different media,
they can have the same name.
Here is another example that uses labels, rather than unit
specifiers, to designate media:
COpy
II
TAX
i
VDL
j .."
TO
"Tt~X
i
'JDL;.:~
II
VOLt
and
VOL2
are the names of two different media,
that have
been given via the
PRtNT LABEL
command.
8-6
System Commands
Copying
a File
(COPY)
The COpy command duplicates a file,
either on the same medium or
on another medium.
Copying to the Same Mass Storage Devices
If you wanted to copy a file named TAX to the same mass storage
device, you would execute the following command:
COpy "TAX" TO uJNCTAX u
Note that you must name the destination file with a different
name than the file you wish to copy.
If you tried to copy the
file
TAX
to another file
TAX
on the same mass storage device, you
would get an error message
(ERROR 54) which tells you that a
duplicate file already exists.
Copying to a Different Mass Storage Device
If you need to copy a file onto a second mass storage device,
the
COpy
statement can be used with a slight modification from the
first example.
CUP YilT
t~~
X :
fJ"
T[) " T
(.~I:X:
:
1<
II
This above command transfers a file named tax from the tape
cartridge to the 7908 fixed disc.
Since the files are on
different media,
they can have the same name.
Here is another example that uses labels, rather than unit
specifiers, to designate media:
COpy
II
TAX
i
VDL
j .."
TO
"Tt~X
i
'JDL;.:~
II
VOLt
and
VOL2
are the names of two different media,
that have
been given via the
PRtNT LABEL
command.
8-6

Advertisement

Table of Contents
loading

Table of Contents