Skip to main content

Switches

A switch is used to modify the way a command executes or how it displays its output. MS-DOS switches are preceded by the forward slash character, "/" and are placed at the end of the command line, after all parameters, eg:

C:> dir windows /p

lists the files in the windows folder, but if there are too many to fit on the screen it pauses its output until a key is pressed.

Next: Graphical User Interfaces