Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: SWITCHES
 Description
 Syntax
 Switches
 Remarks
  When to use the SWITCHES command with an enhanced keyboard
  Using the /K switch with ANSI.SYS
  The SWITCHES command and the DRVSPACE /SWITCHES command
  Using the SWITCHES command with Microsoft Windows 3.0
 Examples

MS DOS Command: SWITCHES

Reference from Microsoft MS-DOS cmd help

Description

Specifies special options in MS-DOS. Use this command only in your CONFIG.SYS file.

Syntax

SWITCHES= /F /K /N /W

Switches

/F Skips the 2-second delay after displaying the "Starting MS-DOS ..." message during startup.
/K Forces an enhanced keyboard to behave like a conventional keyboard.
/N Prevents you from using the F5 or F8 key to bypass startup commands. (SWITCHES /N does not prevent you from pressing CTRL+F5 or CTRL+F8 to bypass DRVSPACE.BIN; to prevent this, use the DRVSPACE /SWITCHES command to add the SWITCHES /N setting to your DRVSPACE.INI file.)
/W Specifies that the WINA20.386 file has been moved to a directory other than the root directory. You need to use this switch only if you are using Microsoft Windows 3.0 in enhanced mode and have moved the WINA20.386 file from the root directory to another directory.

Remarks

When to use the SWITCHES command with an enhanced keyboard

If you have a program that does not correctly interpret input from an enhanced keyboard, add this command to your CONFIG.SYS file so your enhanced keyboard will use conventional keyboard functions.

Using the /K switch with ANSI.SYS

If you use the SWITCHES=/K command and you install the ANSI.SYS device driver, use the /K switch on the DEVICE command line for ANSI.SYS.

The SWITCHES command and the DRVSPACE /SWITCHES command

The SWITCHES /N and SWITCHES /F commands affect the behavior of the F5 and F8 keys when your computer starts. To control the behavior of the CTRL+F5 and CTRL+F8 startup keys, which bypass DriveSpace in addition to other startup commands, use the DRVSPACE /SWITCHES command.

Using the SWITCHES command with Microsoft Windows 3.0

In order for Microsoft Windows 3.0 to run in enhanced mode, the WINA20.386 file must be located in your root directory. If this file is not present, you will see this message:

You must have the file WINA20.386 in the root of your boot drive to run Windows in Enhanced Mode

If you move the WINA20.386 file, you must add the SWITCHES command with the /W switch to your CONFIG.SYS file. You must also add a DEVICE command under the [386Enh] heading in your SYSTEM.INI file, specifying the new location of the WINA20.386 file.

If you do not use Microsoft Windows version 3.0, do not use the SWITCHES command with the /W switch.

Examples

If you want MS-DOS to use conventional keyboard functions even though you are using an enhanced keyboard, add the following command to your CONFIG.SYS file:

switches=/k

If you use Microsoft Windows 3.0 in enhanced mode and you have moved the WINA20.386 file to a directory other than the root directory, add the following command to your CONFIG.SYS file:

switches=/w

If you want to prevent users from using the F5 or F8 key to bypass startup commands, add the following command to your CONFIG.SYS file:

switches=/n

If you want to skip the 2-second delay after displaying the "Starting MS-DOS ..." message during startup, add the following command to your CONFIG.SYS file:

switches=/f

You can also combine switches in one command. For example, if you want to skip the 2-second delay after displaying the "Starting MS-DOS ..." message during startup, and you use Microsoft Windows 3.0 and have moved the WINA20.386 file to a directory other than the root directory, add the following command to your CONFIG.SYS file:

switches=/f /w


©sideway

ID: 110700266 Last Updated: 7/30/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019