home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / config / shell / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  2.0 KB  |  38 lines

  1.                                 SHELL
  2.  
  3.     SHELL=[d1:][pathname1]filename1[.ext1] [d2:][pathname2] /P [/E:nn]
  4.                             [/MSG]    [new DOS 4.0]
  5.  
  6. [d1:][pathname1]filename1[.ext1] is the name and pathname of the program to 
  7.     be loaded at system startup time to respond to (process) command lines 
  8.     entered from the keyboard, sometimes called the command processor. The
  9.     program is usually COMMAND.COM. On a system with a hard disk, C:\ is
  10.     typically the pathname used, and A:\ is typically the pathname on a 
  11.     system with diskettes only. 
  12.  
  13. [d2:][pathname2] is the pathname to be used after system startup if the program
  14.     needs to be reloaded from disk into memory. An environment variable COMSPEC
  15.     is created in the DOS environment space to save this path. If the program
  16.     is to be reloaded from a virtual disk, don't use this. Instead, COPY it
  17.     to the virtual disk in AUTOEXEC.BAT, and follow the COPY with a SET COMPSEC
  18.     command.
  19.  
  20. /P keeps the program from trying to unload itself when EXIT is entered from
  21.    the keyboard, or when AUTOEXEC.BAT terminates (if it is executed, which
  22.    may not happen without the /P option). Not required, but should be.
  23.  
  24. /E specifies the size of the DOS environment space where SET variables are
  25.     stored. For DOS 3.1, nn is the number of 16-character paragraphs to be
  26.     allocated (maximum of 62, default is 10). For later levels of DOS, it is
  27.     the number of characters to allocate (minimum of 160, maximum of 32767, 
  28.     default is 620).
  29.  
  30. /MSG causes error messages to be read into memory at boot time for later
  31.     display on the screen, rather than being read in from disk as needed.
  32.  
  33. The SHELL line permits you to write and install your own program to process  
  34. command lines. The options described above assume that the program used is
  35. some version of COMMAND.COM. A more frequent use of the SHELL line is to expand
  36. the DOS environment space with the /E option so that a long PATH can coexist 
  37. with several environment variables. 
  38.