ASSIGN
This page was last modified 12:21, 1 June 2020 by Gdx. Based on work by Mars2000you.

Contents

Effect

Displays, sets up or cancels the assignation between a logical drive and a physical drive.

By default, the MSX-DOS 2 command line uses the same drive number (for example A) as logical drive and physical drive. The ASSIGN command allows to change that, with as result that the subsequent accesses to the logical drive will be done to the assigned physical drive.

Syntax

ASSIGN <LogicalDevice>: <PhysicalDevice>:

Parameters

<LogicalDevice> is the name of the logical device for which you want to assign a physical device.

<PhysicalDevice> is the name of the physical device that will be assigned.

Both device names can only be disk drives (letters A, B, C, D, E, F, G, H).

If you specify only the logical device name, the current assignation will be displayed.

If you don't specify both the logical device name and the physical device name, the current assignations will be cancelled.

Example

A>ASSIGN A: B:
A>ASSIGN A:
A:=B:

Compatibility

MSX-DOS 2 / Nextor MSX-DOS 2 / Nextor with COMMAND2.COM v2.20~