WIN_USE
Syntax |
WIN_USE [device] |
Location |
THOR XVI, ST/QL, Hard disk driver, SMSQ/E for Atari and QXL / QPC |
As with FLP_USE this allows you to assign another three letter description to the WIN 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 win.
Example
WIN_USE mdv
will ensure that any further attempt to access mdv1_ will actually access win1_. If you later use the command:
WIN_USE
or:
WIN_USE win
then you will once again be able to use the microdrives as well as win1_.
NOTE
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:
WIN_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
CROSS-REFERENCE
FLP_USE, RAM_USE, DEV_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.