348
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\memcard.fb
Chapter 6, Memory Cards/Mass Storage
Copying Files Using IBASIC Commands
NOTE: Using the volume copy form of the COPY command can produce unexpected results.
For example, using the volume copy form to copy the contents of a 64 Kbyte SRAM card
to an external GPIB 630-KByte floppy disk will result in the external floppy disk having a
capacity of only 64 Kbyte when the volume copy is finished. Furthermore all files on the
floppy disk before the volume copy was executed will be lost and are not recoverable.
Additionally, the file system type on the source media (LIF or DOS) is forced onto the
destination media. Caution should be exercised when using the volume copy form of the
COPY command.
The Test Set only supports the following types of volume copy using the volume
copy form of the COPY command:
1. Like- media to like-media (RAM disk to RAM disk, external floppy to external floppy,
and so forth)
2. Like-file-system to like-file-system (DOS to DOS, LIF to LIF)
All other types of volume copy are unsupported and will produce unexpected
results or system errors.
Using wildcards in the COPY command can eliminate the need to use the volume
form of the COPY command. Refer to the Instrument BASIC User’s Handbook for
further information on wildcards and their use in the COPY command.