HTBasic Help
×
Menu
Index

Drive Mapping HP to Windows

CONFIGURE MSI defines a table of MSUS substitutions. Whenever an HP MSUS is used as part of a file-specifier, the table is checked for an exact match, including case. It is not sufficient for the MSUS to be equivalent, i.e. ":CS80,700,0" does not match ":CS80,700". If an exact match is found, the Windows path-specifier is used in its place. If no match is found, an error will be reported. The syntax is:
 
CONFIGURE MSI hp-msus TO path-specifier 
 
In the DOS path-specifier, directory names must end with a directory separator character "\". To replace an existing entry in the table, specify a new DOS path-specifier. To delete an existing entry in the table, specify a zero length DOS path-specifier. To turn CONFIGURE MSI off or on, use
 
CONFIGURE MSI {ON|OFF} 
 
As an example, lets assume that you have lots of programs written that use two HP disk drives on your HP BASIC workstation. They are ":INTERNAL,4", a floppy and ":,700,0", a hard disk. You wish to use Drive A on your PC whenever the programs would have used the internal drive on your workstation. And you wish to use the subdirectory "\HARDDISK" of Drive C on your PC whenever the programs would have used the hard disk on your workstation. This is done by putting the following two lines in your AUTOST file:
 
CONFIGURE MSI ":INTERNAL,4" TO "A:\"
CONFIGURE MSI ":,700,0" TO "C:\HARDDISK\"