WIN_DRIVE$

Syntax WIN_DRIVE$ (drive)
Location SMSQ/E for Atari and QXL / QPC

On SMSQ/E for the Atari, this function returns a string containing the unit, disk and partition numbers addressed by the specified WIN drive.

Under SMSQ/E for the QXL and QPC (v2.89+), this function will return a string indicating the file on the PC which is used as that hard drive.

If the specified drive has not been linked to any particular hard disk partition, an empty string is returned.

Atari Examples

WIN_DRIVE 2,0,1,0
PRINT WIN_DRIVE$(2): REMark Will print 0,1,0

QXL / QPC Examples

WIN_DRIVE 2,'C:\qxlback.win'
PRINT WIN_DRIVE$(2): REMark will print C:\qxlback.win

CROSS-REFERENCE

See WIN_DRIVE.