Technical data
187
S:\hp11807a\OPT001\USRGUIDE\BOOK\chapters\referenc.fb
Chapter 5, Reference (Alphabetical)
Copying Files
Copying Files
Files can be copied from one mass-storage device to another using IBASIC COPY
commands. For example, to copy a file from an inserted memory card to the left
drive of an external dual-disk drive with HP-IB address 700, press TESTS. Select
IBASIC Cntrl from the SET UP TEST SET list (or IBASIC from the Test
Function
field). Position the cursor to the IBASIC command line and select it.
Using the character list that appears in the
Choices menu, enter the following
command:
COPY “MY_TEST:INTERNAL” TO “MYFILE:,700,0”
You can copy a file from a memory card to an SRAM memory card by loading the
program from the memory card into the test set, inserting an initialized SRAM
memory card, and then using the IBASIC SAVE command. Enter the following:
SAVE “MY_TEST:INTERNAL”
You can list the names of the files stored in a memory card or disk catalog by
using the IBASIC CAT command. To display a list of file names on a memory
card, enter the following:
CAT “:INTERNAL” or CAT
The mass storage powers-up to memory card as a default. If you did not change
this setting, then
”:INTERNAL” is optional. If you are entering many characters
into the IBASIC command line, you may want to connect a terminal to the test set.
See
"Configuring the Test Set for Printing" on page 215. You will also want to use
a terminal if you have many files to list because file names displayed with the
CAT
IBASIC command scroll past the top of the test set’s CRT display and cannot be
scrolled down.