home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / t / t100 / 4.ddi / HELPARC.EXE / NDOS.HLP (.txt) next >
Encoding:
Peter Norton Computing Help  |  1991-08-05  |  275.6 KB  |  7,496 lines

  1. PNCIBHDMK
  2. About NDOS
  3. -HELP-          About NDOS Help
  4. -EDITING-       Command Line Editing
  5. -VARS-          NDOS Environment Variables
  6. -FUNCS-         NDOS Variable Functions
  7. -ANSI-          ANSI Console Driver
  8. ?               Display NDOS Commands                   NDOS
  9. ALIAS           Assign substitute command names         NDOS
  10. ATTRIB          View or change file attributes          NDOS
  11. BEEP            Make a noise                            NDOS
  12. BREAK           Control-Break checking                  NDOS
  13. CALL            Call a batch file                       NDOS
  14. CANCEL          Terminate batch file processing         NDOS
  15. CD              Change directory                        NDOS
  16. CDD             Change drive and directory              NDOS
  17. CHCP            Change Code Page                        NDOS
  18. CHDIR           Change directory                        NDOS
  19. CLS             Clear the screen                        NDOS
  20. COLOR           Set the screen colors                   NDOS
  21. COPY            Copy files                              NDOS
  22. CTTY            Change console device                   NDOS
  23. DATE            Show or set the date                    NDOS
  24. DEL             Erase files                             NDOS
  25. DELAY           Pause for a specified time              NDOS
  26. DESCRIBE        Add descriptions to files               NDOS
  27. DIR             Display list of files                   NDOS
  28. DIRS            Display the directory stack             NDOS
  29. DRAWBOX         Draw a box                              NDOS
  30. DRAWHLINE       Draw a horizontal line                  NDOS
  31. DRAWVLINE       Draw a vertical line                    NDOS
  32. ECHO            Display a message                       NDOS
  33. ENDLOCAL        Restore saved environment               NDOS
  34. ERASE           Erase files                             NDOS
  35. ESET            Edit environment variables              NDOS
  36. EXCEPT          Exclude files from command              NDOS
  37. EXIT            Exit secondary command processor        NDOS
  38. FOR             Repeat a command                        NDOS
  39. FREE            Display disk space usage                NDOS
  40. GLOBAL          Execute command on directory tree       NDOS
  41. GOSUB           Call a batch file subroutine            NDOS
  42. GOTO            Goto a batch file label                 NDOS
  43. HISTORY         Command history list                    NDOS
  44. IF              Conditional command execution           NDOS
  45. IFF             Conditional command execution           NDOS
  46. INKEY           Wait for a key                          NDOS
  47. INPUT           Wait for user input                     NDOS
  48. KEYSTACK        Feed keystrokes to a program            NDOS
  49. LH              Load a program in high DOS memory       NDOS
  50. LIST            Display a file with scrolling           NDOS
  51. LOADBTM         Switch batch file .BTM mode             NDOS
  52. LOADHIGH        Load a program in high DOS memory       NDOS
  53. LOG             Save command log to a file              NDOS
  54. MD              Make a directory                        NDOS
  55. MEMORY          Display memory usage                    NDOS
  56. MKDIR           Make a directory                        NDOS
  57. MOVE            Move a file                             NDOS
  58. NDOS            Secondary command shell                 NDOS
  59. PATH            Display or create the program path      NDOS
  60. PAUSE           "Press a key when ready..."             NDOS
  61. POPD            Change to directory on top of stack     NDOS
  62. PROMPT          Change the command line prompt          NDOS
  63. PUSHD           Add the current directory to stack      NDOS
  64. QUIT            Terminate the current batch file        NDOS
  65. RD              Remove a directory                      NDOS
  66. REM             Put a remark in a batch file            NDOS
  67. REN             Rename a file                           NDOS
  68. RENAME          Rename a file                           NDOS
  69. RETURN          Return for batch file GOSUB             NDOS
  70. RMDIR           Remove a directory                      NDOS
  71. SCREEN          Position cursor on screen               NDOS
  72. SCRPUT          Display message at specific location    NDOS
  73. SELECT          Execute command on selected files       NDOS
  74. SET             Set an environment variable             NDOS
  75. SETDOS          Set NDOS configuration variables        NDOS
  76. SETLOCAL        Save the current environment            NDOS
  77. SHIFT           Shift batch file variables              NDOS
  78. SWAPPING        Control NDOS swapping state             NDOS
  79. TEE             Copy input to output device and file    NDOS
  80. TEXT            Display a block of text                 NDOS
  81. TIME            Show or set the time                    NDOS
  82. TIMER           Control system stopwatch                NDOS
  83. TYPE            Type a file to the console              NDOS
  84. UNALIAS         Remove an alias from the list           NDOS
  85. UNSET           Remove an environment variable          NDOS
  86. VER             Display the NDOS and DOS versions       NDOS
  87. VERIFY          Control disk write verification         NDOS
  88. VOL             Display disk volume labels              NDOS
  89. Y               Copy input, then files to output        NDOS
  90. BE command      Norton Batch Enhancer commands          NDOS
  91. BE ASK          Wait for a specified keypress           NDOS
  92. BE BEEP         Beep the speaker                        NDOS
  93. BE BOX          Draw a box on the screen                NDOS
  94. BE CLS          Clear the screen (and specify color)    NDOS
  95. BE DELAY        Pause processing                        NDOS
  96. BE EXIT         Exit BE script file                     Norton
  97. BE GOTO         Goto label                              Norton
  98. BE JUMP         Conditional branching                   Norton
  99. BE MONTHDAY     Determine the day of the month          NDOS
  100. BE PRINTCHAR    Display a character                     NDOS
  101. BE REBOOT       Reboot the computer                     NDOS
  102. BE ROWCOL       Position the cursor                     NDOS
  103. BE SA           Control colors and attributes           NDOS
  104. BE SHIFTSTATE   Return the keyboard status              NDOS
  105. BE TRIGGER      Halt until a specified time             NDOS
  106. BE WEEKDAY      Return the day of the week              NDOS
  107. BE WINDOW       Draw a solid rectangle                  NDOS
  108. APPEND          Set search path for data files          MS-DOS
  109. ASSIGN          Assign alternate drive letter           MS-DOS
  110. BACKUP          Backup files                            MS-DOS
  111. CHKDSK          Check and report on disk information    MS-DOS
  112. COMMAND         Command processor                       MS-DOS
  113. COMP            Compare files                           MS-DOS
  114. DEBUG           Program debugger                        MS-DOS
  115. DISKCOMP        Compare disks                           MS-DOS
  116. DISKCOPY        Copy disks                              MS-DOS
  117. DOSKEY          DOS command history                     MS-DOS
  118. DOSSHELL        Graphical interface for DOS             MS-DOS
  119. EDIT            Full screen text editor                 MS-DOS
  120. EDLIN           Line Editor                             MS-DOS
  121. EMM386          Expanded memory manager                 MS-DOS
  122. EXE2BIN         Convert .EXE files to binary format     MS-DOS
  123. EXPAND          Expand compressed files                 MS-DOS
  124. FASTOPEN        Keep open file information in memory    MS-DOS
  125. FC              File comparison                         MS-DOS
  126. FDISK           Configure a hard disk                   MS-DOS
  127. FIND            Search for a text string in files       MS-DOS
  128. FORMAT          Format a disk                           MS-DOS
  129. GRAFTABL        Load graphics-mode characters (CGA)     MS-DOS
  130. GRAPHICS        Enable printing of graphics screens     MS-DOS
  131. JOIN            Connect a drive/directory to another    MS-DOS
  132. KEYB            Change keyboard to non-U.S.             MS-DOS
  133. LABEL           Display or change disk volume label     MS-DOS
  134. MEM             Display memory usage                    MS-DOS
  135. MIRROR          Record disk information                 MS-DOS
  136. MODE            Control device operations               MS-DOS
  137. MORE            Pause output at screen-full             MS-DOS
  138. NLSFUNC         National Language Support               MS-DOS
  139. PRINT           Queue files for printing                MS-DOS
  140. QBASIC          BASIC programming                       MS-DOS
  141. RECOVER         Recover a file with bad sector          MS-DOS
  142. REPLACE         Replace files with different ones       MS-DOS
  143. RESTORE         Restore a backup                        MS-DOS
  144. SETVER          Set DOS version number                  MS-DOS
  145. SHARE           Support for network file sharing        MS-DOS
  146. SORT            Sort text lines                         MS-DOS
  147. SUBST           Substitute a drive for a path           MS-DOS
  148. SYS             Load system files to a disk             MS-DOS
  149. TREE            Display directory tree                  MS-DOS
  150. UNDELETE        Recover deleted or erased files.        MS-DOS
  151. XCOPY           Extended file copying                   MS-DOS
  152. CALIBRAT        Calibrate a hard disk                   Norton
  153. DE              Disk Editor                             Norton
  154. DISKEDIT        Disk Editor                             Norton
  155. DISKMON         Disk Monitor                            Norton
  156. DISKREET        Data Security                           Norton
  157. DISKTOOL        Disk Tools                              Norton
  158. DS              Directory Sort                          Norton
  159. EP              Erase Protect                           Norton
  160. FA              File Attributes                         Norton
  161. FD              File Date                               Norton
  162. FF              File Find                               Norton
  163. FILEFIND        File Find                               Norton
  164. FILEFIX         File Fix                                Norton
  165. FL              File Locate                             Norton
  166. FS              File Size                               Norton
  167. IMAGE           Image                                   Norton
  168. LP              Line Print                              Norton
  169. NCACHE          Norton Cache                            Norton
  170. NCC             Norton Control Center                   Norton
  171. NCD             Norton Change Directory                 Norton
  172. NDD             Norton Disk Doctor                      Norton
  173. NORTON          Norton Utilities                        Norton
  174. SD              Speed Disk                              Norton
  175. SF              Safe Format                             Norton
  176. SFORMAT         Safe Format                             Norton
  177. SI              System Information                      Norton
  178. SPEEDISK        Speed Disk                              Norton
  179. SYSINFO         System Information                      Norton
  180. TS              Text Search                             Norton
  181. UNERASE         UnErase                                 Norton
  182. UNFORMAT        UnFormat a disk                         Norton
  183. WIPEINFO        Wipe Information                        Norton
  184. DOS, the disk operating system, is composed of a number of 
  185. program files, three of which make up the core.  For MS-DOS
  186. these are named IO.SYS, MSDOS.SYS, and COMMAND.COM.
  187. (PC-DOS calls them IBMBIO.COM, IBMDOS.COM, and COMMAND.COM.)
  188. The first two programs control computer operations; the third,
  189. COMMAND.COM, issues prompts to the user, interprets commands,
  190. loads and executes programs, and interprets batch files.
  191. COMMAND.COM is the default command processor whenever the
  192. computer is booted.
  193. NDOS replaces COMMAND.COM, the command interpreter that comes
  194. with all versions of MS-DOS and PC-DOS.
  195. You'll find NDOS provides a wide variety of capabilities
  196. COMMAND.COM can't, ranging from a vastly enhanced DIR command,
  197. to point-and-shoot file selection for any command, to the
  198. ability to completely redefine your system's commands.
  199. Yet NDOS is fully compatible with COMMAND.COM.
  200. NDOS is a "DOS shell" (a program that gives you access to DOS
  201. functions and commands), but it's unlike most DOS shells on
  202. the market.  Virtually all of these other shells are designed
  203. to isolate the novice user from the DOS command line.  NDOS,
  204. on the other hand, is intended to make DOS easier to use and
  205. to make you more productive while working at the command line.
  206. It provides enhancements to most of the DOS commands, as well
  207. as more than 40 new commands.  These improvements make NDOS a
  208. much richer and more powerful working environment than
  209. COMMAND.COM, without sacrificing the compatibility,
  210. flexibility and control you get from working at the command
  211. line.
  212.  Copyright 1991 by Symantec Corporation
  213.  All Rights Reserved.
  214.  Portions Copyright 1988 - 1991 by 
  215.  Rex C. Conn and J.P. Software Incorporated
  216.  All Rights Reserved.
  217. Use ^r^C19^r ^r^C18^r ^rPgDn^r ^rPgUp^r to scroll through this help entry.
  218. ^bNote:^b For quick help at the command line 
  219.  a brief screen
  220. displaying the correct syntax and switches for a particular
  221. command 
  222.  enter
  223.  ^uc:\>^u ^bcommand /?^b
  224. where command is the command of interest.
  225. This online help system for NDOS includes all NDOS internal
  226. commands, the DOS external commands, and the Norton Utilities.
  227. MS-DOS 5.0 is the baseline version used to describe the
  228. external DOS commands. Because MS-DOS and PC-DOS are
  229. essentially the same from the command line, the term "DOS"
  230. refers to both MS-DOS and PC-DOS throughout. 
  231. Continue through this help entry for information on the
  232. following topics:
  233.  ^b^C07^b How To Get Help
  234.  ^b^C07^b The Index to Help Topics
  235.  ^b^C07^b The Help Screen
  236.  ^b^C07^b Conventions Used for Command Syntax
  237.  ^b^C07^b Definitions of Recurring Elements
  238. ^bHow To Get Help^b
  239. Press the ^rF1^r key at any time in NDOS to bring up this help
  240. system. If there is a command already entered on the command
  241. line, the entry for that command is displayed. If not, the
  242. help index is presented. Alternatively, you can enter
  243.  ^uc:\>^u ^bHELP [command]^b
  244. to bring up the help system (the command parameter is
  245. optional).
  246. ^bThe Index to Help Topics^b
  247.  Help 
  248.   ^bHelp for NDOS^b
  249.  The First Topic
  250.  ^r^C18^r 
  251.   ^bUse^b ^r^C18^r ^band^b ^r^C19^r
  252. ^r The Second Topic
  253.   ^bto scroll the^b
  254.  And So Forth
  255.   ^blist.^b
  256.  And So On
  257.  ^r^C19^r 
  258.  ^b[^b  ^uH^u^belp^b  ^b]^b
  259.  [ ^uC^uancel ]
  260.  ^b^C1e^b
  261.  ^b^C1e^b
  262.   ^r H ^r ^bor^b ^rEnter^r ^bexpand
  263.  ^r C ^r ^bor^b ^rEsc^r ^bto get^b
  264.   ^bthe highlighted topic.^b
  265.  ^bback to the program^b.
  266.   ^bNote:^b on a monochrome display, the highlighted pushbutton
  267.   will look like [^C10 Help ^C11]. The "Button arrows" can be chosen
  268.   for any display as a configuration option from the NUCONFIG
  269.   program.
  270. ^bThe Help Screen^b
  271.  Help 
  272.   ^bTitle of This Help Topic^b
  273.  The entry is here with syntax,
  274.  ^r^C18^r 
  275.   ^r^C18^r ^bOn short^b
  276.  purpose, comments, examples, and
  277.  ^btopics that^b
  278.  plenty of usage tips.
  279.  ^bcan't scroll,^b
  280.  ^bthe scrollbar^b
  281.  ^blooks like^b
  282. $ ^r^C19^r 
  283.   ^r^C19^r ^bthis.^b
  284. ^b[^b ^uN^u^bext^b ^b]^b[ ^uP^urevious ][ ^uT^uopics ][ ^uC^uancel ]
  285.   ^b^C1e^b
  286.  ^b^C1e^b
  287.  ^b^C1e^b
  288.      ^b^C1e^b
  289. ^rEnter^r ^bwill
  290.  Press 
  291.  ^rEsc^r ^bis ALWAYS^b
  292. ^bactivate the^b
  293.  ^r P ^r ^bor^b ^r T ^r
  294.  ^bthe same as^b
  295. ^bhighlighted
  296.  or point^b
  297.      ^bselecting^b ^b[Cancel]^b.
  298. ^bpushbutton.
  299.  and click.^b
  300. The ^b[Next]^b and ^b[Previous]^b buttons let you browse through the
  301. topics sequentially. ^b[Topics]^b gets you back to the help index.
  302.  ^uFor mouse users:^u If a help entry contains a highlighted 
  303.  cross-reference to another command, for example
  304.      See ^rALIAS^r.
  305.  double click on the highlight to jump to the entry for
  306.  that command.
  307. ^bConventions Used for Command Syntax^b
  308. ^bUPPERCASE^b  Commands, keywords, and switches are shown in
  309.  uppercase and must be entered as shown. (You can,
  310.  of course, enter them in lowercase.)
  311. ^blowercase^b  Parameters that you replace with your own entry,
  312.  such as the name of a file, are shown in
  313.  lowercase.
  314.  ^b[ ]^b  Square brackets indicate an optional parameter or
  315.  switch. The brackets themselves are not entered.
  316.  ^b|^b  The vertical bar means use only one of the options
  317.  presented.
  318. .^b  The ellipses means you can repeat the preceding
  319.  option as many times as necessary.
  320. ^bDefinitions of Recurring Elements^b 
  321.  ^bdrive^b  The letter designating a hard or floppy drive. A
  322.  colon (:) must follow the drive letter.
  323.  ^bpath^b  The directory location. 
  324.  ^bfilename^b  The name of a file (including any filename
  325.  extension). The wildcard characters (* and ?) can
  326.  be used with most filenames.
  327.  ^bpathname^b  Drive, path, and filename. If the drive is
  328.  omitted, the default drive is assumed. If the
  329.  directory is omitted, the current directory is
  330.  assumed.
  331.   ^bcommand^b  Any internal NDOS or external DOS command, batch
  332.  file, or other executable program, including its
  333.  command line parameters.
  334.  ^bspace^b  A space is used to separate the elements on the
  335.  command line. You could also use commas.
  336. ^bparameter^b  Provides additional information to a command.
  337.  Parameters that are replaced with your own entry
  338.  are shown in lowercase.
  339.  ^bswitch^b  A command line control option.
  340.  ^b/^b  The forward slash always precedes a switch.
  341.  For the ^uNDOS internal commands^u, most applicable
  342.  switches can be grouped after a single forward
  343.  slash. Or, a separate slash can be placed before
  344.  each switch (like DOS). The ^uDOS external commands^u
  345.  require a separate slash preceding each switch.
  346. ^b  The caret is the default character used to
  347.  separate multiple commands on a single line. (The
  348.  character can be changed by setting the COMPOUND
  349.  variable with the ^rSETDOS^r command.)
  350.  ^b"^b  Command line arguments enclosed in double quotes
  351.  may contain white space. (See ^uArgument Quoting^u
  352.  in the NDOS manual.)
  353.  ^b`^b  Command line arguments enclosed in single back
  354.  quotes will not be processed for alias or variable
  355.  expansion, or I/O redirection. (See ^uArgument^u
  356.  ^uQuoting^u and ^uI/O Redirection^u in the NDOS manual.)
  357.  ^b;^b  Commands, such as COPY, LIST, and SELECT, that
  358.  take multiple files as an argument for input files
  359.  will also accept an ^uinclude list^u. Join the
  360.  filenames or file specifications (using * and ?)
  361.  on the command line with semicolons and ^bno spaces^b.
  362.  Only the first file in an include list can have a
  363.  path; subsequent filenames default to the same
  364.  path. 
  365.  For example, copy two groups of files to drive A
  366.  and only specify the path once:
  367.  ^ud:\book>^u ^bcopy c:\wp\text\note*.txt^b;^btr*.doc a:^b
  368.  No Spaces 
  369. ^bCommand Line Editing^b
  370. NDOS provides a 255 character command line, with full editing
  371. capability. The following keys have special meaning (the
  372. caret ^^ means press the Ctrl key together with the specified
  373. key):
  374.   ^bLeft Arrow^b  Move the cursor left one character.
  375.  ^bRight Arrow^b  Move the cursor right one character.
  376.  ^bUp Arrow^b  Recall the previous command from the history
  377.  list, or match a partial command entry with
  378.  a history list entry.
  379.   ^bDown Arrow^b  Recall the next command from the history 
  380.  list, or match a partial command entry with
  381.  a history list entry.
  382.  ^b^^Left Arrow^b  Move the cursor left one word.
  383. ^b^^Right Arrow^b  Move the cursor right one word.
  384.  ^bHome^b  Move the cursor to the beginning of the line.
  385.  ^b^^Home^b  Delete from the beginning of the line to 
  386.  the character preceding the cursor.
  387.      ^bEnd^b  Move the cursor to the end of the line.
  388.  ^b^^End^b  Delete from the cursor to the end of the line.
  389.      ^bIns^b  Toggle between insert and overstrike mode.
  390.      ^bDel^b  Delete the character at the cursor.
  391.  ^bBackspace^b  Delete the character to the left of the 
  392.  cursor.
  393.  ^bEnter^b  Execute the command.
  394.      ^bEsc^b  Erase the entire line.
  395.  ^b^^L^b  Delete the word to the left of the cursor.
  396.  ^b^^R^b or ^b^^Bksp^b  Delete the word to the right of the cursor.
  397.  ^b^^C^b  Cancel the command.
  398.  ^b^^D^b  Delete the history list entry, erase the
  399.  line, and display the previous history entry.
  400.  ^b^^K^b  Save the command to the history list without
  401.  executing it, and erase the line.
  402.  ^bF1^b  Call the on-line help.
  403.  ^bF3^b  Repeat or complete the previous line from the 
  404.  history list (as in COMMAND.COM).
  405.  ^bAlt-255^b  (Hold down the ^bAlt^b key and enter ^b255^b on the
  406.  numeric keypad.) Accept the next character
  407.  "as-is" from the keyboard and enter it on the
  408.  command line. This allows you to enter
  409.  characters normally interpreted as NDOS editing
  410.  keys (for example, ^bEsc^b). To enter the Alt-255
  411.  character itself into the line, you must type it
  412.  twice.
  413. ^bFilename Completion^b
  414.  ^bF9^b or ^bTab^b  An ^bF9^b or ^bTab^b will scan the filename 
  415.  (which can include the wildcard characters 
  416.  * and ?) at or immediately to the left of the
  417.  cursor position, and replaces it with the 
  418.  first matching filename. Pressing ^bF9^b or ^bTab^b
  419.  again replaces it with the next matching 
  420.  filename.
  421.      ^bF10^b  Pressing ^bF10^b appends the next matching 
  422.  filename at the current cursor position.
  423.  ^bF8^b or  Pressing ^bF8^b or ^bShift-Tab^b will retrieve the
  424.  ^bShift-Tab^b  previous matching filename. 
  425. ^bF9^b defaults to ^b*.*^b if you don't enter a filename. ^bF9^b appends
  426. a ^b.*^b if you don't enter an extension.
  427. ^bEnvironment Variables^b
  428. Environment variables are referenced in a command by starting
  429. the variable name with a percent sign (%). Two percent signs
  430. in a row (%%) signify a percent sign character. An
  431. environment variable name is terminated by either another
  432. percent sign, or by an invalid character (see below). To pass
  433. a variable name (instead of the value) to a command (for
  434. example, in INKEY or INPUT), you must precede it with two
  435. percent signs.
  436. Environment variable names may be composed of any alphanumeric
  437. character, plus the _ (underscore) and $ characters. In
  438. addition to the standard variable name characters, you can
  439. force NDOS to accept any sequence of characters as a valid
  440. variable name by enclosing it them square brackets. For
  441. example, ^b%[AB##1]^b refers to an environment variable named
  442. AB##1.
  443. There are some variable names that have special meanings in
  444. NDOS. Only CMDLINE, DIRCMD, PATH and TEMP are actually stored
  445. in the environment; the remainder are internal to NDOS, and
  446. cannot be viewed or modified with SET or ESET. (The internal
  447. variable names are checked after variable expansion, so they
  448. can be overridden by creating an environment variable of the
  449. same name.)
  450.  ^b#^b returns the number of command line arguments in a batch
  451.  file. ^b%#^b only works in batch files, not aliases.
  452.  ^b?^b returns the exit code of the last external program.
  453.  This allows you to save an exit code in another variable
  454.  and then process it later, or to see what a program is
  455.  actually returning.
  456.  ^bCMDLINE^b is the fully expanded 255-character command line.
  457.  You can access it from an external program by searching
  458.  the environment.
  459.  ^bDIRCMD^b is the default format for the DIR command. You can
  460.  set it to any valid combination of DIR switches.
  461.  ^bPATH^b tells NDOS where to search for executable files
  462.  (.COM, .EXE, .BTM and .BAT) not in the current
  463.  directory. Some applications also use the PATH variable
  464.  to find their files.
  465.  ^bTEMP^b specifies where NDOS should put the temporary pipe
  466.  files (see Redirection in the NDOS manual).
  467.  ^b_BG^b is the screen background color at the current cursor
  468.  position (returned as a three-character string).
  469.  ^b_COLUMNS^b is the current number of screen columns.
  470.  ^b_CPU^b is the cpu type, returned as a string:
  471.      86  8086 and 8088
  472.  186  80186 and 80188
  473.  200  NEC V20 and V30
  474.  286  80286
  475.  386  80386 and 80486
  476.  ^b_CWD^b is the current directory in the format d:\pathname.
  477.  ^b_CWDS^b has the same value as CWD, except it ensures the
  478.  pathname ends in a backslash (\).
  479.  ^b_CWP^b is the current directory in the format \pathname.
  480.  ^b_CWPS^b has the same value as CWP, except it ensures the
  481.  pathname ends in a backslash (\).
  482.  ^b_DATE^b contains the current system date, in the format
  483.  mm-dd-yy (U.S.), dd-mm-yy (Europe), or yy-mm-dd (Japan).
  484.  ^b_DISK^b is the current disk (for example, C).
  485.  ^b_DOSVER^b is the current DOS version (for example, 3.3).
  486.  ^b_DOW^b is the current day (Mon, Tue, Wed, etc.).
  487.  ^b_FG^b is the screen foreground color at the current cursor
  488.  position (returned as a three-character string).
  489.  ^b_MONITOR^b returns MONO or COLOR for monitor type.
  490.  ^b_NDP^b is the coprocessor type, returned as a string:
  491. 0  no coprocessor is installed
  492.  087  8087
  493.  287  80287
  494.  387  80387 or 80486
  495.  ^b_ROWS^b is the current number of screen rows.
  496.  ^b_SHELL^b is the current shell nesting level (in swapping
  497.  mode). The root shell is 0. If you are not in swapping
  498.  mode, _SHELL returns 99.
  499.  ^b_TIME^b contains the current system time in the format
  500.  hh:mm:ss. The separator character may vary depending
  501.  depending upon your country information. (See ^rCHCP^r.)
  502.  ^b_VIDEO^b returns MONO, CGA, EGA, or VGA for the video 
  503.  card type.
  504. ^bVariable Functions^b
  505. Variable Functions are pseudo-variables which take one or
  506. more arguments (which can be environment variables or
  507. variable functions themselves), and return a value. 
  508. Like all environment variables, when used they must be
  509. preceded by a % sign (%@eval, %@len, and so on). All variable
  510. functions must have square brackets enclosing their
  511. argument(s).
  512.  ^b@attrib[filename,RHSDA]^b tests whether the file has the
  513.  specified attribute or attributes set. Returns 0 (false)
  514.  or 1 (true). Use any combination of R (Read-only), 
  515.  H (Hidden), S (System), D (Directory), A (Archive) or 
  516.  N (No attributes set).
  517.  ^b@diskfree[drive:,B|K|M]^b returns the free disk space on 
  518.  the specified drive. Specify B(ytes), K(ilobytes) or 
  519.  M(egabytes).
  520.  ^b@dosmem[B|K|M]^b returns the amount of free DOS memory. 
  521.  Specify B(ytes), K(ilobytes) or M(egabytes).
  522.  ^b@ems[B|K|M]^b returns the amount of free expanded memory.
  523.  Specify B(ytes), K(ilobytes) or M(egabytes).
  524.  ^b@eval[expression]^b evaluates an arithmetic expression. It
  525.  supports addition (+), subtraction (-), multiplication
  526.  (*), division (/), and modulo (%%). The expression can
  527.  contain environment variables, including other variable
  528.  functions. The elements of the expression and the
  529.  result are always whole numbers (no decimals) in the
  530.  range -2,147,483,648 to +2,147,483,647. For example, if
  531.  the value of the variable "a" is 5, then
  532.  ^b%@eval[(%a*4)-2]^b would return ^b18^b.
  533.  ^b@ext[filename]^b returns the file extension (without a
  534.  leading period).
  535.  ^b@extended[B|K|M]^b returns the amount of free extended
  536.  memory. Specify B(ytes), K(ilobytes) or M(egabytes).
  537.  ^b@filesize[filename,B|K|M]^b returns the size of the 
  538.  file. Specify B(ytes), K(ilobytes) or M(egabytes).
  539.  ^b@full[filename]^b returns the fully qualified path name.
  540.  ^b@index[string1,string2]^b returns the position of string2
  541.  within string1, or -1 if string2 is not found. The
  542.  first position in string1 is numbered 0.
  543.  ^b@len[string]^b returns the length of the string.
  544.  ^b@line[filename,n]^b returns line "n" from the specified
  545.  file.
  546.  ^b@lower[string]^b returns the string converted to lowercase.
  547.  ^b@name[filename]^b returns the filename only (no path or
  548.  extension).
  549.  ^b@path[filename]^b returns the path only (including the
  550.  trailing backslash).
  551.  ^b@remote[drive]^b tests if a drive is local or remote.
  552.  Returns 0 for local drive or 1 for remote drive.
  553.  ^b@removable[drive]^b test if a drive is removable.
  554.  Returns 0 for not removable or 1 for removable.
  555.  ^b@search[filename]^b searches for the filename, using the
  556.  PATH environment variable, and append an extension
  557.  (.COM, .EXE, .BAT, .BTM, or executable extension) if one
  558.  wasn't specified.
  559.  ^b@substr[string,start,length]^b returns a substring, starting
  560.  at the position "start" and continuing for "length"
  561.  characters. If the length is negative, the start is
  562.  relative to the right side. For example,
  563.  ^b%@substr[%_time,0,2]^b gets the current time and extracts
  564.  the hour. If the string includes commas it must be
  565.  quoted with double quotes or back-quotes (" or `). The
  566.  quotes do count in calculating the position of the
  567.  substring to be extracted.
  568.  ^b@upper[string]^b returns the string converted to uppercase.
  569.  ^b@xms[B|K|M]^b returns the amount of available XMS 2.0
  570.  extended memory. Specify B(ytes), K(ilobytes) or 
  571.  M(egabytes).
  572. This section is a quick-reference to commonly-used ANSI
  573. commands. This information is generally applicable to the DOS
  574. ANSI.SYS driver as well as other ANSI drivers. See the
  575. documentation for the driver you use for more details.
  576. An ANSI.SYS command string consists of three parts:
  577.  ^bESC[^b
  578.  The ASCII character ESC, followed by a left
  579.  bracket. These two characters must be present
  580.  in all ANSI strings.
  581.  ^bparameters^b  Optional parameters for the command. If there
  582.  are multiple parameters they are separated by
  583.  semicolons.
  584.  ^bcmd^b
  585.      A single-letter command. The case of the
  586.  letter IS meaningful.
  587. For example, to position the cursor to row 7, column 12 the
  588. ANSI command is:
  589.  ESC[7;12H
  590. To transmit ANSI commands to the screen with NDOS, you should
  591. use the ^rECHO^r command. The ESC character can be generated
  592. by inserting it into the string directly (if you are putting
  593. the string in a batch file and your editor will insert such a
  594. character), or by using NDOS's internal "escape" character
  595. (Ctrl-X, appearing as 
  596. ) followed by a the letter "e" in
  597. lowercase. 
  598. For example, the sequence shown above could be transmitted
  599. from a batch file with either of these commands (the first
  600. uses an ESC character directly; the second uses 
  601.  echo 
  602. [7;12H
  603.  echo 
  604. e[7;12H
  605. You can also include ANSI commands in your prompt, using $e
  606. to transmit the ESC character. 
  607.  ^bNote:^b You cannot use PROMPT to transmit ANSI commands to
  608.  the screen from a batch file (see ^rPROMPT^r).
  609. ^bCommands^b
  610.  Command
  611.  Description
  612.  ESC[rowsA
  613.  Cursor up
  614.  ESC[rowsB
  615.  Cursor down
  616.  ESC[colsC
  617.  Cursor right
  618.  ESC[colsD
  619.  Cursor left
  620.  ESC[row;colH
  621.      Set cursor position (top left is
  622.  row 1, column 1)
  623.  ESC[2J
  624.  Clear screen
  625.  ESC[K
  626.  Clear from cursor to end of line
  627.  ESC[row;colf
  628.      Set cursor position, same as "H" 
  629.  command
  630.  ESC[=modeh
  631.  Set display mode; see table of mode
  632.  values below
  633.  ESC[=model
  634.  Set display mode; see table of mode
  635.  values below
  636.  ESC[attr;attr;
  637.  Set display attributes; see table of
  638.  attribute values below
  639.  ESC[key;string;
  640. .p  Substitute "string" for specified
  641.  key; see key substitutions below
  642.  ESC[s
  643.  Save cursor position (may not be
  644.  nested)
  645.  ESC[u
  646.  Restore cursor position after a save
  647. ^bDisplay Attributes^b
  648.  Attribute
  649.  Description
  650.      All attributes off (normal white on
  651.  black)
  652.      High intensity (bold)
  653.      Normal intensity
  654.      Underline (usually effective only on
  655.  monochrome displays)
  656.      Blinking
  657.      Reverse Video
  658.      Invisible
  659.      30-37
  660.  Set the foreground color:
  661.  30=Black  31=Red
  662.  32=Green  33=Yellow
  663.  34=Blue
  664.  35=Magenta  36=Cyan
  665.  37=White
  666.      40-47
  667.  Set the background color, same values as
  668.  above but substitute 40 for 30 etc.
  669. Settings are cumulative. To set bright red foreground, for
  670. example, first set all attributes off, then set red, then
  671. bold:  
  672.  echo 
  673. [0;31;1m.
  674. ^bDisplay Modes^b
  675.  Mode
  676.  Description
  677.  Text 40x25 monochrome
  678.  Text 40x25 color
  679.  Text 80x25 monochrome
  680.  Text 80x25 color
  681.  Graphics 320x200 4-color
  682.  Graphics 320x200 4-color
  683.  Graphics 640x200 2-color
  684.  (cursor wrap kludge)
  685. Mode 7 is an unfortunate kludge; Setting mode 7 with an "h"
  686. command tells ANSI to wrap text to the next line when it
  687. passes the end of a line; setting mode 7 with an "l"
  688. (lowercase L) command tells ANSI not to wrap text. For all
  689. other modes the "h" and "l" commands are equivalent.
  690. ^bKey Substitutions^b
  691. The key substitutions ("p" command) causes ANSI to substitute
  692. the text in "string" when the specified key is pressed. The
  693. key code can be a single character in quotes, a numeric ASCII
  694. value, or an extended code for a non-ASCII key (that is,
  695. function or cursor keys) in the form  ^b0;n^b  where n is the
  696. code for the key.
  697. The string to be substituted can be a single character or
  698. character string in quotes, a numeric ASCII value, or an
  699. extended key code.
  700. Key substitutions set up with ANSI.SYS will be in effect for
  701. NDOS and for any other program which uses DOS to read the
  702. keyboard.
  703. To clear a key substitution, "substitute" the original key for
  704. itself (see examples).
  705. ^bExamples^b
  706. Clear the display attributes, then set the display to bright
  707. cyan on blue, and clear the screen:
  708.  echo 
  709. e[0;44;36;1m
  710. Substitute "dir"<cr> for F4:
  711.  echo 
  712. e[0;62;"dir";13p
  713. Undo the above substitution:
  714.  echo 
  715. e[0;62;0;62p
  716. Set up a prompt which saves the cursor position, displays the
  717. NDOS shell level, date, and time on the top line in bright
  718. white on magenta, and then restores the cursor position and
  719. sets the color to bright cyan on blue, and displays the
  720. standard prompt (enter this on one line):
  721.  prompt $e[s$e[1;1f$e[0;45;37;1m$e[K($z)
  722.  $t$e[u
  723.  $e[0;44;36;1m$p$g
  724. ^bSYNTAX
  725.      (Internal NDOS)^b
  726. ^bPURPOSE^b
  727. Display the NDOS internal commands.
  728. ^bSYNTAX
  729.      (Internal NDOS)^b
  730. ALIAS [/P][/R pathname
  731. .] [name[=][value]]
  732. ^bPURPOSE^b
  733. Load or display the alias list, or define name as a substitute
  734. for value.
  735. ^bCOMMENTS^b
  736. Aliases are useful as a means of executing a complex series of
  737. commands with a few keystrokes. Aliases can also be used as
  738. in memory batch files, and will run much faster than
  739. disk-based batch files.
  740. If only "name" is specified, ALIAS displays the current alias
  741. value. Otherwise, ALIAS assigns the command(s) in "value" to
  742. name. Name can now be used as if it were a built-in or
  743. external command. If you don't specify any arguments, ALIAS
  744. displays the current alias list.
  745. Name is limited to no more than 80 characters, and value
  746. to no more than 255 characters.
  747. The ALIAS options are:
  748.  ^b/P^b  Pause: Halt display after each screen and wait for 
  749.  a key to be pressed.
  750.  ^b/R^b  Read: Load an alias list from a file. 
  751. Reading aliases from a file is much faster than loading
  752. aliases from a batch file. The file is in the same format as
  753. the ALIAS display, so ALIAS /R can accept as input a file
  754. generated by redirecting ALIAS output. (You can add comments
  755. to an alias file by starting the comment line with a colon.) 
  756. For example, the following commands save the aliases to a
  757. file, and then reload them from that file:
  758.  alias > alist
  759.  alias /r alist
  760. You can load aliases from multiple files by listing the
  761. filenames individually after the /R.
  762. When defining aliases at the command line, back quotes must be
  763. used around the alias arguments that contain multiple
  764. commands or variable references (%2, %&2, etc.) to prevent
  765. premature expansion. Back quotes should NOT be used when
  766. defining aliases in a file to be read with ALIAS /R.
  767. Aliases may be nested; that is, an alias can refer to another
  768. alias, but they cannot refer back to themselves (a=b=a). You
  769. can stop alias expansion by prefacing the alias with an
  770. asterisk (*). This also allows an alias to refer to a
  771. command of the same name (see below for an example).
  772. Alias names can be truncated by including an asterisk (*) in
  773. the name.
  774. To remove an alias, use the ^rUNALIAS^r command.
  775. For more information on aliases (including the use of
  776. variables), see the Aliases section in the NDOS manual, and
  777. the sample file ALIASES distributed with NDOS.
  778. ^bEXAMPLES^b
  779. Define D as an alias for DIR /W:
  780.  c:\> alias d dir /w
  781. Rename the LIST command to DISPLAY, and alias LIST to an
  782. external program:
  783.  c:\> alias display *list
  784.  c:\> alias list c:\util\list.com
  785. The following examples show the use of alias arguments:
  786.  c:\> alias zap `erase %& ^^ chkdsk ^^ dir /w`
  787.  c:\> alias reverse `echo %5 %4 %3 %2 %1`
  788. ^bSYNTAX
  789.      (Internal NDOS)^b
  790. ATTRIB [/DS] [-|+[AHRS]] [drive:][path]filename
  791. ^bPURPOSE^b
  792. Change or display file or subdirectory attributes.
  793. ^bCOMMENTS^b
  794. The ATTRIB options are:
  795.  ^b/D^b  Directory: Modify directory attributes.
  796.  ^b/S^b  Subdirectory: Include files in all subdirectories.
  797.  ^b+A^b  Set the archive attribute
  798.  ^b-A^b  Clear the archive attribute
  799.  ^b+H^b  Set the hidden attribute
  800.  ^b-H^b  Clear the hidden attribute
  801.  ^b+R^b  Set the read-only attribute (write-protected)
  802.  ^b-R^b  Clear the read-only attribute
  803.  ^b+S^b  Set the system file attribute
  804.  ^b-S^b  Clear the system file attribute
  805. NDOS will preserve the previous file attributes and change
  806. only the specified attributes. New attribute values are
  807. allowed between filenames; otherwise ATTRIB uses the same
  808. attributes specified for the previous file(s). You cannot
  809. modify the directory or volume label attributes.
  810. ATTRIB with just a file specification, will display all
  811. attributes. You can display files with specified attributes
  812. using the ^b/A^b option in ^rDIR^r.
  813. ^bEXAMPLES^b
  814. Set the read-only and hidden attributes for the file MEMO:
  815.  c:\> attrib +rh memo
  816. Set the archive attribute (file has been modified) for MEMO
  817. and change TEXT.COM to system and not modified:
  818.  c:\> attrib +a memo +s -a test.com
  819. ^bSYNTAX
  820.      (Internal NDOS)^b
  821. BEEP [frequency duration 
  822. ^bPURPOSE^b
  823. Beep the speaker.
  824. ^bCOMMENTS^b
  825. BEEP is normally used in batch files to signal that an
  826. operation has been completed, or that the computer needs
  827. attention (for example, to change disks). Because BEEP
  828. allows you to specify the frequency and duration, you can use
  829. it to play simple music. You can specify multiple
  830. frequency/duration pairs on the command line.
  831. The frequency is specified in Hertz, and the duration in
  832. 1/18th second intervals. No sound will be generated for
  833. frequencies less than 20 Hz, allowing you to insert short
  834. delays. The default value for frequency is 440 Hz; the
  835. default value for duration is 2.
  836. The following table gives the frequency values for a five
  837. octave range (middle C is 523 Hz):
  838.   131  
  839.   262  
  840.   523  
  841.   1040  
  842.   2093 
  843.  C#/Db  
  844.   139  
  845.   277  
  846.   554  
  847.   1103  
  848.   2217 
  849.   147  
  850.   294  
  851.   587  
  852.   1176  
  853.   2349 
  854.  D#/Eb  
  855.   156  
  856.   311  
  857.   622  
  858.   1241  
  859.   2489 
  860.   165  
  861.   330  
  862.   659  
  863.   1311  
  864.   2637 
  865.   175  
  866.   349  
  867.   698  
  868.   1391  
  869.   2794 
  870.  F#/Gb  
  871.   185  
  872.   370  
  873.   740  
  874.   1488  
  875.   2960 
  876.   196  
  877.   392  
  878.   784  
  879.   1568  
  880.   3136 
  881.  G#/Ab  
  882.   208  
  883.   415  
  884.   831  
  885.   1662  
  886.   3322 
  887.   220  
  888.   440  
  889.   880  
  890.   1760  
  891.   3520 
  892.  A#/Bb  
  893.   233  
  894.   466  
  895.   932  
  896.   1866  
  897.   3729 
  898.   248  
  899.   494  
  900.   988  
  901.   1973  
  902.   3951 
  903. ^bEXAMPLE^b
  904. The following batch file fragment runs the program DEMO, plays
  905. a few notes, and waits for you to press a key:
  906.  demo
  907.  beep 440 4 587 2 1040 6
  908.  pause Finished with the demo, press a key to continue.
  909. ^bSYNTAX
  910.      (Internal NDOS)^b
  911. BREAK [ON | OFF]
  912. ^bPURPOSE^b
  913. Display, enable, or disable extended Ctrl-C or 
  914. Ctrl-Break checking.
  915. ^bCOMMENTS^b
  916. BREAK turns the extended Ctrl-C or Ctrl-Break checking ON or
  917. OFF. If no argument is given, it displays the current BREAK
  918. status.
  919. If BREAK is off, DOS will only check for a Ctrl-C during DOS
  920. character I/O (screen, keyboard, serial port, or printer
  921. operations). Many programs don't use the DOS functions to
  922. access the screen and keyboard, and it can be difficult to
  923. break out of them with BREAK off. If BREAK is on, DOS will
  924. check for a Ctrl-C or Ctrl-Break during any DOS operation
  925. (including disk I/O).
  926. BREAK defaults to OFF. You can change the default BREAK
  927. setting by adding the following line to your CONFIG.SYS file:
  928.  BREAK=ON
  929. ^bEXAMPLE^b
  930. Check the current BREAK status:
  931.  c:\> break
  932.  BREAK is OFF
  933. Enable Ctrl-C checking in all DOS calls:
  934.  c:\> break on
  935. ^bSYNTAX
  936.      (Internal NDOS)^b
  937. CALL pathname
  938. ^bPURPOSE^b
  939. Call a secondary batch file.
  940. ^bCOMMENTS^b
  941. CALL allows batch files to call other batch files (batch file
  942. nesting) without invoking a secondary copy of the command
  943. processor. NDOS supports batch file nesting up to eight
  944. levels deep. The calling batch file is suspended while the
  945. called batch file runs. When the called batch file finishes,
  946. the calling batch file resumes execution at the next command.
  947. If you execute a batch file from another batch file without
  948. using CALL, the first batch file is terminated before the
  949. second one starts.
  950. The current ECHO state will be inherited by a called batch
  951. file.
  952. See also ^rCANCEL^r and ^rQUIT^r.
  953. ^bEXAMPLE^b
  954. The following batch file fragment compares an input line to
  955. "wp" and calls a secondary batch file if it matches:
  956.  input Enter your choice:  %%option
  957.  if "%option" == "wp" call wp.bat
  958. ^bSYNTAX
  959.      (Internal NDOS)^b
  960. CANCEL
  961. ^bPURPOSE^b
  962. Terminate batch processing.
  963. ^bCOMMENTS^b
  964. The CANCEL command will end all batch file processing,
  965. regardless of the batch nesting level. (Use QUIT to end a
  966. nested batch file and return to the previous batch file.)
  967. You can CANCEL at any point in a batch file.
  968. See also ^rCALL^r and ^rQUIT^r.
  969. ^bEXAMPLE^b
  970. The following batch file fragment compares an input line to
  971. "end" and terminates all batch file processing if it matches:
  972.  input Enter your choice:  %%option
  973.  if "%option" == "end" cancel
  974. ^bSYNTAX
  975.      (Internal NDOS)^b
  976. CD [drive:][path]
  977. CHDIR [drive:][path]
  978. ^bPURPOSE^b
  979. Display or change the current directory.
  980. ^bCOMMENTS^b
  981. CD and CHDIR are the same command.
  982. Entering CD with no argument or only a disk drive name will
  983. display the current directory. Entering CD and a pathname
  984. will change the current directory.
  985. Every disk drive on the system has its own current directory.
  986. Specifying both a drive and a directory in the CD command
  987. will change the current directory on the specified drive, but
  988. will not change the default drive. Use CDD to change both
  989. the drive and directory.
  990. To start at the root directory, start the pathname with a
  991. backslash (\). To start at the parent directory, start the
  992. pathname with two periods (..). All other pathnames start at
  993. the current directory.
  994. With NDOS, you can move up the directory tree by adding
  995. additional periods (one per level) after the initial two for
  996. the parent directory. For example,
  997. (three periods) means change to the directory one higher than
  998. the parent directory.
  999. See also ^rCDD^r and ^rPUSHD^r.
  1000. ^bEXAMPLES^b
  1001. Change to the subdirectory C:\FINANCE\MYFILES:
  1002.  c:\> cd \finance\myfiles
  1003. Change the default directory on drive A:
  1004.  c:\> cd a:\utility
  1005. ^bSYNTAX
  1006.      (Internal NDOS)^b
  1007. CDD [drive:]path
  1008. ^bPURPOSE^b
  1009. Change the current disk drive and directory.
  1010. ^bCOMMENTS^b
  1011. CDD is similar to CD, except it can also change the default
  1012. disk drive.
  1013. To start at the root directory, start the pathname with a
  1014. backslash (\). To start at the parent directory, start the
  1015. pathname with two periods (..). All other pathnames start at
  1016. the current directory.
  1017. With NDOS, you can move up the directory tree by adding
  1018. additional periods (one per level) after the initial two for
  1019. the parent directory. For example,
  1020.  cdd d:
  1021. (three periods) means change to the directory one higher than
  1022. the parent directory on the D drive.
  1023. DOS will not accept a directory name longer than 64
  1024. characters.
  1025. See also ^rCD^r and ^rPUSHD^r.
  1026. ^bEXAMPLE^b
  1027. Change from the root directory on drive A to the subdirectory
  1028. C:\WP:
  1029.  a:\> cdd c:\wp
  1030. ^bSYNTAX
  1031.      (Internal NDOS)^b
  1032. CHCP [
  1033. ^bPURPOSE^b
  1034. Display or change the current system code page.
  1035. ^bCOMMENTS^b
  1036. Code page switching allows you to select different character
  1037. sets for language support. To use code page switching, you
  1038. must have an EGA or VGA board and/or an appropriate printer,
  1039. and DOS 3.3 or above.
  1040. Before using CHCP, you must load the device drivers (in
  1041. CONFIG.SYS); make sure the information file (COUNTRY.SYS) is
  1042. available; load national language support (using the NLSFUNC
  1043. command); and prepare the specified code page for the devices
  1044. (using the MODE command with the CODEPAGE PREPARE option).
  1045. CHCP accepts one of the two prepared system code pages. An
  1046. error message is displayed if a code page is selected that
  1047. has not been prepared for the system.
  1048. Entering CHCP with no argument displays the active code page.
  1049. See your DOS manual for more information on CHCP and code
  1050. page switching.
  1051. See also ^rMODE^r and ^rNLSFUNC^r.
  1052. ^bEXAMPLES^b
  1053. Display the current code page:
  1054.  c:\> chcp
  1055.  Active code page: 437
  1056. Set the code page to multilingual:
  1057.  c:\> chcp 850
  1058. ^bSYNTAX
  1059.      (Internal NDOS)^b
  1060. CHDIR [[drive:][pathname]
  1061. CD [[drive:][pathname]
  1062. ^bPURPOSE^b
  1063. Display or change the current directory.
  1064. ^bCOMMENTS^b
  1065. CHDIR and CD are the same command.
  1066. See ^rCD^r for details.
  1067. ^bSYNTAX
  1068.      (Internal NDOS)^b
  1069. CLS [[BRIGHT] [BLINK] fg ON bg]
  1070. ^bPURPOSE^b
  1071. Clear the video display, optionally to the specified colors.
  1072. ^bCOMMENTS^b
  1073. CLS clears the display and moves the cursor to the upper left
  1074. corner. ^bfg^b is the foreground color, ^bbg^b the background
  1075. color. Only the first three characters of the color name and
  1076. attributes ("bright" and "blink") are required.
  1077. The available colors are:
  1078.  Black
  1079.  Blue
  1080.  Green
  1081.  Magenta
  1082.  Cyan
  1083.  Yellow
  1084.  White
  1085. CLS is normally used in batch files to clear the screen before
  1086. displaying text.
  1087. See also ^rCOLOR^r.
  1088. ^bEXAMPLES^b
  1089. Clear the display:
  1090.  c:\> cls
  1091. Clear the display to a blue background, and set white
  1092. characters as the new default:
  1093.  c:\> cls white on blue
  1094. ^bSYNTAX
  1095.      (Internal NDOS)^b
  1096. COLOR [[BRIGHT] [BLINK] fg ON bg]
  1097. ^bPURPOSE^b
  1098. Set the screen display colors.
  1099. ^bCOMMENTS^b
  1100. ^bfg^b is the foreground color, ^bbg^b the background color.
  1101. Only the first three characters of the color name and
  1102. attributes ("bright" and "blink") are required.
  1103. The available colors are:
  1104.  Black
  1105.  Blue
  1106.  Green
  1107.  Magenta
  1108.  Cyan
  1109.  Yellow
  1110.  White
  1111. See also ^rCLS^r and ^rSCRPUT^r.
  1112. ^bEXAMPLE^b
  1113. Set the default screen colors to bright white text on a blue
  1114. background:
  1115.  c:\> color bright white on blue
  1116. ^bSYNTAX
  1117.      (Internal NDOS)^b
  1118. COPY [/MPQRUV] [drive:][path]filename[+]
  1119. . [/A][/B]
  1120.  [[drive:][path]filename][/A][/B]
  1121. ^bPURPOSE^b
  1122. Copy or append one or more files.
  1123. ^bCOMMENTS^b
  1124. Unlike COMMAND.COM, NDOS allows you to copy several unrelated
  1125. files to a target directory with a single COPY command. If
  1126. there are two or more arguments on the command line, COPY
  1127. assumes the last argument is the target. If there is only
  1128. one argument, the target is assumed to be the current
  1129. directory.
  1130. The plus (+) tells NDOS to append two or more files to a
  1131. single target file. If you don't specify a target, COPY will
  1132. append each subsequent file to the first file.
  1133. If you specify more than one source file, and the target is
  1134. NOT a directory, COPY will automatically append the files to
  1135. the target.
  1136. The ^b/A^b(SCII) or ^b/B^b(inary) options apply to the
  1137. preceding filename and to all subsequent filenames on the
  1138. command line until another /A or /B is entered. The other
  1139. options (/M, /P, /Q, /R, /U, /V) apply to all filenames on
  1140. the command line.
  1141. The COPY options are:
  1142.  ^b/A^b  If used with a source filename, NDOS will copy the
  1143.  file up to, but not including, the first ^^Z character
  1144.  in the file. If you use /A with a target filename,
  1145.  NDOS will add a ^^Z to the end of the file. NDOS
  1146.  defaults to /A when appending files.
  1147.  ^b/B^b  If used with a source filename, NDOS will copy the
  1148.  entire file. Using /B with a target filename prevents
  1149.  NDOS from adding a ^^Z to the end of the target file.
  1150.  NDOS defaults to /B for normal file copies.
  1151.  ^b/M^b  Modified: Copy only those files with the archive bit 
  1152.  set (see ATTRIB). The archive bit will NOT be cleared 
  1153.  after copying.
  1154.  ^b/P^b  Prompt: Confirm each file copy (Y or N). An N response
  1155.  will skip that particular file.
  1156.  ^b/Q^b  Quiet: Don't display filenames as they are copied.
  1157.  ^b/R^b  Replace: Prompt before overwriting an existing file.
  1158.  ^b/U^b  Update: Copy only those source files that are newer 
  1159.  than a matching target file, or where a matching 
  1160.  target file doesn't exist.
  1161.  ^b/V^b  Verify: Make sure that each sector a file is written
  1162.  to can be read. This is the same as executing the 
  1163.  VERIFY ON command, but is only active during the COPY.
  1164. See also ^rMOVE^r, ^rREPLACE^r, and ^rXCOPY^r.
  1165. ^bEXAMPLES^b
  1166. Copy the files MEMO1, PROJECT8.WKS, and UPDATE.BAT to the root
  1167. directory on drive A:
  1168.  c:\> copy memo1 project8.wks a:\
  1169. Append the files MEMO1, MEMO2, and MEMO3 and store the result
  1170. in BIGMEMO:
  1171.  c:\> copy memo1+memo2+memo3 bigmemo
  1172. Copy only those files in the root directory on drive A that
  1173. are newer than the matching files in the current directory,
  1174. or which don't exist in the current directory:
  1175.  c:\> copy /u a:\*.* c:\*.*
  1176. Copy files from the root directory on drive A to the current
  1177. directory, but prompt before overwriting existing files:
  1178.  c:\> copy /r a:\*.*
  1179. Copy a downloadable font file to the printer in binary mode:
  1180.  c:\> copy myfont.dat /b lpt1:
  1181. ^bSYNTAX
  1182.      (Internal NDOS)^b
  1183. CTTY device
  1184. ^bPURPOSE^b
  1185. Change the default console device.
  1186. ^bCOMMENTS^b
  1187. At startup, NDOS uses the keyboard as the standard input
  1188. device and the display as the standard output device. CTTY
  1189. allows you to change the console (CON:) to another device
  1190. that can perform standard character I/O.
  1191. CTTY works only for those programs that use the standard
  1192. DOS I/O functions (this includes all of the internal NDOS
  1193. commands with the exception of DRAWBOX, DRAWHLINE, DRAWVLINE,
  1194. LIST, SCREEN, SCRPUT, and SELECT).
  1195. ^bEXAMPLE^b
  1196. Change the console to the first serial port:
  1197.  c:\> ctty com1:
  1198. ^bSYNTAX
  1199.      (Internal NDOS)^b
  1200. DATE [date]
  1201. ^bPURPOSE^b
  1202. Display and (optionally) change the system date.
  1203. ^bCOMMENTS^b
  1204. If you don't enter any parameters, DATE will display the
  1205. current system date and time, and prompt for the new date.
  1206. Press Enter if you don't wish to change the date, otherwise
  1207. enter the new date.
  1208. The format for the date entry depends on the country code
  1209. defined in the CONFIG.SYS file or by the CHCP command. The
  1210. default format is U.S. (mm-dd-yy). The European format is
  1211. dd-mm-yy; the Japanese is yy-mm-dd.
  1212. The parameters for the DATE command are:
  1213.  ^bmm^b
  1214.  month: 1 to 12
  1215.  ^bdd^b
  1216.  day:
  1217.  1 to 31
  1218.  ^byy^b
  1219.  year:  80 to 99 (1980 to 1
  1220. 9) or 2
  1221. 0 to 2099
  1222. Enter two, three, or four digits for the year.
  1223. You can use hyphens, slashes, or periods to separate the
  1224. month, day, and year entries.
  1225. See also ^rCHCP^r and ^rTIME^r.
  1226. ^bEXAMPLES^b
  1227. Enter the date from the command line:
  1228.  c:\> date 12/25/89
  1229. To be prompted for the date:
  1230.  c:\> date
  1231.  Mon  Dec 25, 1989  9:30:06
  1232.  Enter new date (mm-dd-yy):
  1233. ^bSYNTAX
  1234.      (Internal NDOS)^b
  1235. DEL [/PQYZ] [drive:][path]filename
  1236. ERASE [/PQYZ] [drive:][path]filename
  1237. ^bPURPOSE^b
  1238. Erase the specified file(s) from the disk.
  1239. ^bCOMMENTS^b
  1240. DEL and ERASE are the same command.
  1241. The DEL options are:
  1242.  ^b/P^b  Prompt: Confirm (Y/N) file deletion for each file.
  1243.  ^b/Q^b  Quiet: Don't display filenames as they are deleted.
  1244.  ^b/Y^b  Yes: The reverse of ^b/P^b, it assumes a Y response to
  1245.  everything, including deleting an entire subdirectory.
  1246.  ^b/Z^b  Zap: Delete hidden, system, and read-only files also.
  1247.  ^uUse with caution!^u (/Z will defeat the EXCEPT command.)
  1248. If you enter a subdirectory name, or a filename composed only
  1249. of wildcards (* and/or ?), DEL asks for confirmation (Y or N)
  1250. unless you specified the /Y(es) option. If you respond
  1251. with a Y, DEL will delete all the files in that subdirectory
  1252. (except for hidden, system, and read-only files).
  1253. ^bEXAMPLE^b
  1254. Erase all the files in the current directory with a .BAK or
  1255. .PRN extension:
  1256.  c:\> del *.bak *.prn
  1257. ^bSYNTAX
  1258.      (Internal NDOS)^b
  1259. DELAY [seconds]
  1260. ^bPURPOSE^b
  1261. Pause for a specified period of time.
  1262. ^bCOMMENTS^b
  1263. DELAY is useful in batch file loops while waiting for a
  1264. condition to occur. The default value is one second.
  1265. You can cancel a DELAY loop by pressing Ctrl-C.
  1266. ^bEXAMPLE^b
  1267. Wait for 10 seconds:
  1268.  delay 10
  1269. ^bSYNTAX
  1270.      (Internal NDOS)^b
  1271. DESCRIBE [drive:][path]filename 
  1272. . ["description"]
  1273. ^bPURPOSE^b
  1274. Create, modify, or delete file and subdirectory descriptions.
  1275. ^bCOMMENTS^b
  1276. DESCRIBE adds descriptions (up to 40 characters) to DOS
  1277. filenames and subdirectories. The descriptions will be
  1278. displayed when using DIR with the default single column
  1279. option, or when using SELECT.
  1280. File descriptions allow you to identify your files in much
  1281. more meaningful ways than DOS allows in an eight character
  1282. filename.
  1283. You can enter a description on the command line by entering
  1284. the filename followed by the description enclosed in quotes.
  1285. Using wildcards (* and ?) and/or multiple filenames with a
  1286. description on the command line will give all matching files
  1287. the same description.
  1288. Descriptions are stored in each directory in a hidden file
  1289. called DESCRIPT.ION. Use the ATTRIB command to "unhide" this
  1290. file if you need to copy or delete it.
  1291. The description file is modified appropriately whenever you
  1292. perform an internal command (such as COPY, DEL, MOVE, or
  1293. RENAME), but not if you use an external command (such as
  1294. REPLACE, XCOPY, or a "DOS shell").
  1295. See also ^rDIR^r and ^rSELECT^r.
  1296. ^bEXAMPLE^b
  1297. Create a description for the file MEMO.TXT interactively:
  1298.  c:\> describe memo.txt
  1299.  Describe "memo.txt": Memo to Bob about party
  1300. Create the same description in a single command:
  1301.  c:\> describe memo.txt "Memo to Bob about party"
  1302. ^bSYNTAX
  1303.      (Internal NDOS)^b
  1304. DIR [ /A:[-rhsda] /O:[-deinsgu] /124BCJKLMNPSTUVW ] 
  1305.  [[drive:][path]filename[;]
  1306. ^bPURPOSE^b
  1307. Display information about files and subdirectories.
  1308. ^bCOMMENTS^b
  1309. The DIR options are:
  1310.  ^b/A:^b
  1311.  Attributes: Display filenames with specified 
  1312.  attributes. Any combination of the following:
  1313.  ^br^b  Read-only
  1314.  ^bh^b  Hidden
  1315.  ^bs^b  System
  1316.  ^bd^b  Directory
  1317.  ^ba^b  Archive
  1318.  ^b-^b  Prefix means "not"
  1319.  Use /A: with no attributes to display all filenames 
  1320.  (including hidden and system).
  1321.  ^b/O:^b
  1322.  Sort Order: Any combination of the following
  1323.  options:
  1324.  ^bd^b  Date and time
  1325.  ^be^b  Extension
  1326.  ^bi^b  File description
  1327.  ^bn^b  Name
  1328.  ^bs^b  Size
  1329.  ^bg^b  Group directories 
  1330.  ^bu^b  Unsorted (like COMMAND.COM)
  1331.  ^b-^b  A minus sign before a sort key means reverse
  1332.  the sort order
  1333.  ^b/1^b
  1334.  One column
  1335.  ^b/2^b
  1336.  Two columns
  1337.  ^b/4^b
  1338.  Four columns
  1339.  ^b/B^b
  1340.  Bare (no header or summaries)  
  1341.  ^b/C^b
  1342.  upperCase
  1343.  ^b/J^b
  1344.  Justify (like COMMAND.COM)
  1345.  ^b/K^b
  1346.  No volume label or pathname
  1347.  ^b/L^b
  1348.  Lowercase
  1349.  ^b/M^b
  1350.  oMit total bytes information.
  1351.  ^b/N^b
  1352.  No switches: reset DIR to defaults
  1353.  ^b/P^b
  1354.  Pause
  1355.  ^b/S^b
  1356.  Subdirectories included
  1357.  ^b/T^b
  1358.  aTtributes
  1359.  ^b/U^b
  1360.  sUmmary (totals only) 
  1361.  ^b/V^b
  1362.  Vertical sort (with /2, /4, or /W)
  1363.  ^b/W^b
  1364.  Wide display 
  1365. DIR displays information about the files and subdirectories in
  1366. the specified directory. Depending upon the options
  1367. specified, DIR can show the filename, file attributes, size,
  1368. date and time of the most recent change to the file, and the
  1369. file description.
  1370. DIR allows wildcard characters (* and ?) in the filename. If
  1371. you don't specify a filename, DIR defaults to *.* (display
  1372. all files and subdirectories in the current directory).
  1373. If you append filenames with a ^b;^b (an "include list"), DIR
  1374. will display the matching filenames in a single directory
  1375. listing. Only the first file in an include list can have a
  1376. path.
  1377. If a country code was defined in the CONFIG.SYS file or by the
  1378. CHCP command, DIR will display the date in the format for
  1379. that country. The default date format is U.S. (mm-dd-yy).
  1380. DIR can handle directories of any size, limited only by the
  1381. available memory. Each filename requires 32 bytes of DOS
  1382. memory plus the size of the description (if any); a system
  1383. with 128K of free DOS memory can display up to 4,
  1384. 0 files
  1385. per directory.
  1386. Options on the command line apply only to the filenames which
  1387. follow the option, except that options at the end of the line
  1388. apply to the preceding filename only. This allows you to
  1389. specify several options for a group of files, and retains
  1390. compatibility with COMMAND.COM when a single filename is
  1391. specified.
  1392. See also ^rDESCRIBE^r and ^rSELECT^r.
  1393. ^bEXAMPLES^b
  1394. Display the .WKS files, and then the .WK1 files in the current
  1395. directory:
  1396.  c:\> dir *.wks *.wk1
  1397. Display the .WKS and .WK1 files together (an "include list"):
  1398.  c:\> dir c:\ss\*.wks;*.wk1
  1399. Display the files in the root directory on drive C, including
  1400. hidden and system files, in reverse order of size:
  1401.  c:\> dir /a:hs /o:-s c:\*.*
  1402. ^bSYNTAX
  1403.      (Internal NDOS)^b
  1404. ^bPURPOSE^b
  1405. Display the current directory stack.
  1406. ^bCOMMENTS^b
  1407. DIRS displays the directory stack used by PUSHD and POPD, most
  1408. recent entries first. The stack holds 255 characters (about
  1409. 10 to 20 entries).
  1410. See also ^rPUSHD^r and ^rPOPD^r.
  1411. ^bEXAMPLE^b
  1412. Change directories and then display the directory stack:
  1413.  c:\> pushd c:\database
  1414.  c:\database> pushd d:\wordp\memos
  1415.  d:\wordp\memos> dirs
  1416.  c:\database
  1417. ^bSYNTAX
  1418.      (Internal NDOS)^b
  1419. DRAWBOX ulrow ulcol lrrow lrcol style [BRIGHT][BLINK]
  1420.  fg ON bg [FILL bgfill]
  1421. ^bPURPOSE^b
  1422. Draw a box on the screen.
  1423. ^bCOMMENTS^b
  1424. DRAWBOX is useful for creating attractive screen displays in
  1425. batch files. DRAWBOX detects other lines and boxes on the
  1426. display, and creates the appropriate connector characters
  1427. when possible (not all types of lines can be connected with
  1428. the available characters).
  1429. The row and column are zero-based, so on a standard 25-line by
  1430. 80-column display, valid rows are 0 to 24 and valid columns
  1431. are 0 to 79.
  1432. The DRAWBOX parameters are:
  1433.  ^bulrow^b
  1434.  Row for upper left corner
  1435.  ^bulcol^b
  1436.  Column for upper left corner
  1437.  ^blrrow^b
  1438.  Row for lower right corner
  1439.  ^blrcol^b
  1440.  Column for lower right corner
  1441.  ^bstyle^b
  1442.  Box drawing style:
  1443.  ^b0^b
  1444.  borderless
  1445.  ^b1^b
  1446.  single line
  1447.  ^b2^b
  1448.  double line
  1449.  ^b3^b
  1450.  single line top & bottom, double sides
  1451.  ^b4^b
  1452.  double line top & bottom, single sides
  1453.  ^bfg^b
  1454.  Foreground character color
  1455.  ^bbg^b
  1456.  Background character color
  1457.  ^bbgfill^b  Background fill color (for the inside of the box)
  1458. Only the first three characters of the color name and
  1459. attributes ("bright" and "blink") are required.
  1460. The available colors are:
  1461.  Black
  1462.  Blue
  1463.  Green
  1464.  Magenta
  1465.  Cyan
  1466.  Yellow
  1467.  White
  1468. See also ^rDRAWHLINE^r and ^rDRAWVLINE^r.
  1469. ^bEXAMPLE^b
  1470. Draw a single line box around the entire screen with bright
  1471. white lines on a blue background:
  1472.  drawbox 0 0 24 79 1 bright white on blue fill blue
  1473. ^bSYNTAX
  1474.      (Internal NDOS)^b
  1475. DRAWHLINE row columns length style [BRIGHT] [BLINK] fg ON bg
  1476. ^bPURPOSE^b
  1477. Draw a horizontal line on the screen.
  1478. ^bCOMMENTS^b
  1479. DRAWHLINE is useful for creating attractive screen displays in
  1480. batch files. DRAWHLINE detects other lines and boxes on the
  1481. display, and creates the appropriate connector characters
  1482. when possible (not all types of lines can be connected with
  1483. the available characters).
  1484. The row and column are zero-based, so on a standard 25-line by
  1485. 80-column display, valid rows are 0 to 24 and valid columns
  1486. are 0 to 79.
  1487. The DRAWHLINE parameters are:
  1488.  ^brow^b
  1489.  Start row
  1490.  ^bcolumn^b  Start column
  1491.  ^blength^b  Length of line
  1492.  ^bstyle^b
  1493.  Line drawing style:
  1494.  ^b1^b
  1495.  single line
  1496.  ^b2^b
  1497.  double line
  1498.  ^bfg^b
  1499.  Foreground character color
  1500.  ^bbg^b
  1501.  Background character color
  1502. The available colors are:
  1503.  Black
  1504.  Blue
  1505.  Green
  1506.  Magenta
  1507.  Cyan
  1508.  Yellow
  1509.  White
  1510. Only the first three characters of the color name and
  1511. attributes ("bright" and "blink") are required.
  1512. See also ^rDRAWBOX^r and ^rDRAWVLINE^r.
  1513. ^bEXAMPLE^b
  1514. Draw a double line along the top row of the display with green
  1515. characters on a blue background:
  1516.  drawhline 0 0 79 2 green on blue
  1517. ^bSYNTAX
  1518.      (Internal NDOS)^b
  1519. DRAWVLINE row columns length style [bright] [BLINK] fg ON bg
  1520. ^bPURPOSE^b
  1521. Draw a vertical line on the screen.
  1522. ^bCOMMENTS^b
  1523. DRAWVLINE is useful for creating attractive screen displays in
  1524. batch files. DRAWVLINE detects other lines and boxes on the
  1525. display, and creates the appropriate connector characters
  1526. when possible (not all types of lines can be connected with
  1527. the available characters).
  1528. The row and column are zero-based, so on a standard 25-line by
  1529. 80-column display, valid rows are 0 to 24 and valid columns
  1530. are 0 to 79.
  1531. The DRAWVLINE parameters are:
  1532.  ^brow^b
  1533.  Start row
  1534.  ^bcolumn^b  Start column
  1535.  ^blength^b  Length of line
  1536.  ^bstyle^b
  1537.  Line drawing style:
  1538.  ^b1^b - single line
  1539.  ^b2^b - double line
  1540.  ^bfg^b
  1541.  Foreground character color
  1542.  ^bbg^b
  1543.  Background character color
  1544. The available colors are:
  1545.  Black
  1546.  Blue
  1547.  Green
  1548.  Magenta
  1549.  Cyan
  1550.  Yellow
  1551.  White
  1552. Only the first three characters of the color name and
  1553. attributes ("bright" and "blink") are required.
  1554. See also ^rDRAWBOX^r and ^rDRAWHLINE^r.
  1555. ^bEXAMPLE^b
  1556. Draw a double line along the left margin of the display with
  1557. bright red characters on a black background:
  1558.  drawvline 0 0 24 2 bright red on black
  1559. ^bSYNTAX
  1560.      (Internal NDOS)^b
  1561. ECHO [ON | OFF | message]
  1562. ^bPURPOSE^b
  1563. Display the echo status, enable or disable batch file or
  1564. command line echoing, or display a message.
  1565. ^bCOMMENTS^b
  1566. NDOS defaults to ECHO ON in batch files. To prevent a line
  1567. from being echoed, preface it with the @ symbol. You can
  1568. default to ECHO OFF by setting the variable VERBOSE to 0 (see
  1569. ^rSETDOS^r). The current ECHO state is inherited by called batch
  1570. files.
  1571. NDOS defaults to ECHO OFF during keyboard input. If you set
  1572. ECHO ON from the command line, NDOS will display the fully
  1573. parsed and expanded commands (including aliases and
  1574. variables) before they are executed. The keyboard ECHO state
  1575. is independent of the batch file ECHO state; changing ECHO in
  1576. a batch file has no effect on the display at the command
  1577. prompt, and vice versa.
  1578. If no arguments are entered, ECHO displays the current echo
  1579. state.
  1580. ECHO commands in a batch file will send messages to the screen
  1581. while the batch file executes, even if ECHO is set OFF. You
  1582. cannot use the command separator character or the NDOS
  1583. redirection symbols ( |>< ) in an ECHO message, unless you
  1584. enclose them in quotes or precede them with the escape
  1585. character.
  1586. See also ^rSETDOS^r, ^rSCREEN^r, ^rSCRPUT^r and ^rTEXT^r.
  1587. ^bEXAMPLE^b
  1588. Enable command line echoing:
  1589.  c:\> echo on
  1590. Display a message in a batch file:
  1591.  echo Processing your print files
  1592. Turn off batch file echoing, without displaying the ECHO
  1593. command itself:
  1594.  @echo off
  1595. ^bSYNTAX
  1596.      (Internal NDOS)^b
  1597. ENDLOCAL
  1598. ^bPURPOSE^b
  1599. Restore the saved disk drive, directory, environment, and
  1600. aliases.
  1601. ^bCOMMENTS^b
  1602. ENDLOCAL restores the disk drive, directory, environment
  1603. variables and aliases saved by the previous SETLOCAL command.
  1604. SETLOCAL and ENDLOCAL can only be used in batch files, not in
  1605. aliases.
  1606. See also ^rSETLOCAL^r.
  1607. ^bEXAMPLE^b
  1608. This batch file fragment saves the aliases, environment,
  1609. drive, and current working directory, changes the drive and
  1610. directory, modifies some environment variables, runs the
  1611. program TEST1, and then restores the original values:
  1612.  setlocal
  1613.  cdd d:\test
  1614.  set path=c:\;c:\dos;c:\util
  1615.  set lib=d:\lib
  1616.  test1
  1617.  endlocal
  1618. ^bSYNTAX
  1619.      (Internal NDOS)^b
  1620. DEL [/PQYZ] [drive:][path]filename
  1621. ERASE [/PQYZ] [drive:][path]filename
  1622. ^bPURPOSE^b
  1623. Erase the specified file(s) from the disk.
  1624. ^bCOMMENTS^b
  1625. DEL and ERASE are the same command.
  1626. See ^rDEL^r for details.
  1627. ^bSYNTAX
  1628.      (Internal NDOS)^b
  1629. ESET varname
  1630. ^bPURPOSE^b
  1631. Edit environment variables and/or aliases.
  1632. ^bCOMMENTS^b
  1633. ESET allows you to edit your environment variables and aliases
  1634. using the NDOS line editing commands (see ^rEditing^r). The
  1635. cursor will be positioned at the first character of the
  1636. variable or alias.
  1637. ESET will search for environment variables first, and then
  1638. aliases. If you have an environment variable and an alias
  1639. with the same name, ESET will only be able to edit the
  1640. environment variable.
  1641. NDOS limits environment variable and alias names to 80
  1642. characters, and their arguments to 255 characters.
  1643. See also ^rALIAS^r, ^rUNALIAS^r, ^rSET^r, and ^rUNSET^r.
  1644. ^bEXAMPLE^b
  1645. Edit the DOS executable file search path:
  1646.  c:\> eset path
  1647. Create and then edit an alias:
  1648.  c:\> alias d dir /w
  1649.  c:\> eset d
  1650. ^bSYNTAX
  1651.      (Internal NDOS)^b
  1652. EXCEPT (pathname
  1653. .) command
  1654. ^bPURPOSE^b
  1655. Perform a command, except on the file(s) specified.
  1656. ^bCOMMENTS^b
  1657. EXCEPT provides a means of executing a command on a group of
  1658. files and/or subdirectories 
  1659.  except those enclosed within
  1660. the parentheses.
  1661. The command can be an NDOS internal command or alias, an
  1662. external command, or a batch file.
  1663. You may use the wildcard characters (? and *) in a filename.
  1664. When using filename completion (see Command Line Editing in
  1665. the NDOS manual) to get the filenames inside the parentheses,
  1666. type a space after the open parenthesis before entering a
  1667. partial filename or pressing F9. Otherwise the command line
  1668. editor will treat the open parenthesis as the first character
  1669. of the filename to be completed.
  1670. EXCEPT prevents operations on the specified file(s) by setting
  1671. the hidden attribute, performing the command, and then
  1672. clearing the hidden attribute. If EXCEPT is aborted in an
  1673. unusual way, you may need to use the ATTRIB command to
  1674. "unhide" (-H) the file(s).
  1675. ^rCaution:^r EXCEPT will not work with programs or commands
  1676. that ignore the hidden attribute including DEL or ERASE with
  1677. the /Z switch.
  1678. See also ^rATTRIB^r.
  1679. ^bEXAMPLE^b
  1680. Erase all but the files beginning with MEMO and those ending
  1681. in .WKS:
  1682.  c:\> except (memo*.* *.wks) del *.*
  1683. ^bSYNTAX
  1684.      (Internal NDOS)^b
  1685. EXIT [n]
  1686. ^bPURPOSE^b
  1687. Return from a secondary command processor.
  1688. ^bCOMMENTS^b
  1689. Some application programs will start a secondary copy of the
  1690. command processor to allow you execute DOS commands. To
  1691. return to the application again, type EXIT.
  1692. Optionally, you can specify a number with EXIT. This is the
  1693. ERRORLEVEL value returned to the calling command processor. If
  1694. omitted, it defaults to the errorlevel returned by the last
  1695. external program.
  1696. You cannot EXIT from the primary command processor.
  1697. ^bEXAMPLE^b
  1698. Return to the previous command processor or application:
  1699.  c:\> exit
  1700. ^bSYNTAX
  1701.      (Internal NDOS)^b
  1702. FOR %%variable IN (set) [DO] command
  1703. ^bPURPOSE^b
  1704. Repeat a command for several items in a set.
  1705. ^bCOMMENTS^b
  1706. NDOS sets "variable" sequentially to each member of "(set)"
  1707. and then evaluates and executes "command" for every argument
  1708. in (set). If one of the arguments in (set) contains DOS
  1709. wildcard characters (* and ?), variable will be set
  1710. sequentially to each matching filename on the disk.
  1711. The command can be an NDOS internal command or alias, an
  1712. external command, or a batch file.
  1713. In COMMAND.COM, you must use a single % for the variable name
  1714. from the command line, and %% when in a batch file. NDOS
  1715. will accept either % or %% in either case.
  1716. COMMAND.COM requires the variable name to be a single
  1717. character; NDOS supports variable names up to 80 characters.
  1718. COMMAND.COM requires the word DO on the command line; it is
  1719. optional in NDOS.
  1720. Note that NDOS supports nested FOR statements; COMMAND.COM
  1721. does not.
  1722. ^bEXAMPLE^b
  1723. The following example compiles the C programs in the current
  1724. directory that have a "2" or a "3" somewhere in their name:
  1725.  c:\msc> for %a in (*2*.c *3*.c) do cl %a ;
  1726. The following example uses variable functions to delete the
  1727. .BAK files for which a corresponding .TXT file exists in the
  1728. current directory:
  1729.  for %a in (*.txt) if exist %@name[%a].bak del %@name[%a].bak
  1730. ^bSYNTAX
  1731.      (Internal NDOS)^b
  1732. FREE [drive:]
  1733. ^bPURPOSE^b
  1734. Display the total disk space, total bytes used, and total
  1735. bytes free on the specified (or default) drive(s).
  1736. ^bCOMMENTS^b
  1737. FREE provides the same disk information as the external DOS
  1738. command CHKDSK, but without the wait.
  1739. See also ^rCHKDSK^r and ^rMEMORY^r.
  1740. ^bEXAMPLE^b
  1741. Display the status of drives A, B, and C:
  1742.  c:\> free a: b: c:
  1743. ^bSYNTAX
  1744.      (Internal NDOS)^b
  1745. GLOBAL [/IQ] command 
  1746. ^bPURPOSE^b
  1747. Execute a command in the current directory and its
  1748. subdirectories.
  1749. ^bCOMMENTS^b
  1750. GLOBAL performs the specified command first in the current
  1751. directory, and then in every subdirectory under the current
  1752. directory.
  1753. The command can be an NDOS internal command or alias, an
  1754. external command, or a batch file.
  1755. The GLOBAL options are:
  1756.  ^b/I^b  Ignore result: If this option is not specified,
  1757.  GLOBAL will terminate if the command returns a non-
  1758.  zero exit code.
  1759.  ^b/Q^b  Quiet: Do not display the directory names as each 
  1760.  directory is accessed.
  1761. ^bEXAMPLE^b
  1762. Erase all the files with a .BAK extension in every directory
  1763. on C:
  1764.  c:\> global erase *.bak
  1765. Copy the files in every directory on drive A to the directory
  1766. C:\TEMP:
  1767.  c:\> cd a:\ ^^ global copy a:*.* c:\temp
  1768. ^bSYNTAX
  1769.      (Internal NDOS)^b
  1770. GOSUB label
  1771. ^bPURPOSE^b
  1772. Call a subroutine in a batch file.
  1773. ^bCOMMENTS^b
  1774. GOSUB calls the specified label as a subroutine. The
  1775. subroutine must end with a RETURN statement. After the 
  1776. RETURN, NDOS will continue processing with the command
  1777. following the GOSUB command.
  1778. If the label doesn't exist, the batch file is terminated with
  1779. the error message "Label not found."
  1780. The label must begin with a colon (:), and appear by itself on
  1781. the line. NDOS ignores case differences when matching labels.
  1782. See also ^rGOTO^r and ^rRETURN^r.
  1783. ^bEXAMPLE^b
  1784. The following batch file fragment calls a subroutine which
  1785. displays the directory and returns:
  1786.  echo Calling a subroutine
  1787.  gosub subr1
  1788.  echo Returned from the subroutine
  1789.  quit
  1790.  :subr1
  1791.  dir /hw
  1792.  return
  1793. ^bSYNTAX
  1794.      (Internal NDOS)^b
  1795. GOTO label
  1796. ^bPURPOSE^b
  1797. Continue batch file processing at the line following the
  1798. label.
  1799. ^bCOMMENTS^b
  1800. GOTO changes the current position in the batch file to the
  1801. line immediately following the label. If the label doesn't
  1802. exist, the batch file is terminated with the error message
  1803. "Label not found."
  1804. The label must begin with a colon (:), and appear by itself on
  1805. the line. NDOS ignores case differences when matching labels.
  1806. See also ^rGOSUB^r.
  1807. ^bEXAMPLE^b
  1808. The following batch file fragment checks for the existence of
  1809. the file CONFIG.SYS. If the file exists, NDOS jumps to
  1810. C_EXISTS and copies all the files from the current directory
  1811. to the root directory on A. If CONFIG.SYS doesn't exist, NDOS
  1812. prints an error message and exits.
  1813.  if exist config.sys goto C_EXISTS
  1814.  echo CONFIG.SYS doesn't exist - exiting
  1815.  quit
  1816.  :c_exists
  1817.  copy *.* a:\
  1818. ^bSYNTAX
  1819.      (Internal NDOS)^b
  1820. HISTORY [/F][/P] [/R pathname]
  1821. ^bPURPOSE^b
  1822. Display, read, or clear the history list.
  1823. ^bCOMMENTS^b
  1824. If no parameters are entered, HISTORY displays the current
  1825. history list.
  1826. The HISTORY options are:
  1827.  ^b/F^b  Free: Clear the command history list.
  1828.  ^b/P^b  Pause: Halt the display after each screen.
  1829.  ^b/R^b  Read: Load the command history from a specified file.
  1830.  You can save the history list by redirecting the 
  1831.  output of HISTORY to a file.
  1832. The number of commands saved in the history list depends on
  1833. the length of each command line. The history list size can be
  1834. specified at startup from 512 to 8192 characters. The default
  1835. size is 1024 characters.
  1836. You can disable saving commands to the history list, or
  1837. specify a minimum command line length to save, with the 
  1838. SETDOS /H command.
  1839. See also ^rSETDOS^r.
  1840. ^bEXAMPLES^b
  1841. Display the history list:
  1842.  c:\> history
  1843. Clear the history entries:
  1844.  c:\> history /f
  1845. Save the history list to the file HISTFILE, and then read it
  1846. in again:
  1847.  c:\> history > histfile
  1848.  c:\> history /r histfile
  1849. ^bSYNTAX
  1850.      (Internal NDOS)^b
  1851. IF [NOT] condition command
  1852. ^bPURPOSE^b
  1853. Allow conditional execution of commands.
  1854. ^bCOMMENTS^b
  1855. NDOS first tests the given condition. If the condition is
  1856. true, NDOS executes the specified command, otherwise the
  1857. command will be ignored. If you use the ^bNOT^b option, the
  1858. command is executed only when the condition is false. IF
  1859. statements can be nested.
  1860. The command can be an NDOS internal command or alias, an
  1861. external command, or a batch file.
  1862. The condition can be any of the following where "op" is
  1863. a relational operator: EQ (or ==) NE  LT  LE  GE  GT
  1864.   ^bERRORLEVEL [op] n^b
  1865.  Exit code (ERRORLEVEL) of the 
  1866.  preceding program (default is GE).
  1867.   ^bstring1 op string2^b
  1868.  Compare two strings (case is ignored).
  1869.   ^bEXIST pathname^b
  1870.  True if specified file exists.
  1871.   ^bISALIAS aliasname^b
  1872.  True if specified name is an alias.
  1873.   ^bISDIR [drive:]path^b
  1874.  True if the directory exists.
  1875. For the string tests, case differences are ignored. When
  1876. comparing strings, you should enclose them in double quotes
  1877. (see examples). The use of double quotes reduces problems
  1878. when the strings being compared contain characters which may
  1879. have another meaning to NDOS. If the strings begin with a
  1880. digit, IF will do a numeric comparison. Otherwise, IF does a
  1881. normal ASCII comparison.
  1882. IF statements can be nested.
  1883. See also ^rIFF^r.
  1884. ^bEXAMPLES^b
  1885. Test for the presence of A:\JAN.DOC and copy it to the root
  1886. directory on drive C if it exists:
  1887.  c:\> if exist a:\jan.doc copy a:\jan.doc c:\
  1888. This batch file fragment tests for a string value:
  1889.  if "%cmd" == "wp" goto wordproc
  1890.  if "%cmd" NE "graphics" goto badentry
  1891. Test for more than 500K of free DOS memory (using a variable
  1892. function):
  1893.  c:\> if %@dosfree[K] gt 500 echo More than 500K free
  1894. Test for expanded memory greater than 2 Mb:
  1895.  c:\> if %@ems[M] gt 2 echo More than 2Mb EMS available
  1896. Run the program MONOPROG if the monitor type is monochrome
  1897. (using an NDOS environment variable):
  1898.  c:\> if "%_monitor" == "mono" monoprog
  1899. ^bSYNTAX
  1900.      (Internal NDOS)^b
  1901. IFF [NOT] condition THEN ^^ command ^^ ELSE[[IFF [NOT]] condition 
  1902.  THEN] ^^ command ^^ ENDIFF
  1903. ^bPURPOSE^b
  1904. Allow IF/THEN/ELSE conditional execution of commands.
  1905. ^bCOMMENTS^b
  1906. NDOS first tests the given condition. If the condition is
  1907. true, NDOS executes the specified command(s) until the next
  1908. ELSE, ELSEIFF, or ENDIFF; otherwise the command(s) will be
  1909. ignored and NDOS will continue parsing at the next ELSE,
  1910. ELSEIFF, or ENDIFF. If you use the ^bNOT^b option, commands
  1911. are executed only when the condition is false. IFF
  1912. statements can be nested up to 15 levels deep.
  1913. The command can be an NDOS internal command or alias, an
  1914. external command, or a batch file.
  1915. If you do a GOTO inside an IFF, NDOS assumes you are jumping
  1916. outside the IFF statement. You cannot GOTO another part of
  1917. the same IFF, or inside another IFF statement.
  1918. See the ^rIF^r command for a list of the tests available.
  1919. ^bEXAMPLE^b
  1920. The following batch file fragment tests the monitor type
  1921. (monochrome or color), and sets the appropriate colors and
  1922. prompt:
  1923.  iff "%_monitor" == "color" then
  1924.  color bright white on blue ^^ cls
  1925.  prompt=$e[s$e[1;1f$e[41;1;37m$e[K  Path: $p$e[u$e[44;37m$n$g
  1926.  else
  1927.  prompt=$e[s$e[1;1f$e[0;7m$e[K  Path: $p$e[u$e[0m$n$g
  1928.  endiff
  1929. The following alias checks to see if the argument is a
  1930. subdirectory. If so, the alias deletes the subdirectory's
  1931. files and removes it (enter this on one line):
  1932.  alias zap `iff isdir %1 then ^^ del %1 ^^ rd %1 ^^
  1933.  else ^^ echo Not a directory! ^^ endiff`
  1934. ^bSYNTAX
  1935.      (Internal NDOS)^b
  1936. INKEY [/Wn] [text] %%varname
  1937. ^bPURPOSE^b
  1938. Get a single keystroke environment variable from standard
  1939. input.
  1940. ^bCOMMENTS^b
  1941. You can optionally display prompt text before the variable
  1942. name.
  1943. The only INKEY option is:
  1944.  ^b/Wn^b  Wait: Timeout period, where "n" is the number of
  1945.  seconds to wait for a response. If no keystroke is 
  1946.  entered by the end of the timeout period, INKEY 
  1947.  returns with the variable unchanged. You can specify 
  1948.  /W0 to check if a keystroke is waiting, and return 
  1949.  immediately.
  1950. ASCII values from 1 to 255 are stored as a character.
  1951. Extended characters (for example, function keys and cursor
  1952. keys) are stored as a string in decimal format, with a leading
  1953. @ (for example, the F1 key is stored as @59). This is the same
  1954. format used by the KEYSTACK command; see ^rKEYSTACK^r for a
  1955. list of the extended key codes.
  1956. INKEY and INPUT are normally used as batch file commands,
  1957. allowing you great flexibility in entering or changing batch
  1958. variables.
  1959. If you press Ctrl-C or Ctrl-Break while INKEY is waiting for a
  1960. key, execution of an alias will be terminated, and execution
  1961. of a batch file will be suspended while you are prompted
  1962. whether to cancel the batch job.
  1963. See also ^rINPUT^r and ^rKEYSTACK^r.
  1964. ^bEXAMPLES^b
  1965. Prompt for a character and store it in the variable NUM:
  1966.  inkey Enter a number from 1 to 9:  %%num
  1967. The following batch file fragment waits up to 10 seconds for a
  1968. character, then tests to see if a "Y" was entered:
  1969.  set net=N
  1970.  inkey /w10 Do you want to load the network (Y/N)? %%net
  1971.  if "%net" == "Y" goto load_net
  1972. ^bSYNTAX
  1973.      (Internal NDOS)^b
  1974. INPUT [/Wn] [text] %%varname
  1975. ^bPURPOSE^b
  1976. Enter an environment variable from the standard input.
  1977. ^bCOMMENTS^b
  1978. You can optionally display prompt text before the variable
  1979. name.
  1980. The only INPUT option is:
  1981.  ^b/W^b  Wait: Specify a timeout period, where "n" is the 
  1982.  number of seconds to wait for a response. If no 
  1983.  keystroke is entered by the end of the timeout period,
  1984.  INPUT returns with the variable unchanged. If you 
  1985.  enter a key before the timeout period, INPUT will wait
  1986.  indefinitely for the remainder of the line. You can
  1987.  specify /W0 to check if a key is already in the
  1988.  buffer, and return immediately.
  1989. All characters entered up to, but not including, the carriage
  1990. return are stored in the variable.
  1991. INPUT and INKEY are normally used as batch file commands,
  1992. allowing you great flexibility in entering or changing batch
  1993. variables.
  1994. See also ^rINKEY^r.
  1995. ^bEXAMPLE^b
  1996. The following batch file fragment prompts for a string and
  1997. stores it in the variable FNAME:
  1998.  input Enter the file name:  %%fname
  1999. ^bSYNTAX
  2000.      (Internal NDOS)^b
  2001. KEYSTACK ["abc"] [nn] [@nn] [!]
  2002. ^bPURPOSE^b
  2003. Feed keystrokes to a program from a batch file or alias.
  2004. ^bCOMMENTS^b
  2005. Characters entered within double quotes ("abc") will be stored
  2006. "as is" in the keyboard buffer. 
  2007. Numbers (nn) not enclosed in quotes are ASCII decimal codes,
  2008. for example 13 (Enter), or 27 (ESCAPE). The number 0 is a
  2009. special case; it is used with programs that flush the keyboard
  2010. buffer (it tells the program the buffer is clear, so
  2011. subsequent keystrokes will be accepted normally). 
  2012. Numbers preceded by @ are extended keyboard codes generated
  2013. by the Alt key, cursor pad keys, and the Function keys (for
  2014. example, @59 is the F1 function key).
  2015. A ! will clear all pending keystrokes, both in the KEYSTACK
  2016. buffer and in the keyboard buffer.
  2017. You can store a maximum of 255 characters.
  2018. Each time KEYSTACK is executed, it will clear any remaining
  2019. keystrokes stored by a previous KEYSTACK.
  2020. You may need to experiment a bit with your programs to find
  2021. the proper sequence of keystrokes. Programs that bypass
  2022. DOS and the BIOS for keyboard input cannot read keystrokes
  2023. entered with KEYSTACK.
  2024. KEYSTACK requires the device driver KEYSTACK.SYS be loaded in
  2025. the CONFIG.SYS file.
  2026. The following table lists the common key codes:
  2027.  F1  @59
  2028.  Alt-F1  @104
  2029.  Ctrl-F1  @94
  2030.  Shift-F1  @84
  2031.  F2  @60
  2032.  Alt-F2  @105
  2033.  Ctrl-F2  @95
  2034.  Shift-F2  @85
  2035.  F3  @61
  2036.  Alt-F3  @106
  2037.  Ctrl-F3  @96
  2038.  Shift-F3  @86
  2039.  F4  @62
  2040.  Alt-F4  @107
  2041.  Ctrl-F4  @97
  2042.  Shift-F4  @87
  2043.  F5  @63
  2044.  Alt-F5  @108
  2045.  Ctrl-F5  @98
  2046.  Shift-F5  @88
  2047.  F6  @64
  2048.  Alt-F6  @109
  2049.  Ctrl-F6  @99
  2050.  Shift-F6  @89
  2051.  F7  @65
  2052.  Alt-F7  @110
  2053.  Ctrl-F7  @100
  2054.  Shift-F7  @90
  2055.  F8  @66
  2056.  Alt-F8  @
  2057.  Ctrl-F8  @101
  2058.  Shift-F8  @91
  2059.  F9  @67
  2060.  Alt-F9  @112
  2061.  Ctrl-F9  @102
  2062.  Shift-F9  @92
  2063.  F10  @68  Alt-F10  @113  Ctrl-F10  @103  Shift-F10  @93
  2064.  F11 @133  Alt-F11  @139  Ctrl-F11  @137  Shift-F11 @135
  2065.  F12 @134  Alt-F12  @140  Ctrl-F12  @138  Shift-F12 @136
  2066.  Home  @71
  2067.  PgUp
  2068.  Left  @75
  2069.  Right  @77
  2070.  Down @80
  2071.  PgDn
  2072.  Del  @83
  2073.  Ctrl-Home  @119
  2074.  Ctrl-PgUp  @132
  2075.  Ctrl-Left  @115
  2076.  Ctrl-Right @116
  2077.  Ctrl-End
  2078.  @117
  2079.  Ctrl-PgDn  @118
  2080.  Alt-A  @30
  2081.  Alt-N  @49
  2082.  Alt-1  @120
  2083.  Alt-B  @48
  2084.  Alt-O  @24
  2085.  Alt-2  @121
  2086.  Alt-C  @46
  2087.  Alt-P  @25
  2088.  Alt-3  @122
  2089.  Alt-D  @32
  2090.  Alt-Q  @16
  2091.  Alt-4  @123
  2092.  Alt-E  @18
  2093.  Alt-R  @19
  2094.  Alt-5  @124
  2095.  Alt-F  @33
  2096.  Alt-S  @31
  2097.  Alt-6  @125
  2098.  Alt-G  @34
  2099.  Alt-T  @20
  2100.  Alt-7  @126
  2101.  Alt-H  @35
  2102.  Alt-U  @22
  2103.  Alt-8  @127
  2104.  Alt-I  @23
  2105.  Alt-V  @47
  2106.  Alt-9  @128
  2107.  Alt-J  @36
  2108.  Alt-W  @17
  2109.  Alt-0  @129
  2110.  Alt-K  @37
  2111.  Alt-X  @45
  2112.  Alt-L  @38
  2113.  Alt-Y  @21
  2114.  Alt-M  @50
  2115.  Alt-Z  @44
  2116. ^bEXAMPLES^b
  2117. The following batch file starts Lotus 1-2-3 and loads the file
  2118. specified on the command line:
  2119.  pushd c:\123
  2120.  keystack 0 13 0 13 0 13 0 13 0 13 "/fr" 0 "%1" 13
  2121.  popd
  2122. The same command defined as an alias (enter this all on one
  2123. line):
  2124.  alias 321 `pushd c:\123 ^^ keystack 0 13 0 13 0 13 0 13
  2125.  0 13 "/fr" 0 "%1" 13 ^^ 123 ^^ popd`
  2126. ^bSYNTAX
  2127.      (Internal NDOS)^b
  2128. LOADHIGH [drive:][path]filename [parameters]
  2129. LH [drive:][path]filename [parameters]
  2130. ^bPURPOSE^b
  2131. Maximize available RAM by loading programs into high DOS
  2132. memory.
  2133. ^bCOMMENTS^b
  2134. LOADHIGH and LH are the same command.
  2135. See ^rLOADHIGH^r for details.
  2136. ^bSYNTAX
  2137.      (Internal NDOS)^b
  2138. LIST [/HSW] [drive:][path]filename
  2139. ^bPURPOSE^b
  2140. Display a file with forward and backward paging and
  2141. scrolling.
  2142. ^bCOMMENTS^b
  2143. LIST provides a much faster and more flexible way to view a
  2144. file than TYPE, without the overhead of using a text editor.
  2145. The LIST options are:
  2146.  ^b/H^b  High: Strip the high bit from each character before
  2147.  displaying. This is useful when displaying files
  2148.  created by some word processors that turn on the high
  2149.  bit for formatting purposes.
  2150.  ^b/S^b  Standard Input: Read from the standard input rather 
  2151.  than a file. This allows you to redirect command 
  2152.  output and view it with LIST.
  2153.  ^b/W^b  Wrap: Text wider than the display is wrapped at the
  2154.  right margin. This option is useful when displaying 
  2155.  non-text files.
  2156. LIST uses the cursor pad to scroll through the file. The
  2157. following keys have special meanings (the caret ^^ means press
  2158. the Ctrl key together with the specified key):
  2159.  ^bHOME^b
  2160.  Display the first page of the file
  2161.  ^bEND^b
  2162.  Display the last page of the file
  2163.  ^bEsc^b
  2164.  Exit the current file
  2165.  ^b^^C^b
  2166.  Quit LIST
  2167.  ^bUp Arrow^b
  2168.  Scroll up one line
  2169.  ^bDown Arrow^b
  2170.  Scroll down one line
  2171.  ^bLeft Arrow^b
  2172.  Scroll left 8 columns
  2173.  ^bRight Arrow^b
  2174.  Scroll right 8 columns
  2175.  ^b^^Left Arrow^b
  2176.  Scroll left 40 columns
  2177.  ^b^^Right Arrow^b  Scroll right 40 columns
  2178.  ^bF1^b
  2179.  Call the on-line help (HELP.EXE)
  2180.  ^bF^b
  2181.  Prompt and search for a string (case is
  2182.  ignored)
  2183.  ^bN^b
  2184.  Find next matching string (case is ignored).
  2185.  LIST saves the search string, so you can
  2186.  LIST multiple files and search for the same
  2187.  string by pressing F6 in each file.
  2188.  ^bP^b
  2189.  Print the file on LPT1
  2190. LIST is normally only useful for displaying ASCII text files;
  2191. executable files (.COM and .EXE) and many data files will be
  2192. unreadable due to the presence of non-alphanumeric characters.
  2193. See also ^rTYPE^r.
  2194. ^bEXAMPLES^b
  2195. Display the file MEMO.DOC:
  2196.  c:\> list memo.doc
  2197. Display the output from a DIR command:
  2198.  c:\> dir | list /s
  2199. ^bSYNTAX
  2200.      (Internal NDOS)^b
  2201. LOADBTM [ON | OFF]
  2202. ^bPURPOSE^b
  2203. Switch a batch file to or from .BTM mode.
  2204. ^bCOMMENTS^b
  2205. LOADBTM switches a batch file (.BAT or .BTM) to and from .BTM
  2206. (batch-to-memory) mode. If no argument is given, it displays
  2207. the current LOADBTM status.
  2208. .BTM mode runs from two to five times faster than .BAT mode,
  2209. but should not be used to load memory resident programs or for
  2210. self-modifying batch files.
  2211. LOADBTM can only be used from within a .BAT or .BTM file.
  2212. When a .BTM file is started LOADBTM is ON by default; when a
  2213. .BAT file is started LOADBTM is OFF.
  2214. See the NDOS Manual for more information on .BTM files.
  2215. ^bEXAMPLE^b
  2216. The following batch file (.BAT) fragment loads some memory
  2217. resident programs, and then switches to .BTM mode:
  2218.  Rem The initial default state is LOADBTM OFF
  2219.  Rem loading TSRs
  2220.  ansi.com
  2221.  mouse.com
  2222.  Rem Switch to high-speed (BTM) mode. TSRs are loaded.
  2223.  loadbtm on
  2224.  set path=c:\;c:\util;c:\dos
  2225.  alias /r c:\aliases
  2226.  set NDSHELL=/e:768u /a:512 /u
  2227.  set tmp=d:\
  2228. ^bSYNTAX
  2229.      (Internal NDOS)^b
  2230. LOADHIGH [drive:][path]filename [parameters]
  2231. LH [drive:][path]filename [parameters]
  2232. ^bPURPOSE^b
  2233. Maximize available RAM by loading programs into high DOS
  2234. memory.
  2235. ^bCOMMENTS^b
  2236. LOADHIGH will work on 286 or above systems with suitable
  2237. software which can map memory into the 640K to 1MB area.
  2238. You must have the DOS 5.x dos=umb command line in your
  2239. CONFIG.SYS file.
  2240. LOADHIGH and LH are the same command.
  2241. ^bEXAMPLE^b
  2242. To load the CALC.COM memory resident program:
  2243.  loadhigh c:\util\calc.com
  2244. ^bSYNTAX
  2245.      (Internal NDOS)^b
  2246. LOG [/W pathname | ON | OFF | "text"]
  2247. ^bPURPOSE^b
  2248. Save a log of commands to a disk file.
  2249. ^bCOMMENTS^b
  2250. LOG defaults to saving to the file NDOS.LOG in the root
  2251. directory of the boot drive.
  2252. Entering LOG with no parameters displays the log status (ON or
  2253. OFF). Entering LOG with text writes the text to the log file,
  2254. even if LOG is set OFF. This allows you to enter headers in
  2255. the log file.
  2256. You can specify a different filename with the ^b/W^b(rite)
  2257. option. /W automatically enables command logging.
  2258. The commands are stored in the log file as they were entered,
  2259. before performing any alias or variable expansion.
  2260. The LOG file format looks like:
  2261.  [mm/dd/yy  hh:mm:ss] command
  2262. ^bEXAMPLES^b
  2263. Display the LOG status:
  2264.  c:\> log
  2265.  LOG is OFF
  2266. Enable command logging:
  2267.  c:\> log on
  2268. Enable command logging to the file C:\LOG\LOGFILE and insert a
  2269. header:
  2270.  c:\> log /w c:\log\logfile
  2271.  c:\> log "Started work on the database system"
  2272. ^bSYNTAX
  2273.      (Internal NDOS)^b
  2274. MD [drive:]path
  2275. MKDIR [drive:]path
  2276. ^bPURPOSE^b
  2277. Create subdirectories.
  2278. ^bCOMMENTS^b
  2279. MD and MKDIR are the same command.
  2280. To start at the root directory, start the path with a
  2281. backslash (\). To start at the parent directory, start the
  2282. path with two periods (..). All other paths start at the
  2283. current directory.
  2284. The longest allowable path in DOS from the root directory
  2285. to any subdirectory is 64 characters (including backslashes).
  2286. See also ^rRD^r.
  2287. ^bEXAMPLE^b
  2288. Create a subdirectory called MYDIR in the root directory:
  2289.  c:\> md \mydir
  2290. ^bSYNTAX
  2291.      (Internal NDOS)^b
  2292. MEMORY
  2293. ^bPURPOSE^b
  2294. Display the system RAM status.
  2295. ^bCOMMENTS^b
  2296. MEMORY displays the total RAM, the free RAM (available to
  2297. applications programs after loading DOS, device drivers, NDOS
  2298. itself, and RAM resident programs); the total and free
  2299. expanded memory; the total extended memory and free XMS memory
  2300. (on an 80286 or above system), the total and free environment
  2301. space, the total and free alias list space, and the total
  2302. command history space.
  2303. If you compare the free RAM displayed by MEMORY with the free
  2304. RAM displayed by CHKDSK and some memory map programs, MEMORY
  2305. will usually show a slightly higher value. The difference is
  2306. the size of the environment passed to these external
  2307. programs; most memory mapping programs do not count the
  2308. passed environment as free space.
  2309. ^bEXAMPLE^b
  2310. Display your RAM totals:
  2311.  c:\> memory
  2312. ^bSYNTAX
  2313.      (Internal NDOS)^b
  2314. MKDIR [drive:]path
  2315. MD [drive:]path
  2316. ^bPURPOSE^b
  2317. Create subdirectories.
  2318. ^bCOMMENTS^b
  2319. MD and MKDIR are the same command.
  2320. See ^rMD^r for details.
  2321. ^bSYNTAX
  2322.      (Internal NDOS)^b
  2323. MOVE [/PQR] [drive:][path]filename
  2324. . [drive:][path][filename]
  2325. ^bPURPOSE^b
  2326. Move files to other directories and drives.
  2327. ^bCOMMENTS^b
  2328. The MOVE command moves the specified file(s) to the last
  2329. filename specified, which is designated as the target. If
  2330. the target already exists, it is deleted when the file is
  2331. moved. You cannot move a file to itself.
  2332. If there is more than one source file specification, the
  2333. target must be a directory, and the files are moved to the
  2334. directory with their original filenames. If the target is
  2335. not a directory, MOVE will display an error message and exit.
  2336. ^uUse caution^u when using MOVE with commands like SELECT. If
  2337. multiple files are selected and the target is not a
  2338. subdirectory, each file will be moved in turn to the target,
  2339. overwriting the previous file. The net result is that all
  2340. files but the last will be deleted. If SELECT is invoked using
  2341. square brackets instead of parentheses, the MOVE will be done
  2342. in a single command and MOVE will detect the error.
  2343. The MOVE options are:
  2344.  ^b/P^b  Prompt: Confirm (Y/N) each move.
  2345.  ^b/Q^b  Quiet: Don't display files as they are moved.
  2346.  ^b/R^b  Replace: Prompt (Y/N) before overwriting an
  2347.  existing file.
  2348. MOVE first attempts to rename the file(s). If that fails (the
  2349. target is on a different drive, or the target already
  2350. exists), MOVE will copy the file(s) and then delete the
  2351. originals. If MOVE cannot delete the original (for example,
  2352. a read-only file), it will display an error message, but the
  2353. target file is still created.
  2354. See also ^rCOPY^r and ^rREN^r.
  2355. ^bEXAMPLES^b
  2356. Move some files to a different directory:
  2357.  c:\> move *.wks *.txt c:\finance\myfiles
  2358. Move all the files in the current directory to A:\, prompting
  2359. before overwriting any existing files:
  2360.  c:\> move /r *.* a:\
  2361. ^bSYNTAX
  2362.      (Internal NDOS)^b
  2363. NDOS [startup options]
  2364. ^bPURPOSE^b
  2365. Load a secondary command processor.
  2366. ^bCOMMENTS^b
  2367. A secondary shell is any shell not loaded from SHELL= in the
  2368. CONFIG.SYS file. The COMSPEC environment variable specifies
  2369. the SHELL name, but not the options. 
  2370. NDSHELL is a special environment variable to specify the
  2371. secondary shell configuration. If it is not defined, default
  2372. values will be used. If options are specified on the command
  2373. line for the secondary shell, they will override the NDSHELL
  2374. settings.
  2375. See the NDOS manual for ^bstartup options^b for NDSHELL and NDOS
  2376. from the command line.
  2377. Use the EXIT command to exit from a secondary shell.
  2378. See also ^rEXIT^r and ^rSET^r.
  2379. ^bEXAMPLE^b
  2380. Set secondary shells to load from the root directory, use EMS
  2381. swapping, and guarantee 512 bytes of free environment space:
  2382.  set ndshell=/s:e /e+512
  2383. ^bSYNTAX
  2384.      (Internal NDOS)^b
  2385. PATH [drive:]path1][;[[drive:]path2]
  2386. PATH [;]
  2387. ^bPURPOSE^b
  2388. Tells NDOS where to search for executable and batch files not
  2389. in the current directory.
  2390. ^bCOMMENTS^b
  2391. When searching for an external command (.COM, .EXE, .BTM, and
  2392. .BAT), NDOS searches the current directory first, then the
  2393. directories you specify in the PATH, in the order you list
  2394. them. The directory names are separated by semicolons (;).
  2395. Like COMMAND.COM, NDOS shifts the entire path to uppercase
  2396. before storing it in the environment. This maintains
  2397. compatibility with programs which can only recognize an
  2398. uppercase path.
  2399. If you enter PATH with no parameters, NDOS displays the
  2400. current search path. If you enter PATH and a semicolon, NDOS
  2401. clears the search path and will search only the current
  2402. directory (this is the default at system startup).
  2403. If you specify an invalid directory, NDOS will skip that
  2404. directory and continue searching with the next directory in
  2405. the path.
  2406. Some applications also use the PATH variable to search for
  2407. their files.
  2408. You can edit an existing path with the ^rESET^r command.
  2409. ^bEXAMPLES^b
  2410. The following PATH command directs NDOS to search for an
  2411. executable file in the following order: the current
  2412. directory, the root directory on drive C, the DOS
  2413. subdirectory on drive C, and the UTIL subdirectory on drive
  2414.  c:\> path c:\;c:\dos;c:\util
  2415. Display the current search path:
  2416.  c:\> path
  2417. ^bSYNTAX
  2418.      (Internal NDOS)^b
  2419. PAUSE [message]
  2420. ^bPURPOSE^b
  2421. Suspend alias or batch file execution.
  2422. ^bCOMMENTS^b
  2423. A PAUSE command will suspend execution, giving you the
  2424. opportunity to perform activities such as changing disks,
  2425. turning on the printer, etc.
  2426. PAUSE flushes the keyboard buffer and waits for any key
  2427. (except Ctrl-C or Ctrl-Break) to be pressed and then continues
  2428. executing. If a prompt message is specified, NDOS will display
  2429. the message and wait for a keystroke. Otherwise, PAUSE will
  2430. prompt:
  2431.  Press a key when ready
  2432. If you press a Ctrl-C or Ctrl-Break while PAUSE is waiting for
  2433. a key, execution of an alias will be terminated, and execution
  2434. of a batch file will be suspended while you are prompted
  2435. whether to cancel the batch file.
  2436. See also ^rINKEY^r and ^rINPUT^r.
  2437. ^bEXAMPLE^b
  2438. The following batch file fragment prompts the user before
  2439. erasing files:
  2440.  pause Ctrl-C aborts, any other key erases the .LST files
  2441.  erase *.lst
  2442. ^bSYNTAX
  2443.      (Internal NDOS)^b
  2444. POPD [*]
  2445. ^bPURPOSE^b
  2446. Change to the disk drive and directory at the top of the
  2447. directory stack.
  2448. ^bCOMMENTS^b
  2449. POPD restores the disk and directory saved using PUSHD (most
  2450. recent first).
  2451. The * option clears the directory stack, without changing the
  2452. current drive and directory.
  2453. Use the DIRS command to display the directory stack.
  2454. See also ^rDIRS^r and ^rPUSHD^r.
  2455. ^bEXAMPLES^b
  2456. Save and change your disk drive and directory with PUSHD, and
  2457. then restore it with POPD:
  2458.  c:\> pushd d:\database\test
  2459.  d:\database\test> popd
  2460.  c:\>
  2461. Clear the directory stack:
  2462.  c:\> popd *
  2463. ^bSYNTAX
  2464.      (Internal NDOS)^b
  2465. PROMPT [text]
  2466. ^bPURPOSE^b
  2467. Change the NDOS command line prompt.
  2468. ^bCOMMENTS^b
  2469. If you enter PROMPT with no parameters, NDOS sets the prompt
  2470. on drives A and B to $n$g (display current disk only), and on
  2471. all other drives to $p$g (display current disk and directory).
  2472. The prompt text can contain special strings of the form $?,
  2473. where ? is one of the following:
  2474.  ^bb^b  The | character
  2475.  ^bc^b  The open parenthesis (
  2476.  ^bd^b  Current date, in the format:  Sun Jan 1, 1989
  2477.  ^be^b  The ASCII ESC character (decimal 27)
  2478.  ^bf^b  The close parenthesis )
  2479.  ^bg^b  The > character
  2480.  ^bh^b  BACKSPACE over the previous character.
  2481.  ^bl^b  The < character
  2482.  ^bn^b  Default drive letter
  2483.  ^bP^b  Current disk and directory (upper case)
  2484.  ^bp^b  Current disk and directory (lower case)
  2485.  ^bq^b  The = character
  2486.  ^bs^b  The space character
  2487.  ^bt^b  Current time, in the format hh:mm:ss
  2488.  ^bv^b  MS-DOS version number, in the format:  3.31
  2489.  ^bXd:^b  Current disk and directory (upper case) where ^bd:^b is
  2490.  the drive specification
  2491.  ^bxd:^b  Current disk and directory (lower case) where ^bd:^b is
  2492.  the drive specification
  2493.  ^bz^b  Display the current NDOS shell nesting level (you must
  2494.  be running NDOS as the primary shell in swapping mode).
  2495.  The primary command processor is 0. Resident copies of
  2496.  NDOS return a 99 for the shell nesting level.
  2497.  ^b$^b  The $ character
  2498.  ^b_^b  CR/LF (go to beginning of new line)
  2499. Under COMMAND.COM, it is possible to use the PROMPT command in
  2500. a batch file to transmit ANSI control sequences to the screen
  2501. (for example, to redefine function keys). This is because
  2502. COMMAND.COM displays a prompt when echoing lines in a batch
  2503. file. This technique will not work with NDOS, because NDOS
  2504. doesn't display a prompt within batch files; hence the
  2505. characters in the PROMPT string are never sent to ANSI.SYS.
  2506. To send ANSI sequences in NDOS, use the ECHO command,
  2507. substituting 
  2508. e (Ctrl-X followed by an e) where you would use
  2509. $e in the PROMPT string.
  2510. See also ^rANSI^r.
  2511. ^bEXAMPLE^b
  2512. Set the prompt to the current date and time:
  2513.  c:\> prompt $d $t $g
  2514.  Mon Dec 25, 1989 18:29:19 >
  2515. ^bSYNTAX
  2516.      (Internal NDOS)^b
  2517. PUSHD [[drive:]path]
  2518. ^bPURPOSE^b
  2519. Save the current disk and directory.
  2520. ^bCOMMENTS^b
  2521. PUSHD saves the current directory on the directory stack, and
  2522. if a pathname is specified on the command line, changes the
  2523. disk drive and directory. If The directory stack can hold up
  2524. to 255 characters (about 10 to 20 entries). If you exceed the
  2525. directory stack size, the oldest directory is removed before
  2526. adding the current directory.
  2527. The saved directory is restored on a "last in, first out"
  2528. basis by the POPD command. The directory stack can be
  2529. displayed with the DIRS command.
  2530. See also ^rCDD^r, ^rDIRS^r and ^rPOPD^r.
  2531. ^bEXAMPLE^b
  2532. Save the current directory and change to C:\WORDP\MEMOS:
  2533.  c:\> pushd c:\wordp\memos
  2534.  c:\wordp\memos>
  2535. ^bSYNTAX
  2536.      (Internal NDOS)^b
  2537. ^bPURPOSE^b
  2538. Terminate the current batch file.
  2539. ^bCOMMENTS^b
  2540. You can QUIT at any point in a batch file, not just the end.
  2541. If you QUIT a batch file called from another batch file, you
  2542. will be returned to the previous file at the command following
  2543. the original call. To end all batch file processing, use
  2544. CANCEL.
  2545. See also ^rCANCEL^r.
  2546. ^bEXAMPLE^b
  2547. Check to see if the user entered "quit" and exit if true:
  2548.  input Enter your choice:  %%option
  2549.  if "%option" == "quit" quit
  2550. ^bSYNTAX
  2551.      (Internal NDOS)^b
  2552. RD [drive:]path 
  2553. RMDIR [drive:]path 
  2554. ^bPURPOSE^b
  2555. Remove one or more directories.
  2556. ^bCOMMENTS^b
  2557. RD and RMDIR are the same command.
  2558. Before removing a subdirectory, you must delete all the files
  2559. and subdirectories (and their files) in that directory
  2560. (including any hidden or read-only files).
  2561. You can use the DOS wildcard characters (* and ?) in the
  2562. directory names.
  2563. You cannot remove the root directory (\), the current
  2564. directory (.), or the parent directory (..).
  2565. See also ^rMD^r.
  2566. ^bEXAMPLE^b
  2567. Remove the subdirectory MEMOS from the directory WP on the
  2568. current drive:
  2569.  c:\> rmdir \wp\memos
  2570. ^bSYNTAX
  2571.      (Internal NDOS)^b
  2572. REM [comment]
  2573. ^bPURPOSE^b
  2574. Put a comment in a batch file.
  2575. ^bCOMMENTS^b
  2576. If ECHO is ON, or the variable VERBOSE (see the SETDOS
  2577. command) is set, NDOS will echo the comment. Otherwise, NDOS
  2578. will ignore it. If you don't want to echo the line, preface
  2579. REM with the @ character.
  2580. Enter your comment following the REM, separated by a space or
  2581. tab. Comments can be up to 255 characters. NDOS will ignore
  2582. everything following a REM, including quote characters, the
  2583. redirection symbols (|><) and the command separator character.
  2584. Batch file comments are useful for documenting the purpose for
  2585. a batch file and the procedures used.
  2586. ^bEXAMPLE^b
  2587. Enter comments in a batch file:
  2588.  rem This batch file provides a menu-based system for
  2589.  rem accessing the word processing utilities. Clear
  2590.  rem the screen and get a selection.
  2591. ^bSYNTAX
  2592.      (Internal NDOS)^b
  2593. REN [/PQ] [drive:][path]filename 
  2594. . [drive:][path]filename
  2595. RENAME [/PQ] [drive:][path]filename 
  2596. . [drive:][path]filename
  2597. ^bPURPOSE^b
  2598. Rename files or subdirectories.
  2599. ^bCOMMENTS^b
  2600. REN and RENAME are the same command.
  2601. The last filename is the new name; preceding names are the
  2602. files or directories to be renamed. You can use the wildcard
  2603. characters (* and ?) in the filenames. The new filename must
  2604. not already exist. You cannot rename a subdirectory to a new
  2605. path!
  2606. The REN options are:
  2607.  ^b/P^b  Prompt: Confirm (Y/N) each rename.
  2608.  ^b/Q^b  Quiet: Don't display filenames as they are renamed.
  2609. RENAME in COMMAND.COM only allows a path to be specified with
  2610. the first file name; the path for the target is always the
  2611. same as the source. NDOS allows you to optionally select the
  2612. target path, renaming the source file to a new directory on
  2613. the same disk drive. If you don't specify a path for the
  2614. target, NDOS will assume a "COMMAND.COM compatible RENAME" and
  2615. will rename the source file to the new name without moving it
  2616. to another directory.
  2617. If you want to rename to a different drive, use MOVE.
  2618. See also ^rMOVE^r.
  2619. ^bEXAMPLE^b
  2620. Rename the file MEMO.TXT to OFFICE.TXT:
  2621.  c:\> rename memo.txt office.txt
  2622. Rename the directory \WORDPROC to \WP:
  2623.  c:\> rename \wordproc \wp
  2624. ^bSYNTAX
  2625.      (Internal NDOS)^b
  2626. RENAME [/PQ] [drive:][path]filename 
  2627. . [drive:][path]filename
  2628. REN [/PQ] [drive:][path]filename 
  2629. . [drive:][path]filename
  2630. ^bPURPOSE^b
  2631. Rename files or subdirectories.
  2632. ^bCOMMENTS^b
  2633. REN and RENAME are the same command.
  2634. See ^rREN^r for details.
  2635. ^bSYNTAX
  2636.      (Internal NDOS)^b
  2637. RETURN
  2638. ^bPURPOSE^b
  2639. Return from a GOSUB (subroutine) call in a batch file.
  2640. ^bCOMMENTS^b
  2641. The RETURN command returns from a GOSUB call to the command
  2642. following the original GOSUB.
  2643. See also ^rGOSUB^r.
  2644. ^bEXAMPLE^b
  2645. The following batch file fragment calls a subroutine which
  2646. displays the current directory:
  2647.  echo Calling a subroutine
  2648.  gosub subr1
  2649.  echo Returned from the subroutine
  2650.  quit
  2651.  :subr1
  2652.  dir /hw
  2653.  return
  2654. ^bSYNTAX
  2655.      (Internal NDOS)^b
  2656. RMDIR [drive:]path 
  2657. RD [drive:]path 
  2658. ^bPURPOSE^b
  2659. Remove one or more directories.
  2660. ^bCOMMENTS^b
  2661. RD and RMDIR are the same command.
  2662. See ^rRD^r for details.
  2663. ^bSYNTAX
  2664.      (Internal NDOS)^b
  2665. SCREEN row column [message]
  2666. ^bPURPOSE^b
  2667. Position the cursor on the screen, and optionally display a
  2668. message.
  2669. ^bCOMMENTS^b
  2670. The row and column are zero-based. On a standard 25-line by
  2671. 80-column display, valid rows are 0 to 24 and valid columns
  2672. are 0 to 79.
  2673. SCREEN allows you to create attractive batch file screen
  2674. displays.
  2675. SCREEN does not change the screen colors. If you have
  2676. ANSI.SYS installed and have set colors with CLS or COLOR,
  2677. those colors will be used for the display. To display text
  2678. in specific colors, use SCRPUT.
  2679. SCREEN checks for a valid row and column, and displays an
  2680. error message if either value is out of range.
  2681. See also ^rECHO^r, ^rSCRPUT^r and ^rTEXT^r.
  2682. ^bEXAMPLE^b
  2683. The following batch file fragment displays a menu:
  2684.  @echo off
  2685.  screen 3 10 Select a number from 1 to 4:
  2686.  screen 6 20 1 - Word Processing
  2687.  screen 7 20 2 - Spreadsheet
  2688.  screen 8 20 3 - Telecommunications
  2689.  screen 9 20 4 - Quit
  2690. ^bSYNTAX
  2691.      (Internal NDOS)^b
  2692. SCRPUT row column [BRIGHT] [BLINK] fg ON bg text
  2693. ^bPURPOSE^b
  2694. Display text in color.
  2695. ^bCOMMENTS^b
  2696. The row and column are zero-based. On a standard 25-line by
  2697. 80-column display, valid rows are 0 to 24 and valid columns
  2698. are 0 to 79.
  2699. SCRPUT works like SCREEN, but allows you to specify the
  2700. display colors, and writes directly to the screen.
  2701. The parameters are:
  2702.  ^brow^b
  2703.  Start row
  2704.  ^bcolumn^b  Start column
  2705.  ^bfg^b
  2706.  Foreground character color
  2707.  ^bbg^b
  2708.  Background character color
  2709. Only the first three characters of the color name and
  2710. attributes ("bright" and "blink") are required.
  2711. The available colors are:
  2712.  Black
  2713.  Blue
  2714.  Green
  2715.  Magenta
  2716.  Cyan
  2717.  Yellow
  2718.  White
  2719. See also ^rECHO^r, ^rSCREEN^r and ^rTEXT^r.
  2720. ^bEXAMPLE^b
  2721. The following batch file fragment displays a menu in color:
  2722.  @echo off ^^ cls white on blue
  2723.  scrput 3 10 bri white on blue Select a number from 1 to 4:
  2724.  scrput 6 20 bri red on blue 1 - Word Processing
  2725.  scrput 7 20 bri yellow on blue 2 - Spreadsheet
  2726.  scrput 8 20 bri green on blue 3 - Telecommunications
  2727.  scrput 9 20 bri magenta on blue 4 - Quit
  2728. ^bSYNTAX
  2729.      (Internal NDOS)^b
  2730. SELECT [/A[:]-rhsda] [/O[:]-deinsgu] [command] (pathname
  2731. ^bPURPOSE^b
  2732. Execute a command on the specified files. This command is
  2733. completely different from and replaces the external DOS
  2734. command with the same name.
  2735. ^bCOMMENTS^b
  2736. SELECT allows you to select command line file arguments by
  2737. marking the files using a full-screen "point-and-shoot"
  2738. display. SELECT substitutes the selected files for the
  2739. argument enclosed in parentheses, and executes the command 
  2740. for each marked file. 
  2741. SELECT uses the cursor up, cursor down, PgUp, and PgDn keys 
  2742. to scroll through the files matching the argument(s). 
  2743. Use the + key to select a file, and the - key to unselect a
  2744. file. The * key will select all of the files (excluding
  2745. subdirectories). After marking the files, press Enter to
  2746. execute the command. You can select a single file by moving
  2747. the scroll bar to the filename and pressing Enter.
  2748. To cancel the SELECT command, type an Escape, Ctrl-C, or
  2749. Ctrl-Break.
  2750. The SELECT options are:
  2751.  ^b/A:^b
  2752.  Attributes: Display filenames with specified 
  2753.  attributes. Any combination of the following:
  2754.  ^br^b  Read-only
  2755.  ^bh^b  Hidden
  2756.  ^bs^b  System
  2757.  ^bd^b  Directory
  2758.  ^ba^b  Archive
  2759.  ^b-^b  Prefix means "not"
  2760.  ^b/O:^b
  2761.  Sort Order: Any combination of the following
  2762.  options:
  2763.  ^bd^b  Date and time
  2764.  ^be^b  Extension
  2765.  ^bi^b  File description
  2766.  ^bn^b  Name
  2767.  ^bs^b  Size
  2768.  ^bg^b  Group directories 
  2769.  ^bu^b  Unsorted (like COMMAND.COM)
  2770.  ^b-^b  A minus sign before a sort key means reverse
  2771.  the sort order
  2772. If you specify multiple arguments in the parentheses, SELECT
  2773. will display the matching files for the first argument, prompt
  2774. you to mark the files, execute the command for each marked
  2775. file, and then continue the same procedure with the next
  2776. argument.
  2777. If you append filenames with a ^b;^b (an "include list"),
  2778. SELECT will display the matching filenames in a single
  2779. listing. Only the first filename in an include list can have
  2780. a path.
  2781. If you enclose the arguments in square brackets [] rather than
  2782. parentheses, SELECT will insert all of the arguments into the
  2783. command line and only execute the command once. You must be
  2784. careful not to exceed the maximum line length (127 characters
  2785. for external commands, and 255 characters for internal NDOS
  2786. commands).
  2787. ^bEXAMPLE^b
  2788. Select from the files in the current directory with the
  2789. extension .COM, and then from the files with the extension
  2790. .EXE to copy to the root directory on drive A:
  2791.  c:\> select copy (*.com *.exe) a:\
  2792. Select and run an executable program (.COM, .EXE, or .BAT)
  2793. from files in the C:\UTIL directory (an "include list"):
  2794.  c:\> select (c:\util\*.com;*.exe;*.bat)
  2795. ^bSYNTAX
  2796.      (Internal NDOS)^b
  2797. SET [/P][/R pathname
  2798. .] [variable[=][value]]
  2799. ^bPURPOSE^b
  2800. Display, create, modify, or delete environment variables.
  2801. ^bCOMMENTS^b
  2802. Entering SET with no variable or value displays the
  2803. environment. If you don't enter a value, SET will remove the
  2804. variable from the environment. Otherwise, the variable and
  2805. value are placed in the environment. If the variable already
  2806. exists, its old contents are replaced by the new value. 
  2807. NDOS limits the variable name to a maximum of 80 characters,
  2808. and the value to a maximum of 255 characters. The variable
  2809. names are shifted to upper case before being stored in the
  2810. environment; the value is stored exactly as entered.
  2811. The SET options are:
  2812.  ^b/P^b  Pause: Halt display after each screen.
  2813.  ^b/R^b  Read: Load environment variables from a file. 
  2814. Reading environment variables from a file is much faster than
  2815. loading variables in a batch file. The file is in the same
  2816. format as the SET display, so SET /R can accept as input a
  2817. file generated by redirecting SET output. For example, the
  2818. following commands will save the environment variables to a
  2819. file, and then reload them from that file:
  2820.  set > varlist
  2821.  set /r varlist
  2822. You can load variables from multiple files by listing the
  2823. filenames individually after the /R. You can also add comments
  2824. to a variable file by starting the comment line with a colon.
  2825. SET only affects the environment of the current command
  2826. processor. If you EXIT to a parent command processor, the
  2827. original environment will be unchanged. The size of the
  2828. environment is specified by the /E parameter at startup. The
  2829. default size is 512 characters, the minimum size 256
  2830. characters, and the maximum size 32
  2831. 0 characters.
  2832. You can remove multiple environment variables with the UNSET
  2833. command, and edit environment variables with the ESET command.
  2834. See also ^rESET^r and ^rUNSET^r.
  2835. ^bEXAMPLE^b
  2836. Display the current environment:
  2837.  c:\> set
  2838. Add a variable to the environment:
  2839.  c:\> set mine=c:\finance\myfiles
  2840. Remove a variable from the environment:
  2841.  c:\> set mine=
  2842. ^bSYNTAX
  2843.      (Internal NDOS)^b
  2844. SETDOS [/A? /C? /E? /F? /H? /I+|-command /L? /M? /N? /R? /S?:?
  2845.  /U? /V?]
  2846. ^bPURPOSE^b
  2847. Display or set NDOS configuration variables.
  2848. ^bCOMMENTS^b
  2849. SETDOS allows you to customize NDOS to your personal tastes.
  2850. You would normally define the SETDOS variables in AUTOEXEC.BAT
  2851. or NSTART.BAT.
  2852. The SETDOS options are:
  2853.  ^bA^b  The ANSI variable determines whether NDOS will attempt
  2854.  to use an ANSI escape sequence for CLS. NDOS normally
  2855.  determines this itself, but if you are using a
  2856.  non-standard ANSI driver or your loading sequence is
  2857.  unusual, you may need to explicitly inform NDOS. /A0
  2858.  allows NDOS to determine whether an ANSI driver is
  2859.  installed; /A1 forces NDOS to assume an ANSI driver is
  2860.  installed; /A2 forces NDOS to assume an ANSI driver is
  2861.  not installed.
  2862.  ^bC^b  The COMPOUND variable is the character used for
  2863.  separating multiple commands on the same line. The
  2864.  default character is the caret (^^). You cannot use
  2865.  any of the redirection characters (|><), or the white-
  2866.  space characters as the command separator.
  2867.  ^bE^b  The ESCAPE variable is the character used to suppress
  2868.  the normal meaning of the following character. Any
  2869.  character following the escape character will be
  2870.  passed unmodified to the command line. The default
  2871.  escape character is ^^X (Ctrl-X). You cannot use any of
  2872.  the redirection characters (|><) or the whitespace
  2873.  characters as the escape character.
  2874.  ^bF^b  The FILENAME variable sets filename truncation. The 
  2875.  default is /F0 for filename truncation. Use /F1 for 
  2876.  full filenames.
  2877.  ^bH^b  The HISTORY variable determines the minimum command
  2878.  size to save. Any command line whose length is less
  2879.  than this value will not be saved to the history
  2880.  list. Setting /H to 256 will disable history saves;
  2881.  setting it to 0 will save everything. The default
  2882.  value is 0 (save all command lines).
  2883.  ^bI^b  The INTERNAL variable allows you to disable or enable
  2884.  internal NDOS commands. To disable a command, precede
  2885.  the command name with a minus (-). To re-enable a
  2886.  command, precede it with a plus (+).
  2887.  ^bL^b  The LINE variable controls how NDOS gets its input from
  2888.  the command line. The default value is 0 (character
  2889.  input). If you set /L to 1, NDOS uses the MS-DOS "Get
  2890.  Line" call (like COMMAND.COM). Note that this will
  2891.  disable command line editing, history recall, and
  2892.  filename expansion. If you have a program that requires
  2893.  line input, you can define an alias or batch file:
  2894.  setdos /L1 ^^ program %& ^^ setdos /L0
  2895.  ^bM^b  The MODE variable controls the line editing mode. NDOS
  2896.  defaults to overstrike mode (/M0). If MODE is set to
  2897.  1, the default is insert mode.
  2898.  ^bN^b  The NOCLOBBER variable controls output redirection. If
  2899.  NOCLOBBER is set to 1, then existing files may not be
  2900.  destroyed by output redirection, and when appending
  2901.  with >>, the output file must exist. NOCLOBBER can be
  2902.  overridden with the ! character. The default value is
  2903.  ^bR^b  The ROWS variable determines the number of screen rows
  2904.  used by the video display. Normally NDOS detects the
  2905.  screen size, but if you have a non-standard display
  2906.  you may need to set it explicitly. The ROWS variable
  2907.  does not affect screen scrolling (that is controlled
  2908.  by your video BIOS or ANSI.SYS); it is used only for
  2909.  LIST, SELECT, the paged output options (i.e., TYPE
  2910.  /P), and error checking in the screen output commands.
  2911.  ^bS^b  The SHAPE variable sets the NDOS cursor shape. The
  2912.  format is /Ss:e, where "s" is the starting scan line,
  2913.  and "e" the ending. The default values are the last
  2914.  two lines of the cursor cell. The default editing
  2915.  mode (see /M above) uses the default cursor shape; the
  2916.  other mode displays a block (if the default is an
  2917.  underline), or an underline (if the default is a
  2918.  block). SETDOS will change the cursor shape
  2919.  immediately, so it can be used to hide the cursor
  2920.  while in a batch file (for example, SETDOS /S32:32).
  2921.  ^bU^b  The UPPER variable controls the way filenames are
  2922.  displayed for the internal commands (COPY, DIR,
  2923.  etc.). If UPPER is 1, filenames will be displayed in
  2924.  uppercase (like COMMAND.COM). Upper defaults to /U0
  2925.  (filenames will be displayed in lower case).
  2926.  ^bV^b  The VERBOSE variable controls command echoing in batch
  2927.  files. If VERBOSE is set to 0, batch files will NOT
  2928.  be echoed unless ECHO is set ON. VERBOSE defaults to
  2929.  1 (batch file commands WILL be echoed).
  2930. ^bEXAMPLES^b
  2931. Change the COMPOUND character to a ~ (tilde):
  2932.  c:\> setdos /c~
  2933. Change MODE to insert, VERBOSE to off, and set NOCLOBBER on:
  2934.  c:\> setdos /m1 /v0 /n1
  2935. Disable the internal LIST command to force NDOS to use an
  2936. external command:
  2937.  c:\> setdos /i-list
  2938. ^bSYNTAX
  2939.      (Internal NDOS)^b
  2940. SETLOCAL
  2941. ^bPURPOSE^b
  2942. Save a copy of the current disk drive, directory, environment
  2943. variables, and aliases.
  2944. ^bCOMMENTS^b
  2945. SETLOCAL is used in batch files to save the disk drive,
  2946. directory, aliases, and environment variables to a reserved
  2947. block of memory. You can then change their values, and later
  2948. restore the original values with ENDLOCAL. You cannot use
  2949. SETLOCAL in an alias.
  2950. SETLOCAL and ENDLOCAL are not nestable within the same batch
  2951. file. However, you can have multiple SETLOCAL and ENDLOCAL
  2952. pairs within a batch file, and nested batch files can each
  2953. have their own SETLOCAL and ENDLOCAL. NDOS will automatically
  2954. perform an ENDLOCAL at the end of a batch file.
  2955. Note that if you invoke a batch from another without using
  2956. CALL, the first batch file is implicitly terminated, and an
  2957. automatic ENDLOCAL performed. The second batch file will
  2958. inherit the drive, directory, environment variables, and
  2959. aliases as they were prior to the SETLOCAL.
  2960. Do not use TSRs (memory-resident programs) from a batch file
  2961. while SETLOCAL is in effect. If you do, when ENDLOCAL is
  2962. executed and the memory used by SETLOCAL is released, a
  2963. "hole" will be left in memory below the TSR. This is not
  2964. usually harmful, but wastes memory.
  2965. See also ^rENDLOCAL^r.
  2966. ^bEXAMPLE^b
  2967. This batch file fragment saves the disk drive, directory,
  2968. aliases, and environment variables, changes the disk and
  2969. directory, modifies some variables, runs a program, and then
  2970. restores the original values:
  2971.  setlocal
  2972.  cdd d:\test ^^ set path=c:\dos;c:\util ^^ set lib=d:\lib
  2973.  rem run some program here
  2974.  endlocal
  2975. ^bSYNTAX
  2976.      (Internal NDOS)^b
  2977. SHIFT [n]
  2978. ^bPURPOSE^b
  2979. Allow the use of more than 10 variables in a batch file.
  2980. ^bCOMMENT^b
  2981. SHIFT is provided for compatibility with COMMAND.COM.
  2982. COMMAND.COM supports only 10 parameters (%0 through %9); NDOS
  2983. supports 128 parameters (%0 to %127), so you may not need to
  2984. use SHIFT for batch files running exclusively under NDOS.
  2985. SHIFT moves each of the batch file parameters "n" positions
  2986. (for example, %1 becomes %0, %2 becomes %1, etc.). The default
  2987. value for "n" is 1. You can also reverse a SHIFT, by giving a
  2988. negative value for "n" (for example, if "n" is -1, the former
  2989. value for %0 is restored, %0 becomes %1, %1 becomes %2, etc.).
  2990. SHIFT also affects the %n& (command line tail) and %# (number
  2991. of command arguments) batch variables.
  2992. ^bEXAMPLE^b
  2993. Create a batch file called TEST.BAT:
  2994.  echo %1 %2 %3 %4
  2995.  shift
  2996.  echo %1 %2 %3 %4
  2997.  shift 2
  2998.  echo %1 %2 %3 %4
  2999.  shift -1
  3000.  echo %1 %2 %3 %4
  3001. Executing TEST.BAT produces the following results:
  3002.  c:\> test zero one two three four five six
  3003.  zero one two three
  3004.  one two three four
  3005.  three four five six
  3006.  two three four five
  3007. ^bSYNTAX
  3008.      (Internal NDOS)^b
  3009. SWAPPING [ON | OFF]
  3010. ^bPURPOSE^b
  3011. Display, enable, or disable the NDOS swapping state.
  3012. ^bCOMMENTS^b
  3013. SWAPPING will temporarily disable or enable the swapping of
  3014. the NDOS transient portion to EMS, XMS, or disk. This is
  3015. particularly useful when running batch files while swapping
  3016. to disk. 
  3017. If swapping is enabled, NDOS saves its transient portion
  3018. before executing any external command. When the command
  3019. finishes, NDOS performs a checksum on the transient portion,
  3020. and restores it if necessary. (When swapping to EMS or XMS,
  3021. NDOS always restores the transient portion.)  
  3022. When you are running several small programs from a batch file
  3023. and using disk swapping, the swapping can sometimes cause a
  3024. noticeable delay. Turning SWAPPING OFF can speed up such
  3025. operations, particularly in a length AUTOEXEC.BAT file.
  3026. If SWAPPING is OFF, available DOS memory will be reduced by
  3027. the size of the NDOS transient portion (about 80K). Setting
  3028. SWAPPING OFF does not close the disk swap file, or release any
  3029. reserved EMS or XMS memory.
  3030. ^bEXAMPLES^b
  3031. Check the current SWAPPING status:
  3032.  c:\> swapping
  3033.  SWAPPING is ON
  3034. The following batch file fragment disables swapping, runs
  3035. several programs, and then re-enables swapping:
  3036.  swapping off
  3037.  c:\util\mouse
  3038.  c:\video\ansi.com
  3039.  cls bright white on blue
  3040.  c:\bin\cache.com
  3041.  swapping on
  3042. ^bSYNTAX
  3043.      (Internal NDOS)^b
  3044. TEE [/A] pathname
  3045. ^bPURPOSE^b
  3046. Copy standard input to standard output, and save a copy in the
  3047. specified file(s).
  3048. ^bCOMMENTS^b
  3049. The only option for TEE is:
  3050.  ^b/A^b  Append: Output is added to the file(s) rather than
  3051.  overwriting it.
  3052. If you are typing at the keyboard, you need to enter a Ctrl-Z
  3053. to terminate the input.
  3054. TEE is often used to save the intermediate output of a pipe.
  3055. See also ^rY^r.
  3056. ^bEXAMPLE^b
  3057. Search the file DOC for any lines containing the string
  3058. "NDOS", make a copy of the matching lines in N.DAT, and write
  3059. them to the output file NDOS.DAT:
  3060.  c:\> find "NDOS" doc | tee n.dat | sort > ndos.dat
  3061. ^bSYNTAX
  3062.      (Internal NDOS)^b
  3063. ENDTEXT
  3064. ^bPURPOSE^b
  3065. Display a block of text in a batch file.
  3066. ^bCOMMENTS^b
  3067. The TEXT command is useful for displaying menus or
  3068. multiple-line messages. TEXT will display subsequent lines
  3069. in the text until terminated by ENDTEXT. Both TEXT and
  3070. ENDTEXT must be entered as the only command on that line.
  3071. If you have ANSI.SYS loaded, you can change screen colors by
  3072. inserting ANSI escape sequences into the text block.
  3073. See also ^rECHO^r, ^rSCREEN^r, and ^rSCRPUT^r.
  3074. ^bEXAMPLE^b
  3075. The following batch file fragment displays a simple menu:
  3076.  @echo off ^^ cls ^^ screen 2 0
  3077.  text
  3078.  Enter one of the following:
  3079.  1 - Spreadsheet
  3080.  2 - Word Processing
  3081.  3 - DOS Utilities
  3082.  Enter your selection:
  3083.  endtext
  3084. ^bSYNTAX
  3085.      (Internal NDOS)^b
  3086. TIME [hh:mm:ss [A|P]]
  3087. ^bPURPOSE^b
  3088. Display or set the current system time.
  3089. ^bCOMMENTS^b
  3090. If you don't enter any parameters, TIME will display the
  3091. current system time and prompt you for a new time. Press
  3092. ENTER if you don't wish to change the time, otherwise enter
  3093. the new time.
  3094. The parameters for the TIME command are:
  3095.  ^bhh^b
  3096.  hour (0 to 23).
  3097.  ^bmm^b
  3098.  minute (0 to 59).
  3099.  ^bss^b
  3100.  second (0 to 59).
  3101.  ^bA^b
  3102.  AM for 12 hour format.
  3103.  ^bP^b
  3104.  PM for 12 hour format.
  3105. TIME defaults to 24-hour format, but you can optionally enter
  3106. the time in 12-hour format by appending an "A" or "P" for am
  3107. or pm.
  3108. Whenever you create or modify a file, the system time is
  3109. recorded in the directory entry.
  3110. See also ^rCHCP^r and ^rDATE^r.
  3111. ^bEXAMPLES^b
  3112. Enter the time (9:30 am):
  3113.  c:\> time 9:30
  3114. To be prompted for the time:
  3115.  c:\> time
  3116.  Mon Dec 25, 1989  9:30:10
  3117.  New time (hh:mm:ss):
  3118. ^bSYNTAX
  3119.      (Internal NDOS)^b
  3120. TIMER [/S]
  3121. ^bPURPOSE^b
  3122. System stopwatch.
  3123. ^bCOMMENTS^b
  3124. The TIMER command turns the system stopwatch on and off. The
  3125. first time you run TIMER, the stopwatch starts. When you run
  3126. TIMER again, the stopwatch stops and the elapsed time is
  3127. displayed.
  3128. The only option for TIMER is:
  3129.  ^b/S^b  Split Time: Display elapsed times without stopping 
  3130.  the timer.
  3131. TIMER is particularly useful for timing events in batch
  3132. files.
  3133. The smallest interval TIMER can measure 0.06 seconds; the
  3134. largest interval is 23:59:59.99.
  3135. See also ^rTIME^r.
  3136. ^bEXAMPLE^b
  3137. Start the timer:
  3138.  c:\> timer
  3139.  Timer on:  12:21:46
  3140. Display a split time:
  3141.  c:\> timer /s
  3142.  Elapsed time:  0:00:06.19
  3143. Stop the timer:
  3144.  c:\> timer
  3145.  Timer off:  12:21:58
  3146.  Elapsed time 0:00:12.06
  3147. ^bSYNTAX
  3148.      (Internal NDOS)^b
  3149. TYPE [/LP] [drive:][path]filename
  3150. ^bPURPOSE^b
  3151. Display the contents of the specified file(s).
  3152. ^bCOMMENTS^b
  3153. The TYPE command displays a file. Press ^^S to suspend the
  3154. display, and any character key to continue the display.
  3155. The TYPE options are:
  3156.  ^b/L^b  Line: Display line numbers preceding each line 
  3157.  of text.
  3158.  ^b/P^b  Pause: Halt display after each screen. Press Ctrl-C to
  3159.  quit, or any other key to display the next screen.
  3160. TYPE is normally only useful for displaying ASCII text files;
  3161. executable files (.COM and .EXE) and many data files will be
  3162. unreadable due to the presence of non-alphanumeric characters.
  3163. You will probably find LIST to be more useful for displaying
  3164. files.
  3165. See also ^rLIST^r.
  3166. ^bEXAMPLE^b
  3167. Display the files MEMO1 and MEMO2, pausing at the end of each
  3168. page:
  3169.  c:\> type /p memo1 memo2
  3170. ^bSYNTAX
  3171.      (Internal NDOS)^b
  3172. UNALIAS alias
  3173. UNALIAS *
  3174. ^bPURPOSE^b
  3175. Remove aliases from the alias list.
  3176. ^bCOMMENTS^b
  3177. UNALIAS also accepts the wildcard character * to delete all
  3178. aliases.
  3179. See also ^rALIAS^r and ^rESET^r.
  3180. ^bEXAMPLES^b
  3181. Remove the alias DDIR:
  3182.  c:\> unalias ddir
  3183. Remove the aliases DDIR and ZAP:
  3184.  c:\> unalias ddir zap
  3185. Remove all the aliases:
  3186.  c:\> unalias *
  3187. ^bSYNTAX
  3188.      (Internal NDOS)^b
  3189. UNSET name
  3190. UNSET *
  3191. ^bPURPOSE^b
  3192. Remove variables from the environment.
  3193. ^bCOMMENTS^b
  3194. UNSET also accepts the wildcard character * to delete all
  3195. environment variables. Use caution with UNSET * as many
  3196. programs are dependent on environment variables, and NDOS
  3197. itself relies on PATH, COMSPEC, and NDSHELL.
  3198. See also ^rSET^r and ^rESET^r.
  3199. ^bEXAMPLES^b
  3200. Remove the variable CMDLINE:
  3201.  c:\> unset cmdline
  3202. Remove the variables CMDLINE and PATH:
  3203.  c:\> unset cmdline path
  3204. Remove all the environment variables:
  3205.  c:\> unalias *
  3206. ^bSYNTAX
  3207.      (Internal NDOS)^b
  3208. ^bPURPOSE^b
  3209. Display the current NDOS and MS-DOS versions.
  3210. ^bCOMMENTS^b
  3211. The NDOS and DOS versions consist of a one-digit major
  3212. version number, a period, and a two-digit minor version
  3213. number.
  3214. ^bEXAMPLE^b
  3215. Get the current version of NDOS and DOS:
  3216.  c:\> ver
  3217.  DOS version 3.30
  3218.  NDOS, Norton Utilities 6.01
  3219. ^bSYNTAX
  3220.      (Internal NDOS)^b
  3221. VERIFY [ON | OFF]
  3222. ^bPURPOSE^b
  3223. Display, enable, or disable disk write verification.
  3224. ^bCOMMENTS^b
  3225. When VERIFY is ON, DOS will verify that no error occurred
  3226. during each disk write operation. It does NOT compare the
  3227. data actually written to the disk. VERIFY will remain ON
  3228. until you set it OFF.
  3229. Entering VERIFY with no parameters will display the current
  3230. VERIFY state.
  3231. Verification will slow your disk write operations.
  3232. At system startup, VERIFY is OFF.
  3233. ^bEXAMPLES^b
  3234. Check the current verify status:
  3235.  c:\> verify
  3236.  VERIFY is OFF
  3237. Enable disk write verification:
  3238.  c:\> verify on
  3239. ^bSYNTAX
  3240.      (Internal NDOS)^b
  3241. VOL [drive:]
  3242. ^bPURPOSE^b
  3243. Display the disk volume label(s).
  3244. ^bCOMMENTS^b
  3245. If you don't enter a drive name, VOL displays the disk label
  3246. for the current drive.
  3247. If the disk doesn't have a volume name, VOL will report it as
  3248. "unlabeled."
  3249. Volume labels can be created, changed or deleted with the DOS
  3250. LABEL command.
  3251. See also ^rDISKCOPY^r and ^rLABEL^r.
  3252. ^bEXAMPLE^b
  3253. Display the disk labels for drives A and B:
  3254.  c:\> vol a: b:
  3255.  Volume in drive A: is unlabeled
  3256.  Volume in drive B: is BACKUP_2
  3257. ^bSYNTAX
  3258.      (Internal NDOS)^b
  3259. Y pathname
  3260. ^bPURPOSE^b
  3261. Copy standard input to standard output, and then copy the
  3262. specified file(s) to standard output.
  3263. ^bCOMMENTS^b
  3264. Standard input from the console is terminated by a Ctrl-Z.
  3265. See also ^rTEE^r.
  3266. ^bEXAMPLE^b
  3267. Get text from standard input, append the files MEMO1 and MEMO2
  3268. to it, and send the output to MEMOS:
  3269.  c:\> y memo1 memo2 > memos
  3270. ^bSYNTAX
  3271.      (Internal NDOS/External Norton BE)^b
  3272. BE command
  3273. ^bPURPOSE^b
  3274. Enhance batch file capabilities.
  3275. ^bCOMMENTS^b
  3276. For faster execution of batch files, NDOS directly supports
  3277. the following Norton Batch Enhancer subcommands:
  3278.  BE ASK
  3279.  BE REBOOT
  3280.  BE BEEP
  3281.      BE ROWCOL
  3282.  BE BOX
  3283.  BE SA
  3284.  BE CLS
  3285.  BE SHIFTSTATE
  3286.  BE DELAY
  3287.  BE TRIGGER
  3288.  BE MONTHDAY
  3289.  BE WEEKDAY
  3290.  BE PRINTCHAR
  3291.  BE WINDOW
  3292. Each BE command is described under its own entry. Use 
  3293.  ^bBE command /?^b 
  3294. for quick help on the command line.
  3295. ^bNote:^b If the internal NDOS BE command can't find the
  3296. referenced command, for example, it's a filename for a BE
  3297. script file in the form:
  3298.  BE script-file [[GOTO] label] 
  3299. NDOS will look for BE.EXE in the path and execute that
  3300. instead, passing the rest of the command to it. The following
  3301. BE commands have no meaning in NDOS as they occur only in BE
  3302. script files:
  3303.  BE EXIT
  3304.  BE GOTO
  3305.  BE JUMP
  3306. See ^rBE ASK^r, ^rBE BEEP^r, ^rBE BOX^r, ^rBE CLS^r, ^rBE DELAY^r, ^rBE EXIT^r, 
  3307. ^rBE GOTO^r, ^rBE JUMP^r, ^rBE MONTHDAY^r, ^rBE PRINTCHAR^r, ^rBE REBOOT^r, 
  3308. ^rBE ROWCOL^r, ^rBE SA^r, ^rBE SHIFTSTATE^r, ^rBE TRIGGER^r, ^rBE WEEKDAY^r,
  3309. and ^rBE WINDOW^r.
  3310. ^bSYNTAX
  3311.      (Internal NDOS/External Norton BE)^b
  3312. BE ASK "prompt" [key-list] [DEFAULT=key] [TIMEOUT=n]
  3313.  [ADJUST=n] [color] [/DEBUG]
  3314. ^bPURPOSE^b
  3315. Request input from the keyboard and set the DOS ERRORLEVEL
  3316. code.
  3317. ^bCOMMENTS^b
  3318. BE ASK prompts the user for a response to a question. This
  3319. allows you to create interactive batch files that support
  3320. conditional branching.
  3321. A default key can be set if the user presses Enter and a
  3322. default timeout period can be specified. The key selected is
  3323. returned as an exit code, which can be adjusted with an
  3324. offset.
  3325. The options are:
  3326.  ^bprompt^b
  3327.  Text string to display when the command runs.
  3328.  If the prompt string has embedded commas
  3329.  and/or spaces, the entire string must be
  3330.  enclosed in quotes. Use two quotes together
  3331.  if you do not want to display a prompt.
  3332.  ^bkey-list^b  List of response keys (characters or
  3333.  numbers).
  3334.  ^bDEFAULT^b
  3335.  Key returned if no key is pressed within the
  3336.  timeout period, or if the user presses Enter.
  3337.  ^bTIMEOUT^b
  3338.  Time in seconds before the default key is
  3339.  returned. If n is zero, or no timeout is
  3340.  specified, ASK will wait forever.
  3341.  ^bADJUST^b
  3342.  Adds the return value to this amount.
  3343.  ^bcolor^b
  3344.  SA (Screen Attribute) format color
  3345.  specification for the text of the prompt
  3346.  (see BE SA).
  3347. The /DEBUG option displays the ERRORLEVEL value returned.
  3348. A beep is generated if the user presses a key that is not in
  3349. the designated key-list.
  3350. ^bEXAMPLE^b
  3351. The following batch file fragment can be used as part of a
  3352. menu system:
  3353.  be ask "Run the (E)ditor, D(atabase) or Q(uit)?" edq
  3354.  if errorlevel 3 goto quit
  3355.  if errorlevel 2 goto database
  3356.  if errorlevel 1 goto editor
  3357. ^bSYNTAX
  3358.      (Internal NDOS/External Norton BE)^b
  3359. BE BEEP [/Dn] [/Fn] [/Rn] [/Wn]
  3360. BE BEEP [pathname [/E]]
  3361. ^bPURPOSE^b
  3362. Specify the frequency and duration of a tone through the
  3363. speaker.
  3364. ^bCOMMENTS^b
  3365. BE BEEP uses the system speaker to create tones based on the
  3366. specified frequency and duration. Use them to signal error
  3367. conditions or the completion of a task.
  3368. The options are:
  3369.  ^b/Dn^b  Duration of the tone, in 1/18ths of a second.
  3370.  ^b/Fn^b  Frequency of the tone, where n is cycles per
  3371.  second (Hertz).
  3372.  ^b/Rn^b  Repeat the tone n times.
  3373.  ^b/Wn^b  Wait between tones n/18ths of a second.
  3374.  ^b/E^b
  3375.  Echo the quoted text  in comments.
  3376. BE BEEP can also play notes from a script file. This is a
  3377. text file with a list of switches. Comments can be placed in
  3378. the script file following the switches, but must be preceded
  3379. by a semicolon. Parts of comments enclosed in quotes will
  3380. display when the script file is run.
  3381. ^bNote:^b NDOS does not directly support script files. If one
  3382. is entered on the command line, NDOS will attempt to locate
  3383. the Norton BE.EXE program and pass the command line to it.
  3384. See also ^rBEEP^r for a frequency table.
  3385. ^bEXAMPLE^b
  3386. Play the note "A" for 2 seconds and repeat 3 times. Pause
  3387. for 1 second between notes:
  3388.  be beep /f440 /d36 /r3 /w18
  3389. The following script file, 2NOTE, plays two different notes:
  3390.  /f330 /d10 /r2 /w5; that was "mi"
  3391.  /f440 /d10 /r3 /w5; that was "sol"
  3392.  be beep 2note
  3393. To also display the words "mi" and "sol" use:
  3394.  be beep 2note /e
  3395. ^bSYNTAX
  3396.      (Internal NDOS/External Norton BE)^b
  3397. BE BOX top, left, bottom, right [SINGLE | DOUBLE] [color]
  3398. ^bPURPOSE^b
  3399. Draw a rectangle at a specified location on the screen.
  3400. ^bCOMMENTS^b
  3401. BE BOX draws boxes of various shapes, sizes, and colors at a
  3402. specified location on the screen. The boxes can have single
  3403. or double line borders. The boxes are not filled, so any
  3404. text within the confines of the box is not overwritten.
  3405. The options are:
  3406.  ^btop^b
  3407.  Row for upper left corner of box.
  3408.  ^bleft^b
  3409.  Column for upper left corner of box.
  3410.  ^bbottom^b
  3411.  Row for lower right corner of box.
  3412.  ^bright^b
  3413.  Column for lower right corner of box.
  3414.  ^bSINGLE^b
  3415.  Single line outline.
  3416.  ^bDOUBLE^b
  3417.  Double line outline.
  3418.  ^bcolor^b
  3419.  SA (Screen Attribute) format color
  3420.  specification for the box (see BE SA).
  3421. The default box is double line.
  3422. See also ^rDRAWBOX^r.
  3423. ^bEXAMPLE^b
  3424. Draw a red box on a green background with a single-line
  3425. border:
  3426.  be box 10 10 20 40 single red on green
  3427. ^bSYNTAX
  3428.      (Internal NDOS/External Norton BE)^b
  3429. BE CLS [color]
  3430. ^bPURPOSE^b
  3431. Clears the screen, optionally using the specified attribute.
  3432. ^bCOMMENTS^b
  3433. BE CLS will clear the screen using the attribute at the
  3434. current cursor location or the attribute specified on the
  3435. command line. One reason for clearing the screen with a
  3436. certain attribute is that other Batch Enhancer commands such
  3437. as ROWCOL, ASK, and BOX will use the existing screen
  3438. attributes if no color is specified on the command line. By
  3439. setting the screen to a certain attribute ahead of time,
  3440. other Batch Enhancer commands can be smaller and faster.
  3441. The only option is:
  3442.  ^bcolor^b
  3443.  Use the SA (Screen Attribute) format for the
  3444.  color specification.
  3445. See also ^rBE SA^r and ^rCLS^r.
  3446. ^bEXAMPLE^b
  3447. Clear the screen and set colors to a red foreground on a
  3448. green background:
  3449.  be cls red on green
  3450. ^bSYNTAX
  3451.      (Internal NDOS/External Norton BE)^b
  3452. BE DELAY ticks
  3453. ^bPURPOSE^b
  3454. Pause execution of a batch file for a specified length of
  3455. time.
  3456. ^bCOMMENTS^b
  3457. BE DELAY pauses execution of a batch file for the specified
  3458. number of clock ticks. The batch file resumes when the time
  3459. has elapsed.
  3460. The only option is: 
  3461.  ^bticks^b
  3462.  Each clock tick is 1/18 of a second.
  3463. See also ^rDELAY^r.
  3464. ^bEXAMPLE^b
  3465. Pause execution for one-half second:
  3466.  be delay 9
  3467. ^bSYNTAX
  3468.      (External Norton BE)^b
  3469. BE EXIT
  3470. ^bPURPOSE^b
  3471. Terminate execution of a Batch Enhancer script-file, before
  3472. the end of the file is reached.
  3473. ^bCOMMENTS^b
  3474. The BE EXIT command is used only in Batch Enhancer
  3475. script-files and has no meaning if executed directly from
  3476. ^bEXAMPLE^b
  3477. The following script file, COLOR.DAT, prompts for a numeric
  3478. entry and then changes the screen colors according to the
  3479. number pressed.
  3480.  ask "1=White/Black, 2=White/Blue, 3=Abort " 123 DEFAULT=3
  3481.  jump onblack, onblue, nochange
  3482.  :onblack
  3483.  sa white on black
  3484.  exit
  3485.  :onblue
  3486.  sa bright white on blue
  3487.  :nochange
  3488. To execute the script, use:
  3489.  be color.dat
  3490. See also ^rBE ASK^r and ^rBE JUMP^r.
  3491. ^bSYNTAX
  3492.      (External Norton BE)^b
  3493. BE script-file [[GOTO] label]
  3494. ^bPURPOSE^b
  3495. Specify where execution should begin in a Batch Enhancer
  3496. script-file.
  3497. ^bCOMMENTS^b
  3498. The BE GOTO command is used to start execution of a
  3499. ^bscript-file^b at a line other than the beginning. The GOTO
  3500. token itself is optional, as long as a label is defined after
  3501. the name of the script-file.
  3502. The conventions used for labels are the same as in DOS. The
  3503. label must start with a colon (:) and exist on its own line
  3504. within the script-file.
  3505. The BE GOTO options are:
  3506.  ^bscript-file^b  A Batch Enhancer script-file.
  3507.  ^blabel^b
  3508.  A valid label that exists inside a 
  3509.  script-file.
  3510. BE GOTO differs from the DOS batch command GOTO in that it
  3511. only works with Batch Enhancer script-files.
  3512. BE JUMP is used for conditional branching within a script 
  3513. file, while BE GOTO is used for a conditional entry point 
  3514. into the script file.
  3515. See also ^rBE JUMP^r.
  3516. ^bEXAMPLE^b
  3517. The following script file, COLOR.DAT, prompts for a numeric
  3518. entry and then changes the screen colors according to the
  3519. number pressed.
  3520.  ask "1=White/Black, 2=White/Blue, 3=Abort " 123 DEFAULT=3
  3521.  jump onblack, onblue, nochange
  3522.  :onblack
  3523.  sa white on black
  3524.  exit
  3525.  :onblue
  3526.  sa bright white on blue
  3527.  :nochange
  3528. To execute the script beginning at the second label, use:
  3529.  be color.dat goto onblue
  3530. See also ^rBE EXIT^r and ^rBE JUMP^r.
  3531. ^bSYNTAX
  3532.      (External Norton BE)^b
  3533. JUMP label1 [, label2 [, 
  3534. ., labelN]] [/DEFAULT:label]
  3535. ^bPURPOSE^b
  3536. Branch to a label in a Batch Enhancer script-file based
  3537. on the exit code (ERRORLEVEL) of the previous command.
  3538. ^bCOMMENTS^b
  3539. The exit code is used as an offset into the series of labels;
  3540. execution continues at the appropriate label.
  3541. The BE JUMP options are:
  3542.  label
  3543.  A valid label that appears in the script-file.
  3544.  /DEFAULT:label The label to branch to if the exit code is
  3545.  zero, or if the exit code is greater than 
  3546.  the number of labels supplied.
  3547. The BE JUMP command only appears in script-files and has no
  3548. meaning if executed directly from DOS.
  3549. BE JUMP is used for conditional branching within a script 
  3550. file, while BE GOTO is used for a conditional entry point 
  3551. into the script file.
  3552. See also ^rBE GOTO^r, ^rBE EXIT^r, ^rBE ASK^r, ^rBE WEEKDAY^r, ^rBE MONTHDAY^r,
  3553. and ^rBE SHIFTSTATE^r.
  3554. ^bEXAMPLE^b
  3555. The following script file, COLOR.DAT, prompts for a numeric
  3556. entry and then changes the screen colors according to the
  3557. number pressed.
  3558.  ask "1=White/Black, 2=White/Blue, 3=Abort " 123 DEFAULT=3 
  3559.  jump onblack, onblue, nochange
  3560.  :onblack
  3561.  sa white on black
  3562.  exit
  3563.  :onblue
  3564.  sa bright white on blue
  3565.  exit
  3566.  :nochange
  3567. To execute the script, use:
  3568.  be color.dat
  3569. ^bSYNTAX
  3570.      (Internal NDOS/External Norton BE)^b
  3571. BE MONTHDAY [/DEBUG]
  3572. ^bPURPOSE^b
  3573. Returns the day of the month.
  3574. ^bCOMMENTS^b
  3575. BE MONTHDAY returns a number (1 to 31) to the batch file as
  3576. an exit code. This can be tested with the IF ERRORLEVEL
  3577. command.
  3578. The only option is:
  3579.  /DEBUG  Display the ERRORLEVEL value returned.
  3580. ^bEXAMPLE^b
  3581. Find out the day of the month and display it on the screen:
  3582.  be monthday /debug
  3583. ^bSYNTAX
  3584.      (Internal NDOS/External Norton BE)^b
  3585. BE PRINTCHAR character, count [color]
  3586. ^bPURPOSE^b
  3587. Display a character.
  3588. ^bCOMMENTS^b
  3589. BE PRINTCHAR displays a specified character a given number
  3590. of times at the current cursor location. The character can
  3591. be repeated up to 132 times. (The Norton BE limit is 80.)
  3592. The options are:
  3593.  ^bcharacter^b  Character to display.
  3594.  ^bcount^b
  3595.  Number of times to display.
  3596.  ^bcolor^b
  3597.  SA (Screen Attribute) format color
  3598.  specification (see BE SA).
  3599. See also ^rSCRPUT^r and ^rSCREEN^r.
  3600. ^bEXAMPLE^b
  3601.  be printchar X,30 blue on red
  3602. ^bSYNTAX
  3603.      (Internal NDOS/External Norton BE)^b
  3604. BE REBOOT
  3605. ^bPURPOSE^b
  3606. Perform a warm boot of the computer.
  3607. ^bSYNTAX^b
  3608. BE REBOOT [/V] [/C]
  3609. ^bCOMMENTS^b
  3610. BE REBOOT provides the ability to boot the computer from a
  3611. batch file. This is useful in the construction of batch
  3612. files that affect system configuration.
  3613. The options are:
  3614.  ^b/V^b
  3615.  Verify: Prompt the user to confirm the reboot.
  3616.  ^b/C^b
  3617.  Cold: Perform a cold boot.
  3618. ^bNote:^b Some memory managers or TSRs may interfere with REBOOT.
  3619. ^bEXAMPLE^b
  3620. To warm boot the computer with a Y/N prompt:
  3621.  be reboot /v
  3622. ^bSYNTAX
  3623.      (Internal NDOS/External Norton BE)^b
  3624. BE ROWCOL row col ["text"] [color]
  3625. ^bPURPOSE^b
  3626. Position the cursor at the specified row and column location,
  3627. optionally displaying text.
  3628. ^bCOMMENTS^b
  3629. BE ROWCOL provides control over the cursor position so that
  3630. text can be written anywhere on the screen. After setting
  3631. the cursor, the next command that displays text will display
  3632. it at the current cursor location. BE ROWCOL can also save a
  3633. step and display a line of text with an optional color
  3634. specification.
  3635.  ^brow^b
  3636.  Row to move the cursor to.
  3637.  ^bcol^b
  3638.  Column to move the cursor to.
  3639.  ^btext^b
  3640.  Optional line of text to display.
  3641.  ^bcolor^b
  3642.  SA (Screen Attribute) format color
  3643.  specification.
  3644. See also ^rBE SA^r, ^rSCRPUT^r, and ^rSCREEN^r.
  3645. ^bEXAMPLE^b
  3646. Display text near the top center of the screen:
  3647.  be rowcol 1 27 "Kilroy was here!" blue on green
  3648. ^bSYNTAX
  3649.      (Internal NDOS/External Norton BE)^b
  3650. BE SA NORMAL|UNDERLINE|REVERSE [/N]
  3651. BE SA [BRIGHT|BLINKING] foreground [ON background] [/N] [/CLS]
  3652. ^bPURPOSE^b
  3653. Control the display of colors and attributes.
  3654. ^bCOMMENTS^b
  3655. BE SA (screen attributes) takes two forms.
  3656. The first form sets the display to underline or reverse video.
  3657. The UNDERLINE option is only available on monochrome monitors
  3658. (it will be a blue foreground on a color monitor).
  3659. The NORMAL option is used to undo an UNDERLINE or REVERSE
  3660. setting.
  3661. The second form of BE SA sets screen colors and high
  3662. intensity or blinking. BRIGHT or BOLD can be used to specify
  3663. high intensity.
  3664. The SA format color settings are also used with the BE ASK,
  3665. BE BOX, BE CLS, BE PRINTCHAR, BE ROWCOL, and BE WINDOW
  3666. commands.
  3667. The available colors for foreground and background are the
  3668. following:
  3669.  WHITE
  3670.  BLACK
  3671.  MAGENTA
  3672.  BLUE
  3673.  GREEN
  3674.  CYAN
  3675.  YELLOW
  3676. The options are:
  3677.  ^b/N^b
  3678.  Do not set the border color (defaults to
  3679.  same color as background).
  3680.  ^b/CLS^b  Clears the screen after setting the attributes.
  3681. See also ^rCOLOR^r.
  3682. ^bEXAMPLE^b
  3683. Set the display to reverse video:
  3684.  be sa reverse
  3685. Set the display to high intensity blue on red:
  3686.  be sa bright blue on red
  3687. ^bSYNTAX
  3688.      (Internal NDOS/External Norton BE)^b
  3689. BE SHIFTSTATE [/DEBUG]
  3690. ^bPURPOSE^b
  3691. Report the status of the Shift keys, the Alt key, and the
  3692. Ctrl key.
  3693. ^bCOMMENTS^b
  3694. The BE SHIFTSTATE command returns an exit code (ERRORLEVEL)
  3695. that defines the status of the Left Shift, Right Shift, Alt
  3696. key, and Ctrl key at the time it is run. SHIFTSTATE will
  3697. return the following exit codes for the four keys, which can
  3698. be added together for multiple keys:
  3699.  ^b1^b
  3700.  Right Shift key
  3701.  ^b2^b
  3702.  Left Shift key
  3703.  ^b4^b
  3704.  Ctrl key (left or right)
  3705.  ^b8^b
  3706.  Alt key (left or right)
  3707. The only option is:
  3708.  ^b/DEBUG^b  Displays the ERRORLEVEL value returned.
  3709. ^bEXAMPLE^b
  3710. Display the shift state:
  3711.  be shiftstate /debug
  3712. ^bSYNTAX
  3713.      (Internal NDOS/External Norton BE)^b
  3714. BE TRIGGER hh:mm [am|pm]
  3715. ^bPURPOSE^b
  3716. Halt execution of a batch file until the time specified.
  3717. ^bCOMMENTS^b
  3718. BE TRIGGER allows a batch file to be paused until a
  3719. specified time. The time, hh:mm, can be entered in 24-hour
  3720. format or in 12-hour format with the AM and PM options.
  3721. 12:00 am is same as midnight and 12:00 pm is the same as
  3722. noon.
  3723. ^bEXAMPLE^b
  3724. Pause execution of a batch file until 1:00 in the afternoon:
  3725.  be trigger 1:00 pm
  3726. Press Ctrl-Break or Ctrl-C to cancel.
  3727. ^bSYNTAX
  3728.      (Internal NDOS/External Norton BE)^b
  3729. BE WEEKDAY [/DEBUG]
  3730. ^bPURPOSE^b
  3731. Return the day of the week to the batch file as an exit code
  3732. (ERRORLEVEL).
  3733. ^bCOMMENTS^b
  3734. Sunday is returned as 1, and Saturday is returned as 7. The
  3735. exit code can be tested with the DOS IF ERRORLEVEL command.
  3736. The only option is:
  3737.  /DEBUG  Display the ERRORLEVEL value returned.
  3738. ^bEXAMPLE^b
  3739. Find out the day of the week and display it on the screen:
  3740.  be weekday /debug
  3741. ^bSYNTAX
  3742.      (Internal NDOS/External Norton BE)^b
  3743. BE WINDOW top, left, bottom, right [color] [ZOOM | EXPLODE] 
  3744.  [SHADOW]
  3745. ^bPURPOSE^b
  3746. Draw a solid rectangle, optionally using a drop shadow and a
  3747. zoom effect.
  3748. ^bCOMMENTS^b
  3749. BE WINDOW draws solid boxes of various shapes, sizes, and
  3750. colors at a specified location on the screen. The boxes have
  3751. a double-line border. The boxes are solid filled; any text
  3752. within the confines of the box is overwritten.
  3753. The options are:
  3754.  ^btop^b
  3755.  Row for upper left corner of box.
  3756.  ^bleft^b
  3757.  Column for upper left corner of box.
  3758.  ^bbottom^b
  3759.  Row for lower right corner of box.
  3760.  ^bright^b
  3761.  Column for lower right corner of box.
  3762.  ^bcolor^b
  3763.  SA (Screen Attribute) format color
  3764.  specification for the window.
  3765.  ^bZOOM^b
  3766.  Zooms the window while drawing it (EXPLODE is
  3767.  a synonym).
  3768.  ^bSHADOW^b
  3769.  Adds a see through drop "shadow" to the
  3770.  window.
  3771. See also ^rBE SA^r.
  3772. ^bEXAMPLE^b
  3773. Draw a shadow box on the screen:
  3774.  be window 10 10 20 40 red on blue shadow
  3775. ^bSYNTAX
  3776.      (Internal/External DOS)^b
  3777. APPEND [[drive:]path[;
  3778. .]] [/X[:ON|:OFF]] [/PATH:ON|/PATH:OFF] [/E]
  3779. APPEND 
  3780. APPEND ;
  3781. ^bPURPOSE^b
  3782. Forces DOS to search the specified directories when looking
  3783. for files, including data files.
  3784. ^bCOMMENTS^b
  3785. ^uThis is a dangerous command^u and could cause you to update,
  3786. overwrite or delete files in the wrong directory. If you must
  3787. use APPEND, set the APPEND path to an empty string except when
  3788. the applications that need APPEND are actually running.
  3789. Use of APPEND should be unnecessary except for older
  3790. applications or those which do not provide adequate mechanisms
  3791. for you to specify where the application's files are stored.
  3792. ^uCAUTION:^u Before using APPEND with NDOS, read the section on 
  3793.      APPEND in the NDOS manual.
  3794. APPEND without any parameters displays the current append 
  3795. search path.
  3796. APPEND with just a semicolon clears the APPEND search path.
  3797. The APPEND options are:
  3798.  ^b/X[:ON]^b
  3799.  DOS ^uwill search^u the appended directories for 
  3800.  executable files (":ON" is optional). If you 
  3801.  intend to switch this capability on and off, 
  3802.  /X:ON (or /X) must be specified the first time
  3803.  you use APPEND.
  3804.  ^b/X:OFF^b
  3805.  DOS ^uwill not search^u the appended directories
  3806.  for executable files.
  3807.  ^b/PATH:ON^b
  3808.  DOS ^uwill search^u the appended directories for
  3809.  data files even if the path is specified with 
  3810.  the filename. The default is /PATH:ON.
  3811.  ^b/PATH:OFF^b  DOS ^uwill not search^u the appended directories
  3812.  for data files.
  3813.  ^b/E^b  Store the APPEND path in the environment. This 
  3814.  option must be specified the first time APPEND
  3815.  is loaded.
  3816. ^uNOTE:^u The /E switch is not compatible with NDOS.
  3817. APPEND is memory-resident, and uses about 9K of RAM (DOS 5.0).
  3818. ^bSYNTAX
  3819.      (External DOS)^b
  3820. ASSIGN [x=y [
  3821. ASSIGN [/STATUS]
  3822. ^bPURPOSE^b
  3823. Routes disk I/O requests to a different drive.
  3824. ^bCOMMENTS^b
  3825. ASSIGN allows you to use programs that use a pre-assigned disk
  3826. drive (such as A or B) with another drive (such as C). The
  3827. first argument specifies the drive whose assignment you want
  3828. to change, and the second argument is the new assignment. The
  3829. equal sign (=) is optional. Do not use a colon after the drive
  3830. letters for DOS versions earlier than 5.0.
  3831. ASSIGN with no operands clears all assignments.
  3832. Reassignment of drives should only be done when necessary. It
  3833. should never be used with BACKUP, LABEL, PRINT or RESTORE; and
  3834. ASSIGN should not be used with drives that have been ^rJOIN^red
  3835. or ^rSUBST^rituted. DISKCOMP, DISKCOPY and FORMAT ignore drive
  3836. reassignments.
  3837. The only ASSIGN option is:
  3838.  ^b/STATUS^b  List the current assignments.
  3839. ASSIGN is memory-resident, and uses about 1.5K of RAM.
  3840. See also ^rJOIN^r and ^rSUBST^r.
  3841. ^bEXAMPLES^b
  3842. Route all requests for drive A to drive C:
  3843.  c:\> assign A=C
  3844. Clear current assignments.
  3845.  c:\> assign
  3846. List current assignments.
  3847.  c:\> assign /status
  3848. ^bSYNTAX
  3849.      (External DOS)^b
  3850. BACKUP source destination-drive: 
  3851.  [/A] [/D:date [/T:time]] [/F[:size]] [/L[:file]] [/M] [/S] 
  3852. ^bPURPOSE^b
  3853. Backs up files from one disk to another.
  3854. ^bCOMMENTS^b
  3855. The first argument is the ^usource^u which can be a drive,
  3856. directory, or filename. You can use the wildcard characters
  3857. (* and ?) in the source filename. The second argument is the
  3858. ^udestination^u which is a disk drive. 
  3859. The BACKUP options are:
  3860.  ^b/A^b  Add files to be backed up to the files already on the
  3861.  backup disk.
  3862.  ^b/D:date^b  Back up files modified on or after the specified
  3863.  date (the date format depends on the current country
  3864.  setting).
  3865.  ^b/T:time^b  Back up all files modified on or after the
  3866.  specified time on the specified date (/D) (time is in
  3867.  the format hh:mm:ss). If no date is specified, this
  3868.  parameter selects files modified on or after the
  3869.  specified time on all days.
  3870.  ^b/F[:size]^b  Format the target disk to a size other than
  3871.  the default size of the drive. BACKUP will format an
  3872.  unformatted disk, even if /F is not specified.
  3873.  FORMAT.COM must be in the current directory or in a
  3874.  directory on the current path. Valid sizes are 160, 
  3875.  180, 320, 360, 720, 1200, 1440, or 2880 kilobytes.
  3876.  ^b/L^b  Log: Keep a log of the backup. If a filename is not
  3877.  specified, BACKUP keeps a log on BACKUP.LOG in the
  3878.  root directory of the source drive. If the log file
  3879.  exists, the information is appended to that log.
  3880.  ^b/M^b  Modified: Back up only those files that have been 
  3881.  modified since the last backup (those with the archive
  3882.  bit set).
  3883.  ^b/S^b  Subdirectory: Back up subdirectory files in addition
  3884.  to the specified directory.
  3885. BACKUP may not work correctly if used on a drive that has been
  3886. ASSIGNed or SUBSTituted, or when a JOIN or APPEND is in
  3887. effect.
  3888. See also ^rREPLACE^r, ^rRESTORE^r and ^rXCOPY^r.
  3889. ^bEXAMPLE^b
  3890. Back up the fixed disk C to multiple floppies on A:
  3891.  c:\> backup c: a: /s
  3892. Back up all the files with a .DOC extension in the C:\WP
  3893. directory to A:
  3894.  c:\> backup c:\wp\*.doc a:
  3895. ^bSYNTAX
  3896.      (External DOS)^b
  3897. CHKDSK [drive:][path][filename] [/F][/V]
  3898. ^bPURPOSE^b
  3899. Checks the disk directories, files, and FAT, and reports on
  3900. the disk and memory status.
  3901. ^bCOMMENTS^b
  3902. If you specify a filename, CHKDSK will check the disk for
  3903. fragmentation and display a status report for the file. You
  3904. can use the DOS wildcard characters (* and ?) in the filename.
  3905. The CHKDSK options are:
  3906.  ^b/F^b  Try to fix errors in the directory or FAT.
  3907.  ^b/V^b  Displays all files and their paths on the specified
  3908.  drive.
  3909. If the /F option is specified, CHKDSK will attempt to correct
  3910. any errors it finds. If /F is not specified, CHKDSK will
  3911. analyze the disk for errors but will not attempt to correct
  3912. them.
  3913. See your DOS manual for more information on CHKDSK.
  3914. See also ^rFREE^r and ^rMEMORY^r.
  3915. ^bEXAMPLE^b
  3916. Check drive C and correct any errors:
  3917.  c:\> chkdsk c: /f
  3918. ^bSYNTAX
  3919.      (External DOS)^b
  3920. COMMAND [[drive:]path] [device] [/E:n] [/P] [/C string] [/MSG]
  3921. ^bPURPOSE^b
  3922. Load a secondary command processor.
  3923. ^bCOMMENTS^b
  3924. When a secondary command processor is loaded, it creates a
  3925. new DOS environment, though it inherits the environment
  3926. values previously set. When the secondary command processor
  3927. is terminated by the EXIT command (or the use of the /C
  3928. switch), the environment belonging to the primary command
  3929. processor is restored.
  3930. If COMMAND.COM does not reside in the root directory, its
  3931. location must be specified with ^bdrive:path^b so the transient
  3932. portion can be reloaded when necessary. This location is 
  3933. stored in the COMSPEC environment variable. 
  3934. Another DOS ^bdevice^b can also be specified for command input
  3935. and output.
  3936. The COMMAND options are:
  3937.  ^b/E:n^b
  3938.  Environment size from 160 up to 32,768 
  3939.  bytes. Default is 256.
  3940.  ^b/P^b
  3941.  Make secondary command processor permanent.
  3942.  ^b/C string^b Execute the command specified by string
  3943.  and then return to primary command processor.
  3944.  ^b/MSG^b
  3945.  Place text of all parse and extended error
  3946.  messages in memory; /P must also be specified.
  3947.  This will only be useful when running DOS from
  3948.  floppy disks.
  3949. See your DOS manual for more information on COMMAND.
  3950. See also ^rNDOS^r and ^rEXIT^r.
  3951. ^bEXAMPLE^b
  3952. Load a secondary processor, execute a command, and terminate:
  3953.  command /c c:\dos\append c:\dbase
  3954. This loads the secondary command processor, which then
  3955. executes the APPEND command and terminates. This technique
  3956. may be of value if you wish to run APPEND from within NDOS.
  3957. See the NDOS manual for more information about APPEND.
  3958. ^bSYNTAX
  3959.      (External DOS)^b
  3960. COMP [drive:][path]filename [drive:][path]filename
  3961.  [/D] [/A] [/L] [/N=x] [/C]
  3962. ^bPURPOSE^b
  3963. Compares files.
  3964. ^bCOMMENTS^b
  3965. COMP compares individual files or sets of files byte for byte.
  3966. To compare sets of files, specify only the drive, the path,
  3967. or use the DOS wildcard characters (* and ?) in the filenames.
  3968. If one or both parameters are missing or if no file matches
  3969. the primary parameter, you will be prompted to enter both
  3970. filenames. If a path is specified without a filename, COMP
  3971. assumes all files in the directory (*.*).
  3972. If the file sizes differ, COMP does not make the comparison
  3973. unless the /N switch is specified.
  3974. COMP will display an error message for any location (the byte
  3975. offset) containing mismatched information between the two 
  3976. files. After ten mismatches, COMP aborts the compare.
  3977. The COMP options are:
  3978.  ^b/D^b
  3979.  Decimal: Display differences in decimal rather
  3980.  than hexadecimal format.
  3981.  ^b/A^b
  3982.  ASCII: Display differences as characters.
  3983.  ^b/L^b
  3984.  Line number: Show differences by line number
  3985.  rather than byte offset.
  3986.  ^b/N=x^b
  3987.  Number of lines: Compare the first x lines, 
  3988.  even if the files are different sizes.
  3989.  ^bC^b
  3990.  Case: Ignore uppercase and lowercase differences.
  3991. See also ^rDISKCOMP^r and ^rFC^r.
  3992. ^bEXAMPLE^b
  3993. Compare the files MEMO.DOC and MEMO.BAK:
  3994.  c:\> comp memo.doc memo.bak
  3995. ^bSYNTAX
  3996.      (External DOS)^b
  3997. DEBUG [drive:][path]filename [parameters]
  3998. DEBUG
  3999. ^bPURPOSE^b
  4000. Test and debug binary files. Monitor the contents of
  4001. registers and execute programs one instruction at a time.
  4002. ^bCOMMENTS^b
  4003. DEBUG can be loaded with a specified filename and any
  4004. parameters for test purposes. Alternatively, you can enter
  4005. all commands at the debug prompt. 
  4006. The following table summarizes the DEBUG commands:
  4007.  Assemble
  4008.  A [address]
  4009.  Compare
  4010.  C range address
  4011.  Dump
  4012.  D [range]
  4013.  Enter
  4014.  E address [list]
  4015.  Fill
  4016.  F range list
  4017.  G[=address] [break0 [
  4018. . break9]]
  4019.      H value value
  4020.  Input
  4021.  I port
  4022.  Load
  4023.  L [address [drive sector number]]
  4024.  Move
  4025.  M range address
  4026.  Name
  4027.  N filename [parameter 
  4028.  Output
  4029.  O port byte
  4030.  Proceed
  4031.  P[=address] [count]
  4032.  Quit
  4033.  Register
  4034.  R [register]
  4035.  Search
  4036.  S range list
  4037.  Trace
  4038.  T[=address] [count]
  4039.  Unassemble  U [range]
  4040.  Write
  4041.  W [address [drive sector number]]
  4042.  Allocate
  4043.  XA pages
  4044.  Deallocate  XD handle
  4045.  Map pages
  4046.  XM lpage ppage handle
  4047.  Status
  4048.  ^baddress
  4049.  ^bstarting memory location
  4050.  ^bbreak
  4051.  ^bbreakpoint address, up to 10 can be specified
  4052.  ^bbyte
  4053.  ^bhexadecimal value from 0 to FF
  4054.  ^bcount
  4055.  ^bnumber of instructions to execute (default is 1)
  4056.  ^bdrive
  4057.  ^bdisk drive, 0=A, 1=B, 2=C, and so on
  4058.  ^bfilename  ^bfile to Load or Write
  4059.  ^blist
  4060.  ^bone or more hex bytes; or a string enclosed in 
  4061.  single or double quotes
  4062.  ^bnumber
  4063.  ^bnumber of consecutive sectors to load, 0 to 
  4064.  ^bparameter ^badditional parameters for filename
  4065.  ^bport
  4066.  ^bport address from 0 to 
  4067.  ^brange
  4068.  ^bstarting address and ending address, or starting
  4069.  address and length in bytes. 
  4070.  ^bregister  ^btwo character name for a register
  4071.  ^bsector
  4072.  ^bnumber of first sector to load (0 to 
  4073.  ^bvalue
  4074.  ^bhexadecimal number from 0 to 
  4075.  ^bpages
  4076.  ^bthe number of 16K pages to allocate (hex)
  4077.  ^bhandle
  4078.  ^bthe handle assigned by XA command
  4079.  ^blpage
  4080.  ^blogical page
  4081.  ^bppage
  4082.  ^bphysical page
  4083. See your DOS manual for more information on DEBUG.
  4084. ^bSYNTAX
  4085.      (External DOS)^b
  4086. DISKCOMP [drive:] [drive:] [/1] [/8]
  4087. ^bPURPOSE^b
  4088. Compare the contents of two diskettes.
  4089. ^bCOMMENTS^b
  4090. DISKCOMP compares diskettes on a track-for-track basis. It
  4091. will not work on fixed or virtual disks.
  4092. DISKCOMP does not recognize drive assignments made with 
  4093. ASSIGN.
  4094. The DISKCOMP options are:
  4095.  ^b/1^b  Compare only the first side of the disks.
  4096.  ^b/8^b  Compare only 8 sectors per track.
  4097. If no drive is specified, DISKCOMP uses the default drive. If
  4098. one drive is specified, the default drive is used as the
  4099. second drive for comparison. DISKCOMP will prompt for disk
  4100. changes if the comparison is between two disks in the same
  4101. drive.
  4102. See also ^rDISKCOPY^r.
  4103. ^bEXAMPLE^b
  4104. Compare the disks in A and B:
  4105.  c:\> diskcomp a: b:
  4106. ^bSYNTAX
  4107.      (External DOS)^b
  4108. DISKCOPY [drive:] [drive:] [/1] [/V]
  4109. ^bPURPOSE^b
  4110. Make exact, track-for-track copies of diskettes.
  4111. ^bCOMMENTS^b
  4112. DISKCOPY copies diskettes only. It will not work on fixed,
  4113. network or virtual (RAM) disks, or on drives that have been
  4114. ASSIGNed, JOINed or SUBSTituted.
  4115. The first drive is the source, the second drive is the target.
  4116. If no drive is specified, DISKCOPY uses the default drive as
  4117. both source and target. If one drive is specified, the
  4118. default drive is used as the target. DISKCOPY will prompt
  4119. for disk changes if the comparison is between two disks in
  4120. the same drive.
  4121. DISKCOPY will format target disks that are unformatted, using
  4122. exactly the same format as the source disk.
  4123. If the source drive has a volume serial number, a new serial
  4124. number is created for the target disk.
  4125. The DISKCOPY options are:
  4126.  ^b/1^b  Copy only the first side of the diskette.
  4127.  ^b/V^b  Verify: Makes sure that each sector can be read
  4128.  after data is written to it.
  4129. See also ^rCOPY^r, ^rXCOPY^r and ^rDISKCOMP^r.
  4130. ^bEXAMPLE^b
  4131. Make a copy of the diskette in drive A to drive B:
  4132.  c:\> diskcopy A: B:
  4133. ^bSYNTAX
  4134.      (External DOS)^b
  4135. DOSKEY [/REINSTALL] [/BUFSIZE=size] [/M] [/H]
  4136.  [/INSERT|/OVERSTRIKE] 
  4137. DOSKEY [macroname=[text]]
  4138. ^bPURPOSE^b
  4139. Recall DOS commands, edit command lines, and create macros.
  4140. ^bCOMMENTS^b
  4141. DOSKEY is a memory resident program (about 4K of RAM). 
  4142.  ^bNote:^b If you are using NDOS, the built-in command 
  4143.  line editing capability overrides DOSKEY.
  4144. A ^bmacro name^b can be assigned to any sequence of characters.
  4145. To clear a macro, enter the name followed by just an equal (=)
  4146. sign. 
  4147. The following special symbols (uppercase or lowercase) can be
  4148. used when defining a macro:
  4149.  Redirect output to a device or a file (like ">").
  4150.  $G$G
  4151.  Append output to the end of a file (like ">>").
  4152.  Redirect input (like "<").
  4153.  Send the macro output to a command (like a 
  4154.  pipe "|").
  4155.  Separate multiple commands on one line.
  4156.  The dollar sign character.
  4157.  $1 to $9 Passed parameters on the command line (like %1 
  4158.  in a batch file).
  4159.  Pass the complete command line after the macro 
  4160.  name.
  4161. The DOSKEY options are:
  4162.  /REINSTALL
  4163.  Install a new copy of DOSKEY.
  4164.  /BUFSIZE=size
  4165.  Size of buffer in bytes to store commands.
  4166.  Minimum is 256, default is 512.
  4167.  Macros: List all DOSKEY macros. 
  4168.  History: List all commands stored in memory.
  4169.  /INSERT
  4170.      Characters are inserted into text.
  4171.  /OVERSTRIKE
  4172.  Characters are overwritten.
  4173. See your DOS manual for more information on DOSKEY and a table
  4174. of keystroke actions.
  4175. See also the ^r-EDITING-^r entry in this reference.
  4176. ^bEXAMPLE^b
  4177. Create a macro to make a new directory and then change to it:
  4178.  doskey mcd=md $1$tcd$1
  4179. ^bSYNTAX
  4180.      (External DOS)^b
  4181. DOSSHELL [/T|/G[:screen[n
  4182. ] [/B]
  4183. ^bPURPOSE^b
  4184. A graphical interface to replace the DOS command line.
  4185. ^bCOMMENTS^b
  4186. DOSSHELL is a menu system for DOS with files and tasks
  4187. selected from lists. Task switching and the use of a mouse is
  4188. supported.
  4189. The DOS shell is configured for your system during DOS
  4190. installation. You can change the DOSSHELL options, including
  4191. color and resolution, from the program's menus.
  4192. Press Tab to move among the windows on the screen. Press F10
  4193. and then Enter to access the top line menus (or press Alt and
  4194. the first letter of the menu).
  4195. To access the DOS prompt from within the shell, press
  4196. Shift-F9. Type EXIT and press Enter to return to the shell
  4197. (don't enter DOSSHELL again or you will reload the shell and
  4198. waste memory). To quit the shell, press Alt-F4. 
  4199. The DOSSHELL options are:
  4200.  ^b/T^b
  4201.  Text mode.
  4202.  ^b/G^b
  4203.  Graphics mode.
  4204.  ^bscreen^b  Screen resolution: valid choices are ^bL^b (low), 
  4205.  ^bM^b (medium), or ^bH^b (high). The default value for
  4206.  screen is hardware dependent. Values for ^bn^b are 
  4207.  none, ^b1^b, or ^b2^b, if more than one choice is 
  4208.  available at a given resolution.
  4209.  ^b/B^b
  4210.  Black and white.
  4211. See your DOS manual for more information on DOSSHELL.
  4212. ^bEXAMPLE^b
  4213. Load the DOS shell:
  4214.  dosshell 
  4215. Load the DOS shell in high resolution graphics mode with 60
  4216. lines on a VGA display:
  4217.  doshhell /g:h2
  4218. ^bSYNTAX
  4219.      (External DOS)^b
  4220. EDIT [[drive:][path]filename] [/B] [/G] [/H] [/NOHI]
  4221. ^bPURPOSE^b
  4222. Create, save, edit, or print ASCII files.
  4223. ^bCOMMENTS^b
  4224. EDIT is a full-screen editor to use with text files -- a
  4225. big improvement over EDLIN -- including extensive online
  4226. help (press F1).
  4227. QBASIC.EXE must reside in the current directory, the same
  4228. directory as EDIT.COM, or be available on the search PATH in
  4229. order to use EDIT.
  4230. After loading EDIT, press the Alt key and then Enter to access
  4231. the menus on the top line of the screen. Alternatively, press 
  4232. Alt and the first letter of the menu name.
  4233. The EDIT options are:
  4234.  ^b/B^b
  4235.  Black and white on a color display.
  4236.  ^b/G^b
  4237.  Faster updates for CGA displays (don't use
  4238.  this option if you see "snow").
  4239.  ^b/H^b
  4240.  Run EDIT with the maximum number of lines
  4241.  available on the screen.
  4242.  ^b/NOHI^b  Use EDIT in 8 rather than 16 colors.
  4243. See your DOS manual for more information on EDIT.
  4244. See also ^rEDLIN^r.
  4245. ^bEXAMPLE^b
  4246. To edit your AUTOEXEC.BAT file:
  4247.  edit c:\autoexec.bat
  4248. ^bSYNTAX
  4249.      (External DOS)^b
  4250. EDLIN [drive:][path]filename [/B]
  4251. ^bPURPOSE^b
  4252. Create or modify text files.
  4253. ^bCOMMENTS^b
  4254. Use EDLIN to write short batch files or make small changes to
  4255. text files. EDLIN is useful because it is available on any
  4256. DOS system and can be used to enter control codes.
  4257. To enter a control code press Ctrl-V and then the character
  4258. (use uppercase for a text character). For example, Ctrl-V
  4259. followed by [ generates an Escape character.
  4260. The only EDLIN option is :
  4261.  ^b/B^b  Ignore embedded Ctrl-Z (end of file) characters
  4262.  and load the file based on actual file size.
  4263. EDLIN commands can be entered in uppercase or lowercase:
  4264.  Append
  4265.  [number]A
  4266.  Copy
  4267.  [line],[line],line[,count]C
  4268.  Delete
  4269.  [line][,line]D
  4270.  Edit a line
  4271.  [line] 
  4272.  End and save
  4273.  Insert
  4274.  [line]I
  4275.  List lines
  4276.  [line][,line]L
  4277.  Move lines
  4278.  [line],[line],lineM
  4279.  Page
  4280.  [line][,line]P
  4281.  Quit edit
  4282.  Replace text
  4283.  [line][,line] [?]R [string][F6 string]
  4284.  Search
  4285.  [line][,line] [?]S [string]
  4286.  Transfer
  4287.  [line]T: [d:]filename
  4288.  Write
  4289.  [number]W
  4290.  ^bnumber^b  Number of lines to append or write. 
  4291.  ^bline^b
  4292.  Line number within a file (from 1 to 65,534). You
  4293.  can also use . to indicate the current line (last line
  4294.  edited) or # to indicate last line in memory plus 1.
  4295.  ^bcount^b
  4296.  Number of times to copy.
  4297.  ^bstring^b  Text to search for or replace.
  4298.  ^b?^b
  4299.  Prompt before continuing during text search 
  4300.  or replace operation.
  4301.  ^bF6^b
  4302.  The F6 function key.
  4303. Line numbers are either absolute or relative. For relative
  4304. line numbers, use a + or - sign. For example, +5 means five
  4305. lines from the current line towards the end of the file.
  4306. EDLIN uses the following keys for recalling and editing text
  4307. lines:
  4308.  ^bF1^b
  4309.      Re-enter last line one letter at a time.
  4310.  ^bF2^b
  4311.      Re-enter last line up to indicated character.
  4312.  ^bF3^b
  4313.      Re-enter entire last line.
  4314.  ^bF4^b
  4315.      Skip portion of last line up to indicated 
  4316.  character.
  4317.  ^bF5^b
  4318.      Replace last line in memory with the new line.
  4319.  ^bIns^b
  4320.  Insert characters.
  4321.  ^bDel^b
  4322.  Delete next character.
  4323.  ^bBackspace^b  Erase last character.
  4324.  ^bEscape^b
  4325.  Ignore present line.
  4326.  ^bCtrl-C^b
  4327.  Stop the line entry.
  4328. See your DOS manual for more information on EDLIN.
  4329. See also ^rEDIT^r and ^rDEBUG^r.
  4330. ^bSYNTAX
  4331.      (External DOS)^b
  4332. EMM386 [ON|OFF|AUTO] [W=ON|W=OFF]
  4333. ^bPURPOSE^b
  4334. Enable, disable, or report the status of expanded memory
  4335. support on a 80386 or higher system. Enable or disable the
  4336. Weitek math coprocessor.
  4337. ^bCOMMENTS^b
  4338. To use the EMM386 command, you must be using an 80386 or
  4339. higher system and EMM386.EXE must be installed as a device
  4340. driver from your CONFIG.SYS file.
  4341. Enter EMM386 with no parameters to display the current status
  4342. of EMM386 expanded memory.  
  4343. The EMM386 options are:
  4344.  ^bON^b
  4345.  Enable expanded memory.
  4346.  ^bOFF^b
  4347.  Disable expanded memory. You will not be able to
  4348.  disable expanded memory if a program in memory 
  4349.  requires its use or UMBs (upper memory blocks) 
  4350.  are being used.
  4351.  ^bAUTO^b  Enable expanded memory only when a program 
  4352.  requires its use (default is ON).
  4353.  ^bW=ON^b  Enable Weitek math coprocessor support (default 
  4354.  is OFF).
  4355.  ^bW=OFF^b Disable Weitek coprocessor support.
  4356. See your DOS manual for information on how to install
  4357. EMM386.EXE as a device driver.
  4358. See also ^rMEM^r.
  4359. ^bEXAMPLE^b
  4360. Report the status of EMM386 expanded memory.
  4361.  emm386
  4362. ^bSYNTAX
  4363.      (External DOS)^b
  4364. EXE2BIN [drive:][path]source [drive:][path][target]
  4365. ^bPURPOSE^b
  4366. Convert .EXE (executable) files to binary-image files.
  4367. ^bCOMMENTS^b
  4368. EXE2BIN converts a valid .EXE file, produced by a suitable
  4369. linker, into a memory-image file in binary format. 
  4370. If the ^bsource^b filename is specified without a file extension,
  4371. EXE is assumed. If the ^btarget^b filename is omitted, the source
  4372. name is used with the extension BIN. If the target is specified 
  4373. without an extension, BIN is used.
  4374.  ^bNote:^b Not all EXE files can be converted. The code and 
  4375.  data portion of the EXE file must be less than 64K in 
  4376.  size. There can be no STACK segment.
  4377. Two types of conversion are possible with EXE2BIN. To convert
  4378. to a COM file, CS:IP (the Code Segment:Instruction Pointer)
  4379. must bet set to 100H by the compiler instruction ORG. For a
  4380. pure binary conversion, you are prompted for the fixup value
  4381. if the program requires segment relocation.
  4382. EXE2BIN will not be useful unless you are a programmer.
  4383. See your DOS manual for more information on EXE2BIN.
  4384. ^bSYNTAX
  4385.      (External DOS)^b
  4386. EXPAND [drive:][path]filename 
  4387. . destination
  4388. ^bPURPOSE^b
  4389. Expand compressed files on DOS distribution disks.
  4390. ^bCOMMENTS^b
  4391. In order to conserve disk space on the DOS distribution
  4392. disks, the files are stored on disk in a compressed form and 
  4393. are expanded as part the DOS installation program. The
  4394. compressed files are named with an underscore (_) as the last
  4395. character of the file extension. Use EXPAND if you need to
  4396. copy a file or files from the distribution disks.
  4397. The file PACKING.LST lists the files on each distribution
  4398. disk (found on Disk 3 for MS-DOS, 5.25 inch).
  4399. Wildcards (* and ?) cannot be used for the ^bfilename^b, but
  4400. you can list more than one file on the command line. If you
  4401. are expanding a single file, you can specify a different
  4402. filename for the ^bdestination^b. For more than one file, the
  4403. ^bdestination^b must be a drive or directory.
  4404. ^bEXAMPLE^b
  4405. To expand the CHKDSK file from the DOS distribution disk:
  4406.  expand a:chkdsk.ex_ c:\dos\chkdsk.exe
  4407. ^bSYNTAX
  4408.      (External DOS)^b
  4409. FASTOPEN drive:[=
  4410. . [/X]
  4411. ^bPURPOSE^b
  4412. Save information on recently-opened files in memory to speed
  4413. disk access.
  4414. ^bCOMMENTS^b
  4415. When possible, use of disk cache software such as the Norton
  4416. Cache provides more flexibility and more significant
  4417. performance improvement than use of FASTOPEN.
  4418. The FASTOPEN parameters are:
  4419.  ^bdrive:^b  Drive letter of the fixed disk drive to process.
  4420.  Floppy disk drives, network drives, and drives
  4421.  created by JOIN, SUBST or ASSIGN may not be used.
  4422.  The number of directory or file entries to retain
  4423.  for the drive. The value must be between 10 and
  4424. 9; the default is 48. This parameter should be
  4425.  larger than the maximum number of nested sub-
  4426.  directories in the system.
  4427.  ^b/X^b
  4428.  Store the cache of names in expanded memory.
  4429. Too small a value of 
  4430. n will provide little performance
  4431. improvement. Too large a value will unnecessarily increase
  4432. DOS's overhead while it searches the list, and may therefore
  4433. degrade performance.
  4434. FASTOPEN is memory-resident, and uses about 3K of RAM. 
  4435. Additional memory used to store FASTOPEN's internal file list 
  4436. will be (35*
  4437. n) bytes.
  4438. ^bEXAMPLE^b
  4439. Initialize FASTOPEN for hard disk C:, with room to store
  4440. information on the last 64 files accessed.
  4441.  fastopen c:=64
  4442. ^bSYNTAX
  4443.      (External DOS)^b
  4444. FC [/A] [/C] [/L] [/LB n] [/W] [/N] [/T] [/nn] 
  4445.  [drive:][path]primary [drive:][path]secondary
  4446. ^bPURPOSE^b
  4447. Compare two files or sets of files for differences.
  4448. ^bCOMMENTS^b
  4449. FC performs either a line-by-line or a byte-by-byte comparison
  4450. of the ^bprimary^b and ^bsecondary^b files. For multiple file
  4451. comparisons, use the DOS wildcards (* and ?) in the file
  4452. specifications. FC defaults to a line-by-line (/L) comparison
  4453. of files, unless the file extensions are EXE, COM, SYS, OBJ,
  4454. LIB, or BIN. 
  4455. For a line-by-line comparison, FC displays the name of the
  4456. primary file, the line or lines that differ, and the next
  4457. line that matches. FC generates a similar display for the
  4458. secondary file. For a binary comparison, FC displays the
  4459. offset (hex) within the file and the differing bytes. 
  4460. FC may be unreliable just after a file is copied, if you are
  4461. using a disk cache. The file may be read from the cache
  4462. rather than the disk.
  4463. The FC options are:
  4464.  ^b/A^b
  4465.  Abbreviate display of ASCII files.
  4466.  ^b/B^b
  4467.  Binary comparison (byte-by-byte).
  4468.  ^b/C^b
  4469.  Ignore Case for alphabetic characters.
  4470.  ^b/L^b
  4471.  Line-by-line comparison of files.
  4472.  ^b/LB n^b  Line buffer: Abort if files have more than n
  4473.  consecutive differing lines. Default is 100 lines.
  4474.  ^b/N^b
  4475.  Number lines.
  4476.  ^b/T^b
  4477.  Do not expand Tabs. (If omitted, tabs are 
  4478.  expanded to 8-character boundaries.)
  4479.  ^b/W^b
  4480.  White Space: Runs of spaces, tabs, and blank
  4481.  lines are compressed to a single space.
  4482.  ^b/nn^b
  4483.  Number of lines that must match after a line 
  4484.  difference to resynchronize. Default is 3.
  4485. All switches must precede the filenames.
  4486. The /B (binary) switch cannot be used with any other
  4487. switches.
  4488. See also ^rCOMP^r and ^rDISKCOMP^r.
  4489. ^bEXAMPLES^b
  4490. To compare two text files, ignoring case, with line 
  4491. numbers displayed:
  4492.  fc /c /n letter.new letter.txt 
  4493. To compare two binary files:
  4494.  fc command.com c:\dos\command.com
  4495. To perform a binary comparison of two text files:
  4496.  fc /b letter.new letter.txt 
  4497. ^bSYNTAX
  4498.      (External DOS)^b
  4499. FDISK
  4500. ^bPURPOSE^b
  4501. Configure a hard disk and manage partitions.
  4502. ^bCOMMENTS^b
  4503. A hard disk is logically divided into separate areas called 
  4504. partitions. DOS keeps this information in the ^upartition^u
  4505. ^utable^u, stored in a special area of the disk. 
  4506. FDISK is a menu driven program used to display a summary of
  4507. partition data, create partitions, delete partitions, or
  4508. change the active partition if you have more than one
  4509. operating system installed.
  4510. If you don't use the DOS installation program, you must run
  4511. FDISK before you can FORMAT a hard disk for the first time.
  4512. However, if your computer is already up and running, you
  4513. probably do not need to use FDISK.
  4514.  ^bCAUTION:^b FDISK can be a dangerous command. If you delete
  4515.  a partition, all the data it contains is gone. (You can
  4516.  try to recover with the Norton Utilities.)
  4517. A hard disk is often configured as a single drive, the ^uprimary^u
  4518. ^uDOS partition^u, and designated the active partition or boot 
  4519. drive (C:). The maximum size is two gigabytes.
  4520. With larger drives or multiple hard disks, one or more 
  4521. additional DOS partitions can be established, called ^uextended^u
  4522. ^uDOS partitions^u. For example, you might partition a 120Meg hard
  4523. disk into two 60Meg drives (C: and D:). Extended DOS 
  4524. partitions can be further subdivided into multiple logical
  4525. drives, up to the letter Z.
  4526. If you run different operating systems in separate partitions
  4527. (for example, MS-DOS and Unix), only one partition can be
  4528. designated as the active partition at a particular time. In
  4529. this case, use FDISK to change the active partition when you
  4530. want to switch operating systems. Boot from a floppy disk
  4531. with MS-DOS to use FDISK when a non-DOS partition is active.
  4532. Note that data cannot be shared across the non-DOS partitions.
  4533. See your DOS manual for more information on FDISK.
  4534. See also ^rFORMAT^r.
  4535. ^bSYNTAX
  4536.      (External DOS)^b
  4537. FIND [/V][/C][/N][/I] "string" [drive:][path]filename
  4538. ^bPURPOSE^b
  4539. Searches files for a specified string.
  4540. ^bCOMMENTS^b
  4541. You cannot use wildcard characters in the filenames.
  4542. FIND is case sensitive (uppercase characters do not match
  4543. lowercase characters) unless the /I switch is specified.
  4544. The FIND options are:
  4545.  ^b/V^b  Display all lines NOT containing the string.
  4546.  ^b/C^b  Display the number of lines containing the string.
  4547.  ^b/N^b  Display the line number of each matching line.
  4548.  ^b/I^b  Ignore case differences.
  4549. See also ^rFILEFIND^r and ^rTS^r.
  4550. ^bEXAMPLE^b
  4551. Search for the string "NDOS" in the file NDOS.DOC, and display
  4552. the line numbers it appears on:
  4553.  c:\> find /n "NDOS" ndos.doc
  4554. ^bSYNTAX
  4555.      (External DOS)^b
  4556. FORMAT drive: [/Q] [/U] [/B|/S] [/F:size] [/V[:label]
  4557. FORMAT drive: [/Q] [/U] [/1] [/4] [/8] [/B|/S] 
  4558.  [/N:sn] [/T:tn] [/V[:label]
  4559. ^bPURPOSE^b
  4560. Format (initialize) a disk.
  4561. ^bCOMMENTS^b
  4562. FORMAT analyzes a disk for any defective tracks and prepares
  4563. the disk for DOS files. It initializes the directory and sets
  4564. up the file allocation table (FAT) and the system loader.
  4565. ^uCAUTION^u: The FORMAT command can destroy all files on the
  4566. target disk.
  4567. The FORMAT options are:
  4568.  ^b/1^b  Format a diskette for single-sided use.
  4569.  ^b/4^b  Format a double-density 5 1/4" diskette in a high-
  4570.  capacity drive.
  4571.  ^b/8^b  Format a diskette for 8 sectors per track rather than
  4572.  the default 9 sectors in a double-density drive, or
  4573.  15 in a high capacity drive.
  4574.  ^b/B^b  Leave space on the disk for the system files
  4575.  (IBMBIO.COM and IBMDOS.COM) so that they can be added
  4576.  later with the SYS command. However, this is no longer 
  4577.  necessary with DOS 5.0; the switch is maintained for
  4578.  compatibility with earlier versions of DOS.
  4579.  ^b/F:size^b  Specify a size different than the default size
  4580.  of the drive. Valid sizes are 160, 180, 320, 360, 
  4581.  720, 1200, 1440, or 2880 kilobytes.
  4582.  ^b/N:sn^b  Specifies the number of sectors per track on the
  4583.  formatted disk. For example, use /N:9 to format a 
  4584.  720KB disk in a 3.5" 1.44 MB drive.
  4585.  ^b/Q^b  Quick format deletes File Allocation Table and 
  4586.  root directory of an already formatted disk, but does
  4587.  not check the disk for bad sectors.
  4588.  ^b/S^b  Copy the hidden operating system files and the command
  4589.  processor to the new disk.
  4590.  ^b/T:tn^b  Specifies the number of tracks per disk side on the
  4591.  formatted disk. For example, use /T:80 to format a 
  4592.  720KB disk in a 3.5" 1.44 MB drive.
  4593.  ^b/U^b  Unconditional format of a disk; all data is destroyed
  4594.  and cannot be recovered with UNFORMAT.
  4595.  ^b/V[:label]^b Specify an 11-character disk volume label. 
  4596.  If just /V is specified, you are prompted for the 
  4597.  label.
  4598. ^bNDOS note:^b In DOS 3.3 and earlier versions, FORMAT /S 
  4599. will copy COMMAND.COM as the command processor. In DOS 4.0, 
  4600. FORMAT /S will copy the program specified by the COMSPEC 
  4601. environment variable, but name it COMMAND.COM on the target 
  4602. disk. As a result when the COMSPEC is set to NDOS, FORMAT /S
  4603. will copy NDOS.COM to the target disk and name it
  4604. COMMAND.COM. This will render the disk not bootable; to make
  4605. it bootable, copy COMMAND.COM manually, or copy the NDOS.OVL
  4606. file to the disk.
  4607. See also ^rDISKCOPY^r, ^rSFORMAT^r, and ^rUNFORMAT^r.
  4608. ^bEXAMPLES^b
  4609. Create a boot disk in drive A:
  4610.  c:\> format a: /s
  4611. Format a 3 1/2" double density disk in high capacity drive B:
  4612. and prompt for a volume label:
  4613.  c:\> format b: /n:9 /t:80 /v
  4614. ^bSYNTAX
  4615.      (External DOS)^b
  4616. GRAFTABL [
  4617. GRAFTABL /STATUS
  4618. ^bPURPOSE^b
  4619. Load a character table to allow CGA monitors to display ASCII
  4620. values above 127.
  4621. ^bCOMMENTS^b
  4622. Use GRAFTABL to display foreign language and line-drawing
  4623. characters while in graphics mode on a CGA (color graphics
  4624. adapter) display.
  4625. The GRAFTABL options are:
  4626.  Country code page:
  4627.  U.S./English (default)
  4628.  Multilingual
  4629.  Slavic
  4630.  Portuguese
  4631.  French 
  4632.  Nordic
  4633.  ^b/STA^b  Display the current GRAFTABL status.
  4634. GRAFTABL is memory resident (about 1K of RAM).
  4635. ^bSYNTAX
  4636.      (External DOS)^b
  4637. GRAPHICS [printer] [profile] [/R] [/B] [/LCD] [/PRINTBOX:rat]
  4638. ^bPURPOSE^b
  4639. Enables graphics printing, allowing a compatible printer to
  4640. print a screen image displayed on a graphics monitor using
  4641. Shift-PrtSc (print-screen).
  4642. ^bCOMMENTS^b
  4643. The GRAPHICS parameters are:
  4644.  ^bprinter^b  One of the following printer types:
  4645.  COLOR1
  4646.  IBM PC Color printer with 
  4647.  black ribbon
  4648.  COLOR4
  4649.  IBM PC Color printer with RGB 
  4650.  ribbon
  4651.  COLOR8
  4652.  IBM PC Color printer with CMY 
  4653.  ribbon
  4654.  HPDEFAULT
  4655.  HP PCL printer
  4656.  DESKJET
  4657.  HP DeskJet
  4658.  GRAPHICS
  4659.  IBM PC Graphics Printer, 
  4660.  Proprinter, or Quietwriter (default)
  4661.  GRAPHICSWIDE IBM PC Graphics Printer with 
  4662.  11-inch carriage
  4663.  LASERJET
  4664.  HP LaserJet
  4665.  LASERJETII
  4666.  HP LaserJet II
  4667.  PAINTJET
  4668.  HP PaintJet
  4669.  QUIETJET
  4670.  HP QuietJet
  4671.  QUIETJETPLUS HP QuietJet Plus
  4672.  RUGGEDWRITER HP Ruggedwriter
  4673.  RUGGEDWRITERWIDE HP Ruggedwriterwide
  4674.  THERMAL
  4675.  IBM PC convertible printer
  4676.  THINKJET
  4677.  HP ThinkJet
  4678.  ^bprofile^b The printer definition file. If omitted, DOS
  4679.  looks for GRAPHICS.PRO in the current directory
  4680.  and the directory where GRAPHICS.COM resides.
  4681.  ^b/B^b
  4682.  Prints background in color for COLOR4 and COLOR8
  4683.  printers (default is not to print background).
  4684.  ^b/R^b
  4685.  Reverses the printed image to print black and
  4686.  white as they appear on the display. The default
  4687.  is to print a white-on-black screen as black-on-
  4688.  white.
  4689.  ^b/LCD^b
  4690.  Prints the image as it appears on the IBM PC
  4691.  Convertible LCD screen (same as /PRINTBOX:LCD).
  4692.  ^b/PRINTBOX:rat^b  Specify the aspect ratio of the print;
  4693.  rat can be STD (standard) or LCD. PRINTBOX can
  4694.  be abbreviated to PB.
  4695. GRAPHICS is memory-resident, and uses about 6K of RAM.
  4696. ^bEXAMPLES^b
  4697. Enable graphics printing on a graphics printer; background 
  4698. color will not be printed and the foreground image will print
  4699. in black:
  4700.  c:\> graphics
  4701. Enable graphics printing on a COLOR4 ribbon printer; black 
  4702. and white images will be displayed as they appear on the screen:
  4703.  c:\> graphics color4 /r
  4704. ^bSYNTAX
  4705.      (External DOS)^b
  4706. JOIN drive: drive:\path
  4707. JOIN drive: [/D]
  4708. ^bPURPOSE^b
  4709. Connect a drive to a directory on another drive.
  4710. ^bCOMMENTS^b
  4711. The specified path must be an empty directory which is only
  4712. one level deep from the root. It cannot be the current
  4713. directory. If the named directory doesn't exist, DOS creates
  4714. it automatically.
  4715. The only JOIN option is:
  4716.  ^b/D^b  Disconnect a join.
  4717. Once a drive is JOINed it no longer exists to the system and
  4718. "invalid drive specification" will be indicated if you
  4719. attempt to refer to the drive. The JOIN must be disconnected
  4720. before the drive can be used again.
  4721. Entering JOIN with no parameters will produce a list of the
  4722. drives and directories that are JOINed.
  4723. When a JOIN is in effect the entire directory structure of the
  4724. source drive appears within the destination subdirectory.
  4725. Files in the root directory of the source drive appear in the
  4726. destination subdirectory itself; lower-level directories on
  4727. the source drive appear as corresponding lower-level
  4728. directories below the destination subdirectory. This is the
  4729. inverse of SUBST.
  4730. Do not JOIN a drive that has been ASSIGNed or SUBSTituted. Do
  4731. not use BACKUP, DISKCOMP, DISKCOPY, FORMAT or RESTORE when
  4732. JOIN is in effect.
  4733. See also ^rASSIGN^r and ^rSUBST^r.
  4734. ^bEXAMPLES^b
  4735. Join everything in drive A so that it appears in the C:\ADISK
  4736. directory:
  4737.  c:\> join a: c:\adisk
  4738. Undo the join:
  4739.  c:\> join a: /d
  4740. ^bSYNTAX
  4741.      (External DOS)^b
  4742. KEYB [xx[,[
  4743. y],[pathname
  4744. ] [/E] [/ID:
  4745. ^bPURPOSE^b
  4746. Replaces the keyboard program contained in ROM BIOS to support
  4747. keyboards which do not have the default U.S. English layout.
  4748. ^bCOMMENTS^b
  4749. If there are no parameters, KEYB displays its current status.
  4750. KEYB supports two hot-keys: Ctrl-Alt-F1 switches back to the
  4751. U.S. keyboard, while Ctlr-Alt-F2 returns to the specified
  4752. country keyboard.
  4753. The KEYB parameters are:
  4754.  ^bxx^b
  4755.  The keyboard code, such as UK.
  4756.  The code page number. If this is omitted, the
  4757.  default code page for the country is assumed.
  4758.  ^bpathname^b  The filename of the keyboard definition file.
  4759.  If omitted, KEYB attempts to load KEYBOARD.SYS
  4760.  from the root directory of the current drive.
  4761.  ^b/E^b
  4762.  Specifies an enhanced keyboard with an 8086
  4763.  computer.
  4764.  ^b/ID^b
  4765.  Specify the keyboard ID for countries that 
  4766.  support more than one keyboard layout (France,
  4767.  Italy, and the U.K.).
  4768. KEYB is memory-resident, and uses about 6K of RAM.
  4769. See your DOS documentation for more information on KEYB.
  4770. ^bEXAMPLES^b
  4771. Set the computer to use the UK keyboard:
  4772.  c:\> keyb uk,437,c:\dos33\keyboard.sys
  4773. Display the current KEYB status:
  4774.  c:\> keyb
  4775. ^bSYNTAX
  4776.      (External DOS)^b
  4777. LABEL [drive:][label]
  4778. ^bPURPOSE^b
  4779. Create, change, or delete a volume label.
  4780. ^bCOMMENTS^b
  4781. A volume label can contain up to 11 characters. Do not use
  4782. the DOS wildcard characters (* and ?) or any character from
  4783. the following list:
  4784.  " + ; ' = [ , ] \ . | < >
  4785. DOS will convert lowercase letters to uppercase.
  4786. If the drive is omitted, DOS will assume the default drive.
  4787. If the volume label is omitted, LABEL will prompt for it. If
  4788. a blank label is entered in response to the prompt, the disk
  4789. label is deleted.
  4790. See also ^rFORMAT^r, ^rSFORMAT^r, and ^rVOL^r.
  4791. ^bEXAMPLE^b
  4792. Label the disk in drive A as BACKUP_66:
  4793.  c:\> label a:backup_66
  4794. ^bSYNTAX
  4795.      (External DOS)^b
  4796. MEM [/PROGRAM|/DEBUG|/CLASSIFY] 
  4797. ^bPURPOSE^b
  4798. Display the amount of used and free memory, list programs
  4799. loaded, report allocated and free memory areas.
  4800. ^bCOMMENTS^b
  4801. MEM without any parameters displays the total and free
  4802. conventional memory; and, if available, extended and expanded
  4803. memory as well.
  4804. The /CLASSIFY switch will be particularly useful when
  4805. optimizing your system configuration to find out the size and
  4806. memory type where device drivers and memory-resident programs
  4807. are loaded. 
  4808. The /PROGRAM report includes memory addresses (hex) where
  4809. programs are loaded. The /DEBUG report includes internal
  4810. drivers and other programming information, as well.
  4811. The extended memory is report is displayed only if more than
  4812. 1Meg of memory is available. The expanded memory report is
  4813. displayed only if an expanded memory driver is installed.
  4814. Only one switch can be specified.
  4815. The MEM options are:
  4816.  ^b/PROGRAM^b  Display the address and size of programs 
  4817.  currently loaded in memory. Only ^b/P^b is required.
  4818.  ^b/DEBUG^b
  4819.  Display programs, internal drivers, and other
  4820.  programming information. Only ^b/D^b is required.
  4821.  ^b/CLASSIFY^b List programs loaded in both conventional and
  4822.  upper memory (in decimal and hex notation). Only
  4823.  ^b/C^b is required.
  4824. See your DOS manual for more information on MEM.
  4825. See also ^rMEMORY^r and ^rSYSINFO^r.
  4826. ^bEXAMPLES^b
  4827. Display memory status:
  4828. Print memory usage by class (redirecting the output of MEM to
  4829. the printer):
  4830.  mem /c > prn:
  4831. Display memory map one screen at a time (piped into the MORE
  4832. filter):
  4833.  mem /d | more
  4834. ^bSYNTAX
  4835.      (External DOS)^b
  4836. MIRROR [drive:] 
  4837. . [/1] [/Tdrive[-entries] 
  4838. MIRROR [/U]
  4839. MIRROR [/PARTN]
  4840. ^bPURPOSE^b
  4841. Save information about a disk to restore deleted files or 
  4842. recover from an accidental format of a hard disk.
  4843. ^bCOMMENTS^b
  4844. The MIRROR command creates a series of files to help recover
  4845. from disk misadventures.
  4846. MIRROR with no parameters creates a hidden file in the root
  4847. called MIRROR.FIL that contains a copy of the root directory
  4848. and file allocation table for the default drive. More than one
  4849. drive can also be specified on the command line.
  4850. The /T switch loads a memory-resident program that maintains
  4851. another hidden file called PCTRACKR.DEL, tracking deleted
  4852. files and their directory locations. With /PARTN, MIRROR 
  4853. creates a file on a floppy disk called PARTNSAV.FIL,
  4854. containing information about the hard disk's partition table.
  4855. The MIRROR options are:
  4856.  drive:
  4857.  Drive for which MIRROR is to save 
  4858.  information. More than one can be specified.
  4859.      Don't make a backup of the mirror file.
  4860.  /Tdrive
  4861.  Loads a TSR deletion-tracking program to save
  4862.  information for the UNDELETE command. The drive
  4863.  must be specified.
  4864.  -entries
  4865.  An optional parameter with /Tdrive to specify 
  4866.  the number of entries in the deletion-tracking 
  4867.  file (from 1 to 
  4868. 9). The default varies with 
  4869.  the size of the disk.
  4870.      Unload the TSR deletion-tracking program  from
  4871.  memory.
  4872.  /PARTN
  4873.  Save information about a hard disk's partition
  4874.  table on a floppy disk for use with the DOS
  4875.  UNFORMAT command.
  4876. See your DOS manual for more information on MIRROR.
  4877. See also ^rUNERASE^r and ^rUNFORMAT^r.
  4878. ^bEXAMPLES^b
  4879. Save a copy of the file allocation table for drive C, and load
  4880. deletion-tracking for drives A and C:
  4881.  mirror c: /ta /tc
  4882. Track deletions for 500 files on drive D:
  4883.  mirror td-500
  4884. ^bSYNTAX
  4885.      (External DOS)^b
  4886. See below for syntax to:
  4887.  ^b^C07^b set the printer parameters
  4888.  ^b^C07^b set the video display parameters
  4889.  ^b^C07^b set the serial port parameters
  4890.  ^b^C07^b redirect parallel port output to a serial port
  4891.  ^b^C07^b prepare one or more code pages
  4892.  ^b^C07^b select a code page
  4893.  ^b^C07^b display the active code page
  4894.  ^b^C07^b refresh a code page
  4895.  ^b^C07^b display status of a device  
  4896.  ^b^C07^b set the keyboard repeat rate
  4897. ^bPURPOSE^b
  4898. Setup a printer, video display, serial port, or code page
  4899. switching.
  4900. ^bCOMMENTS^b
  4901. MODE is memory-resident, and uses about 1K of RAM.
  4902. See the DOS manual for more information on code pages. Also
  4903. see ^rCHCP^r and ^rNLSFUNC^r.
  4904. ^bTo set the printer parameters:^b
  4905.  MODE LPT#[:][c][,[l][,r]]
  4906.  MODE LPT#[:][COLS=c][,[LINES=l][,RETRY=r]]
  4907.  ^b#^b  1, 2, or 3 (the printer number).
  4908.  ^bc^b  80 or 132 characters per line.
  4909.  ^bl^b  6 or 8 lines per inch.
  4910.  ^br^b  Action to take on a time-out error. One of the 
  4911.      following: 
  4912.      e  return an error
  4913.      b  return "busy"
  4914.      p  continue retrying
  4915.      r  return "ready"
  4916.      n  no retry (default)
  4917. ^bTo set the video display parameters:^b
  4918.  MODE [display][,shift[,T]]
  4919.  MODE [display][,n]
  4920.  MODE CON: [COLS=c] [LINES=n]
  4921.  ^bdisplay^b  40, 80, BW40, BW80, CO40, CO80, or MONO.
  4922.  ^bshift^b
  4923.  R or L  (shift the CGA display right or left).
  4924.  ^bT^b
  4925.  Display an alignment test pattern.
  4926.  ^bn^b
  4927.  Specify number of lines (25, 43, or 50). Your
  4928.  display adapter must support the lines specified
  4929.  and the ANSI.SYS device driver must be installed.
  4930.  ^bCOLS=c^b
  4931.  Specify the number of columns (40 or 80).
  4932.  ^bLINES=n^b  Specify number of lines (25, 43, or 50). Your
  4933.  display adapter must support the lines specified
  4934.  and the ANSI.SYS device driver must be intalled.
  4935. ^bTo set the serial port parameters:^b
  4936.  MODE COMn:baud[,parity[,databits[,stopbits[,retry
  4937.  MODE COMn: BAUD=baud [PARITY=parity] [DATA=databits] 
  4938.      [STOP=stopbits] [RETRY=retry]
  4939.  ^bn^b
  4940.      1, 2, 3 or 4 (serial port number)
  4941.  ^bbaud^b
  4942.  110, 150, 300, 600, 1200, 2400, 4800, 9600
  4943.  or 19200 (use the first two digits).
  4944.  ^bparity^b
  4945.  N (none), O (odd), or E (even); the default 
  4946.  is E. Some computers support M (mark) and
  4947.  S (space).
  4948.  ^bdatabits^b  7 or 8; the default is 7. Some computers
  4949.  also support 5 and 6.
  4950.  ^bstopbits^b  1 or 2; the default is 2 for 110 baud, and 1
  4951.  for all other baud rates. Some computers 
  4952.  support 1.5 as well.
  4953.  ^bretry^b
  4954.  Action to take on a time-out error. One 
  4955.  of the following: 
  4956.  e  return an error
  4957.  b  return "busy"
  4958.  p  continue retrying
  4959.  r  return "ready"
  4960.  n  no retry (default)
  4961. ^bTo redirect parallel port output to a serial port:^b
  4962.  MODE LPT#:=COMn
  4963.  ^b#^b  1, 2, or 3 (parallel port or printer number).
  4964.  ^bn^b  1, 2, 3, or 4 (serial port number).
  4965. Before parallel port output can be redirected, the serial port
  4966. must be initialized (see the previous option to set serial
  4967. port parameters).
  4968. ^bTo prepare one or more code pages:^b
  4969. MODE device CODEPAGE PREPARE=((cplist) [drive:][path]filename)
  4970.  ^bdevice^b
  4971.  CON, PRN, LPT1, LPT2 or LPT3
  4972.  ^b(cplist)^b  Code page list: one or more code page numbers.
  4973.  The valid code page numbers are 437, 850, 852,
  4974.  860, 863 and 865.
  4975.  ^bfilename^b  Specifies the file containing the code
  4976.  page(s). On an IBM PC these are:
  4977.  4201.CPI  IBM Proprinter (II, 
  4978. I, and XL) 
  4979.  4208.CPI  IBM Proprinter (X24E and XL24E)
  4980.  5202.CPI  IBM Quietwriter 
  4981. I Printer
  4982.  EGA.CPI
  4983.  EGA type devices
  4984.  LCD.CPI
  4985.  IBM Convertible LCD display
  4986. CODEPAGE PREPARE can be abbreviated CP PREP. In the code
  4987. page list, unchanged pages are surrounded by commas. For
  4988. example in the list (850,,863), the second code page remains
  4989. as it was set in the previous CODEPAGE PREPARE command for
  4990. the device.
  4991. ^bTo select a code page:^b
  4992.  MODE device CODEPAGE SELECT=cp
  4993.  ^bdevice^b  CON, PRN, LPT1, LPT2 or LPT3
  4994.  ^bcp^b
  4995.  Code page number to be activated. The valid
  4996.  code pages are 437, 850, 852, 860, 863 and 865.
  4997. CODEPAGE SELECT can be abbreviated CP SEL. The value of cp
  4998. must be one of the code pages previously activated for the
  4999. specified device with the CODEPAGE PREPARE option.
  5000. ^bTo display the active code page:^b
  5001.  MODE device CODEPAGE [/STATUS]
  5002.  ^bdevice^b
  5003.  CON, PRN, LPT1, LPT2 or LPT3
  5004.  ^b/STATUS^b  Optional and has no effect.
  5005. This command displays the active code page and a list of
  5006. selectable code pages for the specified device.
  5007. ^bTo refresh a code page:^b
  5008.  MODE device CODEPAGE REFRESH
  5009. This command refreshes the code page on the specified device
  5010. if it has been lost (for example, by turning off the printer).
  5011. CODEPAGE REFRESH can be abbreviated CP REF.
  5012. ^bTo display the status of a device:^b
  5013.  MODE [device] [/STATUS]
  5014.  ^b/STATUS^b  Displays the status of redirected parallel
  5015.  printers.
  5016. To display the status of all devices, use MODE by itself.
  5017. ^bTo set the typematic rate:^b
  5018.  MODE CON: [RATE=r DELAY=d]
  5019.  ^bRATE=r^b
  5020.  Rate at which a character is repeated when
  5021.  a key is held down, from 1 to 32 (roughly
  5022.  2 to 30 characters per second). Default is
  5023.  20 for AT compatible keyboards and 21 for 
  5024.  the PS/2.
  5025.  ^bDELAY=d^b
  5026.  Delay before repeat begins when a key is
  5027.  held down. Valid values are 1, 2, 3, or 4 
  5028.  (.25, .50, .75, and 1 second). Default is 2.
  5029. The rate and delay must both be set.
  5030. ^bSYNTAX
  5031.      (External DOS)^b
  5032. MORE < pathname
  5033. command | MORE
  5034. ^bPURPOSE^b
  5035. Display a screen-full of data, then pause.
  5036. ^bCOMMENTS^b
  5037. Pressing any key sends another screen of data to the standard
  5038. output device. This continues until all input data has been
  5039. read.
  5040. You can usually use LIST, or TYPE with the /P option, rather
  5041. than MORE.
  5042. See also ^rLIST^r and ^rTYPE^r.
  5043. ^bSYNTAX
  5044.      (External DOS)^b
  5045. NLSFUNC [pathname]
  5046. ^bPURPOSE^b
  5047. Supports extended country information, and allows for the
  5048. display and printing of national symbol sets.
  5049. ^bCOMMENTS^b
  5050. NLSFUNC must be loaded prior to using CHCP.
  5051. The pathname specifies the name and location of the country
  5052. information file. If this parameter is omitted, the command
  5053. will use the path and filename specified in the COUNTRY=
  5054. statement in the CONFIG.SYS file.
  5055. See your DOS manual for more information on code page
  5056. switching.
  5057. See also ^rCHCP^r and ^rMODE^r.
  5058. ^bEXAMPLE^b
  5059. Set the system for code page switching using COUNTRY.SYS in
  5060. the C:\DOS33 directory:
  5061.  c:\> nlsfunc c:\dos33\country.sys
  5062. ^bSYNTAX
  5063.      (External DOS)^b
  5064. PRINT [/D:device][/B:bufsiz][/U:busytick][/M:maxtick]
  5065.  [/S:timeslice][/Q:quesiz][/T][/C][/P] 
  5066.  [[drive:][path][filename][.ext]
  5067. ^bPURPOSE^b
  5068. Queue and print data files.
  5069. ^bCOMMENTS^b
  5070. Since PRINT is memory-resident, the /D, /B, /U, /M, /S and /Q
  5071. options can only be specified the first time it is invoked.
  5072. PRINT requires about 5.5K of RAM, plus the amount of buffer
  5073. space requested with the /B option.
  5074. The PRINT options are:
  5075.  ^b/D^b  Specify the print device; the default is PRN.
  5076.  ^b/B^b  Set the size of the internal buffer; the default is
  5077.  512.
  5078.  ^b/Q^b  Specify the maximum number of files in the print queue
  5079.  (1 to 32; the default is 10).
  5080.  ^b/S^b  Specify the time-slice value (1 to 255; the default is
  5081.  ^b/U^b  Specify the number of clock ticks to wait for the
  5082.  printer; the default is 1.
  5083.  ^b/M^b  Specify how many clock ticks PRINT can have (1 to 255;
  5084.  the default is 2).
  5085.  ^b/T^b  Stop printing and delete all files from the queue.
  5086.  ^b/C^b  Deletes the preceding filename from the print queue,
  5087.  and all following filenames until the end of the line
  5088.  or a /P.
  5089.  ^b/P^b  Adds the preceding filename to the print queue, and
  5090.  all following filenames until the end of the line or
  5091.  a /C.
  5092.  ^bfilename^b  File(s) to be added (the default) and/or cleared
  5093.  from the print queue (see the /C and /P options). The
  5094.  wildcard characters * and ? are allowed in file names.
  5095. ^bEXAMPLE^b
  5096. Set the print device to LPT2, set the buffer to 4K, and the
  5097. maximum queue size to 10:
  5098.  c:\> print /D:lpt2 /B:4096 /Q:10
  5099. ^bSYNTAX
  5100.      (External DOS)^b
  5101. QBASIC [/B] [/EDITOR] [/G] [/H] [/MBF] [/NOHI] 
  5102.  [[/RUN] [drive:][path]filename]
  5103. ^bPURPOSE^b
  5104. Develop programs written in the BASIC programming language.
  5105. ^bCOMMENTS^b
  5106. QBASIC is a complete development environment to write, edit,
  5107. and run programs written in BASIC. It is a major improvement
  5108. over BASIC, BASICA, or GW-BASIC, and includes extensive
  5109. online help (press function key F1). 
  5110. QBASIC is a structured language and, unlike earlier
  5111. versions of BASIC, line numbers are optional.
  5112. After loading QBASIC, press the Alt key and then Enter to
  5113. access the menus on the top line of the screen. Alternatively,
  5114. press Alt and the first letter of the menu name.
  5115. The QBASIC options are:
  5116.  ^b/B^b
  5117.  Black and white on a color display.
  5118.  ^b/EDITOR^b  Load the QBASIC program editor.
  5119.  ^b/G^b
  5120.  Faster updates for CGA displays (don't use
  5121.  this option if you see "snow").
  5122.  ^b/H^b
  5123.  Run QBASIC with the maximum number of lines
  5124.  available on the screen.
  5125.  ^b/MBF^b
  5126.  Convert the QBASIC functions CVS, CVD, MKS$,
  5127.  and MKD$ to use the Microsoft Binary Format
  5128.  for numbers rather than I
  5129. E format.
  5130.  ^b/NOHI^b
  5131.  Allows use of a monitor that does not support
  5132.  high-intensity video.
  5133.  ^b/RUN^b
  5134.  Run the specified program (a filename is 
  5135.  required).
  5136. See your DOS manual for more information on QBASIC.
  5137. ^bEXAMPLE^b
  5138. Run the sample program GORILLA.BAS:
  5139.  qbasic /run c:\dos\gorilla
  5140. ^bSYNTAX
  5141.      (External DOS)^b
  5142. RECOVER [drive:][[path]filename]
  5143. RECOVER drive:
  5144. ^bPURPOSE^b
  5145. Recover a single file that contains a bad sector (if its
  5146. directory entry is intact), or recover all of the files on a
  5147. disk with a damaged directory.
  5148. ^bCOMMENTS^b
  5149. ^uWARNING:^u This is an extremely ^bdangerous command^b. If you
  5150. specify recovery of an entire disk, either explicitly or by
  5151. failing to specify a file name, RECOVER will attempt to
  5152. recover the entire disk without further prompting! In this
  5153. case all directory structures, file names, and other
  5154. distinguishing information on the disk will be lost. All
  5155. files, including those with no bad sectors, will be converted
  5156. into root-directory files with names like FILE
  5157. 01.REC.
  5158. ^bNeed more be said department:^b Use the Norton Utilities 
  5159. instead whenever you have to recover from file or disk 
  5160. problems. Delete the RECOVER program which comes with DOS 
  5161. from your disk.
  5162. The RECOVER parameters are:
  5163.  ^bdrive:^b  The drive designator for the drive that contains
  5164.  the single file or the entire drive that is to be
  5165.  recovered (default is the current drive).
  5166.  ^bpath^b
  5167.  The path containing the single file to be
  5168.  recovered (default is the current directory of the
  5169.  specified drive).
  5170.  ^bfilename^b  The name of the file to be recovered (default is
  5171.  to recover the entire disk).
  5172. ^bEXAMPLES^b
  5173. Recover only the file named MEMO.ONE in the \REPORT directory
  5174. on drive C:. If this file has no bad sectors, it will remain
  5175. unchanged.
  5176.  c:\> recover c:\report\memo.one
  5177. Recover the entire disk in drive A:. All files on the disk in
  5178. drive A: will be placed in the root directory and renamed
  5179. n.REC.
  5180.  c:\> recover a:
  5181. ^bSYNTAX
  5182.      (External DOS)^b
  5183. REPLACE [drive:][path]filename [drive:][path] 
  5184.  [/A] [/P] [/R] [/S] [/U] [/W]
  5185. ^bPURPOSE^b
  5186. Selectively replaces files in one directory from those in
  5187. another directory.
  5188. ^bCOMMENTS^b
  5189. REPLACE copies the specified ^usource^u files to the
  5190. ^udestination^u directory. If the files already exist in the
  5191. destination directory, they are overwritten (unless /A is
  5192. specified). The default target is the current directory.
  5193. The /S switch can be used to replace all copies of a file
  5194. anywhere on a disk with a newer copy.
  5195. REPLACE cannot copy or update hidden or system files.
  5196. The REPLACE parameters are:
  5197.  ^b/A^b  Add files to the destination directory that are not
  5198.  already in it, but do not replace files that already
  5199.  exist. Cannot be used with /S or /U.
  5200.  ^b/P^b  Prompt before replacing or adding files.
  5201.  ^b/R^b  Replace read-only files. If /R is not specified,
  5202.  REPLACE stops at the first read-only source file it
  5203.  finds.
  5204.  ^b/S^b  Search all subdirectories of the target directory to
  5205.  find matches for source files. Cannot be used with /A.
  5206.  ^b/U^b  Update: Replace those files on destination that are
  5207.  older than the source. Cannot be used with /A.
  5208.  ^b/W^b  Wait: Prompt for a key-press before starting to
  5209.  replace files, allowing you to insert a source 
  5210.  diskette on a floppy-only system.
  5211. ^bEXAMPLES^b
  5212. Replace files named PHONES.* in the \CLIENTS directory on
  5213. drive C: with files with the same name in the root directory
  5214. of drive A:. You will be prompted before each replacement:
  5215.  c:\> replace a:\phones.* c:\clients /p
  5216. Copy all files from the root directory of drive A: to
  5217. directory C:\UTILS, except those which already exist in
  5218. C:\UTILS:
  5219.  c:\> replace a:\*.* c:\utils /a
  5220. ^bSYNTAX
  5221.      (External DOS)^b
  5222. RESTORE drive: [drive:][path][filename] [/S] [/P]
  5223.  [/B:date] [/A:date] [/N] [/M] [/L:time] [/E:time] [/D]
  5224. ^bPURPOSE^b
  5225. Restore backup files to disk.
  5226. ^bCOMMENTS^b
  5227. The first argument is the ^usource^u drive; the second is the
  5228. ^utarget^u disk or file specification.
  5229. If no target is specified RESTORE will use the current drive.
  5230. ^bFiles must be restored to the same directory^b they were in
  5231. when the backup was created with BACKUP. The wildcard
  5232. characters * and ? are allowed in the filename.
  5233. The RESTORE options are:
  5234.  ^b/S^b  Restore all subdirectory files in addition to the
  5235.  specified directory.
  5236.  ^b/P^b  Prompt before overwriting files that have changed
  5237.  since the last backup, or that are marked read-only.
  5238.  ^b/B:date^b  Restore files modified on or before the date
  5239.  specified (the date format depends on the current
  5240.  country setting).
  5241.  ^b/A:date^b  Restore files modified on or after the date
  5242.  specified (the date format depends on the current
  5243.  country setting).
  5244.  ^b/M^b  Restore files that have been modified or deleted since
  5245.  the most recent backup.
  5246.  ^b/N^b  Restore files that no longer exist on the target.
  5247.  ^b/L:time^b  Restore only files modified at or after the time
  5248.  specified. The time is in hh:mm:ss format.
  5249.  ^b/E:time^b  Restore only files modified at or before the time
  5250.  specified. The time is in hh:mm:ss format.
  5251.  ^b/D^b  Display the list of files that match "filename" 
  5252.  without restoring any files. You must specify the 
  5253.  target drive with the /D switch even though no files
  5254.  will be restored.
  5255. RESTORE may not work properly if an ASSIGN, JOIN or SUBST was
  5256. in effect at the time the files were backed up, or if APPEND
  5257. is in effect when RESTORE is run.
  5258. RESTORE will not restore existing system files.
  5259. See also ^rBACKUP^r.
  5260. ^bEXAMPLE^b
  5261. Restore the fixed disk C from the backup disks in A:
  5262.  c:\> restore a: c: /s
  5263. Restore the file \WP\MEMO.DOC from the backup disk in A:
  5264.  c:\> restore a: c:\wp\memo.doc
  5265. ^bSYNTAX
  5266.      (External DOS)^b
  5267. SETVER [drive:path] [filename n.nn]
  5268. SETVER [drive:path] [filename [/DELETE] [/QUIET]]
  5269. ^bPURPOSE^b
  5270. Set the DOS version number reported to a program.
  5271. ^bCOMMENTS^b
  5272. Some programs query DOS to report the version number and
  5273. require a specific DOS version before proceeding. SETVER
  5274. maintains an internal version table that allows you to 
  5275. control what version number is reported to the program.
  5276. Before using SETVER, it must be loaded as a device driver
  5277. from your CONFIG.SYS file.
  5278. SETVER with no parameters (or just drive:path) lists the
  5279. programs and version numbers stored in the version table.
  5280. The ^bdrive:path^b parameter is the location of the SETVER.EXE
  5281. file, but need only be specified if SETVER is not available
  5282. on the search PATH.
  5283. ^bfilename^b is the name of the program to add to the version
  5284. table. ^bn.nn^b is the major and minor DOS version number
  5285. from 2.0 to 9.99 (for forward thinkers) that DOS will report
  5286. to the program.
  5287. The SETVER options are:
  5288.  ^b/DELETE^b  Remove the specified program from the version
  5289.  table. Only ^b/D^b is required.
  5290.  ^b/QUIET^b
  5291.  Suppress screen messages normally displayed 
  5292.  during deletion of the entry.
  5293. You must reboot before changes to the SETVER version table
  5294. take effect.
  5295. See your DOS manual for more information on SETVER.
  5296. ^bEXAMPLE^b
  5297. To add a program to the version table that tests for DOS
  5298. version 2.11:
  5299.  setver test211.com 2.11
  5300. ^bSYNTAX
  5301.      (External DOS)^b
  5302. SHARE [/F:filespace][/L:locks]
  5303. ^bPURPOSE^b
  5304. Load support for file sharing and file locking.
  5305. ^bCOMMENTS^b
  5306. SHARE is for network users. To load SHARE automatically under
  5307. DOS 4.0 and above, put SHARE.EXE in the root directory of
  5308. your boot disk, or the directory pointed to by your SHELL=
  5309. command in CONFIG.SYS.
  5310. You can load SHARE manually from the AUTOEXEC.BAT file, but it
  5311. sometimes works better if loaded automatically.
  5312.  ^bNote: SHARE controls the use and sharing of data and disk
  5313.  files between programs. SHARE should be loaded if you are
  5314.  using a DOS version earlier than 5.0 and your hard disk has 
  5315.  a partition larger than 32 Megabytes.
  5316. The SHARE options are:
  5317.  ^b/F:filespace^b  Allocate file space for the file sharing
  5318.  information area. Each open file requires
  5319.  the length of the full filename plus 11 
  5320.  bytes. The default is 2048 bytes.
  5321.  ^b/L:locks^b
  5322.  Allocate space for the number of locks.
  5323.  The default is 20 locks.
  5324. SHARE is memory-resident, and uses about 6K of RAM (DOS 3.3).
  5325. ^bEXAMPLE^b
  5326. Allocate 4096 bytes for file space and 40 locks:
  5327.  c:\> share /F:4096 /L:40
  5328. ^bSYNTAX
  5329.      (External DOS)^b
  5330. SORT [/R][/+n] < pathname
  5331. command | SORT [/R][/+n] 
  5332. ^bPURPOSE^b
  5333. Read data from standard input, sort it, and write it to
  5334. standard output.
  5335. ^bCOMMENTS^b
  5336. SORT is a filter used to organize information. The largest
  5337. file you can sort is 63K. SORT ignores case differences.
  5338. The SORT options are:
  5339.  ^b/R^b
  5340.  Sort in reverse order (Z to A).
  5341.  ^b/+n^b  Start sorting with column n.
  5342. ^bEXAMPLE^b
  5343. Sort the file ADDRESS and write it to SORTED:
  5344.  c:\> sort < address > sorted
  5345. ^bSYNTAX
  5346.      (External DOS)^b
  5347. SUBST
  5348. SUBST drive: drive:\path
  5349. SUBST drive: /D
  5350. ^bPURPOSE^b
  5351. Substitute a virtual drive for a path.
  5352. ^bCOMMENTS^b
  5353. If you don't enter any arguments, SUBST will display the
  5354. current virtual drives.
  5355. SUBST is useful for applications that do not recognize paths;
  5356. it permits the use of a drive to represent a path. When a
  5357. SUBST is in effect the specified path appears as if it were
  5358. the root directory of the specified drive. Lower-level
  5359. subdirectories appear as lower-level subdirectories on the
  5360. new drive. This is the inverse of JOIN.
  5361. The only option for SUBST is:
  5362.  ^b/D^b  Delete a substitution
  5363. The first and second drive specifiers must be different; the
  5364. first drive letter cannot be the current default drive; and
  5365. no reference can be made to a network drive. The drive
  5366. letter being substituted must be equal to or less than the
  5367. letter specified in the LASTDRIVE statement in the CONFIG.SYS
  5368. file (default E:).
  5369. CD, MD, and RD should be used with care when SUBST is in
  5370. effect. ASSIGN, BACKUP, DISKCOMP, DISKCOPY, FDISK, FORMAT,
  5371. JOIN, LABEL and RESTORE should not be used when SUBST is in
  5372. effect.
  5373. See also ^rASSIGN^r and ^rJOIN^r.
  5374. ^bEXAMPLE^b
  5375. Create a virtual drive D to access C:\WP\MEMOS\JAN89:
  5376.  c:\> subst d: c:\wp\memos\jan89
  5377. ^bSYNTAX
  5378.      (External DOS)^b
  5379. SYS [source-drive:] drive:
  5380. ^bPURPOSE^b
  5381. Copy the two hidden operating system files and COMMAND.COM to
  5382. another drive.
  5383. ^bCOMMENTS^b
  5384. If the source-drive (which contains the operating system
  5385. files) is not specified, DOS searches the root directory of
  5386. the default drive for the system files.
  5387. The disk drive to receive the operating system must contain
  5388. an already formatted disk. 
  5389. See also ^rFORMAT^r.
  5390. ^bEXAMPLE^b
  5391. Copy the system files to drive A:
  5392.  c:\> sys a:
  5393. ^bSYNTAX
  5394.      (External DOS)^b
  5395. TREE [drive:][path] [/F] [/A]
  5396. ^bPURPOSE^b
  5397. Display the directory and file structure.
  5398. ^bCOMMENTS^b
  5399. Unless otherwise specified with drive and path, TREE begins
  5400. its display from the current directory of the default drive.
  5401. The options for TREE are:
  5402.  ^b/F^b  Display the names all files in each directory.
  5403.  ^b/A^b  Use text characters instead of graphic characters to
  5404.  display the directory tree.
  5405. See also ^rDIR^r.
  5406. ^bEXAMPLE^b
  5407. Display the names of the files in all directories on the
  5408. default drive:
  5409.  c:\> tree \ /f
  5410. ^bSYNTAX
  5411.      (External DOS)^b
  5412. UNDELETE [[drive:][path]filename] [/LIST|/ALL] [/DOS|/DT]
  5413. ^bPURPOSE^b
  5414. Recover files deleted with the DEL or ERASE commands.
  5415. ^bCOMMENTS^b
  5416. UNDELETE will recover erased files based either on
  5417. information in the deletion-tracking file created with the
  5418. MIRROR command or information from the internal DOS directory
  5419. listing. 
  5420. You are prompted to enter the first character of the filename
  5421. and confirm the recover operation.
  5422. If /ALL is specified, a # is used as the first character of
  5423. the filename (or another character that is unique, if
  5424. necessary).
  5425. UNDELETE cannot recover a directory or a file if the directory
  5426. that contained it has been removed.
  5427.  ^bNote:^b Use EP (Erase Protect) to guard against accidental
  5428.  file deletions.
  5429. The UNDELETE options are:
  5430.  ^b/LIST^b
  5431.  List files that can be recovered.
  5432.  ^b/ALL^b
  5433.  Recover deleted files without prompting for 
  5434.  confirmation.
  5435.  ^b/DOS^b
  5436.  Recover files marked as deleted by DOS 
  5437.  (ignore MIRROR information).
  5438.  ^b/DT^b
  5439.  Recover only files listed in the "deletion-
  5440.  tracking" file created by MIRROR.
  5441. See your DOS manual for more information on UNDELETE.
  5442. See also ^rEP^r and ^rUNERASE^r.
  5443. ^bEXAMPLE^b
  5444. Recover all deleted files from the current directory with the
  5445. extension .TXT:
  5446.  undelete *.txt
  5447. Recover all deleted files from the current directory with the
  5448. extension .TXT without prompting for confirmation:
  5449.  undelete *.txt /all
  5450. ^bSYNTAX
  5451.      (External DOS)^b
  5452. XCOPY [drive:][path]filename [drive:][path][filename]
  5453.  [/A] [/D:date] [/E] [/M] [/P] [/S] [/V] [/W]
  5454. ^bPURPOSE^b
  5455. Copy files and directories, including subdirectories.
  5456. ^bCOMMENTS^b
  5457. The first argument is the ^usource^u file or directory you want to
  5458. copy. The second argument is the ^utarget^u. If you omit the
  5459. target, XCOPY uses the default directory with ^b*.*^b as the
  5460. default filename.
  5461. The XCOPY options are:
  5462.  ^b/A^b  Archive: Copy source files that have the archive bit
  5463.  set. This option does not modify the archive bit.
  5464.  ^b/D^b  Date: Copy source files modified on or after the
  5465.  specified date (the date format depends on the current
  5466.  country setting).
  5467.  ^b/E^b  Empty: Copy any subdirectories, even if empty. Using
  5468.  this option without the /S option will cause an error.
  5469.  ^b/M^b  Modify: Same as /A, but after copying a file, turn
  5470.  off the archive bit in the source file.
  5471.  ^b/P^b  Prompt with a "Y/N" before creating each target file.
  5472.  ^b/S^b  Subdirectories: Copy subdirectories, unless they
  5473.  are empty.
  5474.  ^b/V^b  Verify each disk write. This is the same as executing
  5475.  the VERIFY ON command, but is only active while XCOPY
  5476.  is running.
  5477.  ^b/W^b  Wait for a keystroke before copying files.
  5478. XCOPY may not work correctly if it is used while an APPEND /X
  5479. is in effect.
  5480. The NDOS description file created by DESCRIBE is NOT updated
  5481. by XCOPY.
  5482. See Also ^rBACKUP^r, ^rCOPY^r, and ^rMOVE^r.
  5483. ^bEXAMPLES^b
  5484. Copy all of the files from drive D to drive C:
  5485.  c:\> xcopy d:\ c:\ /s
  5486. Copy all of the files in the WP directory on drive C that were
  5487. modified on or after January 1, 1989 to drive A:
  5488.  c:\> xcopy c:\wp a:\ /d:1-1-89
  5489. ^bSYNTAX
  5490.      (External Norton Utility)^b
  5491. CALIBRAT [drive:] [/BATCH] [/BLANK] [/NOCOPY] [/NOFORMAT]
  5492. ^bPURPOSE^b
  5493. Optimize the speed and reliability of a hard disk.
  5494. ^bCOMMENTS^b
  5495. Calibrate performs three main functions: a hard disk
  5496. "interleave" optimization to increase your disk's data
  5497. transfer rate (often by 66% or more); "firm up" any drift of
  5498. the read/write heads of a drive as it begins aging; verify
  5499. the surface of the disk with exhaustive testing.
  5500. The low-level format performed by Calibrate is both safe and
  5501. non-destructive -- no data is lost. You can even abort during
  5502. the procedure (press Esc).
  5503. Because Calibrate can actually change the low-level formatting
  5504. of your hard disk (including the hard disk interleave), you
  5505. should run the program in full-screen mode the first time you
  5506. use it. 
  5507. The CALIBRAT options are:
  5508.  ^bdrive:^b
  5509.  Drive letter of disk to optimize.
  5510.  ^b/BATCH^b
  5511.  Skip prompts and exit to DOS when done.
  5512.  ^b/BLANK^b
  5513.  Blank the screen during Pattern Testing.
  5514.  ^b/NOCOPY^b
  5515.      Don't make a duplicate copy of the track 
  5516.  currently being tested.
  5517.  ^b/NOFORMAT^b
  5518.  Perform pattern testing only, do not 
  5519.  low-level format disk.
  5520.  ^b/NOSEEK^b
  5521.      Skip seek tests. (These need to be run 
  5522.  only the first time you use Calibrate.)
  5523.  ^b/PATTERN:n^b
  5524.  Perform pattern testing at level ^bn^b (0, 5,
  5525.  40, or 80).
  5526.  ^b/R[A]:pathname^b  Send (or Append) report of results to 
  5527.  a file.
  5528.  ^b/X:drives^b
  5529.  Exclude drives from testing (for 
  5530.  example, /X:def).
  5531. For best results:
  5532.  * Don't have any disk caching software active when you
  5533.  run Calibrate.  
  5534.  * Don't pop up TSR programs while Calibrate is running.
  5535.  * Run the Norton Disk Doctor before running Calibrate to 
  5536.  verify the integrity of your file structure and make 
  5537.  sure bad parts of your drive are marked as bad. 
  5538.  * If your computer has a "turbo speed" control, it should
  5539.  be set at the speed at which you will normally use your 
  5540.  computer.
  5541. See also ^rNDD^r.
  5542. ^bEXAMPLE^b
  5543. Run Calibrate from a batch file for a periodic maintenance
  5544. check:  
  5545.  calibrat /noseek /noformat /pattern:0 /blank /batch
  5546. ^bSYNTAX
  5547.      (External Norton Utility)^b
  5548. DE [drive:][path][filename] [/M] [/X:drives] [/W] [/SKIPHIGH]
  5549. ^bPURPOSE^b
  5550. View and edit files and disk system areas.
  5551. ^bCOMMENTS^b
  5552. DE is the "short name" for DISKEDIT. 
  5553. See ^rDISKEDIT^r for details.
  5554. ^bSYNTAX
  5555.      (External Norton Utility)^b
  5556. DISKEDIT [drive:][path][filename] [/M] [/X:drives] [/W] 
  5557.      [/SKIPHIGH]
  5558. ^bPURPOSE^b
  5559. View and edit files and disk system areas.
  5560. ^bCOMMENTS^b
  5561. DiskEdit is an extremely flexible disk utility, designed for
  5562. manual data recovery, system sleuthing, and digging into
  5563. places where you aren't normally allowed. DiskEdit is also a
  5564. powerful debugging aid for problems related to disk file
  5565. layouts.
  5566. Specify a complete pathname in the DiskEdit command line to
  5567. automatically select a drive and directory as the defaults
  5568. and select the file itself as the current object. If you use a
  5569. directory name (with no file name), that directory comes up
  5570. in the Directory Viewer.
  5571. For safety, DiskEdit comes in read-only mode. Enable disk
  5572. writing with the cOnfiguration option of the Tools menu or
  5573. use the ^b/W^b switch on the command line.
  5574. The DISKEDIT options are:
  5575.  ^b/M^b
  5576.      Maintenance mode: bypasses DOS and looks
  5577.  directly at the disk.
  5578.  ^b/X:drives^b  Exclude drives from absolute sector processing
  5579.  (for example, /X:def).
  5580.  ^b/W^b
  5581.      Write-able mode (read-only off).
  5582.  ^b/SKIPHIGH^b  Skip using high memory.
  5583. The ^b/M^b is needed when some critical DOS part of the disk
  5584. is missing. It causes DiskEdit to bypass the directory scan,
  5585. FAT analysis, and similar tasks. With /M, DiskEdit will also
  5586. attempt to access the diagnostic cylinder of any physical
  5587. hard disk, and if one is present, DiskEdit will allow you to
  5588. access that cylinder.
  5589. The "Trouble Shooter" chapter of the Disk Explorer manual
  5590. explains advanced usages of DiskEdit for cases where NDD,
  5591. UnErase, or UnFormat could not recover your data.
  5592.  ^bNote:^b DISKEDIT can be renamed to DE as a 
  5593.  configuration option of the Norton Utilities. 
  5594. See also ^rNDD^r, ^rCALIBRAT^r, and ^rDISKTOOL^r.
  5595. ^bEXAMPLE^b
  5596. View a file with DiskEdit:
  5597.  diskedit c:\autoexec.bat
  5598. With the Quick Links option (ON by default, see the 
  5599. cOnfiguration option of the Tools menu), press Enter
  5600. again to view the file's directory entry.
  5601. ^bSYNTAX
  5602.      (External Norton Utility)^b
  5603. DISKMON [/LIGHT+|-] [/PROTECT+|-] [/SKIPHIGH]
  5604. DISKMON [/PARK]
  5605. DISKMON [/STATUS]
  5606. DISKMON [/UNINSTALL]
  5607. ^bPURPOSE^b
  5608. Enable or disable disk protection features: Disk Protect,
  5609. Disk Light, and Disk Park.
  5610. ^bCOMMENTS^b
  5611. Disk Protect installs a TSR (RAM-resident program) which
  5612. tracks all attempts to write to any disks. When Disk Protect
  5613. is ON, you are warned whenever the disk is about to be
  5614. modified 
  5615.  and you can choose to block the attempted write
  5616. or let it continue. This provides safety from viruses and can
  5617. help avoid accidental deletion or overwriting of specific
  5618. types of files. 
  5619.  ^bNote:^b When using Disk Protect with an application 
  5620.  running in graphics mode, for example Windows, you should
  5621.  disable Disk Protect. Disk Protect will not be able to 
  5622.  pop up a confirming dialog box and will automatically 
  5623.  reject the write operation.
  5624. Disk Light also installs a TSR which displays a tiny flashing
  5625. light in the top right corner of your screen whenever any
  5626. disk is read or written. This is handy for monitoring RAM-
  5627. disk activities or to give you an indication of disk activity
  5628. if your system unit is on the floor and out of sight.
  5629. Disk Park moves the read/write heads of all your drives into
  5630. a safe location. This is especially important when you intend
  5631. to move your system unit, particularly on older drives that
  5632. do not have self-parking heads.
  5633. The DISKMON options are:
  5634.  ^b/LIGHT+|-^b
  5635.  Turn the Disk Light on or off.
  5636.  ^b/PROTECT+|-^b  Turn the Disk Protect features on or off.
  5637.  ^b/SKIPHIGH^b
  5638.  Do not load into high memory.
  5639.  ^b/PARK^b
  5640.  Park the disk heads on all drives.
  5641.  ^b/STATUS^b
  5642.  Show the on/off status of Disk Protect and 
  5643.  Disk Light.
  5644.  ^b/UNINSTALL^b
  5645.  Remove Disk Monitor from memory.
  5646. Disk Monitor can be configured to offer several different
  5647. levels of disk protection (files, system area, and entire
  5648. disk). You must use the full-screen mode to set or store this
  5649. configuration. The defaults stored in the DISKMON.INI file.
  5650. ^bEXAMPLES^b
  5651. To park the heads of all drives:
  5652.  diskmon /park
  5653. To enable the Disk Light:
  5654.  diskmon /light+
  5655. ^bSYNTAX
  5656.      (External Norton Utility)^b
  5657. DISKREET [/ON|/OFF|/CLOSE]
  5658. DISKREET /SHOW[:drive]|/HIDE[:drive]
  5659. DISKREET /ENCRYPT:pathname [/PASSWORD:string]
  5660. DISKREET /DECRYPT:pathname [/PASSWORD:string]
  5661. ^bPURPOSE^b
  5662. Encrypt and decrypt individual files or use encrypted areas
  5663. (NDisks) on your disk.
  5664. ^bCOMMENTS^b
  5665. With DISKREET, individual files or groups of files can be
  5666. encrypted with their own passwords. You must supply the
  5667. correct password to decrypt a file.
  5668. Alternatively, an NDisk, or protected area of a disk, can be
  5669. created. An NDisk looks like a hidden file to DOS, but
  5670. behaves like a disk drive. Once the NDisk is opened by
  5671. password, all files in the NDisk are automatically encrypted
  5672. and decrypted as they are used. When the NDisk is closed, the
  5673. files are inaccessible.
  5674.  ^bNote:^b Because the NDisk option of Diskreet requires a
  5675.  device driver, be sure to read the manual and the READ.ME
  5676.  file before loading it via the command line.
  5677. You must create, delete, or modify NDisks in the full-screen
  5678. mode.
  5679. The DISKREET options are:
  5680.  ^b/ON^b
  5681.  Enable the Diskreet device driver.
  5682.  ^b/OFF^b
  5683.  Disable the Diskreet device driver.
  5684.  ^b/CLOSE^b
  5685.  Close all open NDisks.
  5686.  ^b/SHOW[:drive]^b
  5687.  Show NDisks (clears Hidden attribute) 
  5688.  for specified drive (if omitted, 
  5689.  default drive).
  5690.  ^b/HIDE[:drive]^b
  5691.  Hide NDisks (sets Hidden attribute) for
  5692.  specified drive (if omitted, default 
  5693.  drive).
  5694.  ^b/ENCRYPT:pathname^b Encrypt the specified file or files.
  5695.  ^b/DECRYPT:pathname^b Decrypt the specified file.
  5696.  ^b/PASSWORD:string^b  String is the password set for the file
  5697.  encryption and decryption (from 6 to 40
  5698.  characters).
  5699. ^bEXAMPLE^b
  5700. Encrypt the file DEEPTHRT.TXT from the command line:
  5701.  diskreet /encrypt:deepthrt.txt /password:rosebud
  5702. Encrypt a group a files to one encrypted file:
  5703.  diskreet /encrypt:*.txt /password:cheryl
  5704. ^bSYNTAX
  5705.      (External Norton Utility)^b
  5706. DISKTOOL [/DOSRECOVER] [/SKIPHIGH] 
  5707. DISKTOOL [/MAKEBOOT] [/SKIPHIGH]
  5708. DISKTOOL [/MARKCLUSTER] [/SKIPHIGH]
  5709. DISKTOOL [/REVIVE] [/SKIPHIGH]
  5710. DISKTOOL [/SAVERESCUE|/RESTORE] [/SKIPHIGH]
  5711. ^bPURPOSE^b
  5712. Six tools for data protection and recovery.
  5713. ^bCOMMENTS^b
  5714. Disk Tools can be operated in full-screen mode only. With the
  5715. command line switches you can start the program with a
  5716. pre-selected operation.
  5717. The DISKTOOL options are:
  5718.  ^b/DOSRECOVER^b
  5719.  Recover from DOS RECOVER.
  5720.  ^b/MAKEBOOT^b
  5721.  Make a disk bootable.
  5722.  ^b/MARKCLUSTER^b  Mark a cluster.
  5723.  ^b/REVIVE^b
  5724.  Revive a defective diskette.
  5725.  ^b/RESTORE^b
  5726.  Restore "Rescue" diskette.
  5727.  ^b/SAVERESCUE^b
  5728.  Create "Rescue" diskette.
  5729.  ^b/SKIPHIGH^b
  5730.  Skip using high memory.
  5731. See also ^rNDD^r.
  5732. ^bEXAMPLE^b
  5733. Revive a defective floppy disk:
  5734.  disktool /revive
  5735. ^bSYNTAX
  5736.      (External Norton Utility)^b
  5737. DS [pathname]
  5738. DS sort-keys [pathname] [/S]
  5739. ^bPURPOSE^b
  5740. Sort the directory order of files by name, extension, date,
  5741. time, and size.
  5742. ^bCOMMENTS^b
  5743. You can combine any number of ^bsort keys^b so that files
  5744. that are the same by one key can be arranged in order by the
  5745. next key. When a directory is sorted, all subdirectories are
  5746. grouped first, followed by all files. 
  5747. In full-screen mode, a file can be placed at any location in
  5748. the sort order. You can make finding frequently accessed files
  5749. easier by placing them first in their directories.
  5750. The DS options are:
  5751.  ^bpathname^b
  5752.  Directory to be sorted.
  5753.  ^bsort-keys^b  Sort by keys in order specified:
  5754.  ^bN^b
  5755.  Name
  5756.  ^bE^b
  5757.  Extension
  5758.  ^bD^b
  5759.  Date
  5760.  ^bT^b
  5761.  Time
  5762.  ^bS^b
  5763.  Size
  5764.  ^b/S^b
  5765.      Sort subdirectories.
  5766. Add a minus sign (-) to any of the sort keys to reverse the
  5767. order. More than one key can be specified for the sort order.
  5768. If you do not specify a sort key, DS loads in the interactive
  5769. mode.
  5770.  ^bNote:^b If you are using NDOS, the directory order will
  5771.  appear in the NDOS order. By default this is an alphabetic
  5772.  sort with directories first. The DIR output in NDOS can be
  5773.  changed with an ALIAS or use of the DIRCMD environment 
  5774.  variable.
  5775. See also ^rDIR^r and ^rALIAS^r.
  5776. ^bEXAMPLE^b
  5777. Sort the files in the DATA directory by reverse order of
  5778. extension, and then filename:
  5779.  ds e-n c:\data
  5780. ^bSYNTAX
  5781.      (External Norton Utility)^b
  5782. EP /ON [/SKIPHIGH]
  5783. EP /OFF|/UNINSTALL
  5784. EP /STATUS
  5785. ^bPURPOSE^b
  5786. Saves erased files for reliable file recovery.
  5787. ^bCOMMENTS^b
  5788. Erase Protect is a small, memory-resident program (TSR) that
  5789. protects your data by moving erased or deleted files to a
  5790. hidden directory called "TRASHCAN" for future recovery, if
  5791. needed.
  5792. Use UnErase to recover erased files.
  5793. The EP options are:
  5794.  ^b/ON^b
  5795.      Enable Erase Protect.
  5796.  ^b/SKIPHIGH^b
  5797.  Do not load into High memory.
  5798.  ^b/OFF^b
  5799.  Uninstall Erase Protect.
  5800.  ^b/UNINSTALL^b  Uninstall Erase Protect (same as /OFF).
  5801.  ^b/STATUS^b
  5802.  Display Erase Protect status.
  5803. You must enter the full-screen mode to specify such things as
  5804. protect all files or specified files, how many days to keep
  5805. files before overwriting them, how much disk space to allow
  5806. for these files, and how often you wish to purge the
  5807. "trashcan."
  5808. See also ^rUNERASE^r.
  5809. ^bEXAMPLE^b
  5810. For maximum protection, place the following line in your
  5811. AUTOEXEC.BAT file:
  5812.  ep /on
  5813. ^bSYNTAX
  5814.      (External Norton Utility)^b
  5815. FA [pathname] [/A[+|-]] [/HID[+|-]] [/R[+|-]] [/SYS[+|-]] 
  5816.  [/CLEAR] [/P] [/S] [/T] [/U]
  5817. FA [pathname] /DIR[+|-]
  5818. ^bPURPOSE^b
  5819. Display, set, or clear the attributes of files and
  5820. directories.
  5821. ^bCOMMENTS^b
  5822. FA is a command line utility (no full-screen interface).
  5823. The FA options are:
  5824.  ^b/A^b
  5825.  Archive
  5826.  ^b/HID^b
  5827.  Hidden
  5828.  ^b/R^b
  5829.  Read-only
  5830.  ^b/SYS^b
  5831.  System
  5832.  ^b/DIR^b
  5833.  Hidden (directories only)
  5834.  ^b/CLEAR^b  Clear (remove) all file attributes.
  5835.  ^b/P^b
  5836.  Pause after each screen.
  5837.  ^b/S^b
  5838.  Act on subdirectories.
  5839.  ^b/T^b
  5840.  Display file or directory totals only.
  5841.  ^b/U^b
  5842.  Unusual files (those with any attribute set).
  5843. The attribute switch by itself lists all files with that
  5844. attribute set. If you specify more than one attribute, only
  5845. files with all specified attributes will be listed. 
  5846. To set an attribute, add a plus (+) sign. For example, /HID+
  5847. sets the hidden attribute for all specified files. To clear
  5848. an attribute, add a minus (-) sign.
  5849. If the pathname is omitted, the current directory is assumed.
  5850. See also ^rATTRIB^r and ^rDIR^r.
  5851. ^bEXAMPLES^b
  5852. Find all hidden files on a disk:
  5853.  fa c:\ /s /hid
  5854. Hide a directory called SECRETS:
  5855.  fa c:\secrets /dir+
  5856. Remove read-only protection from a file:
  5857.  fa c:\image.bak /r-
  5858. ^bSYNTAX
  5859.      (External Norton Utility)^b
  5860. FD pathname [/D[:]date] [/T[:]time] [/P] [/S]
  5861. ^bPURPOSE^b
  5862. Change the file time and date information.
  5863. ^bCOMMENTS^b
  5864. FD is a command line utility (no full-screen interface).
  5865. Unlike other command line utilities, FD requires at least a
  5866. drive, path, filename, or file specification (with * and ?).
  5867. The FD options are:
  5868.  ^b/D[:]date^b  Set the date (month-day-year).
  5869.  ^b/T[:]time^b  Set the time (hour:minute:second). Only the 
  5870.  hour is required.
  5871.  ^b/P^b
  5872.      Pause after each screen.
  5873.  ^b/S^b
  5874.      Include Subdirectories.
  5875. Running FD without the /D and /T switches will stamp the
  5876. current date and time on all files specified in pathname.
  5877. The use of the colon after the /D and /T switches is
  5878. optional.
  5879. ^bEXAMPLE^b
  5880. Set the date and time stamps for files with a PRG extension:
  5881.  fd c:\app\*.prg /d:12-25-91 /t:14:20
  5882. ^bSYNTAX
  5883.      (External Norton Utility)^b
  5884. FF [pathname] [search-text] [/C] [/S] [/CS] [/BATCH]
  5885.  [/A[+|-]] [/HID[+|-]] [/R[+|-]] [/SYS[+|-]] [/CLEAR]
  5886.  [/D[:][date]] [/T[:][time]] [/NOW]
  5887.  [/O:pathname] [/TARGET:drive]
  5888. ^bPURPOSE^b
  5889. Search for files across drives and directories.
  5890. ^bCOMMENTS^b
  5891. FF is the "short name" for FILEFIND.
  5892. See ^rFILEFIND^R for details.
  5893. ^bSYNTAX
  5894.      (External Norton Utility)^b
  5895. FILEFIND [pathname] [search-text] [/C] [/S] [/CS] [/BATCH]
  5896.  [/A[+|-]] [/HID[+|-]] [/R[+|-]] [/SYS[+|-]] [/CLEAR]
  5897.  [/D[:][date]] [/T[:][time]] [/NOW]
  5898.  [/O:pathname] [/TARGET:drive]
  5899. ^bPURPOSE^b
  5900. Search for files across drives and directories.
  5901. ^bCOMMENTS^b
  5902. FILEFIND is a multipurpose utility to 
  5903.  * Locate lost files, directories, or data 
  5904.  * Set or clear file attributes
  5905.  * Change the file date and time stamp
  5906.  * Check to see if there is room to copy the specified 
  5907.  files to a target disk
  5908. The FILEFIND options are:
  5909.  ^bpathname^b
  5910.  The file specification for the search. Note
  5911.  the following additional special usages of
  5912.  wildcards with FILEFIND:
  5913.  ^b*.*^b
  5914.  Search entire current drive
  5915.  ^b.\*.*^b
  5916.  Search current directory
  5917.  ^b*:*.*^b
  5918.  Search all drives
  5919.  ^bsearch-text^b
  5920.  Optional text to find in files. 
  5921.  ^b/C^b
  5922.  Same as .\*.* (searches current directory).
  5923.  ^b/S^b
  5924.  Includes files in subdirectories.
  5925.  ^b/CS^b
  5926.  Case sensitive search.
  5927.  ^b/BATCH^b
  5928.      Automatically exits program.
  5929.  ^b/A[+|-]^b
  5930.  Files with archive bit set. Optionally set
  5931.  or clear Archive Bit.
  5932.  ^b/HID[+|-]^b
  5933.  Hidden files. Optionally set or clear 
  5934.  hidden bit.
  5935.  ^b/R[+|-]^b
  5936.  Read-only files. Optionally set or clear 
  5937.  Read-only Bit.
  5938.  ^b/SYS[+|-]^b
  5939.  System files. Optionally set or clear 
  5940.  System Bit.
  5941.  ^b/CLEAR^b
  5942.      Clear (remove) all file attributes.
  5943.  ^b/D[:][date]^b
  5944.  Set the date (month-day-year).
  5945.  ^b/T[:][time]^b
  5946.  Set the time (hour:minute:second).
  5947.  ^b/NOW^b
  5948.  Set the date and time to current date and 
  5949.  time.
  5950.  ^b/O:pathname^b
  5951.  Save the list of files that match the file
  5952.  specification to the specified file.
  5953.  ^b/TARGET:drive^b  Test if specified files will fit on target
  5954.  drive.
  5955. If the search-text contains spaces and/or commas, the entire
  5956. search-text must be enclosed in quotes.
  5957. If /D or /T is specified and the date or time is omitted, the
  5958. file date is set to 0-0-80 and the time stamp is blanked.
  5959. FILEFIND can be renamed to FF as a configuration option.
  5960. See also ^rATTRIB^r, ^rDIR^r, ^rFA^r, ^rFD^r, ^rFL^r, and ^rTS^r. 
  5961. ^bEXAMPLES^b
  5962. Find all files in the current directory that contain the word
  5963. "airplane":
  5964.  filefind .\*.* airplane
  5965. Determine if a group of text files will fit on a disk in the
  5966. A drive:
  5967.  filefind c:\data\*.txt /target:a:
  5968. ^bSYNTAX
  5969.      (External Norton Utility)^b
  5970. FILEFIX [pathname]
  5971. ^bPURPOSE^b
  5972. Diagnose and repair problems in damaged Lotus 1-2-3,
  5973. Symphony, or dBASE data files.
  5974. ^bCOMMENTS^b
  5975. FileFix is specifically designed to repair damaged data
  5976. files, such as Lotus or Symphony worksheets, or dBASE, 
  5977. FoxBase, or Clipper databases (or compatible formats). 
  5978. FileFix operates by examining the damaged file, creating a
  5979. new file, and copying into the new file as much good data as
  5980. possible, discarding the rest. The original, damaged file is
  5981. left intact. 
  5982. The only FILEFIX option is:
  5983.  ^bpathname^b  The name of the damaged file.
  5984. File Fix determines the application type from the file
  5985. extension.
  5986. Although much of the repair work is performed automatically,
  5987. File Fix still requires user input at several points. For
  5988. this reason, the only command-line option is to specify the
  5989. name of the file you want to repair.
  5990. For recovering or repairing other types of files, use either
  5991. the Norton Disk Doctor or DiskEdit.
  5992. See also ^rNDD^r and ^rDISKEDIT^r.
  5993. ^bEXAMPLE^b
  5994. To repair a damaged dBASE database file:
  5995.  filefix c:\old\ashton.dbf
  5996. ^bSYNTAX
  5997.      (External Norton Utility)^b
  5998. FL [drive:][filename] [/A] [/P] [/W] [/T] [/F[n]]
  5999. ^bPURPOSE^b
  6000. Locate a file on a drive.
  6001. ^bCOMMENTS^b
  6002. FL is used to locate lost files or directories, or display a
  6003. file catalog of the entire disk.
  6004. FL a command line utility (no full-screen interface).
  6005. The FL options are:
  6006.  ^bdrive^b
  6007.  Drive to search for file (if omitted, the 
  6008.  default drive).
  6009.  ^bfilename^b  File or directory to search for (use the 
  6010.  * and ? wildcard characters also). If omitted,
  6011.  all files are listed.
  6012.  ^b/A^b
  6013.  Search for files on All drives.
  6014.  ^b/P^b
  6015.  Pause after each screen.
  6016.  ^b/W^b
  6017.  List files in a Wide format.
  6018.  ^b/T^b
  6019.  Search the PATH statement only.
  6020.  ^b/F[n]^b
  6021.  Find the first ^bn^b files that match (default
  6022.  number of matches is 1).
  6023. FL will also find hidden and system files.
  6024. See also ^rFILEFIND^r.
  6025. ^bEXAMPLES^b
  6026. Find all files called "SETUP" on all drives:
  6027.  fl setup.* /a
  6028. Find all files called "SETUP" that are in directories
  6029. specified in the DOS search path:
  6030.  fl setup.* /t
  6031. ^bSYNTAX
  6032.      (External Norton Utility)^b
  6033. FS [pathname] [target-drive:] [/P] [/S] [/T]
  6034. ^bPURPOSE^b
  6035. Display the size of one or more files and determine whether
  6036. they will fit on another disk drive.
  6037. ^bCOMMENTS^b
  6038. FS is a command line utility (no full-screen interface).
  6039. The FS options are:
  6040.  ^bpathname^b
  6041.  File specification or directory.
  6042.  ^btarget-drive^b  Drive to test for enough space for files.
  6043.  ^b/P^b
  6044.  Pause after each screen.
  6045.  ^b/S^b
  6046.  Include subdirectories.
  6047.  ^b/T^b
  6048.  Display Totals (summary information) only.
  6049. See also ^rFILEFIND^r.
  6050. ^bEXAMPLE^b
  6051. Find out if a group of files will fit on a floppy drive:
  6052.  fs *.txt a:
  6053. ^bSYNTAX
  6054.      (External Norton Utility)^b
  6055. IMAGE [drive]
  6056. . [/NOBACK]
  6057. ^bPURPOSE^b
  6058. Saves disk system information for file and disk recovery.
  6059. ^bCOMMENTS^b
  6060. IMAGE takes a snapshot of your system area -- including boot
  6061. record, file allocation table, and root directory -- and
  6062. saves it to the IMAGE.DAT file for future disk and file
  6063. recovery. 
  6064. With a current IMAGE.DAT file, you can even recover from an
  6065. accidental format of your hard disk.
  6066. The IMAGE options are:
  6067.  ^bdrive^b
  6068.  Save information for specified drive (if 
  6069.  omitted, default drive).
  6070.  ^b/NOBACK^b  Overwrite the current IMAGE.DAT file. The backup
  6071.  file IMAGE.BAK is not created.
  6072. More than one drive can be specified on the command line.
  6073. See also ^rUNERASE^r and ^rUNFORMAT^r.
  6074. ^bEXAMPLE^b
  6075. For maximum protection, place the following line in your
  6076. AUTOEXEC.BAT file:
  6077.  image
  6078. ^bSYNTAX
  6079.      (External Norton Utility)^b
  6080. LP pathname [output] [/Tn] [/Bn] [/Ln] [/Rn] [/Hn] [/Wn] 
  6081.  [/TABn] [/Sn] [/Pn] [/N] [/80|132] [/HEADERn] 
  6082.  [/WS|EBCDIC] [/SET:pathname] [/PS]
  6083. ^bPURPOSE^b
  6084. Print a text file on a printer or to a file.
  6085. ^bCOMMENTS^b
  6086. LP is a print formatter for text files with many output
  6087. control options. Use it to print text files, batch files, and
  6088. program source code without having to call up your editor or
  6089. word processor. 
  6090. LP is a command line utility (no full-screen interface).
  6091. If you regularly use the same format options, create a batch
  6092. file that accepts a file specification (see example below).
  6093. The LP options are:
  6094.  ^bpathname^b
  6095.      Text file to be printed.
  6096.  ^boutput^b
  6097.  Printer (e.g., LPT1) or file name. If 
  6098.  omitted, PRN: is the default.
  6099.  ^b/Tn /Bn /Ln /Rn^b  Top, Bottom, Left, Right margins 
  6100.  (defaults are 3, 3, 5, and 5).
  6101.  ^b/Hn /Wn^b
  6102.  Height, Width of page (defaults are 
  6103.  66 and 85).
  6104.  ^b/TABn^b
  6105.  TAB spacing (default is 8).
  6106.  ^b/Sn^b
  6107.  Line Spacing (default is 1).
  6108.  ^b/Pn^b
  6109.  Starting Page number (default is 1).
  6110.  ^b/N^b
  6111.  Turn line Numbering on.
  6112.  ^b/80|132^b
  6113.  80 or 132-column print width (IBM 
  6114.  compatible printers).
  6115.  ^b/HEADERn^b
  6116.      Type of HEADER (0, 1, or 2):
  6117.  ^b0^b
  6118.  no header
  6119.  ^b1^b
  6120.  current date and time on 1 
  6121.  line (default)
  6122.  ^b2^b
  6123.  current date and time plus file 
  6124.  date and time on 2 lines
  6125.  ^b/EBCDIC^b
  6126.  EBCDIC encoded files.
  6127.  ^b/WS^b
  6128.  Print WordStar files.
  6129.  ^b/PS^b
  6130.  Generate output for a PostScript printer
  6131.  (ignores /80|132 switch).
  6132.  ^b/SET:pathname^b
  6133.  File with printer SETup string.
  6134. The setup string in the file specified by /SET uses any
  6135. literal characters plus special characters in the following
  6136. format:
  6137.  ASCII codes: 
  6138. n is the decimal number for the code
  6139.  you wish to send. Three digits are required; use 
  6140.  leading zeros as required (for example, \013\010
  6141.  is carriage return and line feed).
  6142.  ^b\X^b
  6143.  Control codes: X is the control character you wish
  6144.  to send (for example, \A is Ctrl-A).
  6145. See also ^rPRINT^r.
  6146. ^bEXAMPLES^b
  6147. Print a text file on a laser printer (60 lines to the page):
  6148.  lp myfile.txt lpt1: /h60
  6149. The batch file, 2LINE.BAT, contains the following line to
  6150. print files with line numbers on a laser printer (see "Batch
  6151. File Variables" in the NDOS manual):
  6152.  lp %1 lpt1: /n /h60
  6153. To print MYPROG.C using the batch file:
  6154.  2line myprog.c
  6155. ^bSYNTAX
  6156.      (External Norton Utility)^b
  6157. NCACHE [Install Switches] [[drive:] [Drive Switches] 
  6158. ^bPURPOSE^b
  6159. Creates a memory buffer to speed up reading and writing from a
  6160. disk.
  6161. ^bCOMMENTS^b
  6162. The Norton cache is designed to be used each time that you
  6163. use your computer. The only times you will want to disable
  6164. the cache are when you run out of memory, when using a disk
  6165. optimization program (like Speed Disk), or when you are
  6166. running a repair program (like Norton Disk Doctor).
  6167.  ^bNote:^b Since many applications require as much as 500K
  6168.  to run, you probably should not use the cache if you do 
  6169.  not have extended or expanded memory (the minimum size for
  6170.  an effective cache is 64K, more is better). 
  6171. The following Norton Utility programs disable the cache
  6172. automatically: Disk Doctor, Speed Disk, and Calibrate. Norton
  6173. Backup also disables the cache automatically.
  6174. The Norton Cache can be loaded as a device driver or from the
  6175. command line. Because of its complexity, please refer to
  6176. your manual for complete information regarding NCACHE
  6177. installation, usage, defaults, and configuration.
  6178. The NCACHE Install Switches are:
  6179.  ^b/INSTALL^b
  6180.      Install cache using defaults.
  6181.  ^b/OPTIMIZE=S|E|M^b  Optimize cache for SPEED, EFFICIENCY, or
  6182.  MEMORY.
  6183.  ^b/EXT[=n[,m]]^b
  6184.  Amount of EXTENDED memory for cache.
  6185.  ^b/EXP[=n[,m]]^b
  6186.  Amount of EXPANDED memory for cache.
  6187.  ^b/DOS[=n]^b
  6188.      Amount of DOS memory to use for cache.
  6189.  ^b/BLOCK=n^b
  6190.      Cache block size (512, 1024, 2048, 4096,
  6191.  or 8192).
  6192.  ^b/USEHIGH=ON|OFF^b  Use of high DOS.
  6193.  ^b/USEHMA=ON|OFF^b
  6194.  Use of XMS HMA.
  6195.  ^b/READ=n^b
  6196.  Maximum size for Read-Ahead buffer.
  6197.  ^b/WRITE=n^b
  6198.      Maximum size for IntelliWrites buffer.
  6199.  ^b/DELAY=ss.hh^b
  6200.  Delay for IntelliWrites (ss seconds,
  6201.  hh hundredths)
  6202.  ^b/QUICK=ON|OFF^b
  6203.  Return DOS prompt back after writes.
  6204.  ^b/INI=fspec^b
  6205.  Configuration file pathname.
  6206.  ^b/REPORT[=ON|OFF]^b Detailed Report of current cache status.
  6207.  ^b/QUIET^b
  6208.  Quiet mode, only errors are reported.
  6209. The NCACHE Drive Switches are:
  6210.  ^b/[-]A^b
  6211.  Activate/DeActivate cache
  6212.  ^b/[-]C^b
  6213.  Enable/Disable Caching Subsequent data
  6214.  ^b/[-]I^b
  6215.  Enable/Disable IntelliWrite Support
  6216.  ^b/[-]W^b
  6217.  Enable/Disable cache Write-Thru
  6218.  ^b/[-]P^b
  6219.  Enable/Disable Write Protection
  6220.  ^b/R[=[D][n]]^b  Limit Sector Read-Ahead
  6221.  ^b/G=n^b
  6222.      Limit Caching of Group Sector Reads
  6223. The drive switches apply to the specified drive or drives.
  6224. ^bSYNTAX
  6225.      (External Norton Utility)^b
  6226. NCC [pathname [/SET]]
  6227. NCC [pathname [/CURSOR|/DOSCOLOR|/PALETTE]]
  6228. NCC [/FAST] [/BW80|/CO80|/nn]
  6229. NCC /START:n|/STOP:n [/L] [/N] [/C:comment]
  6230. ^bPURPOSE^b
  6231. ^bCOMMENTS^b
  6232. In full-screen mode, use NCC to customize many of your PC's
  6233. hardware settings, including mouse speed, serial port
  6234. configuration, video mode, color palettes, and country codes.
  6235. Then, save the settings to a file.
  6236. From the command line, you can load either all the saved
  6237. settings with /SET, or a single setting with /CURSOR,
  6238. /DOSCOLOR, or /PALETTE.
  6239. Up to four stopwatches can be run from the command line.
  6240. You will realize an immediate productivity benefit by
  6241. increasing keyboard speed.  
  6242. The NCC options are:
  6243.  ^bpathname^b
  6244.  File containing all NCC settings.
  6245.  ^b/SET^b
  6246.  Set all the options stored in the NCC 
  6247.  settings file.
  6248.  ^b/CURSOR^b
  6249.  Set only the cursor rate.
  6250.  ^b/DOSCOLOR^b
  6251.  Set only the DOS colors.
  6252.  ^b/PALETTE^b
  6253.  Set only the palette information.
  6254.  ^b/FAST^b
  6255.  Set the keyboard to its fastest rate.
  6256.  ^b/BW80^b
  6257.  Set display mode to black and white, 25 x 80.
  6258.  ^b/CO80^b
  6259.  Set display mode to color, 25 x 80.
  6260.  ^b/nn^b
  6261.      Set the number of lines for EGA (25, 35, 
  6262.  or 43) or VGA (25, 40, or 50).
  6263.  ^b/START[:n]^b  Start stopwatch number ^bn^b (default is 1).
  6264.  ^b/STOP[:n]^b
  6265.  Stop stopwatch number ^bn^b (default is 1).
  6266.  ^b/L^b
  6267.  Display current time and date on left side
  6268.  of screen.
  6269.  ^b/N^b
  6270.  Do not display current time and date.
  6271.  ^b/C:comment^b  Display a comment on the screen when NCC is
  6272.  executed; useful when you are running multiple
  6273.  timers via batch files. If a comment includes
  6274.  spaces or commas, enclose the entire comment 
  6275.  within quotes.
  6276. See also ^rBE SA^r, ^rCLS^r, ^rCOLOR^r, ^rMODE^r, and ^rTIMER^r.
  6277. ^bEXAMPLES^b
  6278. Set the screen to 50 lines on a VGA display:
  6279.  ncc /50
  6280. Set the keyboard to its fastest rate:
  6281.  ncc /fast
  6282. ^bSYNTAX
  6283.      (External Norton Utility)^b
  6284. NCD [drive:][path] [/N] [/R] 
  6285. NCD [drive:] /V[:label]
  6286. NCD [drive:] /L[[:output] [/A] [/G|/NG] [/T]] [/P]
  6287. NCD MD | RD | SIZE path 
  6288. NCD COPY source destination [/DELETE]
  6289. NCD GRAFT source destination 
  6290. NCD RMTREE path [/BATCH]
  6291. ^bPURPOSE^b
  6292. Manages your directories and allows quick directory changing
  6293. with only a partial directory name.  
  6294. ^bCOMMENTS^b
  6295. NCD allows you to change to any directory without having to
  6296. type the entire path, create or remove directories, and prune
  6297. and graft branches of the directory tree.
  6298. The directory structure is stored in the TREEINFO.NCD file
  6299. located in the root directory (on network drives it may be in
  6300. the NCDTREE directory). 
  6301. When you use DOS's MD and RD commands, the TREEINFO.NCD file
  6302. is not updated and ends up containing some out-of-date
  6303. information. NCD will neither display the directory name nor
  6304. go to it when used in the command line. You may need to
  6305. Rescan (/R) from time to time.
  6306. Use NCD COPY with /DELETE to move branches of the directory
  6307. tree across drives.
  6308. The COPY, GRAFT, and RMTREE options must be enabled from the
  6309. ^uConfiguration^u option of the ^udiRectory^u menu in full-screen
  6310. mode before they can be used from the command line.
  6311. The NCD options are:
  6312.  ^bdrive^b
  6313.      Drive letter of drive containing directory.
  6314.  ^bpath^b
  6315.  The directory name. You only need specify
  6316.  the end-point directory, not the whole path.
  6317.  ^bsource^b
  6318.  The directory name of a branch of the 
  6319.  directory tree to copy or graft.
  6320.  ^bdestination^b
  6321.  The directory to receive a copied or grafted
  6322.  branch of the directory tree.
  6323.  ^bMD path^b
  6324.  Create a directory and add it to the NCD
  6325.  tree. 
  6326.  ^bRD path^b
  6327.  Remove the named directory both from the 
  6328.  disk and the NCD tree.
  6329.  ^b/R^b
  6330.  Rescan disk directory (update TREEINFO.NCD
  6331.  file).
  6332.  ^b/N^b
  6333.  Do not write or update TREEINFO.NCD file. 
  6334.  This may be especially useful when working 
  6335.  with write-protected disks.
  6336.  ^b/V:label^b
  6337.  Places a volume label on the disk using 
  6338.  uppercase and lowercase characters or 
  6339.  embedded spaces (place label in quotes).
  6340.  ^b/L[:output]^b
  6341.  List directories, optionally sending output
  6342.  to a file (output).
  6343.  ^b/A^b
  6344.  List directories of all drives.
  6345.  ^b/G^b
  6346.  Display the directory tree graphically.
  6347.  ^b/NG^b
  6348.  Display tree using non-graphic characters.
  6349.  ^b/T^b
  6350.  Display the total number and size of all 
  6351.  files in each directory.
  6352.  ^b/P^b
  6353.  Pause after each screen
  6354.  ^bGRAFT^b
  6355.      Move a branch of the directory tree (source)
  6356.  to another location (destination).
  6357.  ^bRMTREE^b
  6358.  Remove (prune) a branch of the tree.
  6359.  ^b/BATCH^b
  6360.  Skip all prompts and exit to DOS when done.
  6361.  ^bCOPY^b
  6362.  Copy a branch of the directory tree (source)
  6363.  to another location (destination).
  6364.  ^b/DELETE^b
  6365.  Remove the branch after the copy is 
  6366.  completed. Use NCD COPY with /DELETE to move
  6367.  branches tree across drives.
  6368.  ^bSIZE^b
  6369.  Get the size of a directory tree.
  6370. When creating (MD) or removing (RD) directories, don't begin
  6371. the path with a backslash (\) unless you mean a directory
  6372. in the root.
  6373. See also ^rCD^r, ^rCDD^r, ^rMD^r, ^rRD^r, ^rPOPD^r, and ^rPUSHD^r.
  6374. ^bEXAMPLES^b
  6375. Change to the directory \BRIEF\BACKUP:
  6376.  ncd back
  6377. Move (prune and graft) a branch of the directory tree:
  6378.  ncd graft \data\text \memos
  6379. ^bSYNTAX
  6380.      (External Norton Utility)^b
  6381. NDD [drive:]
  6382. . [/C|/Q] [/R[A]:pathname] [/X:drives] 
  6383.  [/SKIPHIGH]
  6384. NDD [drive:]
  6385. . [/REBUILD] [/SKIPHIGH]
  6386. NDD [drive:]
  6387. . [/UNDELETE] [/SKIPHIGH]
  6388. ^bPURPOSE^b
  6389. Automatically diagnose and repair damaged disks.
  6390. ^bCOMMENTS^b
  6391. Diagnose and repair disks that are damaged or defective, or
  6392. perform routine diagnostics and inspection to prevent such
  6393. problems from developing.
  6394. When using NDD to diagnose and repair a problem disk, you
  6395. will probably want to operate in full-screen mode. Use the
  6396. command line switches for routine maintenance, such as a
  6397. diagnosis of your disk every time you start up your computer.
  6398. More than one drive can be specified from the command line.
  6399. The NDD options are:
  6400.  ^bdrive^b
  6401.  Disk drive to diagnose or repair. 
  6402.  ^b/C^b
  6403.  Complete: test the Partition Table, Boot 
  6404.  Record, root directory, lost clusters, and
  6405.  perform a surface test.
  6406.  ^b/Q^b
  6407.  Quick: all tests except the surface test.
  6408.  ^b/R[A]:pathname^b Write (or Append) a report of all tests 
  6409.  performed to the specified file.
  6410.  ^b/X:drives^b
  6411.  Exclude drives from testing (for
  6412.  example, /X:def).
  6413.  ^b/REBUILD^b
  6414.  Rebuild an entire disk that has been 
  6415.  destroyed.
  6416.  ^b/UNDELETE^b
  6417.  Undelete a DOS partition that was 
  6418.  previously skipped. (For example, NDD 
  6419.  detected an old DOS partition and asked if
  6420.  you wanted to undelete it. If you responded
  6421.  "no," this switch allows you to go back 
  6422.  and undelete it.)
  6423. See also ^rCALIBRAT^r, ^rDISKEDIT^r, and ^rDISKTOOL^r.
  6424. ^bEXAMPLES^b
  6425. Place the following line in your AUTOEXEC.BAT file to perform
  6426. a quick test each time you boot:
  6427.  ndd /q
  6428. Perform a complete test of two drives and send a report to an
  6429. existing file on a floppy disk:
  6430.  ndd c: d: /c /ra:a:\test.log
  6431. ^bSYNTAX
  6432.      (External Norton Utility)^b
  6433. NORTON [/BW|/LCD] [/G0|/G1|/G2] [/NOZOOM]
  6434. ^bPURPOSE^b
  6435. Run the Norton Utilities (and other programs) from a menu.
  6436. ^bCOMMENTS^b
  6437. Access all of the Norton Utilities from a full-screen menu
  6438. with descriptions and help for all of the programs. You can
  6439. add other programs and descriptions to the menu.
  6440. The ^uAdvise menu^u of the NORTON program contains options to
  6441. help solve common disk problems and interpret DOS, CHKDSK,
  6442. and application error messages. NORTON will recommend a
  6443. course of action and even run the appropriate repair program.
  6444. The NORTON program also includes full re-configuration
  6445. capabilities for all the utilities. You can easily set up
  6446. your CONFIG.SYS file to configure and install the Norton
  6447. Cache (NCACHE), NDOS, and DISKREET; set up AUTOEXEC.BAT to
  6448. install DISKMON and EP, run IMAGE and NDD /QUICK, add the
  6449. Norton Utilities directory to the PATH statement, and set the
  6450. NU environment variable.
  6451. The command line options for NORTON are used to set the
  6452. display mode. The same options can also be used on the command
  6453. line with any of the utilities that have a full-screen
  6454. interface.
  6455. The NORTON options are:
  6456.  ^b/BW^b
  6457.  Forces the use of the Black and White color set.
  6458.  ^b/LCD^b
  6459.  For laptop displays. Forces the use of the LCD 
  6460.  color set.
  6461.  ^b/G0^b
  6462.  Disable font redefinitions and graphic mouse.
  6463.  ^b/G1^b
  6464.  Disable the graphic mouse (EGA/VGA only).
  6465.  ^b/G2^b
  6466.  Disable graphic dialogs (EGA/VGA only).
  6467.  ^b/NOZOOM^b  Disable dialog box zooming.
  6468. ^bEXAMPLE^b
  6469. Force the use of black and white:
  6470.  Norton /bw
  6471. ^bSYNTAX
  6472.      (External Norton Utility)^b
  6473. SD [drive:] [/F|/FD|/FF] [/Sorder] [/V] [/B] [/SKIPHIGH]
  6474. SD [drive:] [/Q|/U] [/V] [/B] [/SKIPHIGH]
  6475. ^bPURPOSE^b
  6476. Reorganizes files on disks for optimal performance.
  6477. ^bCOMMENTS^b
  6478. SD is the "short name" for SPEEDISK.
  6479. See ^rSPEEDISK^r for details.
  6480. ^bSYNTAX
  6481.      (External Norton Utility)^b
  6482. SF [drive:] [/A] [/S|/B] [/V:label] [/Q|/D] 
  6483.  [/N:n] [/T:n] [/F:size] [/1] [/4] [/8] 
  6484. ^bPURPOSE^b
  6485. Safely and quickly format a disk.
  6486. ^bCOMMENTS^b
  6487. SF is the "short name" for SFORMAT.
  6488. See ^rSFORMAT^r for details.
  6489. ^bSYNTAX
  6490.      (External Norton Utility)^b
  6491. SFORMAT [drive:] [/A] [/S|/B] [/V:label] [/Q|/D] 
  6492.  [/N:n] [/T:n] [/F:size] [/1] [/4] [/8] 
  6493. ^bPURPOSE^b
  6494. Safely and quickly format a disk.
  6495. ^bCOMMENTS^b
  6496. SFORMAT is a safe and flexible replacement for the DOS FORMAT
  6497. command.
  6498. For maximum safety, a configuration option of the Norton
  6499. Utilities lets you rename SFORMAT to FORMAT (and the DOS
  6500. FORMAT.COM to XXFORMAT.COM) to make sure that the safer
  6501. Norton program is always invoked. 
  6502. Another configuration option is to rename SFORMAT to SF.
  6503. The SFORMAT options are:
  6504.  ^bdrive^b
  6505.  Drive letter of disk to format.
  6506.  ^b/A^b
  6507.  Automatic mode: The program does not pause 
  6508.  during operation and returns to DOS when 
  6509.  complete.
  6510.  ^b/S^b
  6511.  Copy system files to the disk you are 
  6512.  formatting.
  6513.  ^b/B^b
  6514.  Leave space for system files on the disk.
  6515.  ^b/V:label^b  Place a volume label on the disk.
  6516.  ^b/D^b
  6517.  DOS Format (same as the DOS FORMAT command).
  6518.  ^b/Q^b
  6519.  Quick format (reinitialize system area only).
  6520.  ^b/N:n^b
  6521.  Number of sectors per track (8, 9, 15, or 18).
  6522.  ^b/T:^b n
  6523.  Number of tracks (40 or 80).
  6524.  ^b/F:size^b
  6525.  Size of diskette (/360, /720, /1.2, /1.44, or
  6526.  /2.88).
  6527.  ^b/1^b
  6528.  Format for single-sided use.
  6529.  ^b/4^b
  6530.  Format a 360K diskette in a 1.2M drive.
  6531.  ^b/8^b
  6532.  Format 8 sectors per track.
  6533. A default configuration for SFORMAT can be set in full-screen
  6534. mode.
  6535. See also ^rFORMAT^r, ^rIMAGE^r, and ^rUNFORMAT^r.
  6536. ^bEXAMPLE^b
  6537. Format a 360K disk in a 1.2M drive:
  6538.  sformat a: /f:360
  6539. Perform a "quick" format of an already formatted disk to
  6540. remove all existing files:
  6541.  sformat a: /q
  6542. ^bSYNTAX
  6543.      (External Norton Utility)^b
  6544. SI [/AUTO:n] [/N] [/SOUND]
  6545. SI [drive:] [/SUMMARY] 
  6546. SI [drive:] [/DI] 
  6547. SI [/TSR]
  6548. SI [/DEMO]
  6549. ^bPURPOSE^b
  6550. Display system configuration information and performance
  6551. statistics.
  6552. ^bCOMMENTS^b
  6553. SI is the "short name" for SYSINFO.
  6554. See ^rSYSINFO^r for details.
  6555. ^bSYNTAX
  6556.      (External Norton Utility)^b
  6557. SPEEDISK [drive:] [/F|/FD|/FF] [/Sorder] [/V] [/B] [/SKIPHIGH]
  6558. SPEEDISK [drive:] [/Q|/U] [/V] [/B] [/SKIPHIGH]
  6559. ^bPURPOSE^b
  6560. Reorganizes files on disks for optimal performance.
  6561. ^bCOMMENTS^b
  6562. SPEEDISK improves hard disk performance and speeds up
  6563. disk-access time by consolidating and unfragmenting the data
  6564. on your disk.
  6565. The SPEEDISK options are:
  6566.  ^b/F^b
  6567.      Full optimization.
  6568.  ^b/FD^b
  6569.  Full optimization with directories first.
  6570.  ^b/FF^b
  6571.  Full optimization with file reorder.
  6572.  ^b/Q^b
  6573.      Unfragment free space (quick compress 
  6574.  optimization).
  6575.  ^b/U^b
  6576.      Unfragment files only.
  6577.  ^b/S^b
  6578.      Sort files in the specified ^border^b, one 
  6579.  of the following:
  6580.  ^bN^b
  6581.  Name
  6582.  ^bE^b
  6583.  Extension
  6584.  ^bD^b
  6585.  Date and time
  6586.  ^bS^b
  6587.  Size
  6588.  Add a minus (-) sign to the specified order to 
  6589.  reverse the sort.
  6590.  ^b/B^b
  6591.      Reboot after optimization.
  6592.  ^b/V^b
  6593.      Verify sector read after writing data to disk.
  6594.  ^b/SKIPHIGH^b  Skip loading data into high memory.
  6595. When using Speed Disk for the first time, you should use 
  6596. the full-screen mode to set and store the Speed Disk
  6597. configuration. Use the command line switches to perform 
  6598. quick optimizations for routine maintenance.
  6599. SPEEDISK can be renamed to SD as a configuration option.
  6600. See also ^rCALIBRAT^r.
  6601. ^bEXAMPLE^b
  6602. Perform a quick optimization:
  6603.  speedisk c: /q
  6604. ^bSYNTAX
  6605.      (External Norton Utility)^b
  6606. SYSINFO [/AUTO:n] [/N] [/SOUND]
  6607. SYSINFO [drive:] [/SUMMARY] 
  6608. SYSINFO [drive:] [/DI] 
  6609. SYSINFO [/TSR]
  6610. SYSINFO [/DEMO]
  6611. ^bPURPOSE^b
  6612. Display system configuration information and performance
  6613. statistics.
  6614. ^bCOMMENTS^b
  6615. SYSINFO provides a complete report of disk and CPU speed
  6616. tests, current memory usage (including TSRs, device drivers,
  6617. and memory blocks), extended and expanded memory, interrupt
  6618. vectors and IRQ values, CMOS configuration settings, network
  6619. information, and your partition table.
  6620. The SYSINFO options are:
  6621.  ^bdrive^b
  6622.  Drive on which information is desired (if 
  6623.  omitted, default drive).
  6624.  ^b/AUTO:n^b
  6625.  Automatically cycle through all information 
  6626.  screens, pausing ^bn^b seconds between screens.
  6627.  ^b/N^b
  6628.  No Memory Scan: bypass the test that probes 
  6629.  live memory.
  6630.  ^b/SOUND^b
  6631.  Beep between CPU tests.
  6632.  ^b/DI^b
  6633.  Drive Information: summary screen only.
  6634.  ^b/SUMMARY^b  System information: summary screen only.
  6635.  ^b/TSR^b
  6636.  Display list of TSR programs.
  6637.  ^b/DEMO^b
  6638.  Demo mode: cycle through the benchmark tests and
  6639.  summary screen only.
  6640. SYSINFO can be renamed to SI as a configuration option.
  6641. See also ^rMEM^r.
  6642. ^bEXAMPLES^b
  6643. For a quick report of disk information:
  6644.  sysinfo /di
  6645. List TSRs in memory:
  6646.  sysinfo /tsr
  6647. ^bSYNTAX
  6648.      (External Norton Utility)^b
  6649. TS [pathname] [string] [/S] [/T] [/A] [/CS] [/EBCDIC] 
  6650.  [/LOG] [/WS]
  6651. TS [string] /D|/E [/Cn] [/A] [/CS] [/EBCDIC] [/LOG] [/WS]
  6652. ^bPURPOSE^b
  6653. Search for text strings in files, on disks, or in erased
  6654. areas.
  6655. ^bCOMMENTS^b
  6656. TS is a command line utility (no full-screen interface).
  6657. The TS options are:
  6658.  ^bstring^b
  6659.  Text to search for. Use quotes around the string
  6660.  if it contains embedded spaces.
  6661.  ^b/S^b
  6662.  Include subdirectories in the search.
  6663.  ^b/T^b
  6664.  Set non-interactive summary total.
  6665.  ^b/D^b
  6666.  Search the entire disk.
  6667.  ^b/E^b
  6668.  Search only the erased file space of the disk.
  6669.  ^b/Cn^b
  6670.  Start searching at cluster n.
  6671.  ^b/A^b
  6672.  Automate search (answer "yes" to all prompts).
  6673.  ^b/CS^b
  6674.  Case Sensitive search.
  6675.  ^b/EBCDIC^b  Files being searched are encoded in EBCDIC.
  6676.  ^b/LOG^b
  6677.  Format output for a LOG suitable for a printer
  6678.  or a file.
  6679.  ^b/WS^b
  6680.  Specifies that characters in the IBM PC extended
  6681.  character set not be considered in the search.
  6682. See also ^rFILEFIND^r.
  6683. ^bEXAMPLES^b
  6684. Find "money" everywhere on a disk:
  6685.  ts money /d 
  6686. Find the names of batch files that contain "a lot of money":
  6687.  ts *.bat "a lot of money" /t
  6688. ^bSYNTAX
  6689.      (External Norton Utility)^b
  6690. UNERASE [pathname] [/IMAGE|/MIRROR] [/NOTRACK]
  6691. ^bPURPOSE^b
  6692. Recover erased files.
  6693. ^bCOMMENTS^b
  6694. Use UNERASE to automatically recover erased (deleted) files.
  6695. The quicker you try to recover a file after it is erased, the
  6696. greater the chance you have of recovering all the data (before
  6697. its file space is overwritten by another file).
  6698. Use Erase Protect (EP) to guarantee that you will not have
  6699. any problems recovering erased files, even if you deleted the
  6700. file several days ago.
  6701. The UNERASE options are:
  6702.  ^b/IMAGE^b
  6703.  Use Image recovery information (excludes 
  6704.  Mirror information).
  6705.  ^b/MIRROR^b
  6706.  Use Mirror recovery information (excludes 
  6707.  Image information).
  6708.  ^b/NOTRACK^b  Exclude Delete Tracking information.
  6709. For badly fragmented or partially overwritten files, you must
  6710. use Manual UnErase in the full-screen mode.
  6711. In full-screen mode, UNERASE has tools to help find text in
  6712. erased files and find files even if the directory containing
  6713. the file has been removed.  
  6714. See also ^rEP^r, ^rIMAGE^r, and ^rTS^r.
  6715. ^bEXAMPLE^b
  6716. Recover an erased file:
  6717.  unerase needthis.lst
  6718. Recover an erased file using IMAGE data:
  6719.  unerase needthis.lst /image
  6720. ^bSYNTAX
  6721.      (External Norton Utility)^b
  6722. UNFORMAT [drive:] [/IMAGE|/MIRROR] 
  6723. ^bPURPOSE^b
  6724. Recover a hard disk that has been accidentally formatted,
  6725. corrupted by a power surge, or damaged by a virus.
  6726. ^bCOMMENTS^b
  6727. An accidental use of the FORMAT command has always been
  6728. considered the worst possible data disaster. With UNFORMAT,
  6729. it is often possible to recover all the data on the disk. A
  6730. near-perfect recovery can be made if you have previously
  6731. taken a snapshot of the disk using the IMAGE command.
  6732. With floppy disks, always use Norton SFORMAT command. The
  6733. data area of the disk does not get wiped and makes it
  6734. possible to recover data lost by an accidental format
  6735. operation.
  6736. The UNFORMAT options are:
  6737.  ^bdrive:^b
  6738.  Drive letter of disk to unformat.
  6739.  ^b/IMAGE^b
  6740.  Use Image recovery information (excludes 
  6741.  Mirror information).
  6742.  ^b/MIRROR^b  Use Mirror recovery information (excludes 
  6743.  Image information).
  6744. See also ^rIMAGE^r and ^rSFORMAT^r.
  6745. ^bEXAMPLE^b
  6746. Recover from an accidental format of a disk:
  6747.  unformat c: /image
  6748. ^bSYNTAX
  6749.      (External Norton Utility)^b
  6750. WIPEINFO [drive:] [/E] [/Gn] [/Rn] [/Vn] [/BATCH]
  6751. WIPEINFO [pathname] [/N] [/K] [/S] [/Gn] [/Rn] [/Vn] [/BATCH]
  6752. ^bPURPOSE^b
  6753. Destroy data in files or on disks.
  6754. ^bCOMMENTS^b
  6755. Use WIPEINFO to completely destroy deleted data by overwriting
  6756. the disk area where it was stored. 
  6757.  ^bWarning:^b Data overwritten by WipeInfo cannot be 
  6758.  recovered, even with UnErase or UnFormat.
  6759. WIPEINFO is designed with safeguards to prevent accidental
  6760. wiping of a file. You must respond to a series of prompts
  6761. before the deed is done. Use the /BATCH switch (carefully) to
  6762. bypass the prompts.
  6763. The WIPEINFO options are:
  6764.  ^bdrive:^b
  6765.  Drive letter of disk to wipe.
  6766.  ^bpathname^b  Name of file to wipe.
  6767.  ^b/E^b
  6768.  Wipes all Erased and unused data space only. 
  6769.  (All current data is left untouched.)
  6770.  ^b/N^b
  6771.  Non-wiping mode: delete files, but do not wipe.
  6772.  ^b/K^b
  6773.  Wipe only the slack at the end of a file, but 
  6774.  leave the file's data untouched.
  6775.  ^b/S^b
  6776.  Wipe or delete files in subdirectories also.
  6777.  ^b/Gn^b
  6778.  Follow Government specifications for security 
  6779.  wiping. Repeat pattern ^bn^b times (default is 3).
  6780.  ^b/Rn^b
  6781.  Repeat wiping ^bn^b times (default n is 1).
  6782.  ^b/Vn^b
  6783.  Set the Value used to overwrite the wipe area; 
  6784.  ^bn^b can be any number from 0 to 255 (default is 0).
  6785.  ^b/BATCH^b
  6786.  Execute command without prompting.
  6787. WIPEINFO conforms to Government security specifications for
  6788. wiping information.
  6789. ^bEXAMPLE^b
  6790. Destroy a file:
  6791.  wipeinfo hermetic.mys 
  6792. Wipe all erased and unused data space on a drive 3 times:
  6793.  wipeinfo c: /e /r3
  6794. Define an alias for a command. Load or display the alias list.
  6795. ALIAS [/P][/R [drive:][path]filename...] [name[=][value]]
  6796.   name   Alias name (up to 80 characters).
  6797.   value  Command sequence (up to 255 characters).
  6798.   /P     Pause: Halt display after each screen.
  6799.   /R     Read: Load an alias list from a file.
  6800. ALIAS with only name displays alias value. ALIAS by itself
  6801. lists all aliases in effect.
  6802. Display or change file or directory attributes.
  6803. ATTRIB [/DS][-|+[AHRS]] [drive:][path]filename ...
  6804.   /D  Directory: Modify directory attributes.
  6805.   /S  Subdirectory: Include files in all subdirectories.
  6806.   +A  Set the archive attribute.
  6807.   -A  Clear the archive attribute.
  6808.   +H  Set the hidden attribute.
  6809.   -H  Clear the hidden attribute.
  6810.   +R  Set the read-only attribute (write-protected).
  6811.   -R  Clear the read-only attribute.
  6812.   +S  Set the system file attribute.
  6813.   -S  Clear the system file attribute.
  6814. Use DIR with /A to display files with specified attributes only.
  6815. Commands to enhance batch files.
  6816. BE command [parameters] [/DEBUG]
  6817. BE pathname [ [GOTO] label] 
  6818.   commands are:
  6819.     ASK         PRINTCHAR
  6820.     BEEP        REBOOT   
  6821.     BOX         ROWCOL     
  6822.     CLS         SA         
  6823.     DELAY       SHIFTSTATE 
  6824.     EXIT        TRIGGER
  6825.     GOTO        WEEKDAY  
  6826.     JUMP        WINDOW
  6827.     MONTHDAY 
  6828.    /DEBUG       Display the ERRORLEVEL code.      
  6829.    pathname     Name of a Batch Enhancer script-file.
  6830.    label        Label in file to start execution
  6831. For help on a specific command type:
  6832.    BE command /?
  6833. Request input from the keyboard and set an exit code (ERRORLEVEL).
  6834. BE ASK "prompt" [key-list] [DEFAULT=key] [TIMEOUT=n] 
  6835.       [ADJUST=n] [color] [/DEBUG]
  6836.   prompt   Text string to display when the command runs.
  6837.   key-list List of response keys (characters or numbers).
  6838.   DEFAULT  Key returned if no key is pressed within the 
  6839.            timeout period, or if the user presses Enter.
  6840.   TIMEOUT  Time in seconds before the default key is 
  6841.            returned. If n is zero, or no timeout is 
  6842.            specified, ASK will wait forever.
  6843.   ADJUST   Adjust the return value by this amount.
  6844.   color    SA (Screen Attribute) format color specification
  6845.            for the text of the prompt (see BE SA).
  6846.  /DEBUG    Display the ERRORLEVEL value returned.
  6847. A beep is generated if the user presses a key that is not in
  6848. the designated key-list.
  6849. Specify the frequency and duration of a tone through the
  6850. speaker or a series of tones in a script-file.
  6851. BE BEEP [/Dn] [/Fn] [/Rn] [/Wn]
  6852. BE BEEP script-file [/E]
  6853.   /Dn     Duration of the tone, in 1/18ths of a second.
  6854.   /Fn     Frequency of the tone, n is cycles per second (Hertz).
  6855.   /Rn     Repeat the tone n times.
  6856.   /Wn     Wait between tones n/18ths of a second.
  6857.   /E      Echo the quoted text in comments from a script-file.
  6858. Draw a rectangle at a specified location on the screen.
  6859. BE BOX top left bottom right [SINGLE | DOUBLE] [color]
  6860.   top      Row for upper left corner of box.
  6861.   left     Column for upper left corner of box.
  6862.   bottom   Row for lower right corner of box.
  6863.   right    Column for lower right corner of box.
  6864.   SINGLE   Single line outline.
  6865.   DOUBLE   Double line outline.
  6866.   color    SA (Screen Attribute) format color specification
  6867.            for the box. See BE SA.
  6868. The default box border is double line. Text within the box is
  6869. not overwritten. 
  6870. Clear the screen, optionally using the specified attribute.
  6871. BE CLS [color]
  6872.   color   SA (Screen Attribute) format color specification. See BE SA.
  6873. Pause execution of a batch file for a specified length of time.
  6874. BE DELAY ticks
  6875.   ticks   The number of clock ticks (1/18 second) to pause.
  6876. Returns the day of the month (1 to 31) to the batch file as an
  6877. exit code (ERRORLEVEL).
  6878. BE MONTHDAY [/DEBUG]
  6879.      /DEBUG    Display the ERRORLEVEL value returned.
  6880. Display a specified character a given number of times at the
  6881. current cursor location.
  6882. BE PRINTCHAR character, count [color]
  6883.   character     Character to display.
  6884.   count         Number of times to display the character.
  6885.   color         SA (Screen Attribute) format color specification
  6886.                 for the character. (See BE SA.)
  6887. Perform a warm boot of the computer.
  6888. BE REBOOT [/V]
  6889.    /V      Verify: Prompt the user to confirm the reboot.
  6890. Position the cursor at the specified row and column location,
  6891. optionally displaying text.
  6892. BE ROWCOL row col ["text"] [color]
  6893.   row      Row to move the cursor to.
  6894.   col      Column to move the cursor to.
  6895.   text     Optional line of text to display.
  6896.   color    SA (Screen Attribute) format color specification
  6897.            for the text. See BE SA.
  6898. Control the display of attributes and colors.
  6899. SA NORMAL|UNDERLINE|REVERSE [/N]
  6900. SA [BRIGHT|BLINKING] foreground [ON background] [/N] [/CLS]
  6901.   UNDERLINE    Only available on monochrome monitors (will be blue 
  6902.                foreground on a color monitor).
  6903.   REVERSE      Switch foreground and background colors.
  6904.   NORMAL       Use to undo an underline or reverse setting.
  6905.   foreground   Foreground color from the table below.
  6906.   background   Background color from the table below.
  6907.                WHITE    BLACK     RED      MAGENTA
  6908.                BLUE     GREEN     CYAN     YELLOW
  6909.   /N          Do not set the border color (the border normally 
  6910.               defaults to same color as background).
  6911.   /CLS        Clear the screen after setting the attributes.
  6912. Report the status of the Shift keys, the Alt key, and the Ctrl key.
  6913. BE SHIFTSTATE [/DEBUG]
  6914.   /DEBUG  Display the ERRORLEVEL value returned.
  6915. The SHIFTSTATE command returns an exit code (ERRORLEVEL) that
  6916. defines the status of the Left Shift, Right Shift, Alt keys,
  6917. and Ctrl keys at the time it is run. 
  6918.    1   Right Shift key
  6919.    2   Left Shift key
  6920.    4   Ctrl key (left or right)
  6921.    8   Alt key (left or right)
  6922. The exit codes for the four keys can be added together for multiple keys.
  6923. Halt execution of a batch file until the time specified.
  6924. BE TRIGGER hh:mm [AM | PM]
  6925.   hh:mm       Time in 24-hour format (0:00 to 23:59).
  6926.   AM | PM     Optionally, specify time in 12-hour format.
  6927. 12:00 am is the same as 0:00, or midnight; 12:00 pm is noon.
  6928. Return the day of the week to the batch file as an exit code (ERRORLEVEL).
  6929. BE WEEKDAY [/DEBUG]
  6930.   /DEBUG    Display the ERRORLEVEL value returned.
  6931. Sunday is returned as 1, and Saturday is returned as 7. 
  6932. Draw a solid rectangle with a double-line border, optionally
  6933. using a drop shadow and a zoom effect.
  6934. BE WINDOW top left bottom right [color] [ZOOM | EXPLODE] [SHADOW]
  6935.   top      Row for upper left corner of box.
  6936.   left     Column for upper left corner of box.
  6937.   bottom   Row for lower right corner of box.
  6938.   right    Column for lower right corner of box.
  6939.   color    SA (Screen Attribute) format color specification 
  6940.            for the window. See BE SA.
  6941.   ZOOM     Zooms the window while drawing it (EXPLODE is a synonym).
  6942.   SHADOW   Adds a see through drop "shadow" to the window.
  6943. The boxes are solid filled; any text within the confines of the
  6944. box is overwritten.
  6945. Beep the speaker.
  6946. BEEP [frequency duration ...]
  6947.   frequency   The frequency is specified in Hertz.
  6948.   duration    The duration in 1/18th second intervals.
  6949. Turn extended Ctrl-C (Ctrl-Break) checking on or off.
  6950. BREAK [ON | OFF]
  6951. BREAK turns the extended Ctrl-C (Ctrl-Break) checking ON or OFF. 
  6952. BREAK by itself displays the current BREAK status.
  6953. Call a secondary batch file.
  6954. CALL [drive:][path]filename
  6955. Batch files can be nested up to eight levels deep.
  6956. Terminate batch processing.
  6957. CANCEL
  6958. CANCEL ends all batch file processing, regardless of the 
  6959. level of batch file nesting.
  6960. Display or change the current directory.
  6961. CD [drive:][path]
  6962. CHDIR [drive:][path]
  6963. CD by itself or with just drive: displays the current directory. 
  6964. CD.. (two dots) changes to the parent directory. Add additional dots 
  6965. (one per level) to move higher up the directory tree. CD.... (four dots)
  6966. changes to the directory two higher than the parent.
  6967. CD and CHDIR are the same command.
  6968. Change the current disk drive and directory.
  6969. CDD [drive:]path
  6970. CDD is similar to CD or CHDIR, except it can also change the default
  6971. disk drive.
  6972. Display or change the current system code page.
  6973. CHCP [nnn]
  6974.   nnn  Country code page.
  6975. CHCP with no parameters displays the current code page.
  6976. Code page switching allows you to select different character
  6977. sets for language support. To use code page switching, you
  6978. must have an EGA or VGA display and/or an appropriate printer,
  6979. and DOS 3.3 or above.
  6980. Display or change the current directory.
  6981. CD [drive:][path]
  6982. CHDIR [drive:][path]
  6983. CHDIR by itself or with just drive: displays the current directory. 
  6984. CHDIR.. (two dots) changes to the parent directory. Add additional dots 
  6985. (one per level) to move higher up the directory tree. CHDIR.... (four dots)
  6986. changes to the directory two higher than the parent.
  6987. CD and CHDIR are the same command.
  6988. Clear the video display, optionally to the specified colors.
  6989. CLS [[BRIGHT] [BLINK] fg ON bg]
  6990.   fg    The foreground color.
  6991.   bg    The background color.
  6992. The available colors are:
  6993.     Black      Blue      Green      Red
  6994.     Magenta    Cyan      Yellow     White
  6995. CLS clears the display and moves the cursor to the upper left
  6996. corner.
  6997. Set the screen display colors.
  6998. COLOR [[BRIGHT] [BLINK] fg ON bg]
  6999.   fg    The foreground color.
  7000.   bg    The background color.
  7001. The available colors are:
  7002.     Black      Blue      Green      Red
  7003.     Magenta    Cyan      Yellow     White
  7004. Copy or append one or more files.
  7005. COPY [/MPQRUV] [drive:][path]filename[+]...[/A][/B] 
  7006.   [[drive:][path]filename][/A][/B]
  7007.   /M    Modified: Copy only those files with the archive bit set.
  7008.         The archive bit will NOT be cleared after copying.
  7009.   /P    Prompt: Confirm each file copy (Y or N).
  7010.   /Q    Quiet: Don't display filenames as they are copied.
  7011.   /R    Replace: Prompt before overwriting an existing file.
  7012.   /U    Update: Copy only those source files that are newer than a
  7013.         matching target file, or where a matching target file
  7014.         doesn't exist.
  7015.   /V    Verify: Make sure that each sector a file is written to
  7016.         can be read.
  7017.   /A    ASCII: Files are terminated with Ctrl-Z.
  7018.   /B    Binary: Exact number of bytes in the file (ignore Ctrl-Z).
  7019. Use + to append source files.
  7020. Change the default console device.
  7021. CTTY device
  7022.   device  Any device that can perform standard character I/O.
  7023. Display and (optionally) change the system date.
  7024. DATE [mm-dd-yy]
  7025. DATE, by itself, displays the current system date and time, and prompts
  7026. for the new date. Press Enter to keep the displayed the date or type a
  7027. a new date.
  7028. Erase (delete) the specified file(s) from the disk.
  7029. DEL [/PQYZ] [drive:][path]filename...
  7030. ERASE [/PQYZ] [drive:][path]filename...
  7031.   /P    Prompt: Confirm (Y/N) deletion for each file.
  7032.   /Q    Quiet: Don't display filenames as they are deleted.
  7033.   /Y    Yes: Delete files and directories without prompting.
  7034.   /Z    Zap: Delete hidden, system, and read-only files as well.
  7035. DEL and ERASE are the same command.
  7036. Pause for a specified period of time.
  7037. DELAY [seconds]
  7038.   seconds  Number of seconds to pause.
  7039. DELAY by itself pauses processing for one second.
  7040. Create, modify, or delete file and subdirectory descriptions.
  7041. DESCRIBE pathname ["description"] ...
  7042.   description  Up to 40 characters (use double quotes if entered on 
  7043.                the command line).
  7044. Add text descriptions to filenames and subdirectories. The descriptions 
  7045. are displayed when using DIR with the default single-column option, 
  7046. or when using SELECT.
  7047. Use wildcards (* and ?) and/or multiple filenames with a description
  7048. on the command line to give all matching files the same description.
  7049. DESCRIBE with just pathname will prompt you for the description.
  7050. Display information about files and subdirectories.
  7051.             
  7052. DIR [/A:[-rhsda] /O:[-deinsgu] /124BCJKLMNPSTUVW] [[drive:][path]filename...]
  7053.   /A: Display filenames with specified attributes. Use /A: with no attributes
  7054.       to display all filenames (including hidden and system).
  7055.         r Read-only          s System          a Archive
  7056.         h Hidden             d Directory       - Prefix means "not"
  7057.          
  7058.   /O:  Sort sequence, any combination of the following options:
  7059.         d Date and time      n Name            u Unsorted (like COMMAND.COM)
  7060.         e Extension          s Size            - Reverse the sort order
  7061.         i File description   g Group directories 
  7062.   /1  One column                     /M  oMit total bytes information.
  7063.   /2  Two columns                    /N  No switches: reset DIR to defaults
  7064.   /4  Four columns                   /P  Pause
  7065.   /B  Bare (no header or summaries)  /S  Subdirectories included
  7066.   /C  upperCase                      /T  aTtributes
  7067.   /J  Justify (like COMMAND.COM)     /U  sUmmary (totals only) 
  7068.   /K  No volume label or pathname    /V  Vertical sort (with /2, /4, or /W)
  7069.   /L  Lowercase                      /W  Wide display 
  7070. Display the current directory stack.
  7071. DIRS displays the directory stack used by PUSHD and POPD, most
  7072. recent entries first. The stack holds 255 characters (about
  7073. 10 to 20 entries).
  7074. Draw a box on the screen.
  7075. DRAWBOX ulrow ulcol lrrow lrcol style [BRIGHT][BLINK] fg ON bg [FILL bgfill]
  7076.   ulrow     Row for upper left corner.
  7077.   ulcol     Column for upper left corner.
  7078.   lrrow     Row for lower right corner.
  7079.   lrcol     Column for lower right corner.
  7080.   style     Box drawing style:
  7081.               0  No border
  7082.               1  Single line
  7083.               2  Double line
  7084.               3  Single line on top and bottom, double on the sides  
  7085.               4  Double line on top and bottom, single on the sides  
  7086.   fg        Foreground character color.
  7087.   bg        Background character color.
  7088.   bgfill    Background fill color (for the inside of the box).
  7089. The available colors are:
  7090.     Black      Blue      Green      Red
  7091.     Magenta    Cyan      Yellow     White
  7092. Draw a horizontal line on the screen.
  7093. DRAWHLINE row columns length style [BRIGHT] [BLINK] fg ON bg
  7094.   row       Start row.
  7095.   column    Start column.
  7096.   length    Length of line.
  7097.   style     Line drawing style:
  7098.               1  Single line
  7099.               2  Double line
  7100.   fg        Foreground character color.
  7101.   bg        Background character color.
  7102. The available colors are:
  7103.     Black      Blue      Green      Red
  7104.     Magenta    Cyan      Yellow     White
  7105. Draw a vertical line on the screen.
  7106. DRAWVLINE row columns length style [BRIGHT] [BLINK] fg ON bg
  7107.   row       Start row.
  7108.   column    Start column.
  7109.   length    Length of line.
  7110.   style     Line drawing style:
  7111.               1  Single line
  7112.               2  Double line
  7113.   fg        Foreground character color.
  7114.   bg        Background character color.
  7115. The available colors are:
  7116.     Black      Blue      Green      Red
  7117.     Magenta    Cyan      Yellow     White
  7118. Turn batch file or command-line echoing on or off, display a message,
  7119. or display the echo status. 
  7120. ECHO [ON | OFF | message]
  7121. ECHO by itself displays the current echo status.
  7122. Restore the disk drive, directory, environment, and aliases saved
  7123. with SETLOCAL.
  7124. ENDLOCAL
  7125. ENDLOCAL and SETLOCAL can only be used in batch files.
  7126. Erase (delete) the specified file(s) from the disk.
  7127. DEL [/PQYZ] [drive:][path]filename...
  7128. ERASE [/PQYZ] [drive:][path]filename...
  7129.   /P    Prompt: Confirm (Y/N) deletion for each file.
  7130.   /Q    Quiet: Don't display filenames as they are deleted.
  7131.   /Y    Yes: Delete files and directories without prompting.
  7132.   /Z    Zap: Delete hidden, system, and read-only files as well.
  7133. DEL and ERASE are the same command.
  7134. Edit environment variables and/or aliases.
  7135. ESET varname...
  7136.   varname  Environment variable or alias name. 
  7137. Perform a command, except on the file(s) specified.
  7138. EXCEPT (pathname...) command 
  7139.   pathname  The excluded file, wildcard set of files (* and ?), or
  7140.             list of files must be enclosed in parentheses.
  7141. EXCEPT prevents operations on the specified file(s) by setting the 
  7142. hidden attribute, performing the command, and then clearing the hidden
  7143. attribute. 
  7144. EXCEPT will not work with programs or commands that ignore the hidden
  7145. attribute including DEL or ERASE with the /Z switch.
  7146. Return from a secondary command processor.
  7147. EXIT [n]
  7148.   n   The ERRORLEVEL value to return to the calling command processor.
  7149. Repeat a command for several items in a set.
  7150. FOR %%variable IN (set) [DO] command
  7151.   %variable  A variable name, up to 80 characters preceded by a % sign.
  7152.   (set)      A list of pathnames (including wildcards) or text strings
  7153.              enclosed within parentheses.
  7154. Either a single % or a double %% for the variable will work both from
  7155. the command line and within batch files. The "DO" is optional.
  7156. Display the total disk space, total bytes used, and total bytes free
  7157. on the default or specified drive(s).
  7158. FREE [drive:]...
  7159. Execute a command in the current directory and its subdirectories.
  7160. GLOBAL [/IQ] command [args]
  7161.   /I    Ignore: GLOBAL will not terminate if the command returns
  7162.         a non-zero exit code.
  7163.   /Q    Quiet: Do not display the directory names as each directory
  7164.         is accessed.
  7165. Call a subroutine in a batch file.
  7166. GOSUB label
  7167. GOSUB calls the specified label as a subroutine. The subroutine must
  7168. end with a RETURN statement. After the RETURN, NDOS will continue
  7169. processing with the command following the GOSUB command.
  7170. Continue batch file processing at the line following the label.
  7171. GOTO label
  7172. GOTO changes the current position in the batch file to the line
  7173. immediately following the label.
  7174. Display, read, or clear the history list.
  7175. HISTORY [/F] [/P] [/R pathname]
  7176.   /F    Free: Clear the command history list.
  7177.   /P    Pause: Halt the display after each screen.
  7178.   /R    Read the command history from the specified file. 
  7179. HISTORY by itself displays the current history list. You can save the
  7180. history list by redirecting the output of HISTORY to a file. 
  7181. Allow conditional execution of commands.
  7182. IF [NOT] ERRORLEVEL [op] n command
  7183. IF [NOT] string1 op string2 command
  7184. IF [NOT] EXIST pathname command
  7185. IF [NOT] ISALIAS aliasname command
  7186. IF [NOT] ISDIR [drive:]path command
  7187.   command  An internal NDOS command or alias, an external command, or
  7188.            a batch file to execute if the test condition is true.
  7189.   NOT      The command is executed when the condition is false.
  7190.   op       Relational operator: EQ (or ==) NE  LT  LE  GE  GT
  7191.   ERRORLEVEL [op] n    Exit code of the preceding program (default is GE).
  7192.   string1 op string2   Compare two strings (case is ignored). Strings should
  7193.                        be enclosed in double quotes. If both arguments begin
  7194.                        with digits, it is a numeric comparison.
  7195.   EXIST pathname       True if the specified file exists.
  7196.   ISALIAS aliasname    True if the specified name is an alias.
  7197.   ISDIR [drive:]path   True if the directory exists.
  7198. IF statements can be nested.
  7199. Allow IF/THEN/ELSE conditional execution of commands.
  7200. IFF [NOT] condition THEN ^command^ ELSE[[IFF [NOT]] condition THEN] 
  7201.   ^command^ ENDIFF
  7202. See the IF command for a list of the tests available.
  7203. Get a single keystroke environment variable from standard input.
  7204. INKEY [/Wn] [text] %%varname
  7205.   /Wn  Wait: Timeout period (n is the number of seconds to
  7206.        wait for a key press).
  7207. An ASCII value from 1 to 255 is stored as a character. Extended
  7208. characters, such as function keys and cursor keys, are stored as a
  7209. string in decimal format with a leading @ (for example, the F1 
  7210. function key is @59).
  7211. Enter an environment variable from the standard input.
  7212. INPUT [/Wn] [text] %%varname
  7213.   /Wn  Wait: Timeout period (n is the number of seconds to
  7214.        wait for a key press).
  7215. All characters entered up to, but not including, the carriage return
  7216. are stored in the variable.
  7217. Feed keystrokes to an application from a batch file or alias.
  7218. KEYSTACK ["string"] [nn] [@nn] [!]
  7219.   "string"  Characters entered within double quotes ("abc") will be
  7220.             stored "as is" in the keyboard buffer. 
  7221.   nn        Numbers not enclosed in quotes are ASCII decimal codes, for
  7222.             example, 13 (Enter), or 27 (Escape). 
  7223.   @nn       Numbers preceded by @ are extended keyboard codes generated
  7224.             by the Alt key, cursor pad keys, and the Function keys (for
  7225.             example, @59 is the F1 function key).
  7226.   !         Clears all pending keystrokes, both in the KEYSTACK buffer
  7227.             and in the keyboard buffer.
  7228. The number (nn) 0 is a special case; it is used with programs that flush
  7229. the keyboard buffer (it tells the program the buffer is clear, so
  7230. subsequent keystrokes will be accepted normally). 
  7231. Note that keystrokes are supplied before the application is run.
  7232. Load a program in high DOS memory.
  7233.   LOADHIGH [drive:][path]filename [parameters]
  7234.   LD [drive:][path]filename [parameters]
  7235. LH will work on a 286 or above with suitable software which
  7236. can map memory into the 640K to 1MB area.
  7237. You must have the DOS 5.x dos=umb command line in your CONFIG.SYS
  7238. file.
  7239. LOADHIGH and LH are the same command.
  7240. Display a file with forward and backward paging and scrolling.
  7241. LIST [/HSW] pathname...
  7242.   /H    High: Strip the high bit from each character before displaying.
  7243.   /S    Standard Input:Read from the standard input rather than a file.
  7244.   /W    Wrap: Text lines wider than the screen wrap at the right margin.
  7245. Switch a batch file to or from .BTM mode.
  7246. LOADBTM [ON | OFF]
  7247. LOADBTM switches a batch file (.BAT or .BTM) to and from .BTM mode.
  7248. If no argument is given, it displays the current LOADBTM status.
  7249. LOADBTM can only be used from within batch files.
  7250. Load a program in high DOS memory.
  7251. LOADHIGH [drive:][path]filename [parameters]
  7252. LH [drive:][path]filename [parameters]
  7253. LOADHIGH will work on a 286 or above with suitable software which
  7254. can map memory into the 640K to 1MB area.
  7255. You must have the DOS 5.x dos=umb command line in your CONFIG.SYS
  7256. file.
  7257. LOADHIGH and LH are the same command.
  7258. Save a log of commands to a disk file.
  7259. LOG [/W pathname | ON | OFF | "text"]
  7260.   /W pathname   Write: Specify a different filename for the log.
  7261.                 /W automatically enables command logging.
  7262.   ON            Commands are added to the log file as they are executed
  7263.                 with any alias or variable expansion.  
  7264.   OFF           Commands are not added to the log file. 
  7265.   text          Text line to add to the log (even if LOG is OFF). 
  7266. LOG defaults to saving to the file NDOS.LOG in the root directory of
  7267. the boot drive.
  7268. LOG with no parameters displays the log status (ON or OFF). 
  7269. Create subdirectories.
  7270. MD [drive:]path...
  7271. MKDIR [drive:]path...
  7272.   path    Directory to create.
  7273. MD and MKDIR are the same command.
  7274. Display the system RAM status.
  7275. MEMORY
  7276. Create subdirectories.
  7277. MD [drive:]path...
  7278. MKDIR [drive:]path...
  7279.   path    Directory to create.
  7280. MD and MKDIR are the same command.
  7281. Move files to other directories and drives.
  7282. MOVE [/PQR] [drive:][path]filename... [drive:][path][filename]
  7283.   /P    Prompt: Confirm (Y/N) each file move.
  7284.   /Q    Quiet: Turn off display of the files as they are moved.
  7285.   /R    Replace: Prompts (Y/N) before overwriting an existing file.
  7286. Tells NDOS where to search for executable and batch files not
  7287. in the current directory.
  7288. PATH [drive:]path1[;[[drive:]path2]...]
  7289. PATH [;]
  7290. When searching for an external command (.COM, .EXE, .BTM, and .BAT),
  7291. NDOS searches the current directory first, then the directories 
  7292. specified in the PATH in the order listed.
  7293. PATH with no parameters displays the current search path.
  7294. PATH with just a semicolon clears the search path.
  7295. Suspend alias or batch file execution.
  7296. PAUSE [message]
  7297.   message   Text to display instead of the default 
  7298.             "Press a key when ready ..."
  7299. Change to the disk drive and directory at the top of the directory stack.
  7300. POPD [*]
  7301.   *   Clears the directory stack, without changing the current drive 
  7302.       and directory.
  7303. POPD restores the disk and directory saved using PUSHD (most recent first).
  7304. Change the NDOS command line prompt.
  7305. PROMPT [text]
  7306.   text   Literal text and the following special codes:
  7307.    $b  |  (pipe)                       $q   =   (equal sign)
  7308.    $c  (  (open parenthesis)           $s   The space character
  7309.    $d  Current date                    $t   Current time
  7310.    $e  ASCII ESC character             $v   MS-DOS version number
  7311.    $f  )  (close parenthesis)          $Xd: Current disk and directory
  7312.    $g  >  (greater-than sign)               in uppercase (d: is the
  7313.    $h  Backspace (erase character)          drive specification)
  7314.    $l  <  (less-than sign)             $xd: Current disk and directory
  7315.    $n  Default drive letter                 in lowercase (d: is the
  7316.    $P  Current disk and                     drive specification)
  7317.        directory in uppercase          $z   Current NDOS shell nesting level
  7318.    $p  Current disk and                $$   $   (dollar sign)      
  7319.        directory in lowercase          $_   CR/LF (new line)
  7320. PROMPT with no parameters sets the prompt to $n$g on drives A and B,
  7321. and to $p$g and on all other drives.
  7322. Save the current disk and directory.
  7323. PUSHD [[drive:]path]
  7324. PUSHD saves the current directory on the directory stack, and if a
  7325. path is specified on the command line, changes the disk drive and
  7326. directory.
  7327. The drive and directory are restored with POPD.
  7328. Terminate the current batch file.
  7329. If you QUIT a batch file called from another batch file, you will be
  7330. returned to the previous file at the command following the original
  7331. call. To end all batch file processing, use CANCEL.
  7332. Remove one or more directories.
  7333. RD [drive:]path...
  7334. RMDIR [drive:]path...
  7335. Before removing a subdirectory, you must delete all the files and
  7336. subdirectories (and their files) in that directory (including any
  7337. hidden or read-only files).
  7338. You can use the wildcard characters (* and ?) in the directory names.
  7339. RD and RMDIR are the same command.
  7340. Place a comment in a batch file.
  7341. REM [comment]
  7342. If ECHO is ON, NDOS will echo the comment to the display when the
  7343. batch file is run (if you don't want to echo the line, preface REM
  7344. with the @ character).
  7345. Rename files or subdirectories.
  7346. REN [/PQ] [drive:][path]filename... [drive:][path]filename
  7347. RENAME [/PQ] [drive:][path]filename... [drive:][path]filename
  7348.   /P  Prompt: Confirm (Y/N) each rename.
  7349.   /Q  Quiet: Don't display filenames as they are renamed.
  7350. The last filename is the new name; preceding names are the files to
  7351. be renamed. You can use the wildcard characters (* and ?) in the
  7352. filenames.
  7353. NDOS allows you to select a target path, renaming the source file to
  7354. a new directory on the same drive.
  7355. REN will also rename directories.
  7356. REN and RENAME are the same command.
  7357. Rename files or subdirectories.
  7358. REN [/PQ] [drive:][path]filename... [drive:][path]filename
  7359. RENAME [/PQ] [drive:][path]filename... [drive:][path]filename
  7360.   /P  Prompt: Confirm (Y/N) each rename.
  7361.   /Q  Quiet: Don't display filenames as they are renamed.
  7362. The last filename is the new name; preceding names are the files to
  7363. be renamed. You can use the wildcard characters (* and ?) in the
  7364. filenames.
  7365. NDOS allows you to select a target path, renaming the source file to
  7366. a new directory on the same drive.
  7367. REN will also rename directories.
  7368. REN and RENAME are the same command.
  7369. Return from a GOSUB (subroutine) call in a batch file.
  7370. RETURN
  7371. Processing is returned to the command following the original GOSUB.
  7372. Remove one or more directories.
  7373. RD [drive:]path...
  7374. RMDIR [drive:]path...
  7375. Before removing a subdirectory, you must delete all the files and
  7376. subdirectories (and their files) in that directory (including any
  7377. hidden or read-only files).
  7378. You can use the wildcard characters (* and ?) in the directory names.
  7379. RD and RMDIR are the same command.
  7380. Position the cursor on the screen, and optionally display a
  7381. message.
  7382. SCREEN row column [message]
  7383.   row      Start row.
  7384.   column   Start column.
  7385. The row and column are zero-based. On a standard 25-line by 80-column
  7386. display, valid rows are 0 to 24 and valid columns are 0 to 79.
  7387. Display text in color.
  7388. SCRPUT row column [BRIGHT] [BLINK] fg ON bg text
  7389.   row       Start row.
  7390.   column    Start column.
  7391.   fg        Foreground character color.
  7392.   bg        Background character color.
  7393. The available colors are:
  7394.     Black      Blue      Green      Red
  7395.     Magenta    Cyan      Yellow     White
  7396. The row and column are zero-based. On a standard 25-line by 80-column
  7397. display, valid rows are 0 to 24 and valid columns are 0 to 79.
  7398. Execute a command on specified files.
  7399. SELECT [/A[:]-rhsda] [/O[:]-deinsgu] [command] (pathname...)
  7400.   /A: Display filenames with specified attributes. Use /A: with no
  7401.       attributes to display all filenames (including hidden and system).
  7402.         r Read-only         s System          a Archive
  7403.         h Hidden            d Directory       - Prefix means "not"
  7404.          
  7405.   /O:  Sort sequence, any combination of the following options:
  7406.         d Date and time     n Name            u Unsorted (like COMMAND.COM)
  7407.         e Extension         s Size            - Reverse the sort order
  7408.         i File description  g Group directories 
  7409. Select command-line file parameters by marking the directory entries
  7410. using a full-screen "point-and-shoot" display.
  7411. Display, create, modify, or delete environment variables.
  7412. SET [/P][/R pathname...] [variable[=][value]]
  7413.   variable  Environment variable name (up to 80 characters).
  7414.   value     String (up to 255 characters).
  7415.   /P        Pause: Halt display after each screen.
  7416.   /R        Read: Load environment variables from a file.
  7417. SET with no parameters displays the current environment.
  7418. SET variable= with no value clears the variable from the environment.
  7419. Display or set NDOS configuration variables.
  7420. SETDOS [/An /Cx /Ex /Fn /Hn /I+|-command /Ln /Mn /Nn /Rn /Sn:n /Un /Vn]
  7421. /An   ANSI: determines if NDOS attempts to use an ANSI driver (0, 1, or 2).
  7422. /Cx   COMPOUND: character to separate multiple commands on the same line (^).
  7423. /Ex   ESCAPE: character to suppress normal meaning of next character (Ctrl-x).
  7424. /Fn   FILENAME: controls filename truncation (0 or 1).
  7425. /Hn   HISTORY: determines the minimum command size to save (0 to 256).
  7426. /I+|- INTERNAL: disable or enable internal NDOS commands.
  7427. /Ln   LINE: controls how NDOS gets its input from the command line (0 or 1).
  7428. /Mn   MODE: controls the line editing mode (0 or 1).
  7429. /Nn   NOCLOBBER: controls output redirection (0 or 1).
  7430. /Rn   ROWS: the number of screen rows used by the video display.
  7431. /Sn:n SHAPE: sets the NDOS cursor shape (start:end scan lines).
  7432. /Un   UPPER: case for filenames displayed by the internal commands (0 or 1).
  7433. /Vn   VERBOSE: variable controls command echoing in batch files (1 or 0).
  7434. SETDOS with no parameters displays the current settings for the NDOS
  7435. configuration variables.
  7436. Save a copy of the current disk drive, directory, environment
  7437. variables, and aliases.
  7438. SETLOCAL
  7439. Restore with ENDLOCAL.
  7440. Allow the use of more than 10 variables in a batch file.
  7441. SHIFT [n]
  7442.   n   %0 to %127
  7443. SHIFT is provided for compatibility with COMMAND.COM which only
  7444. supports 10 parameters (%0 to %9). NDOS supports 128 (%0 to %127).
  7445. Display, enable, or disable the NDOS swapping state.
  7446. SWAPPING [ON | OFF]
  7447. SWAPPING with no parameters displays the current NDOS swap state.
  7448. Copy standard input to standard output, and save a copy in the
  7449. specified file(s).
  7450. TEE [/A] [drive:]pathname...
  7451.   /A  Append: Output is appended to the file(s) rather than 
  7452.       overwriting it.
  7453. Display a block of text in a batch file.
  7454. ENDTEXT
  7455. Both TEXT and ENDTEXT must be entered as the only commands on the line.
  7456. Display or set the current system time.
  7457. TIME [hh:mm:ss [A|P]]
  7458.   hh    hour (0 to 23).
  7459.   mm    minute (0 to 59).
  7460.   ss    second (0 to 59).
  7461.   A     AM for 12 hour format.
  7462.   P     PM for 12 hour format.
  7463. TIME with no parameters, displays the current system time and prompts
  7464. you for a new time.
  7465. Only hours are required.
  7466. Turn the system stopwatch on or off.
  7467. TIMER [/S]
  7468.   /S    Display split times without stopping the timer.
  7469. Display the contents of the specified file(s).
  7470. TYPE [/LP] [drive:][path]filename...
  7471.   /L    Line: Display line numbers preceding each line of text.
  7472.   /P    Pause: Halt display after each screen.
  7473. NDOS will TYPE multiple files with wildcards (* and ?) in the filename.
  7474. Remove aliases from the alias list.
  7475. UNALIAS alias...
  7476. UNALIAS *
  7477.   alias    Alias to delete.
  7478.   *        Delete all aliases.
  7479. Remove variables from the environment.
  7480. UNSET varname...
  7481. UNSET *
  7482.   varname   Environment variable.
  7483.   *         Delete all environment variables.
  7484. Display the current NDOS and DOS versions.
  7485. Display, enable, or disable disk write verification.
  7486. VERIFY [ON | OFF]
  7487.   ON   Makes sure that each sector a file is written to can be read.
  7488.   OFF  Disable write verification.
  7489. VERIFY with no parameters displays the current verify state.
  7490. Display the disk volume label(s).
  7491. VOL [drive:]...
  7492. Copy standard input to standard output, and then copy the specified
  7493. file(s) to standard output.
  7494. Y pathname...
  7495. Standard input from the console is terminated by a Ctrl-Z.
  7496.