home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / command.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.6 KB  |  30 lines

  1. COMMAND [d:][pathname] [console] [/P] [/E:nn] [/C command]
  2.  
  3. COMMAND is an external command. It is the part of your operating system that
  4. responds to the commands you enter on the keyboard. For information about the
  5. COMMAND.COM program, see the NEW_TERMS COMMAND.COM topic. 
  6.  
  7. [d:][pathname] specifies the directory pathname of the COMMAND.COM to be used.
  8.     If not specified, the one in the COMSPEC environment variable will be used.
  9.  
  10. [console] specifies the new console to be used until COMMAND.COM terminates. 
  11.     This option doesn't work on some versions of DOS. (The CTTY topic explains 
  12.     what a console is used for.)
  13.  
  14. /P retains this COMMAND.COM permanently in memory until the system is rebooted.
  15.     Otherwise, when <command> terminates or an EXIT command is entered from the
  16.     keyboard, COMMAND.COM terminates and changes made to the DOS environment 
  17.     space will be lost. When /P is present, AUTOEXEC.BAT will be processed 
  18.     before further commands are accepted from the keyboard.
  19.  
  20. /E specifies the size of the DOS environment space where SET variables are
  21.     stored. For DOS 3.1, nn is the number of 16-character paragraphs to be
  22.     allocated (maximum of 62 paragraphs, default of 10). For later levels of 
  23.     DOS, it is the number of characters to allocate (minimum of 128, maximum 
  24.     of 32767, default is 620). May not work with the COMMAND command on some
  25.     versions of DOS; use the SHELL line in the CONFIG.SYS file instead.
  26.  
  27. /C causes <command> to be executed. If present, this option must be last.
  28.     Everything after /C is treated as part of <command>. <command> can be
  29.     a BATCH command.
  30.