HTBasic Help
×
Menu
Index

HPCAT

Display a CATalog of files on an HP LIF diskette.  This command is not compatible with Windows 2000, XP, or Vista, as it requires a DOS based operating system such as Windows 95/98.
 
Syntax:
 
HPCAT drive: 
 
Where: 
drive = 0, 1, ... 
 
Usage:
 
HPCAT 0:   ! drive A
HPCAT 1:   ! drive B 
 
This command allows you to display a catalogue (directory) of the files on an HP LIF diskette. An HP LIF diskette is one that was initialized with the HP BASIC INITIALIZE command on an HP 9000 Series 200/300 workstation. The diskette must be inserted into a PC diskette drive. Both 5-1/4 and 3-1/2 inch diskette drives are supported. Disk drives connected to the HP-IB are not supported.
 
The first drive, "A", is number 0, the second drive is number 1. It is recommended that you only use diskette drives "A" and "B". In limited circumstances, other drives will work, but some experimentation is needed to use them. For other drives, you must discover the diskette drive number. Try values from 0 to 9. If none work, your drive or system may not support the 256 or 1024 byte sectors required by HP diskettes.