Microsoft DOS SCANDISKSETSETVERSETVER.EXESHARE Draft for Information Only
ContentMS DOS Command: SHELL
MS DOS Command: SHELLReference from Microsoft MS-DOS cmd help DescriptionSpecifies the name and location of the command interpreter you want MS-DOS to use. You can use this command only in your CONFIG.SYS file. If you want to use your own command interpreter (instead of COMMAND.COM), you can specify its name by adding a SHELL command to your CONFIG.SYS file. SyntaxSHELL=[[drive:]path]filename [parameters]
Parameters
Related CommandFor information about COMMAND.COM switches, see the COMMAND command. RemarksDefault settingThe default command interpreter for MS-DOS is COMMAND.COM. If you do not use a SHELL command in your CONFIG.SYS file, MS-DOS searches for COMMAND.COM in the root directory of your startup drive. You need to use the SHELL command if you want to specify a COMMAND.COM file that is not in the root directory or if you do not want to use the default environment size for COMMAND.COM. For information about COMMAND.COM switches, see the COMMAND command. Using switches with a command interpreterThe SHELL command itself does not accept any switches, but if the command interpreter does, you can include them on the SHELL command line. ExamplesSuppose the file NEWSHELL.COM is in a directory named BIN on your startup drive, and suppose you want to use NEWSHELL.COM as your command interpreter. To do this, add the following command to your CONFIG.SYS file: shell=\bin\newshell.com Suppose you add the line SHELL=NEWCMDP.COM to your CONFIG.SYS file, and suppose the NEWCMDP.COM command interpreter accepts the switches /C, /P, and /E. You can now use any of these switches on the SHELL command line. Thus, the following command would be valid: shell=newcmdp.com /c /p /e The SHELL command is the preferred method of using COMMAND to increase the size of the environment. To increase the environment size to 512 bytes, add the following command to your CONFIG.SYS file: shell=command.com /e:512 /p To start an MS-DOS command interpreter located in the directory OLD on drive C, add the following command to your CONFIG.SYS file: shell=c:\old\command.com c:\old /e:256 /p For information about COMMAND.COM switches, see the COMMAND command. ©sideway ID: 110700257 Last Updated: 7/30/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() 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 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019