DOS_DRIVE
Syntax |
DOS_DRIVE drive%, directory$ |
Location |
SMSQ/E for QPC |
This changes the directory the DOS device is connected to.
By default, DOS1_ corresponds to C:\, DOS2_ to D:\ and so on, but the base can be freely chosen in the configuration dialogue or even at runtime:
DOS_DRIVE 2, "C:\WINDOWS"
will assign DOS2_ to the windows directory on the host’s C:\ drive.
PRINT DOS_DRIVE$(2)
would now return “C:\WINDOWS”.