SpartaDOS X Reference Manual

The Command Processor — Commands




SWAP (Swap Drives) Command

Index


Purpose

This command allows you to swap (re-map) your drive configuration.
 

Syntax SWAP [d,d]
 
Type Internal
 
Remarks SWAP, without any parameters, will display the drive map list showing drives 1 through 9. The default is 1=1, 2=2, etc.

For example, to interchange drives 1 and 9, type the following command:

    SWAP 1, 9      (or)
    SWAP A, I

The order is not important, so 1,9 is equivalent to 9,1.

The drives will stay mapped that way unless remapped or a COLD start occurs. Note that you may use letters or numbers to reference a drive and that no colon (":") follows the drive specifier.

SWAP works in addition to Multi I/O drive remapping, so take that into consideration when using the Multi I/O. It is very easy to lose track of which floppy, RAMDISK, or hard drive partition is at which logical drive.


Previous page

Next page