Command: shell
SHELL tells FreeDOS what command shell to run.
SHELL is a CONFIG.SYS / FDCONFIG.SYS command.
Syntax:
shell=[drive][path]filename [options]
drive The drive letter, e.g. C:
path The directory, e.g. \example\
filename The command shell to run. For example,
C:\example\COMMAND.COM
Options:
options These are passed to the command shell.
Comments:
SHELL indicates the shell to use; often used to alter COMMAND.COM's
behavior. Note: it is command.com that processes AUTOEXEC.BAT; by using
the SHELL option, you can get command.com to process a differently named
file (such as FDAUTO.BAT for coexisting with another DOS using different
configuration options) or run a completely different command interpreter
such as 4DOS or a (unix) sh variant.
SHELL is a command internal to kernel.sys and needs no other file
in order to work.
Examples:
IN CONFIG.SYS / FDCONFIG.SYS:
shell=C:\4DOS.COM /E:256 /P
shell=C:\FDOS\bin\command.com C:\FDOS\bin /E:1024 /P=C:\fdauto.bat
See also:
autoexec.bat
command.com
config.sys
fdconfig.sys
(fdxms)
(fdxms286)
(himem)
himemx
jemmex
shellhigh
File:
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 © 1998 Jim Hall, updated 2011 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.