FreeDOS help system (hhstndrd 1.0.8 en)[shell]

Command: shell

SHELL tells FreeDOS what command shell to run. SHELL is a CONFIG.SYS / FDCONFIG.SYS command.


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 These are passed to the command shell.


SHELL indicates the shell to use; often used to alter COMMAND.COM's behavior. Note: it is that processes AUTOEXEC.BAT; by using the SHELL option, you can get 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.


IN CONFIG.SYS / FDCONFIG.SYS: shell=C:\4DOS.COM /E:256 /P shell=C:\FDOS\bin\ C:\FDOS\bin /E:1024 /P=C:\fdauto.bat

See also:

autoexec.bat config.sys fdconfig.sys (fdxms) (fdxms286) (himem) himemx jemmex shellhigh ------------------------------------------------------------------------------ Copyright (C) 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.