Command: FreeCom (command.com)

  FREECOM (command.com) starts a new copy of the FreeDOS command shell.

Syntax:

  COMMAND [[drive]path] [device] [/E:nnnnn] [/L:nnnn] [/U:nnn] [/P] [/MSG]
          [/LOW] [/Y [/[C|K] command]]
  COMMAND [/?]
          [drive]path  Specifies the directory containing COMMAND.COM, 
                       e.g. C:\example\
          drive        The drive letter, e.g. C:
          path         The directory, e.g. \example\
          device       Specifies the device to use for command input and 
                       output.

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

Options:

  /E:nnnnn    Sets the initial environment size to nnnnn bytes.
              (nnnnn should be between 256 and 32,768).
  /L:nnnn     Specifies internal buffers length (requires /P as well).
              (nnnn should be between 128 and 1,024).
  /U:nnn      Specifies the input buffer length (requires /P as well).
              (nnn should be between 128 and 255).
  /P          Makes the new command shell permanent (can't exit).
  /MSG        Stores all error messages in memory (requires /P as well).
  /LOW        Forces the command shell to keep its resident data in
              low memory.
  /Y          Steps through the batch program specified by /C o
  /C command  Executes the specified command and returns
  /K command  Executes the specified command and continues           
  /?          Shows the help

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

Comments:

  [drive]path  The drive and path where the shell is to look for the 
               transient part of the program.  This is usually only 
               needed to set the COMSPEC.
  device       An alternate device for all i/o.
  /e:nnnnn     The environment size, in bytes, in the range 160-32768.  
               This number will be rounded up the nearest 16 bytes.  
               The default is 256.
  /p           Makes the shell permanent, so the EXIT command does 
               not exit the shell.
  /c {string}  Executes the command in {string}, then exits.
  /msg         Loads any error messages that might be stored on disk 
               into memory.
  Command (command.com) is also named FreeCom. It contains a lot of 
  internal commands which need no other file in order to work. You can 
  find the list of internal commands here.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

Examples:

  C:\command /E:1024 /L:1024 /U:128 /P
  command /?

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  exit
  kernel
  shell

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

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.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.