FAT_USE
Syntax |
FAT_USE [device] |
Location |
SMSQ/E for Q68 |
As with FLP_USE this allows you to assign another three letter description to the FAT device driver, so that it can be accessed by programs which do not allow you to alter their devices. If no device is specified, then the device name is returned to the default fat.
Example
FAT_USE mdv
will ensure that any further attempt to access mdv1_ will actually access fat1_. If you later use the command:
FAT_USE
or:
FAT_USE fat
then you will once again be able to use the microdrives as well as fat1_.
Note 1
The QL’s operating system tests for directory device drivers in a fixed order: DEV, FLP, RAM, WIN and MDV. This means that if you rename a driver to three letters which refer to a device driver earlier in the list, that original device driver will be used in preference. For example:
FAT_USE flp
will not work (attempts to read a file from flp1_ will still try to read floppy disk drive number one) - you will need to also rename the floppy disk driver:
FLP_USE flp
Note 2
By default the FAT driver may not be loaded in SMSQ/E
CROSS-REFERENCE
FLP_USE, RAM_USE, DEV_USE, WIN_USE are similar. DMEDIUM_TYPE can be used to find out the type of device which a name actually refers to. DMEDIUM_NAME$ will return the default name of a device.