home *** CD-ROM | disk | FTP | other *** search
/ C/C++ User's Journal & Wi…eveloper's Journal Tools / C-C__Users_Journal_and_Windows_Developers_Journal_Tools_1997.iso / sysembed / commands.drh < prev    next >
Encoding:
Text File  |  1996-09-11  |  3.2 KB  |  64 lines

  1. [ 4. COMMAND.COM Commands]
  2.           GENERAL SOFTWARE EMBEDDED DOS-ROM 6.22 [tm] COMMANDS
  3. ═════════════════════════════════════════════════════════════════════════
  4. Embedded DOS-ROM 6.22 actually supports TWO command interpreters.  In
  5. its standard form, it loads COMMAND.COM from the boot device, executing
  6. it from RAM as other DOSes do.  Additionally, Embedded DOS-ROM 6.22 can
  7. be reconfigured to enable its INTERNAL command interpreter, which runs
  8. as a part of the DOS kernel, FROM ROM.  Finally, while the internal
  9. command interpreter is limited to save space, with the full-featured
  10. COMMAND.COM, the DOS supports 60 standard DOS commands.
  11.  
  12. KEY POINTS:
  13.  
  14.    1.   STANDARD COMMAND INTERPRETER CAN LOAD FROM BOOT DISK
  15.    2.   OPTIONAL COMMAND INTERPRETER BUILT-INTO DOS KERNEL SAVES RAM
  16.    3.   EMBEDDED DOS-ROM 6.22 SUPPORTS STANDARD MS-DOS COMMANDS
  17.  
  18. STANDARD COMMAND.COM
  19.  
  20. The standard COMMAND.COM is an MS-DOS compatible COMMAND.COM that
  21. looks very much like its MS-DOS counterpart.  It has the same piping,
  22. redirection, and DOS commands you're used to on desktop PCs.
  23.  
  24. By default, Embedded DOS-ROM loads this file from the default boot
  25. device, which can be a floppy, hard disk, or ROM disk.  If you don't
  26. need a COMMAND.COM interpreter, then you can use SHELL= in CONFIG.SYS
  27. to cause Embedded DOS-ROM 6.22 to run your program immediately, or you
  28. can simply name your application program "COMMAND.COM" and cause it
  29. to run right away as though it were COMMAND.COM.
  30.  
  31. OPTIONAL BUILT-IN COMMAND.COM
  32.  
  33. The built-in command interpreter is a "tiny" version of COMMAND.COM
  34. that runs as a part of the Embedded DOS-ROM 6.22 code segment directly
  35. from ROM.  That is, there is no file to load from a boot device.
  36. This command interpreter supports most of the commonly-used MS-DOS
  37. commands such as DIR, TYPE, COPY, RENAME, MD, RD, etc.  Command line
  38. arguments are limited to save ROM space.  Commonly, this built-in
  39. command interpreter is used to either run the application program,
  40. or run the full-featured COMMAND.COM program, which allows full
  41. access to the features of its MS-DOS equivalent.
  42.  
  43. STANDARD USER-LEVEL COMMANDS
  44.  
  45. The following commands are provided by Embedded DOS-ROM 6.22,
  46. either as utility programs (FDISK, CHKDSK, etc.) or as internal
  47. commands in the standard or internal command interpreters:
  48.  
  49. ask             diskcomp                label           rename
  50. attrib          diskcopy                lh              rmdir
  51. break           diskview                loadhigh        set
  52. call            echo                    md              share
  53. cd              era                     mem             shift
  54. chdir           erase                   mkdir           sort
  55. chkdsk          exit                    mode            switch
  56. cls             fdisk                   more            time
  57. copy            find                    path            tree
  58. ctty            for                     pause           truename
  59. date            format                  prompt          type
  60. del             goto                    rd              ver
  61. delay           help                    reboot          verify
  62. deltree         if                      rem             vol
  63. dir             intersvr                ren             xcopy
  64.