Home > Commands N-Z > Commands S

SELECT


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Formats a disk and installs country-specific information and keyboard codes (In v6.0, this command is stored on the DOS supplemental disk).


Syntax

SELECT [drive:] [drive:][path] [CountryCode] [KeyboardCode]

SELECT


Parameters
drive: (v3.0)
Specifies the source drive.
drive: ( path v3.0)
Specifies the target drive/path.
CountryCode (v3.0)
This is a three digit code to indicate the country information stored in the COUNTRY.SYS file (or a replacement file).
KeyboardCode (v3.0)
This is a two character code to indicate the keyboard layout used. For more information, refer to the KEYB command.

Switches

none.


Related

none.


Notes
SELECT transfers file

SELECT transfers country-specific information, such as date and time formats for a country. After the target disk is formatted, the program transfers the CONFIG.SYS and AUTOEXEC.BAT files. Then the contents of the source disk are transferred to the target disk. For more information on country codes, refer to Appendix B.


SELECT disk assumptions

The source disk may be either drive A or drive B. If you do not enter disk designations, drive A will be assumed to be the source disk and drive B the target disk.


SELECT a fixed drive

If you select a fixed disk as the target drive, the program will prompt you to type the correct label for that disk. If you enter the wrong label, the SELECT process is terminated. If you enter the correct label, the program will display this second warning:

    WARNING, ALL DATA ON NON-REMOVABLE DISK
    DRIVE D: WILL BE LOST!
    Proceed with Format (Y/N)?

If you type N, the SELECT process will be canceled. If you type Y, the fixed disk will be formatted, erasing all the data currently stored on the disk.


Examples

To create a new DOS disk in drive B with country-specific information for Spain, enter:

    SELECT A: B: 850 SP

A warning will be displayed, giving you a chance to cancel the disk format before proceeding.


Errorlevels

none.


Availability
External
DOS
v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23
Windows
none
Windows NT
none