SWITCHAR sets a switch character.
SWITCHAR is a CONFIG.SYS / FDCONFIG.SYS command.
Sets the default switchar to character c.
- none -
SWITCHAR sets the default switchar to the given character c, e.g. "-".
Where c is a single character that is used to indicate a command line
parameter in an option switch. The default is a forward slash (/).
Note: This simply sets the value returned by a get switchar query, it
will not effect programs that use hardcoded switch characters.
The switch character is the sign before an option so that DOS knows,
that the following text is an option, e.g. the "/" in dir /w.
Typical switch characters are e.g. "-", "/".
SWITCHAR is used by command.com and some but by far not all external
commands and drivers.
SWITCHAR is a command internal to kernel.sys and needs no other file
in order to work.
IN CONFIG.SYS / FDCONFIG.SYS:
dir /p you then would have to enter
dir -p .
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 2003 Robert Platt, updated 2008 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.