home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 17.ddi / CMDREF / OS2_BOOK_CMDREF.INF (.txt)
Encoding:
OS/2 Help File  |  1993-04-29  |  405.6 KB  |  18,214 lines

  1.  
  2. ΓòÉΓòÉΓòÉ <hidden> High Performance File System (HPFS) ΓòÉΓòÉΓòÉ
  3.  
  4. Follow these rules for naming files and directories: 
  5.  
  6. o The following symbols cannot be used in file or directory names: 
  7.  
  8.     0-1F hex   \   /   :   *   ?   "   <   >   |   &   -
  9.  
  10. o The following reserved device names cannot be used as file or directory 
  11.   names: 
  12.  
  13.     KBD$  PRN   NUL   COM1   COM2   COM3   COM4  CLOCK$
  14.  
  15.     LPT1  LPT2  LPT3  CON   SCREEN$   POINTER$   MOUSE$
  16.  
  17. o Unlike the FAT file system, which allows a name to consist of two parts (a 1 
  18.   to 8 character name and a 1 to 3 character extension), HPFS permits having 
  19.   many parts in a name if each part is separated by a period. 
  20.  
  21. o In HPFS, you can use up to 254 characters in file or directory names.  This 
  22.   includes punctuation marks and blank spaces. 
  23.  
  24. o HPFS supports case preservation.  This means that the system saves the name 
  25.   of your file or directory exactly as it was typed.  If you create a file or 
  26.   directory called AbcD, the system saves it as AbcD and will display it as 
  27.   AbcD, not ABCD.  However, HPFS is not case-sensitive.  You cannot use the 
  28.   same name for multiple files in the same directory.  For instance, you cannot 
  29.   create a file named ABCD in the same directory that contains an existing file 
  30.   named AbcD. 
  31.  
  32. o When you installed the system, certain directories were created.  To avoid 
  33.   interfering with them in any way, do not use the names OS2, INTRO, INSTALL, 
  34.   SPOOL, DLL, BOOK, or SYSTEM as directory names. 
  35.  
  36. o Unlike previous versions of the OS/2 operating system, this version treats as 
  37.   files reserved device names that are followed by an extension; that is, 
  38.   device names are only recognized as devices if they do not have an extension. 
  39.  
  40. o If you switch code pages or plan to send files to other countries, avoid 
  41.   using accented characters in file and directory names.  Depending on the code 
  42.   page used, some letters might be displayed differently in uppercase than when 
  43.   originally typed.  Also, you may not be able to access the file from a 
  44.   different code page. 
  45.  
  46. o The * and ? symbols can be used as global file-name characters. 
  47.  
  48. o When blank spaces are used in a file or directory name, the name (including 
  49.   optional drive and path) must be enclosed in quotation marks before you enter 
  50.   a command.  For example, to copy a file named My new  FILE to drive A, enter: 
  51.  
  52.     COPY "C:\OS2\My new   FILE" A:
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ <hidden> File Allocation Table (FAT) ΓòÉΓòÉΓòÉ
  56.  
  57. Follow these rules when naming files and directories: 
  58.  
  59. o A name cannot contain more than eight characters. This includes punctuation 
  60.   marks and blank spaces. 
  61.  
  62. o An extension can be added to a name.  The extension can only contain up to 
  63.   three characters.  The extension must be separated from the name by a period. 
  64.  
  65. o The following symbols cannot be used in file or directory names: 
  66.  
  67.     0-1F hex   \   /   :   *   ?   "
  68.  
  69.     <   >   |   ,   +   =   [   ]   ;
  70.  
  71. o The * and ? symbols can be used as global file-name characters. 
  72.  
  73. o The following reserved device names cannot be used as file or directory 
  74.   names: 
  75.  
  76.     KBD$  PRN   NUL   COM1   COM2   COM3   COM4  CLOCK$
  77.  
  78.     LPT1  LPT2  LPT3  CON   SCREEN$   POINTER$   MOUSE$
  79.  
  80. o When you installed the system, certain directories were created.  To avoid 
  81.   interfering with them in any way, do not use the names OS2, INTRO, INSTALL, 
  82.   SPOOL, DLL, BOOK, or SYSTEM as directory names. 
  83.  
  84. o If you switch code pages or plan to send files to other countries, avoid 
  85.   using accented characters in file and directory names.  Depending on the code 
  86.   page used, some letters might be displayed differently in uppercase than when 
  87.   originally typed.  Also, you might not be able to access the file from a 
  88.   different code page. 
  89.  
  90. o Unlike previous versions of the OS/2 operating system, this version treats 
  91.   reserved device names that are followed by an extension as files; that is, 
  92.   device names are only recognized as devices if they do not have an extension. 
  93.  
  94.  
  95. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  96.  
  97. The OS/2 Command Reference describes the purpose and syntax of OS/2* commands. 
  98. Before you begin to use this reference, it would be helpful to understand how 
  99. you can: 
  100.  
  101. o Expand the Contents to see all available topics 
  102. o Obtain additional information for a highlighted word or phrase 
  103. o Use action bar choices. 
  104.  
  105. How To Use the Contents 
  106.  
  107. When the Contents window first appears, some topics have a plus (+) sign beside 
  108. them. The plus sign indicates that additional topics are available. 
  109.  
  110. To expand the Contents and view the additional topics, select the + if you are 
  111. using a mouse; if you are using a keyboard, use the Up Arrow and Down Arrow 
  112. keys to highlight the topic, and then press the plus key (+). For example, OS/2 
  113. Commands by Name has a plus sign beside it. To see the complete list of OS/2 
  114. commands, click on the plus sign or highlight that topic and press the plus (+) 
  115. key. 
  116.  
  117. To view a topic, double-click on the topic (or press the Up or Down Arrow key 
  118. to highlight the topic, and then press Enter). 
  119.  
  120. How To Obtain Additional Information 
  121.  
  122. After you select a topic, the information for that topic appears in a window. 
  123. Highlighted words or phrases indicate that additional information is available. 
  124. You will notice that certain words in the following paragraph are highlighted. 
  125. If you are using a mouse, double-click on the highlighted word.  If you are 
  126. using a keyboard, press the Tab key to move to the highlighted word, and then 
  127. press the Enter key.  Additional information will appear in a window. 
  128.  
  129. How To Use Menu-Bar Choices 
  130.  
  131. Choices are available in the menu bar and in the Services menu that help you 
  132. manage the information in the OS/2 Command Reference.  Select any of the 
  133. choices below to learn about these features. 
  134.  
  135. Bookmark 
  136.      Sets a placeholder so you can retrieve information of interest to you. 
  137.      (This choice is available from the Services menu.) 
  138.  
  139. Search 
  140.      Finds occurrences of a word or phrase in the current topic, selected 
  141.      topics, or all topics. (This choice is available from the Services menu.) 
  142.  
  143. Print 
  144.      Prints one or more topics. (This choice is available from the Services 
  145.      menu.) 
  146.  
  147. Copy 
  148.      Copies a topic you are viewing to a file you can edit. (This choice is 
  149.      available from the Services menu.) 
  150.  
  151. Options 
  152.      Changes the way the Contents is displayed. 
  153.  
  154. TRADEMARKS 
  155.  
  156. The following are trademarks of the IBM Corporation: 
  157.  
  158. o IBM 
  159.  
  160. o Operating System/2 
  161.  
  162. o OS/2 
  163.  
  164. o Personal Computer AT and AT 
  165.  
  166. o Personal System/2 and PS/2 
  167.  
  168. o Presentation Manager 
  169.  
  170. o Proprinter 
  171.  
  172. o Quickwriter 
  173.  
  174. o Quietwriter 
  175.  
  176.  
  177. ΓòÉΓòÉΓòÉ 2. Information about OS/2 Commands ΓòÉΓòÉΓòÉ
  178.  
  179. The following information applies to all OS/2* commands: 
  180.  
  181. command prompt           When a command has finished processing, a command 
  182.                          prompt is again displayed on the screen. 
  183.  
  184.                          You can type commands in uppercase letters, lowercase 
  185.                          letters, or a combination of both. 
  186.  
  187.                          From an OS/2 command prompt, you can type up to 299 
  188.                          characters (bytes) before you press Enter.  From a DOS 
  189.                          command prompt, you can type up to 127 bytes before 
  190.                          you press Enter. 
  191.  
  192.                          You can process commands from the command prompt of a 
  193.                          session while running your programs in other sessions. 
  194.  
  195. path and file name       Commands that allow you to enter file names can accept 
  196.                          a path (directory) name before the file name. 
  197.  
  198.                          You can use a period (.) for the current directory or 
  199.                          two periods (..) for the parent directory for any OS/2 
  200.                          command that allows you to enter a path. 
  201.  
  202.                          Do not put a space between the drive, path, file name 
  203.                          and optional extension.  The colon, backslash, and 
  204.                          period already serve as separators. 
  205.  
  206. current directory        The current directory is the directory that the OS/2 
  207.                          operating system searches when a file name is entered 
  208.                          with no path name.  You have a current directory for 
  209.                          every drive in your system. 
  210.  
  211.                          In an OS/2 session, the combined length of a file name 
  212.                          and path can be up to 259 bytes.  In a DOS session, 
  213.                          the maximum length for a file name and path is 80 
  214.                          bytes of which 64 bytes is for the path, ensuring room 
  215.                          for an 8.3 file name in the lowest subdirectory. 
  216.  
  217. OS/2 has two types of commands: 
  218.  
  219. internal          Internal commands run without any delay associated with 
  220.                   loading the program from disk.  These commands reside in the 
  221.                   OS/2 command processor.  Their names appear as the first item 
  222.                   in a syntax diagram. 
  223.  
  224. external          External commands are on the disk as program files.  When an 
  225.                   external command is entered, the OS/2 operating system 
  226.                   searches for it in the current directory of the default or 
  227.                   specified drive.  If not found, the operating system 
  228.                   continues searching for it in the directories listed in the 
  229.                   path statement.  Their names are preceded by an optional 
  230.                   drive and path parameter in a syntax diagram. 
  231.  
  232.  
  233. ΓòÉΓòÉΓòÉ 2.1. File and Directory Concepts ΓòÉΓòÉΓòÉ
  234.  
  235. Information on a computer is organized into files and directories.  A file is a 
  236. piece of information, like a document.  It can contain text, graphics, or 
  237. information that starts and runs a program when the file is selected.  Files 
  238. that start programs when entered at the command line or in a batch file are 
  239. called program files.  Program file names usually have extensions of .COM, 
  240. .EXE, .CMD (OS/2 sessions), or .BAT (DOS sessions). 
  241.  
  242. A directory is a group of related files, like a folder containing related 
  243. documents.  A directory that is part of another directory is called a 
  244. subdirectory.  When you installed the OS/2 operating system, some of its files 
  245. were copied from the OS/2 diskettes to the root directory, which is the main 
  246. index for directories and files in the operating system. The directory you are 
  247. currently using is called the current directory.  If you stay in the root 
  248. directory, for instance, then it is also your current directory. 
  249.  
  250. You can give your files and directories any names that conform to either High 
  251. Performance File System (HPFS) or file allocation table (FAT) rules.  For 
  252. details on naming files and directories, select HPFS or FAT. 
  253.  
  254.  
  255. ΓòÉΓòÉΓòÉ <hidden> OS/2 ΓòÉΓòÉΓòÉ
  256.  
  257. Trademark of the IBM Corporation. 
  258.  
  259.  
  260. ΓòÉΓòÉΓòÉ 2.2. How to Read a Syntax Diagram ΓòÉΓòÉΓòÉ
  261.  
  262. The first step in reading a syntax diagram is to determine the environment in 
  263. which the command operates.  Most commands work in both OS/2* and DOS sessions 
  264. although each environment affects the processing of programs and commands 
  265. differently. Commands that provide functions specific to only one environment 
  266. are identified by one of the following symbols: 
  267.  
  268.  OS/2 sessions only 
  269.  
  270.  DOS sessions only 
  271.  
  272. A syntax diagram shows you how to enter a command so that the OS/2 operating 
  273. system can correctly interpret what you type.  When viewing a syntax diagram, 
  274. read from left to right and from top to bottom.  The command name and items 
  275. required to make the command work appear on the baseline; the items below the 
  276. baseline are optional.  A line ending with an arrowhead means that the diagram 
  277. is continued.  A line starting with an arrowhead means that the syntax is 
  278. continued from the previous line.  A vertical bar marks the end of the command 
  279. syntax. 
  280.  
  281. Parameters are classified as keywords, variables, or a combination of both. 
  282. Include all punctuation shown in the diagram, such as colons, semicolons, 
  283. commas, quotation marks, and equal signs. 
  284.  
  285. Specify a Sequence More Than Once:  An arrow below the main path that returns 
  286. to a previous point means the sequence of items included by the arrow can be 
  287. specified more than once. 
  288.  
  289. TYPE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  290.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ                Γöé
  291.            Γöé                                            Γöé
  292.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  293.  
  294. Specify Items Once in Any Order:  A stack of parameters with a return arrow 
  295. above the main path indicates one or more parameters can be specified in any 
  296. order, but each parameter can be specified only once. 
  297.  
  298. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ CHKDSK ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  299.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  300.  
  301.                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  302.                                          Γöé              Γöé
  303. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  304.    ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ     Γö£ΓöÇ /F ΓöÇΓöñ      Γö£ΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  305.                                  ΓööΓöÇ /V ΓöÇΓöÿ      ΓööΓöÇ /F:n ΓöÇΓöÿ
  306.  
  307. Choose One Item from a Stack:  A stack of parameters with no return arrow means 
  308. that you cannot choose more than one from the stack. 
  309.  
  310.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ ANSI ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  311.     ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇ ON  ΓöÇΓöñ
  312.                                               ΓööΓöÇ OFF ΓöÇΓöÿ
  313.  
  314. Choose One Item from within a Stack:  Some diagrams show a stack of parameters 
  315. within another stack.  If the inner stack has no return arrow and the outer 
  316. stack has a return arrow above the main path, you can choose only one parameter 
  317. from the inner stack.  That parameter can be combined (in any order) with any 
  318. of the parameters from the outer stack. 
  319.  
  320.                                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  321.                                                        Γöé
  322. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ PRINT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇ
  323.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇ /D:device ΓöÇΓöñ
  324.                                        ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöÿ
  325.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  326.                                                          Γöé
  327. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  328.    ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             Γöé    Γöé  Γö£ΓöÇ /C ΓöÇΓöñ   Γöé
  329.   Γöé                                   Γöé    Γöé  ΓööΓöÇ /T ΓöÇΓöÿ   Γöé
  330.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇ /D:device ΓöÇΓöÿ
  331.  
  332. In this example, you can specify /D:device and /C once in any order, or you can 
  333. specify /D:device and /T once in any order, but you cannot specify /C and /T 
  334. together. 
  335.  
  336.  
  337. ΓòÉΓòÉΓòÉ 2.3. Using the Command Prompt ΓòÉΓòÉΓòÉ
  338.  
  339. The OS/2 Command Reference describes the purpose and syntax of OS/2* commands 
  340. that can be used at a command prompt. At the command prompt, type the command 
  341. in the same order that it is displayed in the syntax diagram or examples, and 
  342. press Enter to process the command.  The correct order includes one or more of 
  343. the following variables: 
  344.  
  345. command            The name of the OS/2 command you want to process. 
  346.  
  347. drive              The disk drive that stores the file or directory; for 
  348.                    example, A, B, or C. 
  349.  
  350. path               The route of subdirectory names to follow to arrive at the 
  351.                    file you want to access. 
  352.  
  353. filename           The name and optional extension of the file you want to 
  354.                    access. 
  355.  
  356. parameters         The command parameters that change or enhance the original 
  357.                    function of the command. 
  358.  
  359. For example, if you entered: 
  360.  
  361. COPY A:MISC.ABC C:
  362.  
  363. you would copy a file named MISC.ABC from drive A to drive C. 
  364.  
  365.  
  366. ΓòÉΓòÉΓòÉ 3. OS/2 Commands by Task Category ΓòÉΓòÉΓòÉ
  367.  
  368. An overview of OS/2* commands is available to you.  The commands are separated 
  369. into 6 task categories to help you associate groups of related commands and to 
  370. identify particular tasks with their appropriate commands.  More detailed 
  371. information and the syntax for a particular command can be found by selecting 
  372. the highlighted command in the listing.  To view the command categories, press 
  373. the Esc (Escape) key to return to the Contents.  Next, select the plus sign (+) 
  374. or press the + key. 
  375.  
  376. Note:   For information about command diagrams, select How to Read a Syntax 
  377.         Diagram. 
  378.  
  379.  
  380. ΓòÉΓòÉΓòÉ 3.1. File and Directory Management ΓòÉΓòÉΓòÉ
  381.  
  382. The following commands help you work with and maintain your files and 
  383. directories: 
  384.  
  385. ATTRIB              Turns the read-only and archive attributes of a file ON or 
  386.                     OFF. 
  387.  
  388. BACKUP              Saves one or more files from one disk to another. 
  389.  
  390. CD or CHDIR         Changes the current directory or displays its name. 
  391.  
  392. COMP                Compares the contents of the first set of specified files 
  393.                     with the contents of the second set of specified files. 
  394.  
  395. COPY                Copies one or more files and combines files. 
  396.  
  397. DEL or ERASE        Deletes one or more files. 
  398.  
  399. DIR                 Lists the files in a directory. 
  400.  
  401. EAUTIL              Splits and joins extended file attributes. 
  402.  
  403. FIND                Searches a file for a specific string of text. 
  404.  
  405. MD or MKDIR         Creates a new directory. 
  406.  
  407. MORE                Sends output from a file to the screen, one full screen at 
  408.                     a time. 
  409.  
  410. MOVE                Moves one or more files from one directory to another 
  411.                     directory on the same drive. 
  412.  
  413. PICVIEW             Displays a picture file. 
  414.  
  415. PRINT               Prints or cancels printing of one or more files. 
  416.  
  417. RD or RMDIR         Removes a directory. 
  418.  
  419. RECOVER             Recovers files from a disk containing defective sectors. 
  420.  
  421. REN or RENAME       Changes the name of a file. 
  422.  
  423. REPLACE             Selectively replaces files. 
  424.  
  425. RESTORE             Restores one or more backup files from one disk to another. 
  426.  
  427. SORT                Sorts information by letter or number. 
  428.  
  429. TREE                Displays all the directory paths and optionally lists 
  430.                     files. 
  431.  
  432. TYPE                Displays the contents of a file. 
  433.  
  434. UNDELETE            Recovers deleted or erased files. 
  435.  
  436. UNPACK              Decompresses and copies files that have been compressed. 
  437.                     (Compressed files are designated by an @ in the file 
  438.                     extension.) 
  439.  
  440. VIEW                Displays online documents. 
  441.  
  442. XCOPY               Selectively copies groups of files, including those in 
  443.                     subdirectories, from one disk to another. 
  444.  
  445.  
  446. ΓòÉΓòÉΓòÉ 3.2. Program Management ΓòÉΓòÉΓòÉ
  447.  
  448. Programs use varying amounts of resources from the system (memory and storage, 
  449. for example).  Careful planning is required to select the correct system 
  450. configuration and to satisfy short-term and long-term requirements.  The 
  451. following commands help you manage the programs on your system: 
  452.  
  453. APPEND                  Tells the system where to locate data files outside of 
  454.                         the current directory when this command is added to 
  455.                         your AUTOEXEC.BAT file. 
  456.  
  457. DETACH                  Starts a noninteractive program. 
  458.  
  459. DPATH                   Specifies the search path for data files outside a 
  460.                         current directory. 
  461.  
  462. LIBPATH                 Identifies the location of dynamic link libraries. 
  463.  
  464. MAXWAIT                 Sets the amount of time a process waits before the 
  465.                         system assigns it a higher priority. 
  466.  
  467. PRIORITY                Selects priority calculation in scheduling regular 
  468.                         class threads. 
  469.  
  470. PRIORITY_DISK_IO        Sets disk input/output priority for applications in the 
  471.                         foreground. 
  472.  
  473. SET                     Sets one string value in the environment equal to 
  474.                         another string for later use in programs. 
  475.  
  476. START                   Starts another OS/2 program in another session. 
  477.  
  478. THREADS                 Determines the maximum number of independent actions, 
  479.                         known as threads. 
  480.  
  481. TIMESLICE               Sets the amount of processor time the task receives 
  482.                         before it must give up processor resources. 
  483.  
  484.  
  485. ΓòÉΓòÉΓòÉ 3.3. Disk and Diskette Management ΓòÉΓòÉΓòÉ
  486.  
  487. The following commands help you prepare and maintain your disks and diskettes: 
  488.  
  489. ASSIGN              Assigns a drive letter to a different drive. 
  490.  
  491. BUFFERS             Sets the number of disk buffers for the system. 
  492.  
  493. CHKDSK              Scans a disk and checks it for errors. 
  494.  
  495. DISKCACHE           Allocates the amount of storage of an additional hard disk 
  496.                     buffer. 
  497.  
  498. DISKCOMP            Compares the contents of two diskettes. 
  499.  
  500. DISKCOPY            Copies the contents of one diskette to another diskette. 
  501.  
  502. FDISK               Enables you to partition the hard disks on your system. 
  503.  
  504. FDISKPM             Allows you to set up the hard disks on your system. 
  505.  
  506. FORMAT              Prepares a disk to accept OS/2 files. 
  507.  
  508. FSACCESS            Changes file system access from DOS sessions. 
  509.  
  510. IFS                 Installs a file system. 
  511.  
  512. IOPL                Allows input/output privilege to be granted or denied to 
  513.                     requesting processes. 
  514.  
  515. JOIN                Joins a disk drive to a specific path. 
  516.  
  517. LASTDRIVE           Specifies maximum number of accessible drives. 
  518.  
  519. LABEL               Displays the volume serial number and creates or changes 
  520.                     the volume identification label on a disk. 
  521.  
  522. MEM                 Displays used and free memory in DOS sessions. 
  523.  
  524. MEMMAN              Selects storage allocation options for OS/2 sessions. 
  525.  
  526. SUBST               Substitutes a drive letter for another drive and path. 
  527.  
  528. SWAPPATH            Specifies the location of the swap file and the minimum 
  529.                     amount of remaining disk space. 
  530.  
  531. VERIFY              Confirms that data written to a disk has been written 
  532.                     correctly. 
  533.  
  534. VMDISK              Creates an image file of a DOS startup diskette. 
  535.  
  536. VOL                 Displays the disk volume label and serial number. 
  537.  
  538.  
  539. ΓòÉΓòÉΓòÉ 3.4. Problem Determination ΓòÉΓòÉΓòÉ
  540.  
  541. The OS/2 operating system has several utility programs to ensure better 
  542. reliability, availability, and serviceability (RAS).  These tools are provided 
  543. to help in gathering information to isolate and correct system problems.  This 
  544. allows for more productive serviceability for system problems.  These tools are 
  545. intended for use only with help from your technical coordinator. 
  546.  
  547. AUTOFAIL            Displays system error information. 
  548.  
  549. CREATEDD            Creates a dump diskette for use with the Stand-Alone Dump 
  550.                     procedure 
  551.  
  552. MAKEINI             Creates a new OS2.INI file containing default information. 
  553.  
  554. PATCH               Allows you to apply IBM-supplied patches to make repairs to 
  555.                     software. 
  556.  
  557. PSTAT               Displays process status information 
  558.  
  559. SYSLEVEL            Displays operating system service level 
  560.  
  561. SYSLOG              Starts or stops adding system event information to the 
  562.                     System Log file. 
  563.  
  564. TRACE               Sets or selects system trace. 
  565.  
  566. TRACEBUF            Sets the size of the system trace buffer. 
  567.  
  568. TRACEFMT            Displays formatted trace records in reverse time stamp 
  569.                     order. 
  570.  
  571.  
  572. ΓòÉΓòÉΓòÉ 3.5. System Customization and Control ΓòÉΓòÉΓòÉ
  573.  
  574. Use the following commands to set up your system, making choices based on your 
  575. computer type and the tasks you want to perform: 
  576.  
  577. ANSI                 Allows extended keyboard and display support for OS/2 
  578.                      sessions. 
  579.  
  580. BOOT                 Switches operating systems. 
  581.  
  582. CHCP                 Displays or changes the current system code page. 
  583.  
  584. CLS                  Clears the display screen. 
  585.  
  586. CODEPAGE             Identifies the two code pages to be used for code-page 
  587.                      switching.  These code pages must be those supported for 
  588.                      the country specified by the country code in the COUNTRY 
  589.                      statement. 
  590.  
  591. COUNTRY              Specifies the country code and the complete name of the 
  592.                      file that contains a set of country information for each 
  593.                      code page supported for that country. 
  594.  
  595. DATE                 Displays or sets the system date from the command prompt. 
  596.  
  597. DDINSTAL             Provides an automated way to install new device drivers 
  598.                      after the operating system has been installed. 
  599.  
  600. DEVICE               Installs a device driver that is not on the Device Support 
  601.                      diskette. 
  602.  
  603. DEVINFO              Certain statements must be added to your CONFIG.SYS file 
  604.                      to start code page switching.  DEVINFO statements prepare 
  605.                      a device (such as your keyboard or display terminal) for 
  606.                      code page switching.  Separate DEVINFO statements are 
  607.                      required for each device to be used for code page 
  608.                      switching. 
  609.  
  610. DEVICEHIGH           Loads DOS device drivers into upper memory. 
  611.  
  612. FCBS                 Sets file control block information. 
  613.  
  614. GRAFTABL             Allows the extended code page to be displayed when the 
  615.                      system is using display adapters in graphics mode. 
  616.  
  617. HELP                 Provides a help line as part of the command prompt, a help 
  618.                      screen, and information related to warning and error 
  619.                      messages. 
  620.  
  621. KEYB                 Specifies a special keyboard layout that replaces the 
  622.                      current keyboard layout. 
  623.  
  624. KEYS                 Retrieves previously issued commands for editing or reuse. 
  625.  
  626. MODE                 Sets operation modes for devices.  These operations 
  627.                      include: 
  628.  
  629.    o Setting asynchronous communication modes for devices previously installed 
  630.    o Setting the display modes for switching adapters 
  631.    o Setting parallel printer modes 
  632.    o Setting diskette input/output write verification. 
  633.  
  634. PATH                 Specifies the search path for programs and commands. 
  635.  
  636. PAUSEONERROR         Allows or prevents pausing when errors or warning messages 
  637.                      occur during the processing of the CONFIG.SYS file. 
  638.  
  639. PRINTMONBUFSIZE      Sets the size of the buffer for the parallel port device 
  640.                      driver. 
  641.  
  642. PROMPT               Sets the system prompt. 
  643.  
  644. PROTECTONLY          Specifies an OS/2-only operating environment. 
  645.  
  646. PROTSHELL            Loads the user interface program. 
  647.  
  648. PSTAT                Displays process, thread, shared memory, and dynamic-link 
  649.                      library information. 
  650.  
  651. RMSIZE               Sets the amount of storage used for running DOS programs. 
  652.  
  653. RUN                  Loads and starts a program during system startup. 
  654.  
  655. SET                  Sets one string value in the environment equal to another 
  656.                      string for later use in programs. 
  657.  
  658. SPOOL                Intercepts and separates data from different sources going 
  659.                      to the printer so that printer output is not intermixed. 
  660.  
  661. SYSLOG               Logs system events in the System Log file. 
  662.  
  663. TIME                 Displays or changes the time known to the system and 
  664.                      resets the time of your computer. 
  665.  
  666. TIMESLICE            Sets the minimum and maximum amount of processor time 
  667.                      allocated to processes and programs for both OS/2 and DOS 
  668.                      sessions. 
  669.  
  670. VER                  Displays the OS/2 version number. 
  671.  
  672.  
  673. ΓòÉΓòÉΓòÉ 3.6. Batch File and Command Processing ΓòÉΓòÉΓòÉ
  674.  
  675. The following commands are specifically designed for batch-file and 
  676. command-processing operations: 
  677.  
  678. CALL                Nests a batch file within a batch file. 
  679.  
  680. CMD                 Starts another OS/2 command processor. 
  681.  
  682. COMMAND             Starts another DOS command processor. 
  683.  
  684. ECHO                Allows or prevents the display of OS/2 commands when a 
  685.                     batch file is running. 
  686.  
  687. ENDLOCAL            Restores the drive, directory, and variables that were in 
  688.                     effect before a SETLOCAL command was issued. 
  689.  
  690. EXIT                Ends the current command processor and returns to the 
  691.                     previous one, if one exists. 
  692.  
  693. EXTPROC             Defines an external batch-file processor. 
  694.  
  695. FOR                 Allows repetitive processing of commands within a batch 
  696.                     file. 
  697.  
  698. GOTO                Transfers batch processing to a specified label. 
  699.  
  700. IF                  Allows conditional processing of commands within a batch 
  701.                     file. 
  702.  
  703. PAUSE               Suspends batch-file processing. 
  704.  
  705. PROTSHELL           Specifies the user interface program and the OS/2 command 
  706.                     processor. 
  707.  
  708. REM                 Displays remarks from within a batch file. 
  709.  
  710. SETLOCAL            Sets the drive, directory, and variables that are local to 
  711.                     the current batch file. 
  712.  
  713. SHELL               Specifies the DOS command processor. 
  714.  
  715. SHIFT               Allows more than 10 replaceable parameters to be processed 
  716.                     from a batch file. 
  717.  
  718.  
  719. ΓòÉΓòÉΓòÉ 4. OS/2 Commands by Name ΓòÉΓòÉΓòÉ
  720.  
  721. A description of each OS/2 command is available to you.  Each command includes 
  722. the following information: 
  723.  
  724. o The purpose of the command 
  725.  
  726. o The command syntax diagram and parameter definitions 
  727.  
  728. o The list of related commands 
  729.  
  730. o Information about using the command 
  731.  
  732. o Information concerning return codes that the command has defined. 
  733.  
  734. Note:   For information about command diagrams, select How to Read a Syntax 
  735.         Diagram. 
  736.  
  737. To view the list of OS/2 commands, press the Esc (Escape) key to return to the 
  738. Contents.  Next, select the plus sign (+) or press the + key. 
  739.  
  740.  
  741. ΓòÉΓòÉΓòÉ 4.1. ANSI - Use OS/2 Extended Keyboard and Display Features ΓòÉΓòÉΓòÉ
  742.  
  743. Allows or prevents extended display and keyboard support in the OS/2 
  744. environment. 
  745.  
  746.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ ANSI ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  747.     ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇ ON  ΓöÇΓöñ
  748.                                               ΓööΓöÇ OFF ΓöÇΓöÿ
  749.  
  750. Related Commands:  DEVICE=ANSI.SYS and KEYS 
  751.  
  752. If you enter this command without a parameter, ANSI displays its current 
  753. status. 
  754.  
  755. This command allows or prevents ANSI control sequence processing in OS/2 
  756. sessions.  You use ANSI control sequences to redefine keys, manipulate the 
  757. cursor, and change display color attributes. 
  758.  
  759. When KEYS is ON, ANSI extended keyboard support is disabled. 
  760.  
  761.  
  762. ΓòÉΓòÉΓòÉ <hidden> ANSI Examples ΓòÉΓòÉΓòÉ
  763.  
  764. To display extended display and keyboard support status, type the following: 
  765.  
  766. ANSI
  767.  
  768. To allow extended display and keyboard support, type the following: 
  769.  
  770. ANSI ON
  771.  
  772. To discontinue extended display and keyboard support, type the following: 
  773.  
  774. ANSI OFF
  775.  
  776.  
  777. ΓòÉΓòÉΓòÉ 4.2. APPEND - Set Search Path ΓòÉΓòÉΓòÉ
  778.  
  779. Sets a search path for data files that are outside the current directory. 
  780.  
  781. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ APPEND ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  782.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ /E ΓöÇΓöÿ
  783.  
  784. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  785.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ       Γö£ΓöÇ /PATH:ON  ΓöÇΓöñ
  786.                                 ΓööΓöÇ /PATH:OFF ΓöÇΓöÿ
  787.  
  788. Related Commands:  DPATH, PATH, SET 
  789.  
  790. Enter APPEND without a parameter to display the APPEND statement in your 
  791. AUTOEXEC.BAT file.  This statement can be set by system installation. 
  792.  
  793. Enter APPEND ; to cancel the APPEND command. 
  794.  
  795. The first time you use APPEND, it is an external command, and you might need to 
  796. specify a drive and path to locate it. Once APPEND is loaded, it becomes an 
  797. internal command, and a drive and path are no longer needed. 
  798.  
  799. APPEND is useful when you want to keep an application program and its 
  800. associated data files in one directory and group information by category in 
  801. other directories. If you specify a path with APPEND the first time you use it, 
  802. this path is not stored in the environment, and you can only view or change it 
  803. with the APPEND command.  You can append as many directories as you can specify 
  804. in a total of 128 characters. 
  805.  
  806. The search sequence for a specified file is: 
  807.  
  808.  1. Search the specified directory, or the current directory if you do not 
  809.     specify the directory. 
  810.  2. Search the directories indicated by the current APPEND command. 
  811.  
  812. APPEND is similar to the PATH command, although the PATH command finds only 
  813. startable files.  You can look at or modify APPEND paths in the environment by 
  814. using APPEND, or you can use the SET command. 
  815.  
  816.  
  817. ΓòÉΓòÉΓòÉ <hidden> APPEND Examples ΓòÉΓòÉΓòÉ
  818.  
  819. To query the environment for paths to data files and to find any files that 
  820. have paths in the WORDPROC or CALC subdirectories on drive C, enter the 
  821. following: 
  822.  
  823. PATH C:\WORDPROC;C:\CALC;
  824. APPEND /E
  825. APPEND C:\WORDPROC;C:\CALC;
  826.  
  827. If you want to find any files that have paths in the WORDPROC or CALC 
  828. subdirectories on drive C but do not want to query the environment for paths to 
  829. data files, enter the following: 
  830.  
  831. PATH C:\WORDPROC;C:\CALC;
  832. APPEND C:\WORDPROC;C:\CALC;
  833.  
  834. If you want to access files in the EDITOR directory when you are in another 
  835. directory, enter the following: 
  836.  
  837. APPEND = C:\OS2;C:\OS2\SYSTEM;
  838. C:\EDITOR;
  839.  
  840. If you want to search for a file using only a file name, type the following: 
  841.  
  842. APPEND /PATH:OFF
  843.  
  844. If you want to view a file, you can enter the following: 
  845.  
  846. TYPE MYFILE
  847.  
  848. APPEND searches until it finds the file. 
  849.  
  850.  
  851. ΓòÉΓòÉΓòÉ 4.3. ASSIGN - Assign Drives ΓòÉΓòÉΓòÉ
  852.  
  853. Assigns a drive letter to a different drive. ASSIGN allows you to perform disk 
  854. operations on drives other than A and B for programs that use only those two 
  855. drives. 
  856.  
  857. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ ASSIGN ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöñ
  858.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                   ΓööΓöÇ x = y ΓöÇΓöÿ Γöé
  859.                                           Γöé              Γöé
  860.                                           ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  861.  
  862. Related Commands:  JOIN, SUBST 
  863.  
  864. Enter this command without a parameter to reset all drives to their original 
  865. assignments. 
  866.  
  867. Family API programs cannot be loaded from cross-assigned drives. 
  868.  
  869. ASSIGN hides the true device type from commands that require actual drive 
  870. information.  The following commands do not work in DOS sessions on drives that 
  871. have ASSIGN in effect: 
  872.  
  873. CHKDSK 
  874. DISKCOMP 
  875. DISKCOPY 
  876. FORMAT 
  877. JOIN 
  878. LABEL 
  879. PRINT 
  880. RECOVER 
  881. RESTORE 
  882. SUBST 
  883.  
  884.  
  885. ΓòÉΓòÉΓòÉ <hidden> ASSIGN Examples ΓòÉΓòÉΓòÉ
  886.  
  887. To assign all requests for drive A to drive C, enter the following: 
  888.  
  889. ASSIGN A=C or ASSIGN A C
  890.  
  891. To assign all requests for drives A and B to drive C, enter the following: 
  892.  
  893. ASSIGN A=C B=C
  894.  
  895.  
  896. ΓòÉΓòÉΓòÉ 4.4. ATTRIB - Set File Attributes ΓòÉΓòÉΓòÉ
  897.  
  898. Displays the current file state.  It also turns on or off the read-only 
  899. attribute and the archive bit of a file for selected files in a directory, or 
  900. for all files in a directory level. 
  901.  
  902.                                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  903.                                                          Γöé
  904. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ ATTRIB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇ
  905.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇΓö¼ΓöÇ +R ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  906.                                          Γöé   ΓööΓöÇ -R ΓöÇΓöÿ   Γöé
  907.                                          Γö£ΓöÇΓöÇΓöÇΓö¼ΓöÇ +S ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  908.                                          Γöé   ΓööΓöÇ -S ΓöÇΓöÿ   Γöé
  909.                                          Γö£ΓöÇΓöÇΓöÇΓö¼ΓöÇ +H ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  910.                                          Γöé   ΓööΓöÇ -H ΓöÇΓöÿ   Γöé
  911.                                          ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇ +A ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  912.                                             ΓööΓöÇΓöÇ -A ΓöÇΓöÇΓöÿ
  913.  
  914. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ  filename  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  915.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                       ΓööΓöÇ /S ΓöÇΓöÿ
  916.  
  917. Related Commands: BACKUP, RESTORE, XCOPY 
  918.  
  919. Enter this command along with the name of a file to display the current file 
  920. state.  This command is useful in keeping files from being modified.  When you 
  921. turn on the read-only attribute of a file, you can read it, but you cannot 
  922. write to it or change it. 
  923.  
  924. You can specify the optional +R, -R, +A, -A, +S, -S, +H, or -H parameters 
  925. either before or after the file name. Be sure to use only one read-only 
  926. attribute and one archive attribute per command. 
  927.  
  928. If a file exists in more than one directory, you can use the /S parameter to 
  929. find all occurrences of that file. 
  930.  
  931. Return Codes:  ATTRIB issues a return code of 0 for normal completion. 
  932.  
  933.  
  934. ΓòÉΓòÉΓòÉ <hidden> ATTRIB Examples ΓòÉΓòÉΓòÉ
  935.  
  936. To turn on the read-only attribute of a file named LETTER.TXT, type the 
  937. following: 
  938.  
  939. ATTRIB +R LETTER.TXT
  940.  
  941. To remove the read-only attribute from a file named LETTER.TXT, type the 
  942. following: 
  943.  
  944. ATTRIB -R LETTER.TXT
  945.  
  946. To turn on the archive bit of a file named LETTER.TXT, enter type the 
  947. following: 
  948.  
  949. ATTRIB +A LETTER.TXT
  950.  
  951. To turn off the archive bit and turn on the read-only attribute of a file named 
  952. LETTER.TXT, enter the following. 
  953.  
  954. ATTRIB -A +R LETTER.TXT
  955.  
  956. To turn off the archive bit of the LETTER.TXT file in the REPORTS directory on 
  957. drive D, enter the following: 
  958.  
  959. ATTRIB -A D:\REPORTS\LETTER.TXT
  960.  
  961. To set the file, LETTER.TXT, as a system file, type the following: 
  962.  
  963. ATTRIB +S LETTER.TXT
  964.  
  965. To clear the file, LETTER.TXT, as a system file, type the following: 
  966.  
  967. ATTRIB -S LETTER.TXT
  968.  
  969. To set the file, LETTER.TXT, as a hidden file, type the following: 
  970.  
  971. ATTRIB +H LETTER.TXT
  972.  
  973. To clear the file, LETTER.TXT, as a hidden file, type the following: 
  974.  
  975. ATTRIB -H LETTER.TXT
  976.  
  977. To display the current settings of the archive and read-only bits for all the 
  978. files on drive C, enter the following: 
  979.  
  980. ATTRIB C:\*.* /S
  981.  
  982. To find all occurrences of a file named LETTER.TXT on drive C, enter the 
  983. following: 
  984.  
  985. ATTRIB C:\LETTER.TXT /S
  986.  
  987.  
  988. ΓòÉΓòÉΓòÉ 4.5. AUTOFAIL - Display Error Information ΓòÉΓòÉΓòÉ
  989.  
  990. Enables information about error conditions to be displayed. 
  991.  
  992. AUTOFAIL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  993.                      Γö£ΓöÇΓöÇ NO  ΓöÇΓöÇΓöñ
  994.                      ΓööΓöÇΓöÇ YES ΓöÇΓöÇΓöÿ
  995.  
  996. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  997. command prompt. 
  998.  
  999. This CONFIG.SYS statement allows the OS/2 operating system to display 
  1000. information about error conditions such as hard errors.  A hard error is an 
  1001. error condition that requires you to reconfigure the system or remove the 
  1002. source of the error before the system can resume reliable operation. 
  1003.  
  1004. The system default is AUTOFAIL=NO, which causes a window to appear that informs 
  1005. you of an error condition.  The YES parameter causes the appropriate error code 
  1006. to appear rather than a window. 
  1007.  
  1008.  
  1009. ΓòÉΓòÉΓòÉ <hidden> AUTOFAIL Examples ΓòÉΓòÉΓòÉ
  1010.  
  1011. The default is NO. To cause a window that informs you of an error condition to 
  1012. appear, add the following statement to the CONFIG.SYS file and restart your 
  1013. system. 
  1014.  
  1015. AUTOFAIL
  1016.  
  1017. or 
  1018.  
  1019. AUTOFAIL=NO
  1020.  
  1021. To cause an error code to appear, add the following statement to the CONFIG.SYS 
  1022. file and restart your system. 
  1023.  
  1024. AUTOFAIL=YES
  1025.  
  1026.  
  1027. ΓòÉΓòÉΓòÉ 4.6. BACKUP - Save Files ΓòÉΓòÉΓòÉ
  1028.  
  1029. Backs up (copies) one or more files from one disk to another. 
  1030.  
  1031. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ BACKUP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1032.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  1033.  
  1034. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ source drive ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1035.                      Γö£ΓöÇΓöÇΓöÇΓöÇ  path  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1036.                      ΓööΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÿ
  1037.                    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1038.        target                                         Γöé
  1039. ΓöÇΓöÇΓöÇΓöÇΓöÇ  drive  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöñ
  1040.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /L:filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1041.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /D:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1042.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /T:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1043.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1044.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1045.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F:xxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1046.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1047.  
  1048. Related Commands:  ATTRIB, RESTORE, XCOPY 
  1049.  
  1050. Note that: 
  1051.  
  1052. o After BACKUP fills a diskette, BACKUP prompts you to insert a new diskette. 
  1053.   Label each diskette in consecutive order, recording the date and diskette 
  1054.   number.  When you restore the files, RESTORE prompts you to insert the backup 
  1055.   diskettes in order. 
  1056.  
  1057. o BACKUP works only within the source directory unless you specify the /S 
  1058.   parameter, which copies files in the source directory and in all directories 
  1059.   below the starting source directory. 
  1060.  
  1061. o BACKUP can back up files on disks of different types. 
  1062.  
  1063. o If the source is a diskette, it should not be write-protected because BACKUP 
  1064.   needs to reset the archive bit on the backed-up files. 
  1065.  
  1066. o BACKUP does not back up the system files (COMMAND.COM and CMD.EXE), hidden 
  1067.   system files, and any open dynamic link library files (.DLL).  BACKUP also 
  1068.   does not back up any files opened with Deny Read/Write.  BACKUP issues a 
  1069.   system message if you try to back up one of these files. 
  1070.  
  1071. o If you are sharing files, you can back up only those files that you have 
  1072.   access to.  If you attempt to access a file that you do not have access to, 
  1073.   BACKUP displays a message stating that it was not able to back up the file. 
  1074.  
  1075. o Files that you back up do not appear in the root directory on the target 
  1076.   diskette.  BACKUP creates two files, called BACKUP.XXX and CONTROL.XXX, in 
  1077.   the root directory on the target diskette.  The BACKUP.XXX file contains all 
  1078.   the files that have been backed up, and the CONTROL.XXX file saves paths, 
  1079.   file names, and other controlling information. 
  1080.  
  1081. Extended Attributes:  The BACKUP command saves the extended attributes 
  1082. associated with a file or directory.  An extended attribute is a special area 
  1083. used for storing data that describes the file or directory to the operating 
  1084. system or to an application. When backing up files or directories that have 
  1085. extended attributes, be sure to use OS/2 Version 1.2 (or later) to ensure all 
  1086. extended file attributes are backed up. 
  1087.  
  1088. Return Codes: 
  1089.  
  1090. 0 -  Normal completion. 
  1091. 1 -  No files were found to back up. 
  1092. 2 -  Some files or directories were not processed because of file errors. 
  1093. 3 -  Ended by user. 
  1094. 4 -  Ended because of error. 
  1095. 5 -  Not defined. 
  1096. 6 -  BACKUP was unable to process the FORMAT command. 
  1097.  
  1098.  
  1099. ΓòÉΓòÉΓòÉ <hidden> BACKUP Examples ΓòÉΓòÉΓòÉ
  1100.  
  1101. To back up a file named ABCD.FIL from the MYFILES directory to drive A, enter 
  1102. the following: 
  1103.  
  1104. BACKUP C:\MYFILES\ABCD.FIL A:
  1105.  
  1106. To back up all of the files on drive C to drive A, enter the following: 
  1107.  
  1108. BACKUP C: A:
  1109.  
  1110. To back up files from the current directory on drive C to drive A and to create 
  1111. a log file named BACKUP.LOG, enter the following: 
  1112.  
  1113. BACKUP C: A: /L
  1114.  
  1115. To back up files changed on or after June 15, 1990 from the current directory 
  1116. on drive C to drive A, enter the following: 
  1117.  
  1118. BACKUP C: A: /D:06-15-90
  1119.  
  1120. To back up files changed on or after 11:45 a.m. from the current directory on 
  1121. drive C to drive A, enter the following: 
  1122.  
  1123. BACKUP C: A: /T:11:45:00
  1124.  
  1125. To back up files in the current directory on drive C that were changed since 
  1126. the last backup to drive A, enter the following: 
  1127.  
  1128. BACKUP C: A: /M
  1129.  
  1130. To add the files on drive B to the backed-up files already on the diskette in 
  1131. drive A, enter the following: 
  1132.  
  1133. BACKUP B: A: /A
  1134.  
  1135. To back up all files from the root directory on drive C to drive A and to 
  1136. format any diskettes to 1.2MB, enter the following: 
  1137.  
  1138. BACKUP C: A: /F:1200
  1139.  
  1140. To back up all of the contents of drive C, including all of the files and all 
  1141. of the subdirectories within drive C, to multiple diskettes on drive A, enter 
  1142. the following: 
  1143.  
  1144. BACKUP C:\*.* A: /S
  1145.  
  1146.  
  1147. ΓòÉΓòÉΓòÉ 4.7. BASEDEV - Install Base Device Drivers ΓòÉΓòÉΓòÉ
  1148.  
  1149. Installs a base device driver by specifying the complete file name of the 
  1150. device driver in your CONFIG.SYS file. 
  1151.  
  1152. BASEDEV=ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  1153.                                         ΓööΓöÇ arguments ΓöÇΓöÿ
  1154.  
  1155. Related Commands:  DEVICE 
  1156.  
  1157. A device driver is a file that contains the code that the OS/2 operating system 
  1158. needs to recognize a device and correctly process information received from or 
  1159. sent to that device.  A base device driver is one that is needed when the OS/2 
  1160. operating system is first started. 
  1161.  
  1162. The BASEDEV statement is used to load base device drivers.  Device support for 
  1163. disks, diskettes, printers connected to the workstation, and other devices, is 
  1164. loaded with the BASEDEV statement. 
  1165.  
  1166. Unlike the DEVICE statement, the BASEDEV statement cannot contain either drive 
  1167. or path information because the OS/2 operating system cannot process such 
  1168. information at the stage of the startup sequence when the BASEDEV statements 
  1169. are processed. The root directory of the startup partition is first searched 
  1170. for the specified file name, then the \OS2 directory of the startup partition. 
  1171. If drive or path information is included in a BASEDEV statement, an error is 
  1172. generated. 
  1173.  
  1174. In addition, BASEDEV statements are not necessarily processed in the order in 
  1175. which they appear in your CONFIG.SYS file.  The extensions of the file names 
  1176. specified in the BASEDEV statements are examined; the statements are then 
  1177. processed in the following order of file name extensions: 
  1178.  
  1179.  .SYS 
  1180.  .BID 
  1181.  .VSD 
  1182.  .TSD 
  1183.  .ADD 
  1184.  .I13 
  1185.  .FLT 
  1186.  .DMD 
  1187.  
  1188. Files with other file-name extensions will not be loaded. 
  1189.  
  1190. If several BASEDEV statements load file names with the same extension, those 
  1191. files will be loaded in the order in which they appear in the CONFIG.SYS file. 
  1192.  
  1193. For more specific information about base device drivers, select the highlighted 
  1194. device driver or one of the topics in the "Related Information" section below. 
  1195. The following base device drivers are included with your OS/2 diskettes: 
  1196.  
  1197. Related Information: 
  1198.  
  1199. o OS/2 Device Managers 
  1200.  
  1201. o Adaptec Device Driver Parameters 
  1202.  
  1203. o Future Domain Device Driver Parameters 
  1204.  
  1205. o DPT Device Driver Parameters 
  1206.  
  1207. IBM2ADSK.ADD        Device support for non-SCSI disk drives on Micro Channel* 
  1208.                     workstations. 
  1209.  
  1210. OS2DASD.DMD         General-purpose device support for disk drives. 
  1211.  
  1212. IBM1FLPY.ADD        Device support for diskette drives on non-Micro Channel 
  1213.                     workstations. 
  1214.  
  1215. IBM2FLPY.ADD        Device support for diskette drives on Micro Channel 
  1216.                     workstations. 
  1217.  
  1218. IBM1S506.ADD        Device support for non-SCSI disk drives on non-Micro 
  1219.                     Channel workstations. 
  1220.  
  1221. IBMINT13.I13        General-purpose device support for non-Micro Channel SCSI 
  1222.                     adapters. 
  1223.  
  1224. PRINT01.SYS         Device support for locally attached printers on non-Micro 
  1225.                     Channel workstations. 
  1226.  
  1227. PRINT02.SYS         Device support for locally attached printers on Micro 
  1228.                     Channel workstations. 
  1229.  
  1230. IBM2SCSI.ADD        Device support for Micro Channel SCSI adapters. 
  1231.  
  1232. OS2SCSI.DMD         General-purpose device support for non-disk SCSI devices. 
  1233.  
  1234.  
  1235. ΓòÉΓòÉΓòÉ <hidden> BASEDEV Examples ΓòÉΓòÉΓòÉ
  1236.  
  1237. Suppose you have a base device driver named XYZSCSI.ADD that supports an 
  1238. adapter from a personal computer manufacturer.  Once installed, the following 
  1239. line will appear in your CONFIG.SYS file: 
  1240.  
  1241. BASEDEV=XYZSCSI.ADD
  1242.  
  1243.  
  1244. ΓòÉΓòÉΓòÉ 4.8. BOOT -- Change Operating Systems ΓòÉΓòÉΓòÉ
  1245.  
  1246. Switches between the DOS and OS/2* operating systems that are on the same hard 
  1247. disk (drive C). 
  1248.  
  1249.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ BOOT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ /OS2 ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  1250.     ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓöÿ                ΓööΓöÇ /DOS ΓöÇΓöÿ
  1251.  
  1252. The BOOT command can be run from an OS/2 command prompt or a DOS command prompt 
  1253. as well as from DOS. 
  1254.  
  1255. BOOT is available under the following conditions: 
  1256.  
  1257. o DOS Version 3.2 (or a later version) was installed and operating on drive C 
  1258.   before the OS/2 operating system was installed. (It is recommended that you 
  1259.   use DOS 3.3, DOS 4.0, or DOS 5.0 for greater compatibility with OS/2 2.1.) 
  1260.  
  1261. o Drive C was not formatted during OS/2 installation. 
  1262.  
  1263. o The High Performance File System was not installed on drive C. 
  1264.  
  1265. Before typing the BOOT command, make sure all system operations are complete 
  1266. and all programs are stopped. 
  1267.  
  1268. BOOT verifies that the following files exist: 
  1269.  
  1270. OS/2 files 
  1271.  
  1272.    OS2LDR (hidden file) 
  1273.    OS2KRNL (hidden file) 
  1274.    OS2\SYSTEM\BOOT.OS2 
  1275.    OS2\SYSTEM\CONFIG.OS2 
  1276.  
  1277. DOS files 
  1278.  
  1279.    IBMBIO.COM or MSDOS.SYS (hidden file) 
  1280.    IBMDOS.COM or IO.SYS (hidden file) 
  1281.    OS2\SYSTEM\BOOT.DOS 
  1282.    OS2\SYSTEM\CONFIG.DOS 
  1283.  
  1284. When you use the BOOT command to start DOS from the OS/2 operating system, BOOT 
  1285. renames and stores system startup information as follows: 
  1286.  
  1287.  1. Saves the OS/2 boot record as C:\OS2\SYSTEM\BOOT.OS2 
  1288.  
  1289.  2. Moves the OS/2 AUTOEXEC.BAT file to C:\OS2\SYSTEM\AUTOEXEC.OS2. 
  1290.  
  1291.  3. Moves the OS/2 CONFIG.SYS file to C:\OS2\SYSTEM\CONFIG.OS2. 
  1292.  
  1293.  4. Copies C:\OS2\SYSTEM\BOOT.DOS to the DOS boot record. 
  1294.  
  1295.  5. Moves the DOS AUTOEXEC.BAT file from C:\OS2\SYSTEM\AUTOEXEC.DOS to the root 
  1296.     directory as BOOT moves the OS/2 AUTOEXEC.BAT file. 
  1297.  
  1298.  6. Moves the DOS CONFIG.SYS file from C:\OS2\SYSTEM\CONFIG.DOS to the root 
  1299.     directory as BOOT moves the OS/2 CONFIG.SYS file. 
  1300.  
  1301. BOOT reverses the process when you want to start the OS/2 operating system. 
  1302.  
  1303. Return Codes:  BOOT displays either a return code of 0 for normal completion or 
  1304. the appropriate error message. 
  1305.  
  1306.  
  1307. ΓòÉΓòÉΓòÉ <hidden> BOOT Examples ΓòÉΓòÉΓòÉ
  1308.  
  1309. To start the OS/2 operating system, from a DOS operating system, enter the 
  1310. following: 
  1311.  
  1312. C:\OS2\BOOT /OS2
  1313.  
  1314. Press Enter and respond to the prompt that appears. 
  1315.  
  1316. To start a DOS operating system from the OS/2 operating system, enter the 
  1317. following: 
  1318.  
  1319. BOOT /DOS
  1320.  
  1321. Press Enter and respond to the following message: 
  1322.  
  1323. SYS1714: Warning! Make sure all your programs have completed
  1324. or data will be lost when the system is restarted.
  1325.  
  1326. You requested to start DOS from drive C:
  1327. Your system will be reset. Do you want to continue (Y/N)?
  1328.  
  1329. To create a simple batch file named OS2.BAT to use in DOS (Version 3.2 and 
  1330. later) that will change the operating system to OS/2 2.1, type the following in 
  1331. your OS2.BAT batch file: 
  1332.  
  1333. C:\OS2\BOOT /OS2
  1334.  
  1335. To create batch files named DOS.BAT and DOS.CMD to use in the OS/2 2.1 
  1336. operating system that will change the operating system to your present level of 
  1337. DOS (Version 3.2 and later), type the following in your DOS.BAT or DOS.CMD 
  1338. batch file: 
  1339.  
  1340. C:\OS2\BOOT /DOS
  1341.  
  1342. Note:   To be effective, the preceding batch files must reside within an active 
  1343.         subdirectory in the current path statement. 
  1344.  
  1345.  
  1346. ΓòÉΓòÉΓòÉ 4.9. BREAK - Check for Ctrl+Break ΓòÉΓòÉΓòÉ
  1347.  
  1348. Instructs DOS to check whether the Ctrl and Break keys have been pressed before 
  1349. carrying out a program request. 
  1350.  
  1351. BREAK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1352.                   Γö£ΓöÇΓöÇ ON  ΓöÇΓöÇΓöñ
  1353.                   ΓööΓöÇΓöÇ OFF ΓöÇΓöÇΓöÿ
  1354.  
  1355. Enter the BREAK command at the DOS command prompt to display the current 
  1356. status. 
  1357.  
  1358. BREAK instructs the system to check if you pressed the Ctrl and Break keys 
  1359. together before the system carries out a program request. Pressing and holding 
  1360. the Ctrl and Break keys together stops a command from completing its task. 
  1361.  
  1362. BREAK can be entered in the CONFIG.SYS file, in a batch file, or at the command 
  1363. prompt.  If BREAK is ON, processing might be slower, but the operating system 
  1364. will probably intercept Ctrl+Break faster.  Setting BREAK=ON allows you to 
  1365. leave a program even if it produces few or no standard device operations (such 
  1366. as a compiler).  For example, if a program is being compiled and it meets an 
  1367. error or loop, it is important to have a way to stop compilation. 
  1368.  
  1369.  
  1370. ΓòÉΓòÉΓòÉ <hidden> BREAK Examples ΓòÉΓòÉΓòÉ
  1371.  
  1372. The default is OFF 
  1373.  
  1374. To check whether Ctrl+Break has been pressed only when output is written to 
  1375. your screen or printer, or when input is read from your keyboard, enter the 
  1376. following statement in your CONFIG.SYS file: 
  1377.  
  1378. BREAK=OFF
  1379.  
  1380. To have the system check for Ctrl+Break when you request it, enter the 
  1381. following statement in your CONFIG.SYS file: 
  1382.  
  1383. BREAK=ON
  1384.  
  1385.  
  1386. ΓòÉΓòÉΓòÉ 4.10. BUFFERS - Determine Number of Disk Buffers ΓòÉΓòÉΓòÉ
  1387.  
  1388. Sets the number of disk buffers that the system uses. 
  1389.  
  1390. BUFFERS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1391.  
  1392. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  1393. command prompt. 
  1394.  
  1395. The disk buffer is a 512-byte block of storage the system uses to read and 
  1396. write blocks of data that do not occupy an entire sector.  You can increase the 
  1397. speed of your system by increasing the value specified for BUFFERS.  However, 
  1398. when you increase the number of disk buffers, you decrease your available 
  1399. memory. You might want to experiment with the number of buffers to get maximum 
  1400. performance.  Additional buffers can cause some applications to run more slowly 
  1401. because there is less memory available for the application to keep data.  More 
  1402. frequent read and write requests than are otherwise necessary might then 
  1403. result. 
  1404.  
  1405. Buffering, which is the allocation of storage, is one memory management method. 
  1406.  
  1407. By using the disk buffer, the operating system can read and write blocks of 
  1408. information.  Once the information is read into the buffer, the system is ready 
  1409. to process the information.  While the information is in the buffer or being 
  1410. processed, the input device can begin reading new pieces of information so the 
  1411. processor does not have to wait unnecessarily to process information and 
  1412. program instructions.  The processor can complete its operation, because the 
  1413. next block of information to process is already in the buffer area. 
  1414.  
  1415. Some other situations might also occur.  For example, suppose the processor 
  1416. completes its work and there is no information in the buffer to process.  The 
  1417. processor must wait until the next block of information is read into memory by 
  1418. the input device.  Similarly, if the input device reads information into the 
  1419. buffer before the system has time to process the records, the buffer might 
  1420. reach its capacity and have to wait until the system accepts more information 
  1421. to process. 
  1422.  
  1423. In your CONFIG.SYS file, there is a BUFFERS statement that determines the 
  1424. number of disk buffers that the operating system will keep in memory. 
  1425. Depending on how many programs you work with at a given time, you might want to 
  1426. experiment with this number to maximize performance on your system. 
  1427.  
  1428. If you run many programs in OS/2 sessions, you can increase the speed of your 
  1429. system by increasing the value specified for BUFFERS (for example, BUFFERS=70). 
  1430. However, remember that when you increase the number of disk buffers, you 
  1431. decrease your available memory by 512 bytes for each buffer specified. 
  1432. Additional buffers might cause some programs to run more slowly because there 
  1433. is less memory available for the program to keep information.  This can result 
  1434. in more frequent memory swapping, which will slow down performance. 
  1435.  
  1436.  
  1437. ΓòÉΓòÉΓòÉ <hidden> BUFFERS Examples ΓòÉΓòÉΓòÉ
  1438.  
  1439. To assign the number of buffers to 20, type the following in your CONFIG.SYS 
  1440. file: 
  1441.  
  1442. BUFFERS=20
  1443.  
  1444.  
  1445. ΓòÉΓòÉΓòÉ <hidden> IBM1FLPY.ADD Parameters ΓòÉΓòÉΓòÉ
  1446.  
  1447. In the majority of cases, the IBM1FLPY.ADD driver will determine parameters 
  1448. automatically.  The following parameters are provided in case it is necessary 
  1449. to override the default parameter selection. 
  1450.  
  1451. If you are trying to add a third diskette drive or a secondary diskette 
  1452. controller, you must use command line parameters to provide the driver with 
  1453. additional information about the hardware. Refer to the following examples: 
  1454.  
  1455. Examples: 
  1456.  
  1457. To define a third 1.2MB Floppy drive: 
  1458.  
  1459. BASEDEV=IBM1FLPY.ADD /A:0 /U:2 /F:1.2MB
  1460.  
  1461. To override the ChangeLine type for drive B: 
  1462.  
  1463. BASEDEV=IBM1FLPY.ADD /A:0 /U:1 /CL:NONE
  1464.  
  1465. To support a second installed floppy controller: 
  1466.  
  1467. BASEDEV=IBM1FLPY.ADD
  1468. BASEDEV=IBM1FLPY.ADD /A:0 /DMA:3 /IRQ:10 /P:370 /U:0 /F:1.44MB --+
  1469.                                                        +-----------------+
  1470.                                                        +----/U:1 /F:1.2MB
  1471.  
  1472. Choices of /DMA, /IRQ and /P depend on the supplier of the floppy controller. 
  1473. Consult the supplier of the controller for the appropriate settings for these 
  1474. values.  These settings must not conflict with the settings of the primary 
  1475. diskette controller. 
  1476.  
  1477. The first drive supported by the second controller will be assigned the letter 
  1478. B if this drive letter is available.  Specifying /A:1 will cause the second 
  1479. controller to be assigned drive letters other than A or B. 
  1480.  
  1481. Parameter Definitions: 
  1482.  
  1483. /A:0                     Adapter number, normally set to zero.  Setting /A:1 
  1484.                          controls whether the B drive letter is assigned to the 
  1485.                          primary or secondary diskette controller when multiple 
  1486.                          controllers are present. 
  1487.  
  1488. /IRQ:10                  IRQ level (dec).  Overrides the default IRQ level for 
  1489.                          this adapter.  The default IRQ level is 6.  For a 
  1490.                          secondary controller, this parameter must specify an 
  1491.                          IRQ level other than 6. 
  1492.  
  1493. /DMA:3                   DMA channel number.  Overrides the default DMA channel 
  1494.                          number for this adapter. The default DMA channel 
  1495.                          number is 2.  For a secondary controller, this 
  1496.                          parameter must specify a DMA channel other than 2. 
  1497.  
  1498. /P:370 or /PORT:370      Base port address (hex).  Overrides the default base 
  1499.                          port address for this adapter.  Ports assigned in this 
  1500.                          case would be 370-377.  The default base port address 
  1501.                          is 3F0.  For a secondary controller, this parameter 
  1502.                          must specify a base port other than 3F0. 
  1503.  
  1504. /U:0                     Unit Id.  Indicates the unit (diskette drive) to which 
  1505.                          the parameters will apply.  Unit 0 means the first 
  1506.                          drive attached to this controller.  Unit 3 indicates 
  1507.                          the fourth drive attached to the controller. 
  1508.  
  1509. /F:360KB                 Drive Capacity (360KB...2.88MB).  Indicates the 
  1510.                          maximum capacity for the diskette drive.  This 
  1511.                          parameter must be provided for diskette drives not 
  1512.                          normally supported by the System BIOS ROM. 
  1513.  
  1514. /CL:AT                   Changeline type (NONE, AT, PS2).  Indicates the type 
  1515.                          of media change signal provided by the drive. 
  1516.                          Normally, the IBM1FLPY driver will determine this 
  1517.                          parameter automatically. 
  1518.  
  1519.  
  1520. ΓòÉΓòÉΓòÉ <hidden> IBM1S506.ADD Parameters ΓòÉΓòÉΓòÉ
  1521.  
  1522. In the majority of cases, the IBM1S506.ADD driver will determine parameters 
  1523. automatically.  The following parameters are provided in case it is necessary 
  1524. to override the default parameter selection. 
  1525.  
  1526. In the case of ESDI drives formatted with sector sparing, it might be necessary 
  1527. to use the /!R parameter.  Refer to the discussion of the /!R parameter below. 
  1528.  
  1529. Examples: 
  1530.  
  1531. BASEDEV=IBM1S506.ADD /V /A:0 /U:0 /T:10 /GEO:(1314,7,26,-1) /A:1 /I
  1532. BASEDEV=IBM1S506.ADD /V /A:1 /P:120 /IRQ:11 /U:0 /T:10
  1533. BASEDEV=IBM1S506.ADD /V /A:1 /U:0 /GEO:20
  1534. BASEDEV=IBM1S506.ADD /V /A:0 /U:0 /SMS
  1535. BASEDEV=IBM1S506.ADD /V /A:0 /!R
  1536.  
  1537. Parameter Definitions: 
  1538.  
  1539. /V                       Verbose Mode.  Displays controller status and drive 
  1540.                          geometry information during OS/2 initialization. 
  1541.  
  1542. /A:0                     Adapter number.  /A:0 indicates that the parameters 
  1543.                          that follow apply to the primary disk controller. 
  1544.                          /A:1 indicates that the parameters that follow apply 
  1545.                          to the secondary disk controller. 
  1546.  
  1547. /I                       Ignore adapter.  The driver automatically attempts to 
  1548.                          locate and initialize both the primary and secondary 
  1549.                          adapters.  In some cases, other DASD controllers might 
  1550.                          appear between the primary and secondary IDE 
  1551.                          controllers.  In these cases, the system should be 
  1552.                          configured as follows: 
  1553.  
  1554.                                                   BASEDEV=IBM1S506.ADD /V /A:1 /I
  1555.                                                   BASEDEV=MOREDASD.ADD
  1556.                                                   BASEDEV=IBM1S506.ADD /V /A:0 /I
  1557.  
  1558. /!R                      Disable adapter resets.  In most cases, resets assist 
  1559.                          in recovering from transient hardware problems such as 
  1560.                          lost interrupts, timeouts, and unsupported commands. 
  1561.                          However, for some ESDI adapters, options set by vendor 
  1562.                          unique commands such as sector sparing might be lost 
  1563.                          after a reset.  Setting this parameter is recommended 
  1564.                          for ESDI adapters with disks formatted using sector 
  1565.                          sparing. 
  1566.  
  1567. /P:120 or /PORT:120      Base port address (hex).  Overrides the default base 
  1568.                          port address for this adapter.  Ports are still 
  1569.                          assigned and in this case would be 120-127 and 326. 
  1570.                          The default port addresses for Adapter 0 is 1F0 and 
  1571.                          for Adapter 1 is 170. 
  1572.  
  1573. /IRQ:11                  IRQ level (dec).  Overrides the default IRQ level for 
  1574.                          this adapter. The default IRQ level for Adapter 0 is 
  1575.                          (14) and for Adapter 1 is (15). 
  1576.  
  1577. /U:0                     Unit Id.  Unit 0 indicates parameters that follow 
  1578.                          apply to Drive 0.  Unit 1 indicates parameters that 
  1579.                          follow apply to Drive 1. 
  1580.  
  1581. /T:10                    Error retry time in seconds (dec).  Indicates the 
  1582.                          total allowable error recovery time for a request. 
  1583.                          Error recovery times less than 5 seconds will be 
  1584.                          ignored.  This parameter defaults to 30 seconds.  A 
  1585.                          shorter interval might be desirable for fault tolerant 
  1586.                          applications. 
  1587.  
  1588. /GEO:(1314,7,26,-1) or /GEO:20 Drive geometry override (dec).  Indicates the 
  1589.                          Cylinder/Head/Sector geometry for the drive.  This 
  1590.                          parameter is the Write Precompensation Cylinder which 
  1591.                          can be omitted for drives which do not require 
  1592.                          precompensation. 
  1593.  
  1594.                          As an alternate format, standard BIOS drive types can 
  1595.                          be used.  Types 0-47 are supported.  User defined 
  1596.                          types 48 and 49 should be entered directly in the 
  1597.                          previous format.  When specified, this parameter 
  1598.                          overrides other geometry sources.  If this parameter 
  1599.                          is absent, other geometry sources discussed above will 
  1600.                          be used. 
  1601.  
  1602. /SMS                     Enable Set Multiple Support.  This parameter enables 
  1603.                          Set Multiple Support which improves performance of 
  1604.                          some IDE drives.  If the drive does not have this 
  1605.                          feature, this parameter will be ignored.  The /V - 
  1606.                          (Verbose) parameter will indicate whether this feature 
  1607.                          has been enabled on a particular drive. 
  1608.  
  1609.  
  1610. ΓòÉΓòÉΓòÉ <hidden> OS/2 Device Managers ΓòÉΓòÉΓòÉ
  1611.  
  1612. Device Managers (.DMD) 
  1613.  
  1614. Device Managers provide communication between adapter device drivers (.ADDs) 
  1615. and either the OS/2 kernel or other device drivers. 
  1616.  
  1617. The following device managers handle a particular type of device: 
  1618.  
  1619. OS2DASD.DMD              Supports magnetic disk devices. This includes hard 
  1620.                          disk and diskette devices. 
  1621.  
  1622. OS2CDROM.DMD             Supports CD-ROM devices. 
  1623.  
  1624. The following device managers provide compatibility for existing device drivers 
  1625. written to common SCSI software interfaces.  Typically these device drivers 
  1626. support SCSI attached tape, optical or scanner devices.  Device drivers to run 
  1627. a particular SCSI device must be provided by the device or application 
  1628. supplier. 
  1629.  
  1630. OS2SCSI.DMD              Supports existing device drivers written to IBM's 
  1631.                          SCSI.SYS interface.  Usually a separate DEVICE= 
  1632.                          statement is present to load the device-specific SCSI 
  1633.                          driver.  For example: 
  1634.  
  1635.                                                   BASEDEV=OS2SCSI.DMD
  1636.                                                   DEVICE=OPTICAL.SYS
  1637.                                                   DEVICE=SCANNER.SYS
  1638.  
  1639. OS2ASPI.DMD              Supports existing device drivers written to Adaptec's 
  1640.                          ASPI interface.  A separate DEVICE= statement is 
  1641.                          present to load the device-specific SCSI driver.  For 
  1642.                          example: 
  1643.  
  1644.                                                   BASEDEV=OS2ASPI.DMD
  1645.                                                   DEVICE=ASPITAPE.SYS
  1646.  
  1647. Adapter Device Drivers 
  1648.  
  1649. Adapter device drivers provide a standardized interface for a wide range of 
  1650. SCSI and non-SCSI adapters.  The OS/2 2.1 operating system includes .ADD 
  1651. drivers for common SCSI and non-SCSI adapters.  ADD drivers for other SCSI or 
  1652. non-SCSI adapters might be available from the adapter supplier or IBM. 
  1653.  
  1654. Generic Adapter Device Driver 
  1655.  
  1656. If the OS/2 operating system cannot locate an appropriate .ADD driver, it uses 
  1657. this special .ADD driver which utilizes the BIOS present on most SCSI and 
  1658. non-SCSI DASD adapters.  This .ADD driver provides support only to DASD type 
  1659. devices.  It will activate only when other .ADD drivers present have not 
  1660. claimed all the DASD devices detected. 
  1661.  
  1662. IBMINT13.I13             Supports generic DASD controllers via BIOS code. 
  1663.  
  1664. Adapter Drivers for ISA/EISA Systems 
  1665.  
  1666. The following .ADD drivers are included for industry standard devices: 
  1667.  
  1668. IBM1FLPY.ADD             Supports standard diskette controllers. 
  1669.  
  1670. IBM1S506.ADD             Supports standard MFM, RLL, ESDI,IDE and hard disk 
  1671.                          controllers 
  1672.  
  1673. The following .ADD drivers are included for Adaptec ISA/EISA SCSI controller 
  1674. products: 
  1675.  
  1676. AHA152X.ADD              Supports Adaptec AHA-1510/1520/1522/6250. 
  1677.  
  1678. AHA154X.ADD              Supports Adaptec AHA-1540/1542. 
  1679.  
  1680. AHA174X.ADD              Supports Adaptec AHA-1740/1744. 
  1681.  
  1682. The following .ADD driver is included for DPT ISA/EISA SCSI controller 
  1683. products: 
  1684.  
  1685. DPT20XX.ADD              Supports DPT PM2011/2012. 
  1686.  
  1687. The following .ADD drivers are included for Future Domain ISA/EISA SCSI 
  1688. controller products: 
  1689.  
  1690. FD8XX.ADD                Supports Future Domain TMC-850/860/885. 
  1691.  
  1692. FD16-700.ADD             Supports Future Domain TMC-1650/1660/1670/1680. 
  1693.  
  1694. FD7000EX.ADD             Supports Future Domain TMC-7000EX. 
  1695.  
  1696. The following .ADD drivers are included for IBM ISA SCSI Controller products: 
  1697.  
  1698. FD850IBM.ADD             Supports IBM 8-Bit  ISA SCSI Adapter (TMC-850IBM). 
  1699.  
  1700. FD16IBM.ADD              Supports IBM 16-Bit ISA SCSI Adapter. 
  1701.  
  1702. Adapter Drivers for Micro Channel Systems 
  1703.  
  1704. The following .ADD drivers are included for standard devices: 
  1705.  
  1706. IBM2FLPY.ADD             Supports diskette drives. 
  1707.  
  1708. IBM2ADSK.ADD             Supports non-SCSI hard disks. 
  1709.  
  1710. The following .ADD drivers are included for Adaptec Micro Channel SCSI 
  1711. controller products: 
  1712.  
  1713. AHA164X.ADD              Supports Adaptec AHA-1640. 
  1714.  
  1715. The following .ADD drivers are included for Future Domain Micro Channel SCSI 
  1716. controller products: 
  1717.  
  1718. FD16-700.ADD             Supports Future Domain MCS-600/700. 
  1719.  
  1720. The following .ADD drivers are included for IBM Micro Channel SCSI controller 
  1721. products: 
  1722.  
  1723. IBM2SCSI.ADD             Supports IBM PS/2 SCSI Adapters. 
  1724.  
  1725.  
  1726. ΓòÉΓòÉΓòÉ <hidden> Adaptec SCSI Device Driver Parameters ΓòÉΓòÉΓòÉ
  1727.  
  1728. The parameters for the following adapter device drivers are described in this 
  1729. section: 
  1730.  
  1731. AHA152X.ADD 
  1732. AHA154X.ADD 
  1733. AHA164X.ADD (Micro Channel systems) 
  1734. AHA174X.ADD 
  1735.  
  1736. In the majority of cases, these .ADD drivers will determine parameters 
  1737. automatically.  The following parameters are provided in case it is necessary 
  1738. to override the default parameter selection. 
  1739.  
  1740. Suppose that you had a removable hard disk as SCSI Device 3 and you wanted to 
  1741. control this device with an ASPI application and driver. 
  1742.  
  1743. Normally OS2DASD.DMD will allocate this device, treating it as a large 
  1744. diskette.  The device would be unavailable to the ASPI application/driver.  The 
  1745. following statements will prevent OS2DASD.DMD from accessing the device. 
  1746.  
  1747. BASEDEV=AHA152X.ADD /A:0 /!DM:3
  1748. BASEDEV=AHA154X.ADD /A:0 /!DM:3
  1749. BASEDEV=AHA164X.ADD /A:0 /!DM:3
  1750. BASEDEV=AHA174X.ADD /A:0 /!DM:3
  1751.  
  1752. Suppose that you had a CD-ROM changer device which assigned each CD-ROM to a 
  1753. different SCSI logical unit (LUN).  Setting the /ET parameter will enable 
  1754. multiple logical unit (LUN) support. 
  1755.  
  1756. BASEDEV=AHA152X.ADD /ET
  1757. BASEDEV=AHA154X.ADD /ET
  1758. BASEDEV=AHA164X.ADD /ET
  1759. BASEDEV=AHA174X.ADD /ET
  1760.  
  1761. Parameter Definitions: 
  1762.  
  1763. /ET                      Search SCSI Devices for logical units (LUNs).  If any 
  1764.                          attached SCSI devices support multiple addressable 
  1765.                          units, then this parameter should be set. 
  1766.  
  1767.                          Certain CD-ROM drives which handle multiple CD-ROMs 
  1768.                          require this parameter. 
  1769.  
  1770.                          The default setting (/!ET) assumes each SCSI device 
  1771.                          has only one logical unit (LUN 0). 
  1772.  
  1773. /V                       Verbose.  Displays Adaptec.ADD driver version number. 
  1774.  
  1775. /!DM:1,5 or /!DM:(1,0),(5,0) Disable DASD Manager support.  The OS2DASD.DMD 
  1776.                          will manage any SCSI device that indicates it is a 
  1777.                          removable or fixed magnetic disk. 
  1778.  
  1779.                          In some cases, a device supplier might provide a 
  1780.                          specific driver written to either IBM SCSI.SYS or 
  1781.                          Adaptec ASPI interfaces. 
  1782.  
  1783.                          SCSI devices might be listed in single digits as SCSI 
  1784.                          device numbers, or as pairs of numbers indicating a 
  1785.                          SCSI device number and logical unit number.  In these 
  1786.                          cases, this parameter might be used to disable the 
  1787.                          OS/2 DASD Manager from claiming the device. 
  1788.  
  1789. /!SM:1,5 or /!SM:(1,0),(5,0) Disable SCSI manager support.  Prevents 
  1790.                          OS2SCSI.DMD from reporting that SCSI devices listed 
  1791.                          are available for allocation to drivers written to IBM 
  1792.                          SCSI.SYS interfaces.  SCSI devices might be listed in 
  1793.                          single digits as SCSI device numbers, or as pairs of 
  1794.                          numbers indicating a SCSI device number and logical 
  1795.                          unit number. 
  1796.  
  1797. /A:0                     Adapter number.  The number of the adapter to which 
  1798.                          the following parameters will apply. 
  1799.  
  1800. If multiple AHA-1540/1542 adapters are present, the adapters are numbered by 
  1801. their port addresses scanned in the following order:  330H, 334H, 230H, 234H, 
  1802. 130H, 134H. 
  1803.  
  1804. If multiple AHA-1520/1510/6250 adapters are present, the port addresses are 
  1805. 340H and 140H.  Adapter numbers are assigned sequentially for each adapter 
  1806. found starting with 0. 
  1807.  
  1808. If multiple AHA-1640 adapters are present, the adapters are numbered as 
  1809. follows: 
  1810.  
  1811. o AHA-1640 adapters with their BIOS enabled are detected first. 
  1812. o AHA-1640 adapters with their BIOS disabled are detected second.  In both 
  1813.   cases adapters are ordered by their Micro Channel slot address from lowest to 
  1814.   highest. 
  1815.  
  1816. If multiple AHA-1740/1744 adapters are present, the adapters are numbered as 
  1817. follows: 
  1818.  
  1819. o AHA-1740/1744 adapters with their BIOS enabled are detected first.  Adapter 
  1820.   numbers are assigned to adapters in order of their BIOS addresses from lowest 
  1821.   to highest. 
  1822. o AHA-1740/1744 adapters with their BIOS disabled are detected second.  Adapter 
  1823.   numbers are assigned in order of EISA slot address from lowest to highest. 
  1824.  
  1825. /!D                      Disable SCSI Disconnect function (For AHA-152X and 
  1826.                          AHA-154X adapters).  Normally, allowing SCSI devices 
  1827.                          to disconnect increases overall system performance by 
  1828.                          telling devices to release the SCSI Bus after they 
  1829.                          have received a SCSI command, and later reattach when 
  1830.                          they are ready to transfer data.  The default (/D) 
  1831.                          leaves the SCSI disconnect function enabled.  Some 
  1832.                          older SCSI devices do not operate properly when SCSI 
  1833.                          disconnection is enabled. 
  1834.  
  1835. /BON:7                   Bus-on time (microseconds) (for AHA-154X adapters). 
  1836.                          Controls the maximum amount of time the AHA-1540/1542 
  1837.                          adapter may control the system bus. The default value 
  1838.                          for OS/2 2.1 is 7 microseconds.  This value can be set 
  1839.                          between 2 and 15 microseconds.  If a tape drive and 
  1840.                          diskette drive are attached to the same controller, 
  1841.                          and disk activity appears to interfere with the 
  1842.                          operation of the tape drive, then setting this 
  1843.                          parameter to a lower value might resolve the problem. 
  1844.  
  1845. /!Y                      Disable SCSI bus parity checking (for AHA-152X 
  1846.                          adapters).  Allowing SCSI bus parity checking enables 
  1847.                          the detection of incorrect or corrupted data transfers 
  1848.                          across the SCSI bus.  The default (/Y) enables parity 
  1849.                          checking. 
  1850.  
  1851.                          Some older CD-ROM drives do not support parity 
  1852.                          checking.  Specifying this parameter will allow these 
  1853.                          drives to operate properly. 
  1854.  
  1855. /H:7                     Host adapter SCSI ID (for AHA-152 adapters).  This 
  1856.                          parameter is set to SCSI ID 7 by default.  It does not 
  1857.                          normally need to be modified. 
  1858.  
  1859.  
  1860. ΓòÉΓòÉΓòÉ <hidden> IBMSCSI.ADD Device Driver Parameters ΓòÉΓòÉΓòÉ
  1861.  
  1862. The following parameters are for IBM PS/2 SCSI adapters 
  1863.  
  1864. In the majority of cases, the IBMSCSI.ADD driver will determine parameters 
  1865. automatically.  The following parameters are provided in case it is necessary 
  1866. to override the default parameter selection. 
  1867.  
  1868. Suppose that you had a removable hard disk as SCSI Device 3 and you wanted to 
  1869. control this device with a vendor supplied device driver and application. 
  1870.  
  1871. Normally OS2DASD.DMD will allocate this device, treating it as a large diskette 
  1872. drive.  The device would be unavailable to the vendor supplied device driver. 
  1873. The following statement will prevent OS2DASD.DMD from accessing the device: 
  1874.  
  1875. BASEDEV=IBM2SCSI.ADD /A:0 /!DM:3
  1876.  
  1877. Parameter Definitions: 
  1878.  
  1879. /LED                     Simulate disk activity light (IBM Model 95).  This 
  1880.                          parameter uses the right-most digit on the IBM Model 
  1881.                          95 display panel as a disk activity indicator.  If the 
  1882.                          panel is being used to display other messages, then 
  1883.                          removing this parameter from the BASEDEV=IBM2SCSI.ADD 
  1884.                          statement prevents the driver from accessing the 
  1885.                          panel. 
  1886.  
  1887. /GS:4                    Chained request count (0 - 9).  Controls the number of 
  1888.                          I/O requests sent to the IBM SCSI adapter prior to 
  1889.                          waiting for a response from the adapter.  Increasing 
  1890.                          this parameter might increase system throughput by 
  1891.                          allowing the SCSI adapter to manage larger units of 
  1892.                          work, independently.  However, excessive large values 
  1893.                          of this parameter will degrade system response time. 
  1894.  
  1895. /A:0                     Adapter number.  Identifies a specific adapter for the 
  1896.                          following parameters.  If multiple IBM SCSI adapters 
  1897.                          are present, then adapters are numbered consecutively 
  1898.                          starting with the lowest Micro Channel slot number. 
  1899.  
  1900. /!DM:1,5 or /!DM:(1,0),(5,0) Disable DASD Manager support.  The OS2DASD.DMD 
  1901.                          will manage any SCSI device that indicates it is a 
  1902.                          removable or fixed magnetic disk. 
  1903.  
  1904.                          In some cases, a device supplier might provide a 
  1905.                          specific driver written to either IBM SCSI.SYS or 
  1906.                          Adaptec ASPI interfaces. 
  1907.  
  1908.                          SCSI devices might be listed in single digits as SCSI 
  1909.                          device numbers, or as pairs of numbers indicating a 
  1910.                          SCSI device number and logical unit number.  In these 
  1911.                          cases, this parameter might be used to disable the 
  1912.                          OS/2 DASD Manager from claiming the device. 
  1913.  
  1914. /!SM:1,5 or /!SM:(1,0),(5,0) Disable SCSI Manager support.  Prevents 
  1915.                          OS2SCSI.DMD from reporting that SCSI devices listed 
  1916.                          are available for allocation to drivers written to IBM 
  1917.                          SCSI.SYS interfaces.  SCSI devices might be listed in 
  1918.                          single digits as SCSI device numbers, or as pairs of 
  1919.                          numbers indicating a SCSI device number and logical 
  1920.                          unit number. 
  1921.  
  1922.  
  1923. ΓòÉΓòÉΓòÉ <hidden> Future Domain SCSI Device Driver Parameters ΓòÉΓòÉΓòÉ
  1924.  
  1925. In the majority of cases, Future Domain.ADD drivers will determine parameters 
  1926. automatically.  The following parameters are provided in case it is necessary 
  1927. to override the default parameter selection. 
  1928.  
  1929. Suppose that you had a removable hard disk as SCSI Device 3 and you wanted to 
  1930. control this device with a vendor supplied device driver and application. 
  1931.  
  1932. Normally OS2DASD.DMD will allocate this device, treating it as a large diskette 
  1933. drive. The device would be unavailable to the vendor supplied device driver. 
  1934. The following statement will prevent OS2DASD.DMD from accessing the device. 
  1935.  
  1936. BASEDEV=FD16-700.ADD /A:0 /!DM:3
  1937.  
  1938. Suppose that you had a CD-ROM changer device which assigned each CD-ROM to a 
  1939. different SCSI logical unit (LUN).  Setting the /ET parameter will enable 
  1940. multiple LUN support. 
  1941.  
  1942. BASEDEV=FD7000EX.ADD /A:0 /ET
  1943.  
  1944. Parameter Definitions: 
  1945.  
  1946. /ET or /ET:3,4           Search SCSI Devices for Logical Units (LUNs).  If any 
  1947.                          attached SCSI devices support multiple logical units 
  1948.                          (LUNs), then this parameter should be set. 
  1949.  
  1950.                          Certain CD-ROM drives which handle multiple CD-ROMs 
  1951.                          require this parameter. 
  1952.  
  1953.                          The default setting (/!ET) assumes each SCSI device 
  1954.                          has only one logical unit (LUN 0). 
  1955.  
  1956. /FS                      Enable fast synchronous data transfers.  This 
  1957.                          parameter applies to the FD16-700.ADD driver only. 
  1958.                          New SCSI devices are capable of higher speed data 
  1959.                          transfers.  However, a TMC-1850 chip is required on 
  1960.                          your Future Domain adapter for these devices to 
  1961.                          operate properly. 
  1962.  
  1963.                          If all Future Domain adapters in your system contain 
  1964.                          the TMC-1850 chip, then this option will be set by 
  1965.                          default.  However, if there is a mixture of adapters 
  1966.                          installed in your system containing TMC-1800 and 
  1967.                          TMC-1850 chips, then this option will be disabled by 
  1968.                          default. 
  1969.  
  1970.                          Specifying this parameter will enable fast synchronous 
  1971.                          data transfers for all adapters regardless of the 
  1972.                          level of chip present on the adapter. 
  1973.  
  1974.                          The negative form of this parameter (/!FS) can be used 
  1975.                          to disable fast synchronous data transfers for all 
  1976.                          adapters controlled by this driver. 
  1977.  
  1978. /A:0                     Adapter number.  The number of the adapter to which 
  1979.                          the following parameters will apply. 
  1980.  
  1981. If multiple Future Domain adapters are present, the adapters are numbered as 
  1982. follows: 
  1983.  
  1984. o For TMC-16xx (ISA) and MCS-600/700 (MCA) adapters:  The lowest I/O port 
  1985.   address is assigned adapter index 0.  Port addresses are determined by 
  1986.   on-card jumpers for the TMC-16xx series and by the Reference Diskette on the 
  1987.   MCS-600/700 series adapters. 
  1988. o For TMC-179x and TMC-7000EX (EISA) adapters:  The lowest EISA slot address is 
  1989.   assigned adapter index 0. 
  1990. o For TMC-8xx and TMC-850IBM (ISA) adapters:  The lowest memory address is 
  1991.   assigned adapter index 0.  Memory addresses are determined by on-card 
  1992.   jumpers. 
  1993.  
  1994. /!DM:1,5 or /!DM:(1,0),(5,0) Disable DASD Manager support.  The OS2DASD.DMD 
  1995.                          will manage any SCSI device that indicates it is a 
  1996.                          removable or fixed magnetic disk. 
  1997.  
  1998.                          In some cases, a device supplier may provide a 
  1999.                          specific driver written to either IBM SCSI.SYS or 
  2000.                          Adaptec ASPI interfaces. 
  2001.  
  2002.                          SCSI devices may be listed in single digits as SCSI 
  2003.                          device numbers, or as pairs of numbers indicating a 
  2004.                          SCSI device number and logical unit number.  In these 
  2005.                          cases, this parameter might be used to disable the 
  2006.                          OS/2 DASD Manager from claiming the device. 
  2007.  
  2008. /!SM:1,5 or /!SM:(1,0),(5,0) Disable SCSI Manager support.  Prevents 
  2009.                          OS2SCSI.DMD from reporting that SCSI devices listed 
  2010.                          are available for allocation to drivers written to IBM 
  2011.                          SCSI.SYS interfaces.  SCSI devices might be listed in 
  2012.                          single digits as SCSI device numbers, or as pairs of 
  2013.                          numbers indicating a SCSI device number and logical 
  2014.                          unit number. 
  2015.  
  2016.  
  2017. ΓòÉΓòÉΓòÉ <hidden> DPT Device Driver Parameters ΓòÉΓòÉΓòÉ
  2018.  
  2019. In the majority of cases, the DPT20XX.ADD device driver will determine 
  2020. parameters automatically.  The following parameters are provided in case it is 
  2021. necessary to override the default parameter selection. 
  2022.  
  2023. Suppose that you had a removable hard disk as SCSI Device 3 and you wanted to 
  2024. control this device with a vendor supplied device driver and application. 
  2025.  
  2026. Normally OS2DASD.DMD will allocate this device, treating it as a large diskette 
  2027. drive.  The device would be unavailable to the vendor supplied device driver. 
  2028. The following statement will prevent OS2DASD.DMD from accessing the device. 
  2029.  
  2030. BASEDEV=DPT20XX.ADD /A:0 /!DM:3
  2031.  
  2032. Suppose that you had a CD-ROM changer device which assigned each CD-ROM to a 
  2033. different SCSI logical unit (LUN).  Setting the /ET parameter will enable 
  2034. multiple LUN support. 
  2035.  
  2036. BASEDEV=DPT20XX.ADD /ET
  2037.  
  2038. Parameter Definitions: 
  2039.  
  2040. /ET                      Search SCSI Devices for logical units (LUNs).  If any 
  2041.                          attached SCSI devices support multiple logical units, 
  2042.                          then this parameter should be set. 
  2043.  
  2044.                          Certain CD-ROM drives which handle multiple CD-ROMs 
  2045.                          require this parameter. 
  2046.  
  2047.                          The default setting (/!ET) assumes each SCSI device 
  2048.                          has only one logical unit (LUN 0). 
  2049.  
  2050. /A:0                     Adapter number.  Identifies a specific adapter for the 
  2051.                          following parameters.  If multiple IBM SCSI adapters 
  2052.                          are present, then adapters are numbered consecutively 
  2053.                          starting with the lowest Micro Channel slot number. 
  2054.  
  2055. /!DM:1,5 or /!DM:(1,0),(5,0) Disable DASD Manager support.  The OS2DASD.DMD 
  2056.                          will manage any SCSI device that indicates it is a 
  2057.                          removable or fixed magnetic disk. 
  2058.  
  2059.                          In some cases, a device supplier might provide a 
  2060.                          specific driver written to either IBM SCSI.SYS or 
  2061.                          Adaptec ASPI interfaces. 
  2062.  
  2063.                          SCSI devices might be listed in single digits as SCSI 
  2064.                          device numbers, or as pairs of numbers indicating a 
  2065.                          SCSI device number and logical unit number.  In these 
  2066.                          cases, this parameter might be used to disable the 
  2067.                          OS/2 DASD Manager from claiming the device. 
  2068.  
  2069. /!SM:1,5 or /!SM:(1,0),(5,0) Disable SCSI manager support.  Prevents 
  2070.                          OS2SCSI.DMD from reporting that SCSI devices listed 
  2071.                          are available for allocation to drivers written to IBM 
  2072.                          SCSI.SYS interfaces.  SCSI devices might be listed in 
  2073.                          single digits as SCSI device numbers, or as pairs of 
  2074.                          numbers indicating a SCSI device number and logical 
  2075.                          unit number. 
  2076.  
  2077. /!HCR or /!HCR:(1,0),5   Disable hardware read cache.  Prevents the DPT Adapter 
  2078.                          from retaining data read from the SCSI devices in its 
  2079.                          cache.  The default (/HCR) enables caching, which 
  2080.                          enhances overall system performance.  This parameter 
  2081.                          can apply to either specific SCSI target IDs or to all 
  2082.                          SCSI devices on the adapter depending on whether the 
  2083.                          parameter is followed by a list of SCSI target IDs. 
  2084.  
  2085. /!HCW or /!HCW:(1,0),5   Disable hardware write cache.  Prevents the DPT 
  2086.                          Adapter from performing deferred writes to SCSI 
  2087.                          devices.  DPT adapters increase overall system 
  2088.                          performance by accepting data written to a SCSI device 
  2089.                          in its cache and then at a later time, completing the 
  2090.                          actual transfer to the device. 
  2091.  
  2092.                          Setting this parameter causes the adapter to wait for 
  2093.                          the transfer to the SCSI device to complete prior to 
  2094.                          returning to the OS/2 operating system.  This 
  2095.                          parameter can apply to either specific SCSI Target IDs 
  2096.                          or to all SCSI devices on the adapter depending on 
  2097.                          whether the parameter is followed by a list of SCSI 
  2098.                          Target IDs. 
  2099.  
  2100.  
  2101. ΓòÉΓòÉΓòÉ <hidden> Operating System/2 ΓòÉΓòÉΓòÉ
  2102.  
  2103. Trademark of the IBM Corporation. 
  2104.  
  2105.  
  2106. ΓòÉΓòÉΓòÉ <hidden> Micro Channel ΓòÉΓòÉΓòÉ
  2107.  
  2108. Trademark of the IBM Corporation. 
  2109.  
  2110.  
  2111. ΓòÉΓòÉΓòÉ 4.11. CACHE - Write Contents of Memory to Disk ΓòÉΓòÉΓòÉ
  2112.  
  2113. Specifies the parameters that the High Performance File System (HPFS) uses to 
  2114. write information to a disk.  This command is specified as part of a RUN 
  2115. statement in the CONFIG.SYS file or entered at a command prompt. 
  2116.  
  2117. CACHE   ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2118.            ΓööΓöÇ /LAZY:state ΓöÇΓöÿ    ΓööΓöÇ /MAXAGE:time ΓöÇΓöÿ
  2119.  
  2120. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2121.         ΓööΓöÇ /DISKIDLE:time ΓöÇΓöÿ    ΓööΓöÇ /BUFFERIDLE:time ΓöÇΓöÿ
  2122.  
  2123. Related Commands: IFS, IFS (HPFS.IFS) 
  2124.  
  2125. If you enter this command without a parameter, the operating system displays 
  2126. the current values for CACHE. 
  2127.  
  2128. You can use cache memory if you have: 
  2129.  
  2130. o Formatted the hard-disk partition during OS/2 installation 
  2131. o Selected the High Performance File System 
  2132.  
  2133. The system installation program sets up caching for the primary partition 
  2134. through the OS2.INI file.  The HPFS manages a cache of memory divided into 
  2135. blocks of 2KB.  Data that is read from and written to the disk is transferred 
  2136. through this cache so that it can be used in satisfying future requests.  This 
  2137. cache is separate from that of the BUFFERS and DISKCACHE commands discussed 
  2138. elsewhere in this reference. 
  2139.  
  2140. When a user requests data that is not present in the cache, the HPFS selects 
  2141. the least recently used (LRU) block, writes the data within that block to disk 
  2142. if necessary, and then fills the block with the requested data.  This 
  2143. significantly increases the chances that often-used data will be found in 
  2144. memory, thus saving the expense of a disk-read operation. 
  2145.  
  2146. In addition, the file system takes advantage of its knowledge of cache block 
  2147. contents.  Data, not expected to be reused soon by the file system, is placed 
  2148. in cache blocks marked for immediate reuse.  In most cases, when a write 
  2149. request is received, it is not necessary to write the data immediately to disk. 
  2150. The HPFS takes such data and copies it to the block cache without actually 
  2151. performing the disk-write operation.  Once the data is in the cache, it is 
  2152. written to disk as a background activity. 
  2153.  
  2154. Also, because these lazy-writes are performed during disk idle time, incoming 
  2155. requests need not wait for large disk- write operations to be completed.  This 
  2156. optimizes overall system throughput and response time for all requesting 
  2157. processes. 
  2158.  
  2159. The HPFS also contains additional levels of caching that speed up access to 
  2160. directories.  The HPFS uses this cache to quickly get to the directory on which 
  2161. the request is being made. 
  2162.  
  2163. Note:   If you set the /LAZY parameter to ON, select Shut down from the menu of 
  2164.         the desktop before turning off your system.  Failure to do so will 
  2165.         cause loss of data if the contents of the HPFS cache buffers have not 
  2166.         been erased and written to disk.  For safety, and if performance is not 
  2167.         a concern, use the /LAZY:OFF option, which causes a write through the 
  2168.         cache to the disk. 
  2169.  
  2170.  
  2171. ΓòÉΓòÉΓòÉ <hidden> CACHE Examples ΓòÉΓòÉΓòÉ
  2172.  
  2173. To have data in cache memory immediately written to disk, enter the following 
  2174. at an OS/2 command prompt: 
  2175.  
  2176. CACHE /LAZY:OFF
  2177.  
  2178. To turn lazy-writing back on after you have turned it off, and retain use of 
  2179. the same command prompt session, enter the following at the OS/2 command 
  2180. prompt: 
  2181.  
  2182. DETACH CACHE /LAZY:ON
  2183.  
  2184. To have data in cache memory immediately written to disk and have this 
  2185. lazy-writing state remain as the default, type the following in your 
  2186. STARTUP.CMD file: 
  2187.  
  2188. C:\OS2\CACHE.EXE /LAZY:OFF
  2189.  
  2190. To have data that has been in cache memory longer than 4000 milliseconds 
  2191. written to disk, type the following in the CONFIG.SYS file: 
  2192.  
  2193. RUN=C:\OS2\CACHE.EXE /MAXAGE:4000
  2194.  
  2195. To set the amount of disk idle time to 2000 milliseconds, type the following in 
  2196. the CONFIG.SYS file: 
  2197.  
  2198. RUN=C:\OS2\CACHE.EXE /DISKIDLE:2000
  2199.  
  2200. To set the amount of cache buffer idle time to 1000 milliseconds, type the 
  2201. following in the CONFIG.SYS file: 
  2202.  
  2203. RUN=C:\OS2\CACHE.EXE /BUFFERIDLE:1000
  2204.  
  2205.  
  2206. ΓòÉΓòÉΓòÉ 4.12. CALL - Nest Batch Files ΓòÉΓòÉΓòÉ
  2207.  
  2208. Calls a batch file from within another batch file without ending the first one. 
  2209. A batch file can then be used as commands from within a master batch file. 
  2210.  
  2211. CALL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ batchfile ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2212.                                        ΓööΓöÇ argument ΓöÇΓöÿ
  2213.  
  2214. Related Commands:  ECHO, ENDLOCAL, EXTPROC, FOR, GOTO, IF, PAUSE, REM, 
  2215. SETLOCAL, SHIFT 
  2216.  
  2217. It is important to note that: 
  2218.  
  2219. o Piping and redirection should not be used with the CALL command. 
  2220.  
  2221. o You can use CALL from any line inside a batch file. 
  2222.  
  2223. o The number of batch files is limited only by available memory. In an OS/2 
  2224.   session, a batch file should not call itself. If it does, it runs out of 
  2225.   stack space and ends. In a DOS session, a batch file can call itself, but 
  2226.   make sure that the batch file eventually ends. 
  2227.  
  2228. o CALL causes the data structure and file pointer of the currently running 
  2229.   batch file to be saved, and a new data structure to be created.  When the 
  2230.   called batch file ends, the original batch file continues its processing with 
  2231.   the statement following CALL. 
  2232.  
  2233. o You can use CALL to protect your INI files by having them automatically 
  2234.   backed up each time you start your system.  For example, if you include the 
  2235.   following statements in your CONFIG.SYS file, a backup copy of your current 
  2236.   INI files and a backup copy of the INI files as they existed at the previous 
  2237.   system startup will be made. 
  2238.  
  2239.     CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INX C:\OS2\*.INY
  2240.     CALL=C:\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:\OS2\*.INX
  2241.  
  2242.   By copying the INI files this way, you will always be able to recover a 
  2243.   recent version of these files in case the user INI file becomes damaged. 
  2244.  
  2245. o Batch-file parameters can be passed to another batch file with CALL. 
  2246.  
  2247. As an example, assume that you have two batch files.  Your first batch file is 
  2248. named EXAMPLE1.CMD, which contains these commands: 
  2249.  
  2250. ECHO EXAMPLE1.CMD is running ...
  2251. CALL EXAMPLE2
  2252. ECHO EXAMPLE1.CMD is running again ...
  2253.  
  2254. Your second batch file, the one you want to call, is EXAMPLE2.CMD.  It 
  2255. contains: 
  2256.  
  2257. ECHO EXAMPLE2.CMD is running now ...
  2258.  
  2259. If you are in the root directory when you type EXAMPLE1 at the OS/2 command 
  2260. prompt, the following is displayed on your screen: 
  2261.  
  2262. [C:\] ECHO EXAMPLE1.CMD is running ...
  2263. EXAMPLE1.CMD is running ...
  2264.  
  2265. [C:\] ECHO EXAMPLE2.CMD is running now ...
  2266. EXAMPLE2.CMD is running now ...
  2267.  
  2268. [C:\] ECHO EXAMPLE1.CMD is running again ...
  2269. EXAMPLE1.CMD is running again ...
  2270.  
  2271.  
  2272. ΓòÉΓòÉΓòÉ <hidden> CALL Examples ΓòÉΓòÉΓòÉ
  2273.  
  2274. To call two files named ACCOUNT.BAT and MARY.BAT, type the following in your 
  2275. batch file: 
  2276.  
  2277. CALL ACCOUNT
  2278. CALL MARY
  2279.  
  2280. If you want to pass the second and third parameters, along with the value of 
  2281. FILE, to a batch file named MARKET, type the following in your batch file: 
  2282.  
  2283. SET FILE=NEW.TXT
  2284. CALL MARKET %2 %3 %FILE%
  2285.  
  2286.  
  2287. ΓòÉΓòÉΓòÉ 4.13. CHCP - Change Code Page ΓòÉΓòÉΓòÉ
  2288.  
  2289. Allows you to alternate between two code-page character sets that are defined 
  2290. in your CONFIG.SYS file. 
  2291.  
  2292.  
  2293. CHCP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2294.                          ΓööΓöÇ nnn ΓöÇΓöÿ
  2295.  
  2296. Related Commands:  CODEPAGE, COUNTRY, 
  2297.  
  2298. Type this command without a parameter to display the current code page being 
  2299. used or to determine if any are specified. 
  2300.  
  2301. Because CHCP changes the code page for the current session, it is intended to 
  2302. be used at the command prompt.  Any programs started under the primary command 
  2303. processor inherit the command processor's current code page. 
  2304.  
  2305. In the OS/2 environment, CHCP checks that the correct DEVINFO= statement is 
  2306. included in the CONFIG.SYS file for the code page being requested.  If not, a 
  2307. message is displayed. 
  2308.  
  2309. CHCP accepts either one of the two prepared system code pages as correct.  If 
  2310. you enter the number of a code page that has not been prepared for the system, 
  2311. you receive an error message.  If no CODEPAGE= statement is included in the 
  2312. CONFIG.SYS file, CHCP returns the default code page ID of the country. 
  2313.  
  2314. Incorrect, partial, or mismatched setup of statements for code-page selections, 
  2315. country code, keyboard layout, display, or printer can cause ineffective 
  2316. switching between code pages. If your printer is correctly set up for code-page 
  2317. switching, print jobs started in a DOS session or in the current OS/2 session, 
  2318. after a successful CHCP command is issued, will print in the new code page. 
  2319.  
  2320. Note:   To ensure you will be able to access files prepared with another code 
  2321.         page, be sure to use only the characters A-Z and 0-9 when naming files 
  2322.         and directories.  This prevents file access problems when switching 
  2323.         between code pages that have different character capitalization rules. 
  2324.  
  2325.  
  2326. ΓòÉΓòÉΓòÉ <hidden> CHCP Examples ΓòÉΓòÉΓòÉ
  2327.  
  2328. If you want to change to the Multilingual code page (850) and your system has 
  2329. been set up to use code pages 437 and 850, enter the following: 
  2330.  
  2331. CHCP 850
  2332.  
  2333.  
  2334. ΓòÉΓòÉΓòÉ 4.14. CD or CHDIR - Change Current Directory ΓòÉΓòÉΓòÉ
  2335.  
  2336. Changes the current directory or displays its name. 
  2337.  
  2338. CHDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2339. CD      ΓöÇΓöÇΓöÿ         ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ
  2340.  
  2341. Related Commands:  DIR, MD, RD, TREE 
  2342.  
  2343. Type this command without a parameter to display the name of the current 
  2344. directory. For example, typing CD displays the current directory on the default 
  2345. drive. Type this command with a drive letter to display the current directory 
  2346. for that drive.  For example, typing CD C: displays the current directory on 
  2347. drive C. 
  2348.  
  2349. CD or CHDIR can change the current directory, allowing you to access any 
  2350. subdirectory you have created with the MD command.  If the directory you want 
  2351. to change to has a different path from your current directory, you must enter 
  2352. its entire path, including the root directory.  If you do not know the path of 
  2353. the directory you want to change to, use the DIR or TREE commands. 
  2354.  
  2355.  
  2356. ΓòÉΓòÉΓòÉ <hidden> CD or CHDIR Examples ΓòÉΓòÉΓòÉ
  2357.  
  2358. If you want to display the name of the current directory enter the following: 
  2359.  
  2360. CD
  2361.  
  2362. If you want to display the name of the current directory on drive A enter the 
  2363. following: 
  2364.  
  2365. CD A:
  2366.  
  2367. If you want to change from the root directory to the subdirectory, ACCOUNTS, 
  2368. enter the following: 
  2369.  
  2370. CD ACCOUNTS
  2371.  
  2372. If you want to change to another subdirectory named NAMES, which is in the 
  2373. ACCOUNTS subdirectory, enter the following: 
  2374.  
  2375. CD NAMES
  2376.  
  2377. If you want to change from the root directory to the subdirectory, 
  2378. ACCOUNTS\NAMES\MARY, enter the following: 
  2379.  
  2380. CD ACCOUNTS\NAMES\MARY
  2381.  
  2382. If you want to change from the subdirectory ACCOUNTS\NAMES\MARY to the root 
  2383. directory enter the following: 
  2384.  
  2385. CD \
  2386.  
  2387. If you want to change from the subdirectory ACCOUNTS\NAMES\MARY to the 
  2388. ACCOUNTS\NAMES subdirectory enter the following: 
  2389.  
  2390. CD ..
  2391.  
  2392.  
  2393. ΓòÉΓòÉΓòÉ 4.15. CHKDSK - Check Disk ΓòÉΓòÉΓòÉ
  2394.  
  2395. Analyzes directories and files, determines the file system type, and produces a 
  2396. disk status report. CHKDSK also displays the volume label and the volume serial 
  2397. number of the disk. 
  2398.  
  2399. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ CHKDSK ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2400.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  2401.  
  2402.                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2403.                                          Γöé              Γöé
  2404. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  2405.    ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ     Γö£ΓöÇ /F ΓöÇΓöñ      Γö£ΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  2406.                                  ΓööΓöÇ /V ΓöÇΓöÿ      ΓööΓöÇ /F:n ΓöÇΓöÿ
  2407.  
  2408. The /C and /F:n parameters shown at the end of the CHKDSK command syntax are 
  2409. only used with the High Performance File System. 
  2410.  
  2411. Related Commands:  RECOVER 
  2412.  
  2413. o Type this command at a DOS command prompt to produce a memory storage report. 
  2414.  
  2415. o CHKDSK gives accurate information only when a hard disk is not in use. 
  2416.  
  2417. o CHKDSK does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  2418.   SUBST command in effect.  Also, CHKDSK does not work on network drives. 
  2419.  
  2420. You should run CHKDSK occasionally on each disk to check for errors. If errors 
  2421. are found, CHKDSK displays the error messages and produces a status report.  If 
  2422. you enter a file name after CHKDSK, the OS/2 operating system displays a status 
  2423. report that gives the number of noncontiguous areas occupied by the file. 
  2424. CHKDSK also produces a storage report. 
  2425.  
  2426. CHKDSK can detect lost clusters on your disk.  These are parts of files that 
  2427. the system did not save completely and that take up space on your disk.  If 
  2428. CHKDSK finds these, it prompts you with a message asking if you want to convert 
  2429. lost chains to files.  If you type a Y (yes), CHKDSK converts these parts into 
  2430. files that you can examine and delete to save space on your disk.  If you type 
  2431. an N (no), CHKDSK deletes these parts of files from your disk without warning. 
  2432. The files CHKDSK creates from lost chains follow this naming convention: 
  2433. FILEnnnn.CHK (nnnn is a sequential number starting with 0000). 
  2434.  
  2435. To search for and recover lost file clusters on the drive that is the hard disk 
  2436. from which you normally start the OS/2 operating system, follow these steps: 
  2437.  
  2438.  1. Insert the system installation diskette in diskette drive A. 
  2439.  2. Restart the system.  When the Logo panel appears, remove the installation 
  2440.     diskette and insert diskette 1.  Press Enter to continue. 
  2441.  3. At the first text panel that appears (Welcome to OS/2), press Esc. 
  2442.  4. If the drive to be searched is a drive formatted for HPFS, the file 
  2443.     UHPFS.DLL has to exist on the same diskette as CHKDSK, or UHPFS.DLL has to 
  2444.     exist in a directory in the LIBPATH statement. To display the LIBPATH 
  2445.     statement, enter TYPE \CONFIG.SYS in the drive of the disk that the system 
  2446.     started from. 
  2447.  5. In order for the system to display error messages, the file OSO001.MSG has 
  2448.     to be on the same disk as CHKDSK or it has to exist in a directory in your 
  2449.     DPATH statement.  To display your DPATH statement, enter DPATH at the 
  2450.     command line. 
  2451.  6. Run CHKDSK in drive A, specifying C as the drive to be searched. 
  2452.  
  2453. To recover lost clusters on the drive that contains CHKDSK, copy CHKDSK to 
  2454. another drive and run it from that drive by specifying the drive and path. 
  2455.  
  2456. If the /F parameter is not specified and there are open files, CHKDSK may 
  2457. report lost clusters on the disk.  This happens when open files have been 
  2458. written to but the file allocation table (FAT) is not updated. If many clusters 
  2459. are reported as lost, use the /F parameter to search the disk. 
  2460.  
  2461. Extended Attributes:  CHKDSK will attempt to validate the clusters with files 
  2462. or directories that contain extended attributes. An extended attribute is a 
  2463. special area used for storing data that describes the file or directory to the 
  2464. operating system or to an application. If errors occur in any extended 
  2465. attribute chain on the disk, CHKDSK prompts you to recover that chain into a 
  2466. file that follows this naming format:  EAnnnn.CHK (nnnn is a sequential number 
  2467. starting with 0000).  CHKDSK also recovers the file or directory associated 
  2468. with the extended attribute chain and places it in a file that follows this 
  2469. naming format:  FILEnnnn.CHK. The number in this file name corresponds to the 
  2470. number shown in the EAnnnn.CHK file name. CHKDSK places all files it creates in 
  2471. the root directory of the specified drive. 
  2472.  
  2473. Return Codes: 
  2474.  
  2475. 0 -  Normal completion 
  2476. 1 -  Not defined 
  2477. 2 -  Not defined 
  2478. 3 -  Ended by user 
  2479. 4 -  Ended due to error 
  2480. 5 -  Not defined 
  2481. 6 -  CHKDSK was unable to execute file system's CHKDSK program. 
  2482.  
  2483.  
  2484. ΓòÉΓòÉΓòÉ 4.15.1. High Performance File System Considerations ΓòÉΓòÉΓòÉ
  2485.  
  2486. o When using CHKDSK on a disk formatted for the High Performance File System 
  2487.   (HPFS), it is important to note how CHKDSK processes lost clusters and how 
  2488.   they are recovered. 
  2489.  
  2490.   CHKDSK does not delete lost clusters.  If lost clusters are found and the /F 
  2491.   parameter is specified, CHKDSK recovers lost clusters and does not prompt you 
  2492.   if you want to convert lost chains to files.  Instead, CHKDSK creates a 
  2493.   subdirectory of the root directory named \FOUND.mmm and places recovered 
  2494.   files, directories, and extended attributes there.  The "mmm" in the 
  2495.   directory name represents a three-digit number so that each directory name is 
  2496.   unique. CHKDSK stores recovered files as files with the naming format: 
  2497.   FILEnnnn.CHK.  It stores recovered directories as directories that follow 
  2498.   this naming format: DIRnnnn.CHK. 
  2499.  
  2500. o When using CHKDSK on a disk formatted for the High Performance File System, 
  2501.   you cannot specify a file by using the filename parameter. 
  2502.  
  2503.  
  2504. ΓòÉΓòÉΓòÉ <hidden> CHKDSK Examples ΓòÉΓòÉΓòÉ
  2505.  
  2506. To analyze a file named REPORTS.ABC, enter the following: 
  2507.  
  2508. CHKDSK REPORTS.ABC
  2509.  
  2510. To use global file-name characters to display the status of all files that 
  2511. begin with "REPORT" and contain other characters, enter the following: 
  2512.  
  2513. CHKDSK REPORT*.*
  2514.  
  2515. To fix errors that are found in the file allocation table or directory, enter 
  2516. the following: 
  2517.  
  2518. CHKDSK /F
  2519.  
  2520. To display all files and directories on the current drive, enter the following: 
  2521.  
  2522. CHKDSK /V
  2523.  
  2524. To specify files that will be recovered if the file system was in an 
  2525. inconsistent state when the computer was started, enter the following: 
  2526.  
  2527. CHKDSK /C
  2528.  
  2529. To specify a recovery level, (If no number is specified, CHKDSK assumes 
  2530. recovery level 2) enter the following: 
  2531.  
  2532. CHKDSK /F
  2533.  
  2534. To specify that CHKDSK is to analyze the file system, display information about 
  2535. its state, but not perform any repairs. enter the following: 
  2536.  
  2537. CHKDSK /F:0
  2538.  
  2539. To specify that CHKDSK is to resolve inconsistent file system structures. enter 
  2540. the following: 
  2541.  
  2542. CHKDSK /F:1
  2543.  
  2544. To specify that CHKDSK is to resolve inconsistent file system structures, scan 
  2545. disk space that is in use but not referred to by the file system, and recover 
  2546. recognizable file or directory structures that are found, enter the following: 
  2547.  
  2548. CHKDSK /F:2
  2549.  
  2550. To specify all level 2 recovery and also specify CHKDSK is to scan the entire 
  2551. disk partition for recognizable file system structures. enter the following: 
  2552.  
  2553. CHKDSK /F:3
  2554.  
  2555. Note:   The /C and /F:n parameters are only operable with the High Performance 
  2556.         File System. 
  2557.  
  2558.  
  2559. ΓòÉΓòÉΓòÉ 4.16. CLS - Clear Screen ΓòÉΓòÉΓòÉ
  2560.  
  2561. Clears the window or entire display screen of any information. 
  2562.  
  2563. CLS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2564.  
  2565. To clear the screen, enter the following: 
  2566.  
  2567. CLS
  2568.  
  2569.  
  2570. ΓòÉΓòÉΓòÉ 4.17. CMD - Start an OS/2 Command Processor ΓòÉΓòÉΓòÉ
  2571.  
  2572. Starts the OS/2 command processor, CMD.EXE, found in the C:\OS2 subdirectory. 
  2573. To return to the previous command processor, use the EXIT command. 
  2574.  
  2575. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ CMD ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2576.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  2577.  
  2578.  
  2579. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2580.       ΓööΓöÇ /Q ΓöÇΓöÿ      ΓööΓöÇ /S ΓöÇΓöÿ      Γö£ΓöÇ /K "string" ΓöÇΓöñ
  2581.                                   ΓööΓöÇ /C "string" ΓöÇΓöÿ
  2582.  
  2583. Related Commands:  COMMAND, EXIT, SET, and START 
  2584.  
  2585. Type this command without a parameter to start another command processor. To 
  2586. return to the previous command processor, use the EXIT command. 
  2587.  
  2588. If you change any environment variables in the current command processor, the 
  2589. change is known only to the current command processor.  For example, suppose 
  2590. you enter CMD to start another command processor.  You then change the prompt 
  2591. to something other than the default and exit back to the previous command 
  2592. processor.  The previous command processor still has the default prompt. 
  2593.  
  2594. Use quotation marks to pass significant characters to the new CMD.EXE. To have 
  2595. a new CMD.EXE process the DIR command and then have the parent CMD.EXE display 
  2596. the word "HELLO," type the following: 
  2597.  
  2598. CMD /C DIR & ECHO HELLO
  2599.  
  2600. To have the new CMD.EXE process the DIR command and display the word "HELLO," 
  2601. type the following: 
  2602.  
  2603. CMD /C "DIR & ECHO HELLO"
  2604.  
  2605.  
  2606. ΓòÉΓòÉΓòÉ <hidden> CMD.EXE Examples ΓòÉΓòÉΓòÉ
  2607.  
  2608. To tell CMD.EXE to set the value of the COMSPEC environment variable to drive 
  2609. C, path ACCOUNTS\NAMES, type the following: 
  2610.  
  2611. CMD C:\ACCOUNTS\NAMES,
  2612.  
  2613. To tell the command processor being started not to install a signal handler 
  2614. normally used for Ctrl+C (end a program), type the following: 
  2615.  
  2616. CMD /S
  2617.  
  2618. To start a secondary command processor and override the default for copying (no 
  2619. echo) the command line to standard output, type the following: 
  2620.  
  2621. CMD /Q
  2622.  
  2623. To start another command processor, process the DIR command on drive A, and 
  2624. retain the current command processor, type the following: 
  2625.  
  2626. CMD /K DIR A:
  2627.  
  2628. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  2629. quotation marks. 
  2630.  
  2631. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  2632. exists on drive C, which is formatted with the HPFS, and retain the current 
  2633. command processor, type the following: 
  2634.  
  2635. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE""
  2636.  
  2637. If the program requires arguments, type them as: 
  2638.  
  2639. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  2640.  
  2641. To start another command processor, process the DIR command on drive A, and 
  2642. automatically return to the previous command processor after DIR is complete, 
  2643. type the following: 
  2644.  
  2645. CMD /C DIR A:
  2646.  
  2647. To have a new CMD.EXE process the DIR command and then have the parent CMD.EXE 
  2648. display the word "HELLO," type the following: 
  2649.  
  2650. CMD /C DIR & ECHO HELLO
  2651.  
  2652. To have the new CMD.EXE process the DIR command and display the word "HELLO," 
  2653. type the following: 
  2654.  
  2655. CMD /C "DIR & ECHO HELLO"
  2656.  
  2657. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  2658. exists on drive C, which is formatted with the HPFS, and return to the previous 
  2659. command processor, type the following: 
  2660.  
  2661. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE""
  2662.  
  2663. If the program requires arguments, type them as: 
  2664.  
  2665. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  2666.  
  2667.  
  2668. ΓòÉΓòÉΓòÉ 4.18. CODEPAGE - Prepare Code Pages ΓòÉΓòÉΓòÉ
  2669.  
  2670. Selects the system code pages (defined character sets) to be prepared by the 
  2671. OS/2 operating system for code-page switching.  You must include the 
  2672. appropriate DEVINFO statements (for keyboard and video display) for both code 
  2673. pages in the CONFIG.SYS file. 
  2674.  
  2675. CODEPAGE = xxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2676.                             ΓööΓöÇ ,yyy ΓöÇΓöÿ
  2677.  
  2678. Related Commands:  COUNTRY, DEVINFO (Display), and DEVINFO (Keyboard). 
  2679.  
  2680. Note that the display and printers each default to a native device character 
  2681. set.  The keyboard and country information default to the national language 
  2682. code page supported by the country code specified in the COUNTRY statement. 
  2683.  
  2684. When your computer displays output, the characters used are defined by a 
  2685. specific code page.  Each code page contains letters, numbers, symbols, and 
  2686. other characters common to a particular country.  Each character has a number 
  2687. (1 to 255) assigned to it. For example, character number 212 might display one 
  2688. character in the U.S. code page (437), but a different one in the Portuguese 
  2689. code page (860). Therefore, you should use your default national-language code 
  2690. page unless you are working with files that were created using another code 
  2691. page or unless you are planning to send files to other countries. 
  2692.  
  2693. When using a file that was created in another code page, you can switch to that 
  2694. code page or to the multilingual code page. We recommend you use the 
  2695. multilingual code page (850) whenever possible because it supports many 
  2696. languages. For example, suppose you create a file using code page 850 and send 
  2697. it to someone in another country.  When that file is viewed or printed using 
  2698. code page 850, it is identical to your copy. If, however, the file you send was 
  2699. not created using the multilingual code page, the receiver will need to switch 
  2700. to the code page that it was created with. Once code pages are defined on your 
  2701. system, you can switch back and forth between the prepared code pages. 
  2702.  
  2703. In the OS/2 operating system, a program or user can change the active code 
  2704. page.  Two pages can be active simultaneously.  Code pages for the keyboard and 
  2705. display can be set independently; however, code-page switching can take place 
  2706. only in displays that support code-page switching, including the following 
  2707. products: 
  2708.  
  2709. o IBM Enhanced Color Display 
  2710. o IBM Personal System/2* Displays 
  2711. o IBM Enhanced Graphics Adapter 
  2712. o IBM Personal System/2 Video Graphics Array 
  2713. o IBM Personal System/2 Display Adapter 
  2714. o IBM Personal System/2 8514/A 
  2715.  
  2716. If you plan to switch code pages and are using a code page other than 850, we 
  2717. recommend that you do not name your files or subdirectories with accented 
  2718. characters. 
  2719.  
  2720.  
  2721. ΓòÉΓòÉΓòÉ <hidden> CODEPAGE  Examples ΓòÉΓòÉΓòÉ
  2722.  
  2723. To prepare code pages 437 and 850, insert the following statement in the 
  2724. CONFIG.SYS file: 
  2725.  
  2726. CODEPAGE=437,850
  2727.  
  2728. Choose the code pages you want to use from the list below: 
  2729.  
  2730. The OS/2 operating system supports these code pages: 
  2731.  
  2732. 437     U.S. 
  2733.  
  2734. 850     Multilingual 
  2735.  
  2736. 852     Latin 2 (Czechoslovakia, Hungary, Poland, Yugoslavia) 
  2737.  
  2738. 857     Turkish 
  2739.  
  2740. 860     Portuguese 
  2741.  
  2742. 861     Iceland 
  2743.  
  2744. 862     Hebrew-speaking 
  2745.  
  2746. 863     Canada (French-speaking) 
  2747.  
  2748. 864     Arabic-speaking 
  2749.  
  2750. 865     Nordic 
  2751.  
  2752. 938     Republic of China 
  2753.  
  2754. 942     Japanese  SAA* 
  2755.  
  2756. 944     Korean   SAA 
  2757.  
  2758. 948     Republic of China SAA 
  2759.  
  2760. Note 1    Code pages 862 and 864 are supported with a country supplement 
  2761.           available only in certain countries. 
  2762. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  2763.           the DBCS version of the OS/2 operating system on DBCS hardware. 
  2764.  
  2765.  
  2766. ΓòÉΓòÉΓòÉ 4.19. COMMAND - Start a DOS Command Processor ΓòÉΓòÉΓòÉ
  2767.  
  2768. Starts the DOS command processor, COMMAND.COM, which is located in the 
  2769. C:\OS2\MDOS subdirectory. 
  2770.  
  2771.  
  2772. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ COMMAND ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2773.  ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  2774.  
  2775. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2776.         Γö£ΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöñ       Γö£ΓöÇ /C string ΓöÇΓöñ
  2777.         ΓööΓöÇΓöÇΓöÇ /E:x ΓöÇΓöÇΓöÇΓöÿ       ΓööΓöÇ /K string ΓöÇΓöÿ
  2778.  
  2779. Related Commands:  CMD, EXIT, SET 
  2780.  
  2781. Type this command without a parameter to start another DOS command processor. 
  2782. To return to the previous command processor, use the EXIT command.  If 
  2783. COMMAND.COM is not found in the specified directory, the OS/2 operating system 
  2784. searches the environment for the value of COMSPEC.  This system variable, which 
  2785. is placed in the environment when a DOS session is started, describes the path 
  2786. the system uses to reload the command processor.  You can change the value for 
  2787. COMSPEC with the SET command. 
  2788.  
  2789. If you use the SET command to change any environment variables in the current 
  2790. command processor, the change is known only to the current command processor. 
  2791. Returning to the primary DOS command processor with the EXIT command causes a 
  2792. resumption of the environment that the primary DOS command processor knew 
  2793. before the secondary copy existed. 
  2794.  
  2795.  
  2796. ΓòÉΓòÉΓòÉ <hidden> COMMAND.COM Examples ΓòÉΓòÉΓòÉ
  2797.  
  2798. To start another command processor enter the following: 
  2799.  
  2800. COMMAND
  2801.  
  2802. To pass a command (DIR B:) to a secondary command processor and return to the 
  2803. primary command processor after the command is completed enter the following: 
  2804.  
  2805. COMMAND /C DIR B:
  2806.  
  2807. To retain the DOS processor, enter the following: 
  2808.  
  2809. COMMAND /P
  2810.  
  2811. To specify the size of the environment as 16KB, enter the following: 
  2812.  
  2813. COMMAND /E:16384
  2814.  
  2815. To start another command processor, process the DIR command on drive A, and 
  2816. retain the new command processor, enter the following: 
  2817.  
  2818. COMMAND /K DIR A:
  2819.  
  2820.  
  2821. ΓòÉΓòÉΓòÉ 4.20. COMP - Compare Files ΓòÉΓòÉΓòÉ
  2822.  
  2823. Compares the contents of two files. 
  2824.  
  2825. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ COMP ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2826.  ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  2827.  
  2828. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  2829.   ΓööΓöÇ filename ΓöÇΓöÿ   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ
  2830.  
  2831. Related Commands:  DISKCOMP 
  2832.  
  2833. Type this command without a parameter to start a step-by-step menu to compare 
  2834. files. 
  2835.  
  2836. The files you compare can be on the same or different drives, or in the same or 
  2837. different directories. The two sets of files you want to compare can have the 
  2838. same path and file names, provided they are on different drives.  If you 
  2839. specify only a drive for the second file and do not specify a file name, COMP 
  2840. assumes that the second file name is the same as the first.  If you specify a 
  2841. drive or path with no file name for either the primary or secondary path and 
  2842. file name, COMP assumes a file name of *.. 
  2843.  
  2844. After the comparison of the two files, COMP proceeds with the next pair of 
  2845. files that match the two file names.  When COMP cannot find any more files that 
  2846. match the first parameter, it displays a message asking if you want to compare 
  2847. more files.  Type a Y (Yes) to compare two more files, or end COMP by entering 
  2848. an N (No). 
  2849.  
  2850. If the file sizes are different, COMP displays a message informing you of this 
  2851. and asks if you want to continue.  You now have the option to continue the 
  2852. comparison or end it.  If you choose to continue, COMP processes both files 
  2853. based on the length of the smaller of the two files. 
  2854.  
  2855. During a comparison, an error message appears for any location that contains 
  2856. mismatching information in the two files.  After 10 mismatches, processing 
  2857. ends. 
  2858.  
  2859. COMP does not wait for you to insert a diskette containing a file to be 
  2860. compared.  Therefore, if the file to be compared is on a diskette, enter COMP 
  2861. without a parameter.  COMP then prompts for the file name.  Insert the diskette 
  2862. and enter the name of the file to be compared. 
  2863.  
  2864. Return Codes 
  2865.  
  2866. 0 - Normal completion. 
  2867. 1 - No files were found to compare. 
  2868. 2 - Some files or directories were not processed because of file errors. 
  2869. 3 - Ended by user. 
  2870. 4 - Ended because of error. 
  2871. 5 - Files did not compare O.K. 
  2872.  
  2873.  
  2874. ΓòÉΓòÉΓòÉ <hidden> COMP Examples ΓòÉΓòÉΓòÉ
  2875.  
  2876. To compare all files in the NOTE subdirectory on drive C with the files in the 
  2877. MEMO subdirectory on drive C, type the following: 
  2878.  
  2879. COMP C:\NOTE C:\MEMO
  2880.  
  2881. To compare a file that is not on the same diskette as the COMP command itself, 
  2882. and be prompted for the file names, type the following: 
  2883.  
  2884. COMP
  2885.  
  2886. To compare all files on drive A and drive C that have a .ABC extension, type 
  2887. the following: 
  2888.  
  2889. COMP A:*.ABC C:
  2890.  
  2891. To compare all files on drive A that have a .ALL extension with the files on 
  2892. drive B that have the same name but an extension of .BAK, enter the following: 
  2893.  
  2894. COMP A:*.ALL B:*.BAK
  2895.  
  2896.  
  2897. ΓòÉΓòÉΓòÉ 4.21. COPY - Copy or Combine Files ΓòÉΓòÉΓòÉ
  2898.  
  2899. Copies one or more files.  COPY has these format options: 
  2900.  
  2901. o Append ( + ) files. Use this option when merging multiple files into one 
  2902.   file, or when adding one file to the end of another. 
  2903.  
  2904. o Change the date and time ( + ,, ). Use this option when you want to change 
  2905.   the date and time of a file, or if you want to update the date and time of a 
  2906.   file after it is copied. 
  2907.  
  2908. o Combine ( + ) files. Use the combine mode of copy when you can combine 
  2909.   several other copy functions and there is at least one plus sign, and all of 
  2910.   the file name specifications have a common name that can be substituted by a 
  2911.   global file-name character. 
  2912.  
  2913. o Refer to a device name  Use this option when specifying a device (for 
  2914.   example, printer) during the copy process. 
  2915.  
  2916. COPY ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2917.       ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ     Γö£ΓöÇ /A ΓöÇΓöñ
  2918.                            ΓööΓöÇ filename ΓöÇΓöÿ     ΓööΓöÇ /B ΓöÇΓöÿ
  2919.  
  2920. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2921.                 ΓööΓöÇ + ΓöÇΓöÿ   ΓööΓöÇ ,, ΓöÇΓöÿ
  2922.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2923.                                                          Γöé
  2924. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤Γöñ
  2925.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ filename ΓöÇΓöÿ   Γö£ΓöÇΓöÇΓö¼ΓöÇ /A ΓöÇΓö¼ΓöÇΓöÇΓöñ
  2926.                                            Γöé  ΓööΓöÇ /B ΓöÇΓöÿ  Γöé
  2927.                                            Γö£ΓöÇΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöñ
  2928.                                            ΓööΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÿ
  2929.  
  2930. Related Commands:  DISKCOPY, RENAME, VERIFY, XCOPY 
  2931.  
  2932. You can copy files from one diskette or hard disk to another and you can copy 
  2933. files within directories. If you want to copy one or more files to a 
  2934. subdirectory, make sure that the subdirectory exists.  For example, if you 
  2935. enter: 
  2936.  
  2937. COPY C:\MON C:\REPORTS
  2938.  
  2939. and a REPORTS subdirectory does not exist, the system copies the contents of 
  2940. the MON file to a file named REPORTS.  Also, you cannot copy a file to itself. 
  2941.  
  2942. You can use global file name characters in the source file specification to 
  2943. change the dates and times of a group of files.  If you do not include a target 
  2944. file specification, all files found that match the source file specification 
  2945. remain where they are, but their dates and times are changed. 
  2946.  
  2947. Extended Attributes:  COPY preserves any existing extended attributes when the 
  2948. file is copied (See the /F parameter). An extended attribute is a special area 
  2949. used for storing data that describes the file or directory to the operating 
  2950. system or to an application. When copying files and directories that have 
  2951. extended attributes, be sure to use OS/2 2.1 to ensure all extended file 
  2952. attributes are copied. 
  2953.  
  2954. When combining or merging files, you must specify the file that has extended 
  2955. attributes as the first source file. The first source file cannot be chosen as 
  2956. the target file. 
  2957.  
  2958.  
  2959. ΓòÉΓòÉΓòÉ <hidden> COPY Examples ΓòÉΓòÉΓòÉ
  2960.  
  2961. To combine two ASCII files named MON and TUES, create a new file named DAYS, 
  2962. and add an end-of-file character (Ctrl+Z) as the last character of the file, 
  2963. type the following: 
  2964.  
  2965. COPY MON + TUES /A DAYS
  2966.  
  2967. To combine an ASCII file named TUES with a binary file named WED and create a 
  2968. new file named STATUS, type the following: 
  2969.  
  2970. COPY TUES + WED /B STATUS
  2971.  
  2972. To verify that a file named REPORTS.TXT is copied correctly to a directory 
  2973. named STATUS on drive C, type the following: 
  2974.  
  2975. COPY REPORTS.TXT C:\STATUS /V
  2976.  
  2977. To copy a file named REPORTS.TXT to the STATUS directory on drive D and force 
  2978. the command to fail if drive D does not support extended attributes, type the 
  2979. following: 
  2980.  
  2981. COPY REPORTS.TXT D:\STATUS /F
  2982.  
  2983. To copy a file named MON from the root directory on drive C to a directory 
  2984. named REPORTS on drive C, type the following: 
  2985.  
  2986. COPY C:\MON C:\REPORTS
  2987.  
  2988. To copy all the files in a directory named STATUS on drive A to the REPORTS 
  2989. directory on drive C, type the following: 
  2990.  
  2991. COPY A:\STATUS\*.* C:\REPORTS
  2992.  
  2993. To combine several other copy functions on files where all of the file-name 
  2994. specifications have a common name that can be substituted by a global file-name 
  2995. character, type the following: 
  2996.  
  2997. Copy *.BAT + *.CMD *.ALL
  2998.  
  2999. To copy and combine files named MYPROG.XYZ and FILEA.ABC from the current drive 
  3000. and directory and file FILEB.DEF from drive B and put them into a new file 
  3001. called BIGFILE.TXT in the current directory, type the following: 
  3002.  
  3003. COPY MYPROG.XYZ+FILEA.ABC+B:FILEB.DEF BIGFILE.TXT
  3004.  
  3005. To add files named MYPROG.XYZ, FILEA.ABC, and FILEB.DEF to an existing file 
  3006. named MYPROG.XYZ, type the following: 
  3007.  
  3008. COPY MYPROG.XYZ+FILEA.ABC+FILEB.DEF
  3009.  
  3010. To update the date and time of all files in the current directory to the 
  3011. current date and time, type the following: 
  3012.  
  3013. COPY *.* /B + ,,
  3014.  
  3015. To copy a binary file named MYFILE.BIN and send it to your printer (LPT1), type 
  3016. the following: 
  3017.  
  3018. COPY MYFILE.BIN /B LPT1
  3019.  
  3020. To copy a file named FRIDAY and send it to your plotter (COM1), type the 
  3021. following: 
  3022.  
  3023. COPY FRIDAY COM1
  3024.  
  3025.  
  3026. ΓòÉΓòÉΓòÉ 4.22. COUNTRY - Identify Country Information ΓòÉΓòÉΓòÉ
  3027.  
  3028. Identifies the following information for a country: 
  3029.  
  3030. o Date and time format 
  3031. o Decimal separator 
  3032. o Character-case map table 
  3033. o Collating-sequence table used by SORT 
  3034. o Double-byte character-set (DBCS) environment vector for double-byte 
  3035.   characters. 
  3036.  
  3037. COUNTRY = nnn ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  3038.                ΓööΓöÇ,ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ filename ΓöÇΓöÿ
  3039.                     ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  3040.  
  3041. Related Commands:  CODEPAGE, DATE, DEVINFO (Display), DEVINFO (Keyboard), KEYB, 
  3042. SORT, TIME 
  3043.  
  3044. This statement is one of the interrelated CONFIG.SYS statements required for 
  3045. successful code-page switching. 
  3046.  
  3047. The country-dependent information used by the OS/2 operating system is 
  3048. determined by the COUNTRY statement that is active in the system.  This country 
  3049. information is always the same for both operating environments. 
  3050.  
  3051. The following table lists the country code and supported code pages for each 
  3052. country. The first code page listed for each country is the system default when 
  3053. a CODEPAGE statement is not specified in the CONFIG.SYS file.  The CONFIG.SYS 
  3054. file does not change if the country information in the System Setup folder is 
  3055. changed.  If your country is not listed, select the most similar country 
  3056. supported. 
  3057.  
  3058. Arabic-speaking               Country Code:  785  Code Pages:  864 (Note 1), 
  3059.                               437 
  3060.                               Country Code:  785  Code Pages:  864 (Note 1), 
  3061.                               850 
  3062. Asian English                 Country Code:  099  Code Pages:  437, 850 
  3063. Australia                     Country Code:  061  Code Pages:  437, 850 
  3064. Belgium                       Country Code:  032  Code Pages:  437, 850 
  3065. Brazil                        Country Code:  055  Code Pages:  850, 437 
  3066. Canada (French-speaking)      Country Code:  002  Code Pages:  863, 850 
  3067. Czechoslovakia                Country Code:  042  Code Pages:  852, 850 
  3068. Denmark                       Country Code:  045  Code Pages:  865, 850 
  3069. Finland                       Country Code:  358  Code Pages:  437, 850 
  3070. France                        Country Code:  033  Code Pages:  437, 850 
  3071. Germany                       Country Code:  049  Code Pages:  437, 850 
  3072. Hebrew-speaking               Country Code:  972  Code Pages:  862 (Note 1), 
  3073.                               437 
  3074.                               Country Code:  972  Code Pages:  862 (Note 1), 
  3075.                               850 
  3076. Hungary                       Country Code:  036  Code Pages:  852, 850 
  3077. Iceland                       Country Code:  354  Code Pages:  850, 861 
  3078. Italy                         Country Code:  039  Code Pages:  437, 850 
  3079. Japan                         Country Code:  081  Code Pages:  932 (Note 2), 
  3080.                               437, 850 
  3081.                               Country Code:  081  Code Pages:  942 (Note 2), 
  3082.                               437, 850 
  3083. Korea                         Country Code:  082  Code Pages:  934 (Note 2), 
  3084.                               437, 850 
  3085.                               Country Code:  082  Code Pages:  944 (Note 2), 
  3086.                               437, 850 
  3087. Latin America                 Country Code:  003  Code Pages:  437, 850 
  3088. Netherlands                   Country Code:  031  Code Pages:  437, 850 
  3089. Norway                        Country Code:  047  Code Pages:  865, 850 
  3090. Poland                        Country Code:  048  Code Pages:  852, 850 
  3091. Portugal                      Country Code:  351  Code Pages:  860, 850 
  3092. Republic of China             Country Code:  088  Code Pages:  938 (Note 2), 
  3093.                               437, 850 
  3094.                               Country Code:  088  Code Pages:  948 (Note 2), 
  3095.                               437, 850 
  3096. Spain                         Country Code:  034  Code Pages:  437, 850 
  3097. Sweden                        Country Code:  046  Code Pages:  437, 850 
  3098. Switzerland                   Country Code:  041  Code Pages:  437, 850 
  3099. Turkey                        Country Code:  090  Code Pages:  857, 850 
  3100. United Kingdom                Country Code:  044  Code Pages:  437, 850 
  3101. United States                 Country Code:  001  Code Pages:  437, 850 
  3102. Yugoslavia                    Country Code:  038  Code Pages:  852, 850 
  3103.  
  3104. Note 1    Code pages 862 and 864 are supported only with a country supplement 
  3105.           available only in certain countries. 
  3106. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  3107.           the Asian version of the OS/2 operating system on Asian hardware. 
  3108.  
  3109.  
  3110. ΓòÉΓòÉΓòÉ <hidden> COUNTRY Examples ΓòÉΓòÉΓòÉ
  3111.  
  3112. To set the date and time format for Canada (French), use 002 as the country 
  3113. code and 863 as the desired code page.  Specify COUNTRY.SYS as the file 
  3114. containing the country information and type the following statement in your 
  3115. CONFIG.SYS file. 
  3116.  
  3117. COUNTRY=002,C:\OS2\SYSTEM\COUNTRY.SYS
  3118.  
  3119. To specify the drive, directory, and name of the file that contains the country 
  3120. information to be used, type the following statement in your CONFIG.SYS file. 
  3121.  
  3122. C:\OS2\SYSTEM\COUNTRY.SYS.
  3123.  
  3124.  
  3125. ΓòÉΓòÉΓòÉ 4.23. CREATEDD - Create Dump Diskette ΓòÉΓòÉΓòÉ
  3126.  
  3127. Creates a dump diskette for use with the Stand-Alone Dump procedure. 
  3128.  
  3129. This command is intended to be used with the aid of your technical coordinator. 
  3130.  
  3131.  
  3132. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ CREATEDD ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ target ΓöÇΓöÇΓöÇΓöÇΓöñ
  3133.    ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ                   drive
  3134.  
  3135. Related Commands:  TRACE, TRACEBUF, TRACEFMT 
  3136.  
  3137. The CREATEDD utility program prepares a diskette for an OS/2 memory dump. If a 
  3138. dump requires more than one diskette, the first diskette must be prepared with 
  3139. CREATEDD while the rest can be any formatted diskettes. 
  3140.  
  3141. Note:   As with other formatting operations, when you use CREATEDD to format a 
  3142.         diskette that already contains information, all of the information on 
  3143.         the diskette is erased. 
  3144.  
  3145.  
  3146. ΓòÉΓòÉΓòÉ <hidden> Stand-Alone Dump Facility ΓòÉΓòÉΓòÉ
  3147.  
  3148. This procedure is intended to be used with the aid of your technical 
  3149. coordinator. 
  3150.  
  3151. The Stand-Alone Dump facility provides an image of all of the physical memory 
  3152. in the system.  Stand-Alone means when the dump is started, all system 
  3153. activities stop and only the dump process continues. 
  3154.  
  3155. Note:   The Stand-Alone Dump facility is intended for use at the direction of 
  3156.         OS/2 support personnel. A dump is performed when a problem is difficult 
  3157.         to reproduce, or other methods of problem determination do not identify 
  3158.         the problem. The diskettes containing dump information are sent to an 
  3159.         OS/2 support location for analysis and problem determination. 
  3160.  
  3161. There are two procedures that need to be done to use the Stand-Alone Dump 
  3162. facility. They are as follows: 
  3163.  
  3164.  1. Create a dump diskette by using CREATEDD 
  3165.  2. Perform the Stand-Alone Dump procedure 
  3166.  
  3167.  
  3168. ΓòÉΓòÉΓòÉ <hidden> Stand-Alone Dump Procedure ΓòÉΓòÉΓòÉ
  3169.  
  3170. This procedure is intended to be used with the aid of your technical 
  3171. coordinator. 
  3172.  
  3173. Warning:  Performing a stand-alone dump is similar to restarting the system. 
  3174. Use caution when using a stand-alone dump. While dumping is taking place, all 
  3175. system activities in progress in all windows and full screens will stop and 
  3176. modified files might not be saved. 
  3177.  
  3178. Running a Stand-Alone Dump 
  3179.  
  3180.  1. Start the Stand-Alone Dump facility. 
  3181.  
  3182.     The Stand-Alone Dump facility can be started either manually or with the 
  3183.     TRAPDUMP utility program.  The following describes both ways. 
  3184.  
  3185.    o MANUAL: Press and hold down the Ctrl and Alt Keys, and press the Num Lock 
  3186.      key twice. After a few seconds, the screen clears and the following 
  3187.      message is displayed: 
  3188.  
  3189.           Insert the dump diskette created by the CREATEDD utility
  3190.           into drive A and press any key to continue.
  3191.  
  3192.    o TRAPDUMP Utility Program: 
  3193.  
  3194.      Warning:  Enabling TRAPDUMP automatically allows your system to initiate a 
  3195.      stand-alone dump every time an error occurs in the application code.  You 
  3196.      do not want to enable TRAPDUMP unless you really need to troubleshoot your 
  3197.      operating system and have been instructed to do so by your technical 
  3198.      coordinator. 
  3199.  
  3200.      To enable TRAPDUMP, type the following statement in the CONFIG.SYS file: 
  3201.  
  3202.           TRAPDUMP=ON
  3203.  
  3204.      By adding this statement, TRAPDUMP automatically initiates a stand-alone 
  3205.      dump when a trap occurs that normally would force ending the application 
  3206.      (for example, General Protection   Fault - 000D). 
  3207.  
  3208.      When dumping is initiated, the screen clears and the following message is 
  3209.      displayed: 
  3210.  
  3211.           Insert the dump diskette created by the CREATEDD utility into drive A
  3212.           and press any key to continue.
  3213.  
  3214.  2. When instructed, insert the diskette labeled Dump Diskette 1 and press any 
  3215.     key. This action starts the dump process. The following message is 
  3216.     displayed: 
  3217.  
  3218.         The storage dump is being performed...
  3219.  
  3220.  3. When the system dump is complete, or the current dump diskette is full, the 
  3221.     following messages are displayed: 
  3222.  
  3223.         The storage address ranges on this diskette are:
  3224.  
  3225.              beginning - ending memory address on the disk
  3226.  
  3227.         Press any key to continue.
  3228.  
  3229.  4. After you press a key, the following message is displayed: 
  3230.  
  3231.         The diskette is full.
  3232.         Insert another formatted diskette in drive A.
  3233.  
  3234.         Press any key to continue.
  3235.  
  3236.     Insert the next dump diskette into drive A and press any key. This action 
  3237.     continues the dump process and the following message is displayed: 
  3238.  
  3239.              The storage dump is being performed...
  3240.  
  3241.         WARNING: Any data on the dump diskettes will be overwritten by the
  3242.                  Stand-Alone Dump Facility.
  3243.  
  3244.  5. Repeat steps 3 and 4 until the following message is displayed: 
  3245.  
  3246.         Insert storage dump diskette number 1 to complete dump.
  3247.  
  3248.         Press any key to continue.
  3249.  
  3250.     This allows the control program to write the dump summary record to Dump 
  3251.     Diskette 1 and end the dump process. 
  3252.  
  3253. After the process has ended, the following messages are displayed: 
  3254.  
  3255. The storage dump has completed. Remove the dump diskette and restart
  3256. the system.
  3257.  
  3258.  
  3259. ΓòÉΓòÉΓòÉ <hidden> CREATEDD Examples ΓòÉΓòÉΓòÉ
  3260.  
  3261. To prepare the diskettes for the Stand-Alone Dump procedure, do the following: 
  3262.  
  3263.  1. Select an OS/2 command prompt. 
  3264.  2. To create a dump diskette in drive A, type the following: 
  3265.  
  3266.         CREATEDD A:
  3267.  
  3268.     Note:   CREATEDD.EXE must be in your current directory or path. 
  3269.  
  3270.  
  3271.  3. The following message is displayed: 
  3272.  
  3273.         Insert a new diskette in drive A:
  3274.         and press Enter when you are ready.
  3275.  
  3276.  4. When you press Enter, the following message is displayed: 
  3277.  
  3278.         Are you using a 1.44 megabyte diskette in drive A: (Y/N)?
  3279.  
  3280.  5. Select Y for yes, or N for no and press Enter. CREATEDD displays the 
  3281.     following message: 
  3282.  
  3283.         The operating system dump diskette
  3284.         is being created.
  3285.  
  3286.  6. After the command prompt reappears, use the FORMAT command to format the 
  3287.     remaining diskettes.  This number will vary with the amount of random 
  3288.     access memory (RAM) in your system.  One 1.44MB diskette for each 2MB of 
  3289.     RAM is suggested. 
  3290.  7. Label the diskette that you created with the CREATEDD command as Dump 
  3291.     Diskette 1. The diskettes that you created using the FORMAT command should 
  3292.     be labeled as Dump Diskette 2 and so on. 
  3293.  
  3294.  
  3295. ΓòÉΓòÉΓòÉ <hidden> SAA ΓòÉΓòÉΓòÉ
  3296.  
  3297. Trademark of the IBM Corporation. 
  3298.  
  3299.  
  3300. ΓòÉΓòÉΓòÉ <hidden> Personal System/2 ΓòÉΓòÉΓòÉ
  3301.  
  3302. Trademark of the IBM Corporation. 
  3303.  
  3304.  
  3305. ΓòÉΓòÉΓòÉ <hidden> Quietwriter ΓòÉΓòÉΓòÉ
  3306.  
  3307. Trademark of the IBM Corporation. 
  3308.  
  3309.  
  3310. ΓòÉΓòÉΓòÉ <hidden> Proprinter ΓòÉΓòÉΓòÉ
  3311.  
  3312. Trademark of the IBM Corporation. 
  3313.  
  3314.  
  3315. ΓòÉΓòÉΓòÉ <hidden> PS/2 ΓòÉΓòÉΓòÉ
  3316.  
  3317. Trademark of the IBM Corporation. 
  3318.  
  3319.  
  3320. ΓòÉΓòÉΓòÉ 4.24. DATE - Set System Date ΓòÉΓòÉΓòÉ
  3321.  
  3322. Displays or changes the date known to the system and resets the date on your 
  3323. computer's clock. This date is recorded in the directory when you create or 
  3324. change a file. 
  3325.  
  3326. DATE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3327.                        Γö£ΓöÇΓöÇΓöÇΓöÇ  mm-dd-yy  ΓöÇΓöÇΓöÇΓöÇΓöñ
  3328.                        Γö£ΓöÇΓöÇΓöÇΓöÇ  dd-mm-yy  ΓöÇΓöÇΓöÇΓöÇΓöñ
  3329.                        ΓööΓöÇΓöÇΓöÇΓöÇ  yy-mm-dd  ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3330.  
  3331. Related Commands:  COUNTRY, TIME 
  3332.  
  3333. The OS/2 operating system accepts a slash (/), a period (.), and a dash (-), as 
  3334. the valid date separator for your country. 
  3335.  
  3336. Enter this command without a parameter to display the system date and be 
  3337. prompted about changing it. 
  3338.  
  3339. It is not necessary to change the date every day because your system hardware 
  3340. is programmed to change months and years correctly, whether the month has 31, 
  3341. 30, 29, or 28 days.  If you must change the date, enter DATE at the command 
  3342. prompt or from a batch file. If you do not want to change the date shown, press 
  3343. Enter. 
  3344.  
  3345. Note that the COUNTRY command in your CONFIG.SYS file allows you to change the 
  3346. format in which the date is displayed and entered. 
  3347.  
  3348.  
  3349. ΓòÉΓòÉΓòÉ <hidden> DATE Examples ΓòÉΓòÉΓòÉ
  3350.  
  3351. To display the system date and be prompted about changing it, enter the 
  3352. following: 
  3353.  
  3354. DATE
  3355.  
  3356. To change the date in the system to June 20 1990 without being prompted by the 
  3357. system, enter the following: 
  3358.  
  3359. DATE 06/20/90
  3360.  
  3361. or 
  3362.  
  3363. DATE 06-20-90
  3364.  
  3365. or 
  3366.  
  3367. DATE 06.20.90
  3368.  
  3369.  
  3370. ΓòÉΓòÉΓòÉ 4.25. DDINSTAL - Install Automated Device Drivers ΓòÉΓòÉΓòÉ
  3371.  
  3372. Provides an automated way to install new device drivers after the operating 
  3373. system has been installed. 
  3374.  
  3375. DDINSTAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3376.  
  3377. Enter this command to display the Device Driver Installation window from which 
  3378. you can install device-driver files. 
  3379.  
  3380. These files are provided on a separate diskette called a Device Support 
  3381. diskette.  This diskette contains an xxx.DDP (device-driver profile) file that 
  3382. controls the installation process.  The DDINSTAL program uses the information 
  3383. from the device-driver profile to add the necessary statements to the 
  3384. CONFIG.SYS file and to copy all the support files into their appropriate 
  3385. directories on the hard disk. 
  3386.  
  3387. After you type DDINSTAL at an OS/2 command prompt, the Device Driver 
  3388. Installation window is displayed.  Select Help for instructions on how to 
  3389. install the device drivers that are on the Device Support diskette. 
  3390.  
  3391.  
  3392. ΓòÉΓòÉΓòÉ <hidden> DDINSTAL Examples ΓòÉΓòÉΓòÉ
  3393.  
  3394. To display the Device Driver Installation window from which you can install 
  3395. device-driver files, enter the following: 
  3396.  
  3397. DDINSTAL
  3398.  
  3399.  
  3400. ΓòÉΓòÉΓòÉ 4.26. DEBUG - Assist in Testing and Debugging Executable Files ΓòÉΓòÉΓòÉ
  3401.  
  3402. DEBUG Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3403.       ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ filename ΓöÇΓöÇΓöÿ
  3404.  
  3405. Use the DEBUG command without a location and file name to access the DOS DEBUG 
  3406. environment and be able to enter all DEBUG commands in response to the DEBUG 
  3407. prompt, a hyphen (-).  Refer to the documentation that came with your DOS 
  3408. operating system for more information about the DEBUG command. 
  3409.  
  3410. The following is a list of DEBUG commands: 
  3411.  
  3412. ?         Displays a list of the DEBUG commands. 
  3413.  
  3414. A         Assembles 8086/8087/8088 mnemonics. 
  3415.  
  3416. C         Compares two portions of memory. 
  3417.  
  3418. D         Displays the contents of a portion of memory. 
  3419.  
  3420. E         Enters data into memory starting at a specified address. 
  3421.  
  3422. F         Fills a range of memory with specified values. 
  3423.  
  3424. G         Runs the executable file that is in memory. 
  3425.  
  3426. H         Performs hexadecimal arithmetic. 
  3427.  
  3428. I         Displays one byte value from a specified port. 
  3429.  
  3430. L         Loads the contents of a file or disk sectors into memory. 
  3431.  
  3432. M         Copies the contents of a block of memory. 
  3433.  
  3434. N         Specifies a file for an L or W command, or specifies the parameters 
  3435.           for the file you are testing. 
  3436.  
  3437. O         Sends one byte value to an output port. 
  3438.  
  3439. P         Executes a loop, a repeated string instruction, a software interrupt, 
  3440.           or a subroutine. 
  3441.  
  3442. Q         Stops the DEBUG session. 
  3443.  
  3444. R         Displays or alters the contents of one or more registers. 
  3445.  
  3446. S         Searches a portion of memory for a specified pattern of one or more 
  3447.           byte values. 
  3448.  
  3449. T         Processes one instruction and then displays the contents of all 
  3450.           registers, the status of all flags, and the decoded form of the 
  3451.           instruction that DEBUG will process next. 
  3452.  
  3453. U         Disassembles bytes and displays the corresponding source statements. 
  3454.  
  3455. W         Writes the file being tested to a disk. 
  3456.  
  3457. XA        Allocates expanded memory. 
  3458.  
  3459. XD        Deallocates expanded memory. 
  3460.  
  3461. XM        Maps expanded memory pages. 
  3462.  
  3463. XS        Displays the status of expanded memory. 
  3464.  
  3465.  
  3466. ΓòÉΓòÉΓòÉ <hidden> DEBUG Examples ΓòÉΓòÉΓòÉ
  3467.  
  3468. To access the DOS DEBUG environment, type the following: 
  3469.  
  3470. DEBUG
  3471.  
  3472. Refer to the documentation that came with your DOS operating system for more 
  3473. examples using the DEBUG command. 
  3474.  
  3475.  
  3476. ΓòÉΓòÉΓòÉ 4.27. DETACH - Process Programs Noninteractively ΓòÉΓòÉΓòÉ
  3477.  
  3478. Starts and simultaneously detaches an OS/2 program from its command processor. 
  3479.  
  3480. DETACH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3481.  
  3482. Any program that is started with DETACH must be able to process programs 
  3483. independently outside the control of the command processor.  DETACH should not 
  3484. issue any input or output calls to the keyboard, the mouse, or the display. 
  3485.  
  3486. You can detach any program, command, or file that does not require the use of a 
  3487. screen (for example, internal commands and batch (.CMD) files).  The OS/2 
  3488. operating system detaches CMD.EXE when it runs the internal command or batch 
  3489. file. For example, if you type DETACH DIR, it is changed to the equivalent of 
  3490. DETACH CMD.EXE /C DIR. 
  3491.  
  3492. CMD.EXE uses the value of the COMSPEC environment variable to locate the 
  3493. CMD.EXE that should be detached before it runs internal commands and batch 
  3494. files. 
  3495.  
  3496. You can use DETACH with redirection sequences to redirect a program's standard 
  3497. input and output to devices other than the keyboard and the display.  This 
  3498. allows the program to run noninteractively. 
  3499.  
  3500.  
  3501. ΓòÉΓòÉΓòÉ <hidden> DETACH      Examples ΓòÉΓòÉΓòÉ
  3502.  
  3503. To start and detach a batch program named SAMPLE.CMD from its command 
  3504. processor, enter the following: 
  3505.  
  3506. DETACH SAMPLE.CMD
  3507.  
  3508. To detach the CL command for compiling the TEST.C file and redirect the output 
  3509. to LPT1, enter the following: 
  3510.  
  3511. DETACH CL -C TEST.C > LPT1
  3512.  
  3513.  
  3514. ΓòÉΓòÉΓòÉ 4.28. DEVICE - Install Device Drivers ΓòÉΓòÉΓòÉ
  3515.  
  3516. Installs a device driver by specifying the path and complete file name of the 
  3517. device driver in your CONFIG.SYS file. 
  3518.  
  3519. DEVICE=ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  3520.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  3521.  
  3522. Related Commands:  BASEDEV 
  3523.  
  3524. A device driver is a file that contains the code needed so that the OS/2 
  3525. operating system can recognize the device and correctly process information 
  3526. received from or sent to that device. It loads standard default drivers that 
  3527. support standard system display terminals, keyboards, printers, diskette 
  3528. drives, hard disk drives, and serial devices.  You can, however, replace these 
  3529. or add other devices by coding and loading a device driver using DEVICE 
  3530. statements in the CONFIG.SYS file.  DEVICE statements are processed in the 
  3531. order in which they appear in the CONFIG.SYS file. 
  3532.  
  3533. Any time you add or make changes to the CONFIG.SYS file, you must restart the 
  3534. system in order for the new device or change to become effective. Remember, the 
  3535. CONFIG.SYS file is read only during system startup.  Anything added to this 
  3536. file after system initialization does not work until you restart the system. 
  3537.  
  3538. Your OS/2 diskettes contain the following device drivers: 
  3539.  
  3540. ANSI.SYS            Allows extended screen and keyboard support for DOS 
  3541.                     sessions. 
  3542.  
  3543. COM.SYS             Allows OS/2 application programs or system programs, such 
  3544.                     as SPOOL, to use serial devices. 
  3545.  
  3546. EGA.SYS             Allows DOS programs that require Enhanced Graphics Adapter 
  3547.                     support to be run. 
  3548.  
  3549. EXTDSKDD.SYS        Allows access to an external diskette drive referencing a 
  3550.                     logical drive letter. 
  3551.  
  3552. LOG.SYS             Allows system error logging using the SYSLOG utility 
  3553.                     program. 
  3554.  
  3555. MOUSE.SYS           Provides support for pointing devices. 
  3556.  
  3557. OS2CDROM.DMD        Provides CD-ROM support for OS/2 sessions. 
  3558.  
  3559. PMDD.SYS            Provides pointer draw support for OS/2 sessions 
  3560.  
  3561. POINTDD.SYS         Provides mouse pointer draw support. 
  3562.  
  3563. TOUCH.SYS           Provides support for touch devices. 
  3564.  
  3565. VDISK.SYS           Installs a simulated disk called a virtual disk. 
  3566.  
  3567. VEMM.SYS            Provides DOS Expanded Memory Manager. 
  3568.  
  3569. VXMS.SYS            Provides DOS Extended Memory Specification. 
  3570.  
  3571. The printer driver diskettes that come with the OS/2 operating system contain 
  3572. printer device drivers.  Refer to the Master Help Index for information about 
  3573. installing these files. 
  3574.  
  3575.  
  3576. ΓòÉΓòÉΓòÉ 4.28.1. Install DOS and OS/2 Device Drivers ΓòÉΓòÉΓòÉ
  3577.  
  3578. Both DOS and OS/2 device drivers can be loaded with the DEVICE statement.  OS/2 
  3579. device drivers are initialized when you start the OS/2 operating system and can 
  3580. process requests from either DOS or OS/2 programs.  DOS device drivers are also 
  3581. initialized when you start the OS/2 operating system but they can only process 
  3582. requests from DOS programs. 
  3583.  
  3584. You can also install a device driver by using one of the following: 
  3585.  
  3586. o OS/2 System Installation program 
  3587. o DDINSTAL command 
  3588. o System Editor 
  3589.  
  3590. OS/2 System Installation is a menu-driven program designed to guide you through 
  3591. the installation process of installing OS/2 2.1 on all systems supported by 
  3592. OS/2 2.1.  It installs the device drivers that are required for your system's 
  3593. operation. It also installs device drivers supplied on separate device driver 
  3594. diskettes such as the printer driver diskettes. 
  3595.  
  3596. DDINSTAL provides an automated way to install device drivers after you have 
  3597. installed the OS/2 operating system. Any device that you can add comes with its 
  3598. own device driver diskette.  That diskette has a device driver profile (a file 
  3599. with a .DDP extension) that controls the installation process. DDINSTAL uses 
  3600. the information from that profile to add the necessary statements to the 
  3601. CONFIG.SYS file and to copy all the support files into their appropriate 
  3602. directories on the hard disk. 
  3603.  
  3604. Some device drivers are very simple. They do not have, nor do they depend on, 
  3605. other support files to operate.  Because of their simplicity, you can easily 
  3606. install these types of device drivers without much trouble by using an editor 
  3607. such as the System Editor and adding a DEVICE statement in your CONFIG.SYS 
  3608. file. 
  3609.  
  3610.  
  3611. ΓòÉΓòÉΓòÉ <hidden> DEVICE Examples ΓòÉΓòÉΓòÉ
  3612.  
  3613. To specify a device driver named SOUND.SYS that you have installed in the 
  3614. C:\SOUND directory, type the following in your CONFIG.SYS file: 
  3615.  
  3616. DEVICE=C:\SOUND\SOUND.SYS
  3617.  
  3618. To specify a device driver named SOUND.SYS that you have installed in the 
  3619. C:\SOUND directory and activate a G switch option, type the following in the 
  3620. CONFIG.SYS file: 
  3621.  
  3622. DEVICE=C:\SOUND\SOUND.SYS /G
  3623.  
  3624.  
  3625. ΓòÉΓòÉΓòÉ 4.29. DEVICE (ANSI.SYS) - Install Extended Display and Keyboard Support ΓòÉΓòÉΓòÉ
  3626.  
  3627. Allows you to use extended keyboard and display support in DOS sessions. This 
  3628. device driver has no effect on OS/2 sessions. 
  3629.  
  3630.                                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3631.                                                            Γöé
  3632. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ ANSI.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  3633.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇΓöÇΓöÇ /X ΓöÇΓöÇΓöÇΓöñ
  3634.                                                ΓööΓöÇΓöÇΓöÇ /K ΓöÇΓöÇΓöÇΓöÿ
  3635.  
  3636. Related Commands:  ANSI 
  3637.  
  3638. You specify this support by placing this DEVICE statement in your CONFIG.SYS 
  3639. file.  Then, when you start the OS/2 operating system and switch to a DOS 
  3640. session, the standard input and standard output support is replaced with the 
  3641. extended functions. These functions allow you to redefine keys, manipulate the 
  3642. cursor, and change display color attributes. If you no longer want the extended 
  3643. functions for DOS sessions, you can remove the DEVICE=C:\OS2\MDOS\ANSI.SYS 
  3644. statement from your CONFIG.SYS file and restart the system. 
  3645.  
  3646.  
  3647. ΓòÉΓòÉΓòÉ <hidden> ANSI.SYS Examples ΓòÉΓòÉΓòÉ
  3648.  
  3649. To provide extended functions for DOS sessions, type the following statement in 
  3650. your CONFIG.SYS file and restart the system. 
  3651.  
  3652. DEVICE=C:\OS2\MDOS\ANSI.SYS
  3653.  
  3654. To install ANSI.SYS and be able to redefine your extended key values, type the 
  3655. following in the CONFIG.SYS file: 
  3656.  
  3657. DEVICE=C:\OS2\MDOS\ANSI.SYS /X
  3658.  
  3659. To allow a system with an enhanced keyboard to be functionally compatible with 
  3660. the conventional keyboard, type the following in the CONFIG.SYS file: 
  3661.  
  3662. DEVICE=C:\OS2\MDOS\ANSI.SYS /K
  3663.  
  3664.  
  3665. ΓòÉΓòÉΓòÉ 4.30. DEVICE (COM.SYS) - Install Serial Device Support ΓòÉΓòÉΓòÉ
  3666.  
  3667. Allows OS/2 application programs or system programs, such as the OS/2 Spooler, 
  3668. to use serial devices. 
  3669.  
  3670. Device drivers that support other devices attached to serial ports COM1 through 
  3671. COM4 must be listed before the DEVICE=C:\OS2\COM.SYS statement in the 
  3672. CONFIG.SYS file, or the port will be unavailable to COM.SYS. 
  3673.  
  3674. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ COM.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3675.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3676. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3677.  Γö£ΓöÇ (n,addr,IRQ,S) ΓöÇΓöñ
  3678.  ΓööΓöÇΓöÇ (n,addr,IRQ) ΓöÇΓöÇΓöÿ
  3679.  
  3680. The COM.SYS file supports ports COM1, COM2, COM3, and COM4.  It does not 
  3681. provide any support for devices that are attached to the COM port.  Instead, it 
  3682. provides enabling support for the asynchronous communications interface itself. 
  3683. Application programs, subsystems, and system programs must provide the support 
  3684. needed to use devices attached to the COM port.  This allows support for: 
  3685.  
  3686. o A special device for an application program's use that is not adequately 
  3687.   supported by this device driver 
  3688. o Additional COM ports beside COM1 through COM4 
  3689. o Enhanced device driver function for a COM port (which might be required for 
  3690.   certain subsystem support). 
  3691.  
  3692. This device driver supports application programs with the following RS-232C 
  3693. (serial device) interface functions: 
  3694.  
  3695. o Duplex communication 
  3696. o Automatic flow control (XON/XOFF) for both transmit and receive 
  3697. o Various modem line handshaking modes 
  3698. o Standard and nonstandard baud rates 
  3699. o Receive data-error character replacement. 
  3700.  
  3701. It also supports these system features: 
  3702.  
  3703. o Multiple active COM ports 
  3704. o Read and write request queueing 
  3705. o Interrupt-driven I/O processing 
  3706. o Internal transmit and receive data buffers 
  3707. o Several device status query functions. 
  3708.  
  3709.  
  3710. ΓòÉΓòÉΓòÉ <hidden> COM.SYS Examples ΓòÉΓòÉΓòÉ
  3711.  
  3712. To provide file system support for communications ports COM1 through COM4, 
  3713. ensure the device drivers that support serial ports COM1, COM2, COM3, and COM4 
  3714. are listed before the COM statement in your CONFIG.SYS file as follows: 
  3715.  
  3716. DEVICE=C:\PRINTER\COM1.SYS
  3717. DEVICE=C:\PRINTER\COM2.SYS
  3718. DEVICE=C:\PRINTER\COM3.SYS
  3719. DEVICE=C:\PRINTER\COM4.SYS
  3720. DEVICE=C:\OS2\COM.SYS
  3721.  
  3722. In the previous example, the device drivers that support COM1 through COM4 
  3723. (COM1.SYS - COM4.SYS) are located in the C:\PRINTER subdirectory. 
  3724.  
  3725. To install a serial device on COM4 for ISA/EISA bus computers, type the 
  3726. following in the CONFIG.SYS file: 
  3727.  
  3728. DEVICE=C:\OS2\COM.SYS (4,2e8,10)
  3729.  
  3730. To install serial devices on COM3 and COM4 for ISA/EISA bus computers, type the 
  3731. following in the CONFIG.SYS file: 
  3732.  
  3733. DEVICE=C:\OS2\COM.SYS (3,3e8,5) (4,2e8,9)
  3734.  
  3735. To install an asynchronous device (a modem that sometimes works poorly and 
  3736. causes numerous unexpected interrupts) and choose to ignore all the interrupts, 
  3737. type the following in the CONFIG.SYS file: 
  3738.  
  3739. DEVICE=C:\OS2\COM.SYS (2,02f8,4,I)
  3740.  
  3741. To install the same device as above but choose to shut down all the COM ports 
  3742. when more than 1000 consecutive unexpected interrupts occur, type the following 
  3743. in the CONFIG.SYS file: 
  3744.  
  3745. DEVICE=C:\OS2\COM.SYS (2,02f8,4,D)
  3746.           or
  3747. DEVICE=C:\OS2\COM.SYS (2,2f8,4)
  3748.  
  3749.  
  3750. ΓòÉΓòÉΓòÉ 4.31. DEVICE (EGA.SYS) - Install Enhanced Graphics Support ΓòÉΓòÉΓòÉ
  3751.  
  3752. Supports the EGA register interface. 
  3753.  
  3754. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ EGA.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3755.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3756.  
  3757. The EGA.SYS device driver provides support for the EGA register interface in 
  3758. DOS sessions. EGA.SYS must be installed for those application programs that use 
  3759. the EGA register interface. 
  3760.  
  3761.  
  3762. ΓòÉΓòÉΓòÉ <hidden> EGA.SYS Examples ΓòÉΓòÉΓòÉ
  3763.  
  3764. To provide support for the EGA register interface in DOS sessions, type the 
  3765. following statement in your CONFIG.SYS file: 
  3766.  
  3767. DEVICE=C:\OS2\EGA.SYS
  3768.  
  3769.  
  3770. ΓòÉΓòÉΓòÉ 4.32. DEVICE (EXTDSKDD.SYS) - Assign a Drive Letter to a Diskette Drive ΓòÉΓòÉΓòÉ
  3771.  
  3772. Allows you to access a disk using a logical drive letter. 
  3773.  
  3774. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ EXTDSKDD.SYSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3775.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3776.  
  3777.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3778.                                    Γöé
  3779. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D:d ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3780.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /T:t ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3781.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S:s ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3782.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H:h ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3783.       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F:f ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3784.  
  3785. More than one external device driver can be installed at the same time.  The 
  3786. maximum number is the total number of physical diskette drives installed in 
  3787. your system. Installed virtual disks do not affect the drive letter assignments 
  3788. described here if DEVICE=C:\OS2\VDISK.SYS statements are listed after 
  3789. DEVICE=C:\OS2\EXTDSKDD.SYS statements in the CONFIG.SYS file. 
  3790.  
  3791.  
  3792. ΓòÉΓòÉΓòÉ 4.32.1. Assign Drive Letters ΓòÉΓòÉΓòÉ
  3793.  
  3794. The first physical internal diskette drive is designated drive A. The second 
  3795. internal diskette drive is designated drive B. Other devices or device drivers 
  3796. are assigned letter values (beginning with C) based on the order in which they 
  3797. are encountered.  The existence of internal diskette drives and hard disks is 
  3798. checked first; then the CONFIG.SYS file is checked for device drivers. For the 
  3799. OS/2 operating system to recognize an external physical device, the CONFIG.SYS 
  3800. file must have the correct device driver information. 
  3801.  
  3802. The drive letter B is automatically used, even if there is only one physical 
  3803. drive; thus, a machine with only one diskette drive has two logical diskette 
  3804. drives: A and B. In this case, a specified parameter of /D:1 is an error. The 
  3805. first hard disk or the first block device driver cannot assign a drive letter 
  3806. lower than C. 
  3807.  
  3808.  
  3809. ΓòÉΓòÉΓòÉ <hidden> EXTDSKDD.SYS Examples ΓòÉΓòÉΓòÉ
  3810.  
  3811. To specify the first physical diskette drive, accessed as A: from the command 
  3812. prompt, type the following statement in your CONFIG.SYS file and restart your 
  3813. system: 
  3814.  
  3815. DEVICE=C:\OS2\EXTDSKDD.SYS /D:0
  3816.  
  3817. Physical Diskette Drive Table 
  3818.  
  3819. 0 = accessed as A 
  3820. 1 = accessed as B 
  3821. 2 = accessed as D or E external drives only 
  3822.  
  3823. To specify the number of tracks as 36 per side of the physical diskette 
  3824. accessed from the command prompt, type the following statement in your 
  3825. CONFIG.SYS file and restart your system: 
  3826.  
  3827. DEVICE=C:\OS2\EXTDSKDD.SYS /T:36
  3828.  
  3829. The tracks-per-side default is 80 
  3830. Valid tracks per side are 1 through 99 
  3831.  
  3832. To specify the number of sectors as 20 for the physical diskette accessed from 
  3833. the command prompt, type the following statement in your CONFIG.SYS file and 
  3834. restart your system: 
  3835.  
  3836. DEVICE=C:\OS2\EXTDSKDD.SYS /S:20
  3837.  
  3838. The sectors-per-track default is 80 
  3839. Valid sectors per track are 1 through 99 
  3840.  
  3841. To specify the maximum number of heads as 15 for the physical diskette drive 
  3842. accessed from the command prompt, type the following statement in your 
  3843. CONFIG.SYS file and restart your system: 
  3844.  
  3845. DEVICE=C:\OS2\EXTDSKDD.SYS /H:15
  3846.  
  3847. The heads default is 2 
  3848. Valid number of heads is 1 through 99 
  3849.  
  3850. To specify the device type (form factor) 0 for the physical diskette drive 
  3851. accessed from the command prompt, type the following statement in your 
  3852. CONFIG.SYS file and restart your system: 
  3853.  
  3854. DEVICE=C:\OS2\EXTDSKDD.SYS /F:0
  3855.  
  3856. The device type default is 2 
  3857. 0 = 360KB Diskette Drives 
  3858. 1 = 1.2MB Diskette Drives 
  3859. 2 = 720KB 
  3860.  
  3861. To copy from an internal diskette drive to the same drive, and specify a 1.2MB 
  3862. drive as the first (A) diskette drive, a 320/360KB drive as the second (B) 
  3863. diskette drive, and a hard disk (C), type the following statement in the 
  3864. CONFIG.SYS file: 
  3865.  
  3866. DEVICE=C:\OS2\EXTDSKDD.SYS /D:0 /T:80 /S:15 /H:2 /F:1
  3867.  
  3868. The first physical drive can now be referred to as either A or D. 
  3869.  
  3870.  
  3871. ΓòÉΓòÉΓòÉ 4.33. DEVICE (LOG.SYS) - Install Logging Service Device Driver ΓòÉΓòÉΓòÉ
  3872.  
  3873. Activates the System Error Logging Service device driver.  Once activated, the 
  3874. System-Error Logging Service can be paused.  When paused, no error logging is 
  3875. performed. 
  3876.  
  3877. DEVICE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ LOG.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3878.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3879.  
  3880. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3881.             ΓööΓöÇ /E:x ΓöÇΓöÿ ΓööΓöÇ /A:x ΓöÇΓöÿ  ΓööΓöÇ /OFF ΓöÇΓöÿ
  3882.  
  3883. Related Commands:  SYSLOG, RUN (LOGGING) 
  3884.  
  3885. You must include a RUN=LOGDAEM.EXE command in the CONFIG.SYS file in addition 
  3886. to this DEVICE=LOG.SYS statement.  These two commands and their parameters 
  3887. allow the System Error Logging Service to retrieve error data and keep that 
  3888. data in specific error-log files.  LOG.SYS is the file name of the System Error 
  3889. Logging Service device driver. 
  3890.  
  3891.  
  3892. ΓòÉΓòÉΓòÉ <hidden> LOG.SYS Examples ΓòÉΓòÉΓòÉ
  3893.  
  3894. To set the size of the System Error Logging Service error-log buffer to 32KB, 
  3895. type the following in the CONFIG.SYS file: 
  3896.  
  3897. DEVICE=C:\OS2\LOG.SYS /E:32
  3898.  
  3899. To set the size of the System Error Logging Service error-log device driver 
  3900. entry alert notification buffer to 64KB, type the following in the CONFIG.SYS 
  3901. file: 
  3902.  
  3903. DEVICE=C:\OS2\LOG.SYS /A:64
  3904.  
  3905. To pause error logging, type the following in the CONFIG.SYS file: 
  3906.  
  3907. DEVICE=C:\OS2\LOG.SYS /OFF
  3908.  
  3909.  
  3910. ΓòÉΓòÉΓòÉ 4.34. DEVICE (MOUSE) - Install a Mouse Device Driver ΓòÉΓòÉΓòÉ
  3911.  
  3912. Implements support for pointing devices. 
  3913.  
  3914. Device Dependent Statement
  3915.  
  3916. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3917.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3918.  
  3919. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3920.        ΓööΓöÇ SERIAL=COMn ΓöÇΓöÿ
  3921.  
  3922. Device Independent Statement
  3923.  
  3924. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ MOUSE.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3925.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3926.  
  3927. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3928.        Γö£ΓöÇ QSIZE=q ΓöÇΓöÇΓöÇΓöñ
  3929.        Γö£ΓöÇ TYPE=name ΓöÇΓöñ
  3930.        ΓööΓöÇΓöÇ RELAXED ΓöÇΓöÇΓöÿ
  3931.  
  3932. To effectively use a mouse, the POINTDD.SYS device driver must be installed. 
  3933. To be able to use a mouse in programs running in a DOS window or full-screen 
  3934. session or a WIN-OS/2 session, the VMOUSE.SYS device driver must also be 
  3935. installed.  These device drivers are installed automatically at installation 
  3936. when the system detects the presence of a supported pointing device. 
  3937.  
  3938. If your pointing device is not supported by OS/2 2.1, you must install the 
  3939. device driver for your pointing device.  Refer to the instructions that came 
  3940. with your pointing device for device driver installation.  In addition, you 
  3941. must include these statements in the CONFIG.SYS file in the following order: 
  3942.  
  3943. o A device-dependent statement that gives the file name containing the 
  3944.   information for the mouse you use and the COM port to which it is connected 
  3945.   if it is connected to one.  You need to use the SERIAL parameter in this 
  3946.   statement. 
  3947.  
  3948. o A device-independent statement that identifies the mouse to MOUSE.SYS. 
  3949.  
  3950. All statements for serial mouse device drivers must precede any COM.SYS 
  3951. statements in the CONFIG.SYS file so that both device drivers are installed 
  3952. correctly. 
  3953.  
  3954. During installation of OS/2 2.1, the MOUSE.SYS device driver tries to detect 
  3955. what type of pointing device you have attached to your system.  If you have a 
  3956. Microsoft** compatible mouse, support for that pointing device is added to your 
  3957. CONFIG.SYS file.  If you have the IBM Personal System/2* Mouse, the following 
  3958. statements are placed in the CONFIG.SYS file: 
  3959.  
  3960. DEVICE=C:\OS2\POINTDD.SYS
  3961. DEVICE=C:\OS2\MOUSE.SYS
  3962. DEVICE=C:\OS2\MDOS\VMOUSE.SYS
  3963.  
  3964. Assume you want to install the PC Mouse System serial mouse on your computer 
  3965. and have it use COM port 2 for all sessions.  You would type the following in 
  3966. the CONFIG.SYS file: 
  3967.  
  3968. DEVICE=C:\OS2\POINTDD.SYS
  3969. DEVICE=C:\OS2\PCLOGIC.SYS SERIAL=COM2
  3970. DEVICE=C:\OS2\MOUSE.SYS TYPE=PCLOGIC$
  3971. DEVICE=C:\OS2\COM.SYS
  3972.  
  3973. To use the RELAXED parameter to prevent a 3-button mouse from causing the mouse 
  3974. pointer to jump around the screen, type the following in the CONFIG.SYS file: 
  3975.  
  3976. DEVICE=C:\OS2\MOUSE.SYS RELAXED
  3977.  
  3978. COM.SYS must be loaded after the mouse statements so that the mouse can gain 
  3979. access to the COM port.  For all personal computer models, the device driver is 
  3980. COM.SYS.  The preceding example dedicates the COM2 port to the mouse.  When 
  3981. your system is started, the mouse device driver is loaded and takes the COM2 
  3982. port, leaving the COM1 port available for the COM.SYS device driver to use. 
  3983.  
  3984.  
  3985. ΓòÉΓòÉΓòÉ <hidden> MOUSE.SYS Examples ΓòÉΓòÉΓòÉ
  3986.  
  3987. If you have the IBM Personal System/2 Mouse, the following statements are 
  3988. placed in the CONFIG.SYS file: 
  3989.  
  3990. DEVICE=C:\OS2\POINTDD.SYS
  3991. DEVICE=C:\OS2\MOUSE.SYS
  3992. DEVICE=D:\MDOS\VMOUSE.SYS
  3993.  
  3994. To install the PC Mouse System serial mouse on your computer and have it use 
  3995. COM port 2 for all sessions, type the following in the CONFIG.SYS file: 
  3996.  
  3997. DEVICE=C:\OS2\POINTDD.SYS
  3998. DEVICE=C:\OS2\PCLOGIC.SYS SERIAL=COM2
  3999. DEVICE=C:\OS2\MOUSE.SYS TYPE=PCLOGIC$
  4000. DEVICE=C:\OS2\COM.SYS
  4001.  
  4002.  
  4003. ΓòÉΓòÉΓòÉ 4.35. DEVICE (OS2CDROM.DMD) - Install CD-ROM Device Driver ΓòÉΓòÉΓòÉ
  4004.  
  4005. Provides support for CD-ROM drives. 
  4006.  
  4007.  
  4008.  
  4009. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOS2CDROM.DMDΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  4010.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöñ
  4011.                                                ΓööΓöÇΓöÇΓöÇ /Q ΓöÇΓöÇΓöÇΓöÿ
  4012.  
  4013.  
  4014. ΓòÉΓòÉΓòÉ <hidden> OS2CDROM.DMD Examples ΓòÉΓòÉΓòÉ
  4015.  
  4016. To prevent an error message from displaying if the CD-ROM drive is turned off 
  4017. when OS/2 2.1 is started, type: 
  4018.  
  4019. DEVICE=OS2CDROM.DMD /Q
  4020.  
  4021.  
  4022. ΓòÉΓòÉΓòÉ 4.36. DEVICE (PMDD.SYS) - Install Presentation Manager Draw Support ΓòÉΓòÉΓòÉ
  4023.  
  4024. Provides pointer draw device-driver support for OS/2 sessions. 
  4025.  
  4026. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ PMDD.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4027.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4028.  
  4029. The DEVICE=PMDD.SYS statement is added to your CONFIG.SYS file when you install 
  4030. the OS/2 operating system. When the system starts, it uses the PMDD.SYS device 
  4031. driver to provide pointer draw support for OS/2 sessions. 
  4032.  
  4033. If the PMDD.SYS device statement is removed from your CONFIG.SYS file, your 
  4034. system will not restart.  If this happens, do the following: 
  4035.  
  4036.  1. Insert the OS/2 Installation Program diskette.  When the logo screen 
  4037.     appears, proceed to the Welcome screen and press Esc. 
  4038.  2. Copy the file, CONFIG.BAK, into the root directory. You now have a generic 
  4039.     backup CONFIG.SYS file that you can rename to be your CONFIG.SYS file. 
  4040.  3. Use the System Editor to edit the CONFIG.SYS file. 
  4041.  4. Restart the system. 
  4042.  
  4043. The following shows the PMDD.SYS statement. 
  4044.  
  4045. DEVICE=C:\OS2\PMDD.SYS
  4046.  
  4047.  
  4048. ΓòÉΓòÉΓòÉ <hidden> PMDD.SYS Examples ΓòÉΓòÉΓòÉ
  4049.  
  4050. To provide pointer draw support for OS/2 sessions, type the following statement 
  4051. in your CONFIG.SYS file: 
  4052.  
  4053. DEVICE=C:\OS2\PMDD.SYS
  4054.  
  4055. Note:   If this statement is not in your CONFIG.SYS file, your system will not 
  4056.         start. 
  4057.  
  4058.  
  4059. ΓòÉΓòÉΓòÉ 4.37. DEVICE (POINTDD.SYS) - Install Mouse Pointer Draw Support ΓòÉΓòÉΓòÉ
  4060.  
  4061. Provides mouse-pointer draw support. To effectively use a mouse, you must load 
  4062. this device driver, in addition to specifying the appropriate mouse 
  4063. device-driver statements in the CONFIG.SYS file. 
  4064.  
  4065. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ POINTDD.SYSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4066.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4067.  
  4068. Related Commands:  DEVICE MOUSE 
  4069.  
  4070. Text modes 0, 1, 2, 3, and 7 are the only modes supported.  For graphic modes 
  4071. D, E, F, and 10, the EGA.SYS device driver must also be installed. 
  4072.  
  4073. POINTDD.SYS provides draw support in all text modes for OS/2 sessions; 
  4074. POINTDD.SYS tracks (provides mode information) for all advanced function modes 
  4075. on the 8514A.  It tracks for CGA, EGA, and VGA graphic modes in OS/2 sessions. 
  4076.  
  4077.  
  4078. ΓòÉΓòÉΓòÉ <hidden> POINTDD.SYS Examples ΓòÉΓòÉΓòÉ
  4079.  
  4080. To provide mouse-pointer draw support in all text modes for OS/2 sessions, type 
  4081. the following statement in your CONFIG.SYS file: 
  4082.  
  4083. DEVICE=C:\OS2\POINTDD.SYS
  4084.  
  4085.  
  4086. ΓòÉΓòÉΓòÉ 4.38. DEVICE (TOUCH.SYS) - Install a Device Driver for Touch Devices ΓòÉΓòÉΓòÉ
  4087.  
  4088. Implements support for touch devices.  For a touch device to be effectively 
  4089. used, the POINTDD.SYS device driver and appropriate mouse device-driver support 
  4090. must be loaded. In addition, these statements must be included in the 
  4091. CONFIG.SYS file in the following order: 
  4092.  
  4093. o A device-dependent statement that gives the name of the file containing the 
  4094.   information for the touch device you use. 
  4095.  
  4096. o A device-independent statement that identifies the touch device to TOUCH.SYS 
  4097.  
  4098. Device Dependent Statement
  4099.  
  4100. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4101.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  4102.  
  4103. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇCODEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇINITΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöé
  4104.  
  4105.  
  4106. Device Independent Statement
  4107.  
  4108. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ TOUCH.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4109.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  4110.  
  4111. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4112.        Γö£ΓöÇ  QSIZE=q  ΓöÇΓöñ
  4113.        ΓööΓöÇ TYPE=name ΓöÇΓöÿ
  4114.  
  4115. When the OS/2* operating system detects a touch device installed on your 
  4116. computer, the Install program automatically loads the required device-driver 
  4117. support necessary to enable the touch device.  The touch device shares the 
  4118. auxiliary device (mouse) port on the system with the mouse by allowing the 
  4119. mouse to connect to the touch device, which is then connected to the system. 
  4120.  
  4121. The Install program automatically adds the following statements to the 
  4122. CONFIG.SYS file: 
  4123.  
  4124. DEVICE=C:\OS2\PDITOU0x.SYS CODE=C:\OS2TOUCO21.BIN INIT=C:TOUCH.INI
  4125. DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  4126. RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  4127. DEVICE=C:\OS2\MOUSE.SYS TYPE=PDIMOU$
  4128.  
  4129. where x is 1 or 2 depending on the bus architecture of your computer, 
  4130. TOUCO21D.BIN is the touch-device microcode binary file, and TOUCH.INI is a text 
  4131. file containing default parameter settings. 
  4132.  
  4133. The RUN=CALIBRAT.EXE statement is to activate the Calibration program.  This 
  4134. program performs the dual actions of downloading calibration-constant data to 
  4135. the touch device each time the system is started, and enabling recalibration of 
  4136. the touch device at initial setup, and when the device is moved to a new 
  4137. location. 
  4138.  
  4139. To recalibrate the touch device, enter the following at an OS/2 command prompt: 
  4140.  
  4141. C:
  4142. CD \OS2
  4143. CALIBRAT -U
  4144.  
  4145. Note:   The use of the "-U" option updates the existing CALIBRAT.DAT file with 
  4146.         new calibration data. 
  4147.  
  4148.  
  4149. ΓòÉΓòÉΓòÉ <hidden> TOUCH.SYS Examples ΓòÉΓòÉΓòÉ
  4150.  
  4151. The entry in the CONFIG.SYS file for the combined mouse and touch 
  4152. device-dependent driver is as follows: 
  4153.  
  4154. DEVICE=C:\OS2\PDITOU0x.SYS CODE=TOUCO21D.BIN INIT=TOUCH.INI
  4155.  
  4156. where x is 1 or 2 depending on the bus architecture of your computer, 
  4157. TOUCO21D.BIN is the touch-device microcode binary file, and TOUCH.INI is a text 
  4158. file containing default parameter settings. 
  4159.  
  4160. The entry in the CONFIG.SYS file for the touch device-independent driver is as 
  4161. follows: 
  4162.  
  4163. DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  4164.  
  4165.  
  4166. ΓòÉΓòÉΓòÉ 4.39. DEVICE (VDISK.SYS) - Install a Virtual Disk ΓòÉΓòÉΓòÉ
  4167.  
  4168. Installs a virtual disk. 
  4169.  
  4170. Any DEVICE=C:\OS2\VDISK.SYS statements must be listed after any 
  4171. DEVICE=C:\OS2\EXTDSKDD.SYS statements in CONFIG.SYS to avoid affecting logical 
  4172. drive letter assignments. 
  4173.  
  4174. DEVICE= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ VDISK.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇ
  4175.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  4176.  
  4177. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  4178.    ΓööΓöÇΓö¼ΓöÇ bytes ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4179.      ΓööΓöÇΓöÇ  , ΓöÇΓöÇΓöÇΓöÿ  ΓööΓö¼ΓöÇ sectors ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4180.                    ΓööΓöÇΓöÇΓöÇΓöÇ  ,  ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓö¼ΓöÇ directories ΓöÇΓö¼ΓöÇΓöÿ
  4181.                                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ  , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4182.  
  4183. The parameters, bytes, sectors, and directories are positional parameters. Use 
  4184. a comma when you do not want to alter the default value of the parameter for 
  4185. which the  comma is being used.  This tells the system to skip past the value 
  4186. it is looking for at this position, insert the default value, and proceed to 
  4187. the next value. 
  4188.  
  4189. The following example shows how to install a 160KB virtual disk with 128-byte 
  4190. sectors and 64 directory entries. Note that all parameters are being specified. 
  4191.  
  4192. DEVICE=C:\OS2\VDISK.SYS 160 128 64
  4193.  
  4194. If you decide to use the default value of any of the parameters, such as the 
  4195. sector size and directory entries, you can enter commas where the values should 
  4196. be. 
  4197.  
  4198. DEVICE=C:\OS2\VDISK.SYS 160,,
  4199.  
  4200. Assume that you want to specify a value for directories and accept the defaults 
  4201. for bytes and sectors. The value for directories should be preceded by two 
  4202. commas, as in this example: 
  4203.  
  4204. DEVICE=C:\OS2\VDISK.SYS ,,32
  4205.  
  4206. However, to indicate only the sectors parameter as the default, you must use 
  4207. two commas as follows: 
  4208.  
  4209. DEVICE=C:\OS2\VDISK.SYS 160,,64
  4210.  
  4211. VDISK displays a message to tell you that it is installed and gives you the 
  4212. drive letter that is assigned to the virtual disk. 
  4213.  
  4214. If the virtual disk size specified is too large to fit in storage, VDISK tries 
  4215. to make a 16KB virtual disk. This may result in a virtual disk with a different 
  4216. number of directory entries than the number you specified with directories. 
  4217.  
  4218.  
  4219. ΓòÉΓòÉΓòÉ <hidden> VDISK.SYS Examples ΓòÉΓòÉΓòÉ
  4220.  
  4221. To install a 160KB virtual disk with 128-byte sectors and 64 directory entries, 
  4222. enter the following in your CONFIG.SYS and restart your system: 
  4223.  
  4224. DEVICE=C:\OS2\VDISK.SYS 160 128 64
  4225.  
  4226. Note:   In the preceding example all parameters are specified in the following 
  4227.         order, bytes, sectors, and directories. 
  4228.  
  4229. You can enter commas for the default values of any of the parameters where the 
  4230. real values should be.  The above example would then be as follows: 
  4231.  
  4232. DEVICE=C:\OS2\VDISK.SYS 160,,
  4233.  
  4234. However, to indicate only the sectors parameter as the default, you must use 
  4235. two commas as follows: 
  4236.  
  4237. DEVICE=C:\OS2\VDISK.SYS 160,,64
  4238.  
  4239. Parameter Default Table 
  4240.  
  4241. Bytes = 64 
  4242.  
  4243. Sectors = 128 
  4244.  
  4245. Directories = 64 
  4246.  
  4247. To specify a value for directories and accept the defaults for bytes. and 
  4248. sectors, enter the following in your CONFIG.SYS file and restart your system: 
  4249.  
  4250. DEVICE=C:\OS2\VDISK.SYS ,,32
  4251.  
  4252.  
  4253. ΓòÉΓòÉΓòÉ <hidden> Non-IBM Trademarks ΓòÉΓòÉΓòÉ
  4254.  
  4255. The following terms, denoted by a double asterisk (**) in this information, are 
  4256. trademarks of other companies as follows: 
  4257.  
  4258. Intel is a trademark of Intel Corporation. 
  4259. Logitech is a trademark of Logitech, Inc. 
  4260. Lotus is a trademark of Lotus Development Corporation. 
  4261. Microsoft is a trademark of Microsoft Corporation. 
  4262. Visi-On is a trademark of Visicorp. 
  4263.  
  4264.  
  4265. ΓòÉΓòÉΓòÉ 4.40. DEVICE (VEMM.SYS) - Provide DOS Expanded Memory Manager ΓòÉΓòÉΓòÉ
  4266.  
  4267. Provides Expanded Memory Manager (EMM) for DOS sessions. 
  4268.  
  4269. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ VEMM.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  4270.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ n ΓöÇΓöÿ
  4271.  
  4272. Related Commands:  PROTECTONLY 
  4273.  
  4274. VEMM.SYS is a virtual device driver that provides the 
  4275. Lotus**/Intel**/Microsoft** (LIM) Version 4.0 Expanded Memory Specification 
  4276. (EMS) emulation to DOS sessions.  VEMM.SYS allows DOS applications to allocate 
  4277. and map expanded memory on the Intel 8086 family of computers. 
  4278.  
  4279. Any DEVICE=C:\OS2\MDOS\VEMM.SYS n statements must be listed before any 
  4280. DEVICE=C:\OS2\MDOS\VXMS.SYS statements in the CONFIG.SYS file since VEMM 
  4281. searches for unused addresses between 640KB and 1MB. 
  4282.  
  4283. The following example shows the statement you type in the CONFIG.SYS file: 
  4284.  
  4285. DEVICE=C:\OS2\MDOS\VEMM.SYS n
  4286.  
  4287.  
  4288. ΓòÉΓòÉΓòÉ <hidden> VEMM.SYS Examples ΓòÉΓòÉΓòÉ
  4289.  
  4290. To provide a virtual device driver that provides Lotus**/Intel**/Microsoft** 
  4291. (LIM) Version 4.0 Expanded Memory Specification (EMS) emulation to DOS sessions 
  4292. with an EMM of 10KB, type the following statement in your CONFIG.SYS file and 
  4293. restart your system: 
  4294.  
  4295. DEVICE=C:\OS2\MDOS\VEMM.SYS 10
  4296.  
  4297. The Default is 2048KB (2MB) 
  4298.  
  4299.  
  4300. ΓòÉΓòÉΓòÉ 4.41. DEVICE (VXMS.SYS) - Provide DOS Extended Memory Specification ΓòÉΓòÉΓòÉ
  4301.  
  4302. Provides Extended Memory Specification (XMS) for DOS sessions. 
  4303.  
  4304. DEVICE= ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ VXMS.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  4305.           ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇ XMMLIMIT=g,i ΓöÇΓöñ
  4306.                                               Γö£ΓöÇΓöÇΓöÇ HMAMIN=d ΓöÇΓöÇΓöÇΓöñ
  4307.                                               Γö£ΓöÇ NUMHANDLES=n ΓöÇΓöñ
  4308.                                               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ UMB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4309.                                               ΓööΓöÇΓöÇΓöÇΓöÇ NOUMB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4310.  
  4311. VXMS.SYS is a virtual device driver that provides Extended Memory Specification 
  4312. (XMS) emulation to DOS sessions.  XMS allows DOS applications to access more 
  4313. than 1MB of memory, under XMS control. 
  4314.  
  4315. If multiple DOS session support is requested during Installation, the system 
  4316. places the following statements in the CONFIG.SYS file to provide the XMS, VDD, 
  4317. and Load DOS High support to DOS sessions. 
  4318.  
  4319. DOS=HIGH,UMB
  4320. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  4321.  
  4322. Any DEVICE=C:\OS2\MDOS\VXMS.SYS statements must be listed after 
  4323. DEVICE=C:\OS2\MDOS\VEMM.SYS statements in the CONFIG.SYS file because VXMS 
  4324. reserves all available addresses between 640KB and 1MB for use as upper memory 
  4325. blocks (UMBs).  VXMS will not be installed if some other device driver has 
  4326. already reserved the region from 1MB to 1MB+64KB. 
  4327.  
  4328.  
  4329. ΓòÉΓòÉΓòÉ <hidden> VXMS.SYS Examples ΓòÉΓòÉΓòÉ
  4330.  
  4331. To provide Extended Memory Specification (XMS) emulation to allow DOS 
  4332. applications access to greater than 1MB of memory, under XMS control, type the 
  4333. following statement in your CONFIG.SYS file: 
  4334.  
  4335. DEVICE=C:\OS2\MDOS\VXMS.SYS
  4336.  
  4337. To set the global (system-wide) maximum memory usage of the VXMS driver to g 
  4338. KB, and a DOS session maximum of i KB, type the following in your CONFIG.SYS 
  4339. file and restart your system: 
  4340.  
  4341. DEVICE=C:\OS2\MDOS\VXMS.SYS /XMMLIMIT=g,i
  4342.  
  4343. The default is /XMMLIMIT=4096,1024 
  4344.  
  4345. To set the minimum request size (in KB) for a High Memory Area (HMA) request to 
  4346. succeed, type the following in your CONFIG.SYS file and restart your system. 
  4347. Values are restricted to the range of 0 to 63. 
  4348.  
  4349. DEVICE=C:\OS2\MDOS\VXMS.SYS /HMAMIN=d
  4350.  
  4351. The default is /HMAMIN=0 
  4352.  
  4353. To set the number of handles available in each DOS session, type the following 
  4354. in your CONFIG.SYS file and restart your system.  Values are restricted to the 
  4355. range of 0 to 128. 
  4356.  
  4357. DEVICE=C:\OS2\MDOS\VXMS.SYS /NUMHANDLES=n
  4358.  
  4359. The default is /NUMHANDLES=32 
  4360.  
  4361. To instruct XMS to create upper memory blocks, type the following in your 
  4362. CONFIG.SYS file and restart your system: 
  4363.  
  4364. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  4365.  
  4366. The default is  /off 
  4367.  
  4368. To instruct XMS not to create upper memory blocks, type the following in your 
  4369. CONFIG.SYS file and restart your system: 
  4370.  
  4371. DEVICE=C:\OS2\MDOS\VXMS.SYS /NOUMB
  4372.  
  4373. The default is  /NOUMB 
  4374.  
  4375.  
  4376. ΓòÉΓòÉΓòÉ 4.42. DEVICEHIGH - Load DOS Device Driver into Upper Memory ΓòÉΓòÉΓòÉ
  4377.  
  4378. Loads a specified DOS device driver into an available upper memory block (UMB) 
  4379. for a DOS session. 
  4380.  
  4381. DEVICEHIGH= Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  4382.             ΓööΓöÇ SIZE=xx ΓöÇΓöÿΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  4383.  
  4384. Related Commands:  LOADHIGH, DOS (UMB/NOUMB) 
  4385.  
  4386. DOS device drivers are normally loaded into low memory (below 640KB) in DOS 
  4387. sessions.  However, when you type the DEVICEHIGH= statement into your 
  4388. CONFIG.SYS file, the operating system will attempt to load the specified DOS 
  4389. device driver into an available upper memory block (UMB).  If a UMB is not 
  4390. available, the device driver will be loaded into low memory as is done for a 
  4391. DEVICE= statement.  To enable UMBs, type the DOS=UMB statement in the 
  4392. CONFIG.SYS file. 
  4393.  
  4394.  
  4395. ΓòÉΓòÉΓòÉ <hidden> DEVICEHIGH Examples ΓòÉΓòÉΓòÉ
  4396.  
  4397. To load the ANSI.SYS device driver into an upper memory block (UMB), type the 
  4398. following in the CONFIG.SYS file: 
  4399.  
  4400. DEVICEHIGH=C:\OS2\MDOS\ANSI.SYS
  4401.  
  4402.  
  4403. ΓòÉΓòÉΓòÉ 4.43. DEVINFO - Prepare Devices for Code-Page Switching ΓòÉΓòÉΓòÉ
  4404.  
  4405. DEVINFO statements prepare a device (such as your keyboard or display terminal) 
  4406. for code-page switching.  Separate DEVINFO statements are required for each 
  4407. device to be used for code-page switching. 
  4408.  
  4409. DEVINFOΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  4410.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  4411.  
  4412. There are two different DEVINFO statements you can use: 
  4413.  
  4414. KBD               Prepares a keyboard for code-page switching.  The keyboard 
  4415.                   statement specifies your keyboard layout ID (keyboard country 
  4416.                   and subcountry codes) and a file named KEYBOARD.DCP that 
  4417.                   contains a keyboard layout table for translating keystrokes 
  4418.                   into the characters of each code page supported by the OS/2 
  4419.                   operating system.  Refer to the KEYB command for a table 
  4420.                   containing the keyboard country and subcountry codes. 
  4421.  
  4422. SCR               Prepares a display screen for code page switching.  The 
  4423.                   display statement specifies your display name and a file 
  4424.                   named VIOTBL.DCP that contains a video font table for 
  4425.                   displaying characters in each of the code pages supported by 
  4426.                   the OS/2 operating system. 
  4427.  
  4428.  
  4429. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Device Examples ΓòÉΓòÉΓòÉ
  4430.  
  4431. Keyboard Examples 
  4432.  
  4433. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  4434. the CONFIG.SYS file: 
  4435.  
  4436. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  4437.  
  4438. To prepare the enhanced French keyboard 120, type the following in the 
  4439. CONFIG.SYS file: 
  4440.  
  4441. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  4442.  
  4443. Display Examples 
  4444.  
  4445. To prepare a CGA display, type the following in the CONFIG.SYS file: 
  4446.  
  4447. DEVINFO=SCR,CGA,C:\OS2\VIOTBL.DCP
  4448.  
  4449. To prepare an EGA display, type the following in the CONFIG.SYS file: 
  4450.  
  4451. DEVINFO=SCR,EGA,C:\OS2\VIOTBL.DCP
  4452.  
  4453. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  4454.  
  4455. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  4456.  
  4457. To prepare a BGA display, type the following in the CONFIG.SYS file: 
  4458.  
  4459. DEVINFO=SCR,BGA,C:\OS2\VIOTBL.DCP
  4460.  
  4461.  
  4462. ΓòÉΓòÉΓòÉ 4.44. DEVINFO (Display) - Prepare a Display for Code-Page Switching ΓòÉΓòÉΓòÉ
  4463.  
  4464. Prepares a display for system code-page switching. 
  4465.  
  4466. DEVINFO = SCR ΓöÇΓöÇ ,device, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  4467.                            ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  4468.  
  4469. This statement is one of the interrelated CONFIG.SYS statements required for 
  4470. successful code-page switching. The other statements are: CODEPAGE and COUNTRY 
  4471.  
  4472. The display statement specifies your display name and a file named VIOTBL.DCP 
  4473. that contains a video font table for displaying characters in each of the code 
  4474. pages supported by the system. 
  4475.  
  4476. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  4477.  
  4478. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  4479.  
  4480.  
  4481. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Display Examples ΓòÉΓòÉΓòÉ
  4482.  
  4483. To prepare a CGA display, type the following in the CONFIG.SYS file: 
  4484.  
  4485. DEVINFO=SCR,CGA,C:\OS2\VIOTBL.DCP
  4486.  
  4487. To prepare a EGA display, type the following in the CONFIG.SYS file: 
  4488.  
  4489. DEVINFO=SCR,EGA,C:\OS2\VIOTBL.DCP
  4490.  
  4491. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  4492.  
  4493. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  4494.  
  4495. To prepare a BGA display, type the following in the CONFIG.SYS file: 
  4496.  
  4497. DEVINFO=SCR,BGA,C:\OS2\VIOTBL.DCP
  4498.  
  4499.  
  4500. ΓòÉΓòÉΓòÉ 4.45. DEVINFO (Keyboard) - Prepare Keyboard for Code-Page Switching ΓòÉΓòÉΓòÉ
  4501.  
  4502. Prepares a keyboard for system code-page switching. 
  4503.  
  4504. DEVINFO = KBDΓöÇΓöÇΓöÇ ,layout, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  4505.                            ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  4506.  
  4507. This statement is one of the interrelated CONFIG.SYS statements required for 
  4508. successful code-page switching. The other statements are: CODEPAGE and COUNTRY 
  4509.  
  4510. The DEVINFO=KBD statement specifies your keyboard layout and a file named 
  4511. KEYBOARD.DCP that contains a keyboard layout table for translating keystrokes 
  4512. into the characters of each code page supported by the system. 
  4513.  
  4514. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  4515. the CONFIG.SYS file: 
  4516.  
  4517. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  4518.  
  4519. Remember the following if you want to prepare an enhanced keyboard.  All 
  4520. countries have at least one Sub-Country code supported by the OS/2 operating 
  4521. system.  Several countries such as France, Italy, and the United Kingdom have 
  4522. two.  Because these countries have more than one keyboard layout, the 
  4523. subcountry code allows you to select the keyboard you want.  If you do not 
  4524. specify a subcountry code for these countries, DEVINFO uses the default 
  4525. subcountry codes: FR189 (for France), IT141 (for Italy), and UK166 (for the 
  4526. United Kingdom). 
  4527.  
  4528. To prepare the enhanced French keyboard 120, type the following in the 
  4529. CONFIG.SYS file: 
  4530.  
  4531. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  4532.  
  4533.  
  4534. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Keyboard Examples ΓòÉΓòÉΓòÉ
  4535.  
  4536. To specify the name of the file KEYBOARD.DCP, that contains the keyboard 
  4537. layouts, found in the C:\OS2 subdirectory, type the following in the 
  4538. CONFIG.SYS: 
  4539.  
  4540. DEVINFO=KBD,layout C:\OS2\KEYBOARD.DCP.
  4541.  
  4542. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  4543. the CONFIG.SYS file: 
  4544.  
  4545. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  4546.  
  4547. To prepare the enhanced French keyboard 120, type the following in the 
  4548. CONFIG.SYS file: 
  4549.  
  4550. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  4551.  
  4552.  
  4553. ΓòÉΓòÉΓòÉ 4.46. DIR - Display Files in a Directory ΓòÉΓòÉΓòÉ
  4554.  
  4555. Lists the files and subdirectories in a directory. 
  4556.  
  4557. DIR ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4558.       ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ  Γöé
  4559.      Γöé                                        Γöé
  4560.      ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4561.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4562.                                Γöé
  4563. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4564.          Γöé  Γö£ΓöÇΓöÇ/W ΓöÇΓöñ  Γöé
  4565.          Γöé  ΓööΓöÇ /F ΓöÇΓöÿ  Γöé
  4566.          Γö£ΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöñ
  4567.          Γö£ΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöñ
  4568.          Γö£ΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöñ
  4569.          Γö£ΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöñ
  4570.          Γö£ΓöÇΓöÇΓöÇΓöÇ /O ΓöÇΓöÇΓöÇΓöÇΓöñ
  4571.          Γö£ΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöñ
  4572.          Γö£ΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöñ
  4573.          ΓööΓöÇΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4574.  
  4575. Related Commands:  CHDIR, MKDIR, RMDIR, TREE. 
  4576.  
  4577. Typing DIR, without a parameter, lists the files in the current directory. You 
  4578. can also: 
  4579.  
  4580. o List the files in the parent directory of the current directory by typing DIR 
  4581.   .. 
  4582. o Send the directory listing to your printer by typing DIR >PRN 
  4583.  
  4584. The system displays the name, size (in bytes), and the date and time you placed 
  4585. the information in the file. DIR also displays the disk volume label and volume 
  4586. serial number.  It also gives the total number of files, the number of bytes 
  4587. used in the files displayed, and the amount of free space (in bytes) remaining 
  4588. on the disk. 
  4589.  
  4590. Note that directory entries for hidden system files are not listed, even if 
  4591. they are present.  Also, if you do not specify a file name extension, adding an 
  4592. asterisk (*) after the file name indicates that all files with that file name 
  4593. (regardless of the extension) should be displayed.  DIR displays files 
  4594. consecutively on the screen if you specify multiple file names.  You can 
  4595. include a drive and path when specifying multiple file names and may also use 
  4596. the global file-name characters * and ? in the file name you specify. 
  4597.  
  4598.  
  4599. ΓòÉΓòÉΓòÉ <hidden> DIR Examples ΓòÉΓòÉΓòÉ
  4600.  
  4601. To list files in a directory named REPORTS on drive B, enter the following: 
  4602.  
  4603. DIR B:\REPORTS
  4604.  
  4605. To list files in the current directory that have the file name LETTER with any 
  4606. extension, enter the following: 
  4607.  
  4608. DIR LETTER*
  4609.  
  4610. To list all files in the current directory that have the extension .BAT, enter 
  4611. the following: 
  4612.  
  4613. DIR *.BAT
  4614.  
  4615. To pause the directory listing for the current directory, enter the following: 
  4616.  
  4617. DIR /P
  4618.  
  4619. To display the current directory listing horizontally on your screen, enter the 
  4620. following: 
  4621.  
  4622. DIR /W
  4623.  
  4624. To display the contents of the current directory in alphabetic order, and then 
  4625. the contents of all its subdirectories, type the following: 
  4626.  
  4627. DIR /S/O
  4628.  
  4629. To display the files but not the directories in the current directory and all 
  4630. its subdirectories, type the following: 
  4631.  
  4632. DIR /S/A:-D
  4633.  
  4634. To display files and directories by date and time, with the earliest first, and 
  4635. in alphabetic order if the dates are identical, type the following: 
  4636.  
  4637. DIR /O:DN
  4638.  
  4639. To display all files by size, largest first, but omit directory names, type the 
  4640. following: 
  4641.  
  4642. DIR /S /A:-D /O:-S
  4643.  
  4644. To select wide display mode for files created using a file system other than 
  4645. File Allocation Table (FAT) on a FAT file system drive, enter the following: 
  4646.  
  4647. DIR /N /W
  4648.  
  4649. To force drives formatted with the FAT file system to be displayed in the HPFS 
  4650. (High Performance File System) format, enter the following: 
  4651.  
  4652. DIR /N
  4653.  
  4654. To display both FAT file names and long file names in the subdirectory OS2.DTP, 
  4655. enter the following: 
  4656.  
  4657. DIR C:\OS2\OS2.DTP /R
  4658.  
  4659. To send a list of fully qualified file names (path and file name) beginning 
  4660. with REPORT.A to the file FILES.DAT, enter the following: 
  4661.  
  4662. DIR /F REPORT.A >FILES.DAT
  4663.  
  4664.  
  4665. ΓòÉΓòÉΓòÉ 4.47. DISKCACHE - Allocate Storage Blocks ΓòÉΓòÉΓòÉ
  4666.  
  4667. Specifies the number of blocks of storage to allocate for control information 
  4668. and for use by the disk cache. 
  4669.  
  4670.  
  4671. DISKCACHE = ΓöÇΓöÇΓöÇΓöÇ n ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4672.                      ΓööΓöÇ ,LW ΓöÇΓöÿ ΓööΓöÇ ,T ΓöÇΓöÿ ΓööΓöÇ ,AC:x ΓöÇΓöÿ
  4673.  
  4674. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  4675. command prompt. 
  4676.  
  4677. The disk cache allows a portion of the system storage to be used as an 
  4678. additional hard disk buffer.  DISKCACHE speeds up application programs that 
  4679. read hard disks by keeping hard disk data frequently accessed in a cache 
  4680. buffer. When an application program requests hard disk data that is already in 
  4681. the cache buffer, the disk cache sends the data directly to the application 
  4682. program.  This method of accessing data is much faster than if the data had to 
  4683. be read from the disk each time. 
  4684.  
  4685. Specifying this statement increases the speed of your system.  However, when 
  4686. you increase the size of your disk cache you also decrease the size of 
  4687. available storage.  For this reason, you may want to experiment with the number 
  4688. of blocks you specify to get maximum performance. 
  4689.  
  4690. The recommended disk cache sizes should be based on the amount of memory that 
  4691. is available in the system, and how many partitions are formatted for the FAT 
  4692. file system, not on the disk size. 
  4693.  
  4694. Default sizes for HPFS CACHE and DISKCACHE are set up by the installation 
  4695. program.  The dependencies are physical memory and the number of partitions 
  4696. formatted for either file system. 
  4697.  
  4698. Note:   You need to select Shut down from the menu of the desktop before 
  4699.         turning off your system.  Failure to do so can cause loss of data if 
  4700.         the contents of the cache buffers have not been erased and written to 
  4701.         disk. 
  4702.  
  4703. General DISKCACHE parameters size guidelines are as follows: 
  4704.  
  4705. o Systems with up to 5MB of physical memory should use a disk cache size of 
  4706.   64KB. 
  4707. o Systems with 6MB or more of physical memory should use a disk cache size of 
  4708.   256KB. 
  4709. o In most situations a threshold size of 32 is recommended 
  4710.  
  4711. The amount of storage required for control information is determined by the 
  4712. total size of one or more hard disks.  When the amount of storage you specify 
  4713. in the DISKCACHE statement is not available, the system displays an error 
  4714. message.  When the amount of storage you specify in the DISKCACHE statement is 
  4715. not sufficient to support the total hard disk size, the disk cache does not 
  4716. work.  The disk cache is allocated at system startup, and there is no dynamic 
  4717. adjustment of its size. 
  4718.  
  4719. It is recommended that the threshold size be set at 32 unless the software 
  4720. product you are using is disk intensive and the manufacturer supplies 
  4721. information on the block size required.  If the block size is defined in terms 
  4722. of byte count, divide the byte count by 512 and round up the quotient to the 
  4723. nearest whole number to determine the threshold value. 
  4724.  
  4725. The disk device driver for the Personal System/2 Models 55sx, 65, 70, 80, 90, 
  4726. and 95 provides direct-access storage disk-cache support for use with hard 
  4727. disks.  This device driver controls operation of the cache, which is allocated 
  4728. by the system and taken out of storage above 1MB.  The cache is run as a 
  4729. write-through cache to maintain data integrity.  Sectors passed to the disk 
  4730. device driver for writing on the disk are guaranteed to be written out to the 
  4731. disk on successful return from the device driver. 
  4732.  
  4733.  
  4734. ΓòÉΓòÉΓòÉ <hidden> DISKCACHE Examples ΓòÉΓòÉΓòÉ
  4735.  
  4736. To set your disk cache size to 64KB with the default threshold of 4 and 
  4737. lazy-write as the default, type the following statement in the CONFIG.SYS file: 
  4738.  
  4739. DISKCACHE=64,LW
  4740.  
  4741. To set disk cache size of 64KB with a threshold size of 32, for a 2MB to 3MB 
  4742. system, type the following statement in the CONFIG.SYS file: 
  4743.  
  4744. DISKCACHE=64,32
  4745.  
  4746. To set the disk cache size to 64, with the default threshold of 4, with 
  4747. lazy-write on, and have AUTOCHECK check the FAT partition, drive D, for data 
  4748. consistency, type the following in the CONFIG.SYS file: 
  4749.  
  4750. DISKCACHE=64,LW,4,AC:D
  4751.  
  4752. To set the recommended disk cache size of 192KB with a threshold size of 32, 
  4753. for a 4 to 5MB system, type the following statement in the CONFIG.SYS file: 
  4754.  
  4755. DISKCACHE=192,32
  4756.  
  4757. To set the recommended disk cache size of 256KB with a threshold size of 32, 
  4758. for a 6MB or greater system type the following statement in the CONFIG.SYS 
  4759. file: 
  4760.  
  4761. DISKCACHE=256,32
  4762.  
  4763. Disk Cache Table: 
  4764.  
  4765. Disk cache block size values are 64 to 14400. 
  4766. Disk cache block size default value is 64. 
  4767. Disk cache threshold number of sectors values are 4 to 128. 
  4768. Disk cache threshold number of sectors default value is 4. 
  4769.  
  4770.  
  4771. ΓòÉΓòÉΓòÉ 4.48. DISKCOMP - Compare Diskettes ΓòÉΓòÉΓòÉ
  4772.  
  4773. Compares the contents of the diskette in the source drive to the contents of 
  4774. the diskette in the target drive. 
  4775.  
  4776. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DISKCOMP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4777.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4778.  
  4779. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4780.    ΓööΓöÇ source drive ΓöÇΓöÿ    ΓööΓöÇ target drive ΓöÇΓöÿ
  4781.  
  4782. Related Commands:  DISKCOPY 
  4783.  
  4784. Enter this command without a parameter to start a step-by-step procedure to 
  4785. compare the contents of diskettes in different diskette drives. 
  4786.  
  4787. DISKCOMP does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  4788. SUBST command in effect. Also, DISKCOMP does not work on network drives. 
  4789.  
  4790. Observe these restrictions when using DISKCOMP: 
  4791.  
  4792. o Use DISKCOMP only between diskettes of the same size and storage capacity. 
  4793. o Do not use DISKCOMP to compare information between 5.25-inch and 3.5-inch 
  4794.   diskettes. 
  4795. o Follow the examples under the COMP command to compare files between 5.25-inch 
  4796.   and 3.5-inch media. 
  4797.  
  4798. Return Codes  DISKCOMP issues a return code of 0 for normal completion or 
  4799. displays the appropriate error message. 
  4800.  
  4801.  
  4802. ΓòÉΓòÉΓòÉ <hidden> DISKCOMP Examples ΓòÉΓòÉΓòÉ
  4803.  
  4804. To compare the complete contents of a diskette in drive B to a diskette in 
  4805. drive A, enter the following: 
  4806.  
  4807. DISKCOMP B: A:
  4808.  
  4809. To compare the complete contents of a diskette in drive A to a diskette to be 
  4810. inserted later into drive A, enter the following: 
  4811.  
  4812. DISKCOMP A: A:
  4813.  
  4814.  
  4815. ΓòÉΓòÉΓòÉ 4.49. DISKCOPY - Copy Diskettes ΓòÉΓòÉΓòÉ
  4816.  
  4817. Copies the contents of the diskette in the source drive to the diskette in the 
  4818. target drive.  If necessary, the target diskette is formatted during the copy. 
  4819. Neither the source nor the target drive can be a hard disk or a virtual drive. 
  4820. DISKCOPY also displays the volume serial number of the target diskette. 
  4821.  
  4822. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DISKCOPY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4823.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4824.  
  4825. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4826.    ΓööΓöÇ source drive ΓöÇΓöÿ    ΓööΓöÇ target drive ΓöÇΓöÿ
  4827.  
  4828. Related Commands:  DISKCOMP 
  4829.  
  4830. DISKCOPY does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  4831. SUBST command in effect. 
  4832.  
  4833. It is important to note that DISKCOPY automatically formats (prepares) the 
  4834. target diskette with the same number of sides and sectors per track as the 
  4835. source diskette before copying the contents of the source diskette to it. 
  4836.  
  4837. Observe these restrictions when using DISKCOPY: 
  4838.  
  4839. o Use DISKCOPY only between diskettes of the same size and storage capacity. 
  4840. o Do not use DISKCOPY to copy information between 5.25-inch and 3.5-inch 
  4841.   diskettes.  Follow the examples under the COPY command to copy files between 
  4842.   5.25-inch and 3.5-inch diskettes. 
  4843.  
  4844. Because of the OS/2 multitasking operating environment, DISKCOPY locks the 
  4845. diskettes to prevent any other program from reading or writing to the diskettes 
  4846. while copying is being performed.  If errors are detected on either diskette 
  4847. during the copy operation, DISKCOPY shows the drive, track, and side where it 
  4848. found the error, and proceeds with the copying. 
  4849.  
  4850. Return Codes:  DISKCOPY issues a return code of 0 for normal completion or 
  4851. displays the appropriate error message. 
  4852.  
  4853.  
  4854. ΓòÉΓòÉΓòÉ <hidden> DISKCOPY Examples ΓòÉΓòÉΓòÉ
  4855.  
  4856. To copy the complete contents of a diskette in drive B to a diskette in drive 
  4857. A, enter the following: 
  4858.  
  4859. DISKCOPY B: A:
  4860.  
  4861. To copy the complete contents of a diskette in drive A to a diskette to be 
  4862. inserted later into drive A, enter the following: 
  4863.  
  4864. DISKCOPY A: A:
  4865.  
  4866.  
  4867. ΓòÉΓòÉΓòÉ 4.50. DOSKEY - Recall DOS Commands ΓòÉΓòÉΓòÉ
  4868.  
  4869. Recalls DOS commands, edits command lines, and creates macros. 
  4870.  
  4871. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ DOSKEY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4872.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  4873.  
  4874.      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4875.                          Γöé
  4876. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4877.         Γö£ΓöÇ /REINSTALL ΓöÇΓöÇΓöñ   Γöö Macroname=text Γöÿ
  4878.         Γö£ΓöÇ /BUFSIZE=n ΓöÇΓöÇΓöñ
  4879.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4880.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4881.         ΓööΓö¼ΓöÇ/OVERSTRIKEΓöÇΓö¼Γöÿ
  4882.          ΓööΓöÇΓöÇ /INSERT ΓöÇΓöÇΓöÿ
  4883.  
  4884. Recalling a Command 
  4885.  
  4886. To recall a command, use the following keys: 
  4887.  
  4888. Up Arrow            Recalls the DOS command you used before the one displayed. 
  4889.  
  4890. Down Arrow          Recalls the DOS command you used after the one displayed. 
  4891.  
  4892. Page Up             Recalls the first DOS command you used in the current 
  4893.                     session. 
  4894.  
  4895. Page Down           Recalls the most recent DOS command you used. 
  4896.  
  4897. Editing the Command Line 
  4898.  
  4899. To edit the current command line, use the following DOSKEY editing keys: 
  4900.  
  4901. Left Arrow               Moves the cursor back one character. 
  4902.  
  4903. Right Arrow              Moves the cursor forward one character. 
  4904.  
  4905. Ctrl+Left Arrow          Moves the cursor back one word. 
  4906.  
  4907. Ctrl+Right Arrow         Moves the cursor forward one word. 
  4908.  
  4909. Home                     Moves the cursor to the beginning of the line. 
  4910.  
  4911. End                      Moves the cursor to the end of the line. 
  4912.  
  4913. Esc                      Clears the command from the screen. 
  4914.  
  4915. F1                       Copies one character from the template to the DOS 
  4916.                          command line. 
  4917.  
  4918. F2                       Searches forward in the template for the next key you 
  4919.                          type after pressing F2.  DOSKEY inserts the text from 
  4920.                          the template up to but not including the character you 
  4921.                          specify. 
  4922.  
  4923. F3                       Copies the remainder of the template to the command 
  4924.                          line.  DOSKEY begins copying characters from the 
  4925.                          position in the template that corresponds to the 
  4926.                          position indicated by the cursor on the command line. 
  4927.  
  4928. F4                       Deletes characters, beginning with the first character 
  4929.                          in the template, up to a character you specify. 
  4930.  
  4931. F5                       Copies the current command into the template and 
  4932.                          clears the command line. 
  4933.  
  4934. F6                       Places an end-of-file character (Ctrl+Z) at the end of 
  4935.                          the current command line. 
  4936.  
  4937. F7                       Displays all commands stored in memory with their 
  4938.                          associated numbers.  These numbers are assigned in 
  4939.                          order from the first command to the most recent. 
  4940.  
  4941. Alt+F7                   Deletes all commands stored in memory. 
  4942.  
  4943. F8                       Searches memory for a command that you want DOSKEY to 
  4944.                          display.  To use this editing key, type the first few 
  4945.                          characters of the command you want to find and press 
  4946.                          F8.  The commands that start with the characters you 
  4947.                          specified are displayed beginning with the most recent 
  4948.                          as you repeat pressing F8. 
  4949.  
  4950. F9                       Prompts you for a command number and displays the 
  4951.                          command associated with the number you specify. 
  4952.  
  4953. Alt+F10                  Deletes all macro definitions. 
  4954.  
  4955. Creating a Macro 
  4956.  
  4957. To create macros that process one or more DOS commands, use the following 
  4958. special characters to control command operations: 
  4959.  
  4960. $G or $g            Redirects output.  Use these special characters to send 
  4961.                     output to a device or a file instead of to the screen. 
  4962.                     These characters are equivalent to the output redirection 
  4963.                     symbol (>). 
  4964.  
  4965. $G$G or $g$g        Appends output to the end of a file rather than replacing 
  4966.                     the data in the file.  These double characters are 
  4967.                     equivalent to the (>>) symbols for appending redirected 
  4968.                     output. 
  4969.  
  4970. $L or $l            Redirects input.  Use these special characters to read 
  4971.                     input from a device or a file instead of from the keyboard. 
  4972.                     These characters are equivalent to the redirection symbol 
  4973.                     for input (<). 
  4974.  
  4975. $B or $b            Sends macro output to a command.  These characters are 
  4976.                     equivalent to the pipe (|). 
  4977.  
  4978. $T or $t            Separates commands.  Use these special characters to 
  4979.                     separate commands when you are creating macros or typing 
  4980.                     commands at a DOS command prompt. 
  4981.  
  4982. $$                  Specifies the dollar-sign character ($). 
  4983.  
  4984. $1 through $9       Represents any command-line information you want to specify 
  4985.                     when you run a macro.  These special characters are batch 
  4986.                     parameters that enable you to use different data on the 
  4987.                     command line each time you run a macro.  The $1 character 
  4988.                     in a DOSKEY command is similar to the %1 character in a 
  4989.                     batch program. 
  4990.  
  4991. $*                  Represents all the command-line information you want to 
  4992.                     specify when you run a macro.  Everything you type on the 
  4993.                     command line after a macro name is substituted for the $* 
  4994.                     in the macro. 
  4995.  
  4996. Running a Macro 
  4997.  
  4998. To run a macro, type the macro name starting at the first position on the 
  4999. command line.  If the macro was defined with $* or any of the batch parameters 
  5000. $1 through $9, use a space to separate parameters. 
  5001.  
  5002. Creating a Macro with the Same Name as a DOS Command 
  5003.  
  5004. You might want to create a macro with the same name as a DOS command.  This can 
  5005. be useful, for example, if you always use a certain command with specific 
  5006. parameters.  To specify whether you want to run the macro or the DOS command, 
  5007. follow these guidelines: 
  5008.  
  5009. o To run the macro, begin typing the macro name immediately after the command 
  5010.   prompt, with no space between the prompt and the command name. 
  5011. o To process the command, insert one or more spaces between the command prompt 
  5012.   and the command name. 
  5013.  
  5014.  
  5015. ΓòÉΓòÉΓòÉ <hidden> DOSKEY Examples ΓòÉΓòÉΓòÉ
  5016.  
  5017. To create a macro that searches for a file in the current directory and all 
  5018. sub-directories, type the following: 
  5019.  
  5020. DOSKEY FILEFIND=DIR/S/F/A$*
  5021.  
  5022. You can use the DOSKEY command in a batch program to create a macro. 
  5023.  
  5024. To run the FILEFIND macro to find all files with a file name of COMMAND and any 
  5025. extension on drive C, type the following: 
  5026.  
  5027. FILEFIND C:\COMMAND.*
  5028.  
  5029. You cannot run a macro from a batch program. 
  5030.  
  5031. To delete a macro, type the following: 
  5032.  
  5033. DOSKEY macroname=
  5034.  
  5035. The /M (macro) and /H (history) parameters are useful for creating batch 
  5036. programs to save macros and commands.  To create a batch program named 
  5037. MACINIT.BAT that includes all DOSKEY macros, type the following: 
  5038.  
  5039. DOSKEY /M > MACINIT.BAT
  5040.  
  5041. To use the MACINIT.BAT file, edit it to include the DOSKEY command at the 
  5042. beginning of each macro line. 
  5043.  
  5044. To create a batch program named TMP.BAT that contains recently used commands, 
  5045. type the following: 
  5046.  
  5047. DOSKEY /H > TMP.BAT
  5048.  
  5049. To define a macro with multiple commands, type $t to separate commands as in 
  5050. the following: 
  5051.  
  5052. DOSKEY tx=cd\TEMP$tDIR/W *
  5053.  
  5054. In the above example, the tx macro changes the current directory to TEMP and 
  5055. then displays a directory listing, using the wide display format.  You can use 
  5056. $* at the end of the macro to append other parameters to the DIR command when 
  5057. you run tx. 
  5058.  
  5059. The following macro uses a batch parameter for a new directory name.  The macro 
  5060. first creates a new directory and then changes to it from the current 
  5061. directory. 
  5062.  
  5063. DOSKEY mc=md $1$tcd 1
  5064.  
  5065. To use the preceding macro to create and change to a directory named BOOKS, 
  5066. type the following: 
  5067.  
  5068. mc BOOKS
  5069.  
  5070. To  create a macro that uses batch parameters for moving a file or group of 
  5071. files, type the following: 
  5072.  
  5073. DOSKEY mv=COPY $1 $2 $t DEL $1
  5074.  
  5075.  
  5076. ΓòÉΓòÉΓòÉ 4.51. DOS (UMB/NOUMB) - Specify Upper Memory Block Availability ΓòÉΓòÉΓòÉ
  5077.  
  5078. Specifies whether the DOS kernel will reside in the high memory area (HMA) and 
  5079. whether the operating system or DOS applications will control upper memory 
  5080. blocks (UMBs). 
  5081.  
  5082. DOS=ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ HIGH ΓöÇΓö¼ΓöÇΓöÇ,ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ UMB ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5083.          ΓööΓöÇ LOW ΓöÇΓöÇΓöÿ      ΓööΓöÇ NOUMB ΓöÇΓöÿ
  5084.  
  5085. Related Commands:  DEVICEHIGH, LOADHIGH 
  5086.  
  5087. You need to have a DOS=HIGH/LOW,UMB/NOUMB statement in the CONFIG.SYS file to 
  5088. determine if the DOS kernel resides in high or low memory and to determine the 
  5089. control of upper memory blocks (UMBs). Upper memory blocks are provided by the 
  5090. XMS device driver.  Therefore, you must have a VXMS.SYS statement in your 
  5091. CONFIG.SYS file to have upper memory blocks available. 
  5092.  
  5093. Note:   The high memory area (HMA) refers to space between 1MB and 1MB + 64KB. 
  5094.         Upper memory blocks (UMBs) are between 640KB and 1MB. 
  5095.  
  5096. If DOS=HIGH/LOW,UMB is in the CONFIG.SYS file, the operating system controls 
  5097. the upper memory blocks.  This means that DOS applications can be loaded into 
  5098. upper memory but cannot allocate UMBs. 
  5099.  
  5100. If DOS=HIGH/LOW,NOUMB is in the CONFIG.SYS file, the operating system will not 
  5101. control any UMBs and DOS applications can allocate UMBs but cannot be loaded 
  5102. there.  DOS=HIGH/LOW,NOUMB must be specified in the CONFIG.SYS file for a DOS 
  5103. application to allocate UMBs. 
  5104.  
  5105.  
  5106. ΓòÉΓòÉΓòÉ <hidden> DOS=UMB/NOUMB Examples ΓòÉΓòÉΓòÉ
  5107.  
  5108. To specify DOS applications to be loaded into UMBs and the DOS kernel to reside 
  5109. in the high memory area, type the following in the CONFIG.SYS file: 
  5110.  
  5111. DOS=HIGH,UMB
  5112.  
  5113. To specify DOS applications to be loaded into UMBs and the DOS kernel to reside 
  5114. in conventional memory, type the following in the CONFIG.SYS file: 
  5115.  
  5116. DOS=LOW,UMB
  5117.  
  5118. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  5119. the high memory area, type the following in the CONFIG.SYS file: 
  5120.  
  5121. DOS=HIGH,NOUMB
  5122.  
  5123. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  5124. conventional memory, type the following in the CONFIG.SYS file: 
  5125.  
  5126. DOS=LOW,NOUMB
  5127.  
  5128.  
  5129. ΓòÉΓòÉΓòÉ 4.52. DPATH - Set Search Path ΓòÉΓòÉΓòÉ
  5130.  
  5131. Gives application programs the search path to data files that are outside the 
  5132. current directory. The DPATH environment variable can only be set using the SET 
  5133. command in OS/2 sessions. 
  5134.  
  5135. DPATH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5136.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  5137.            Γöé                                Γöé
  5138.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5139.  
  5140. Related Commands:  APPEND, PATH, and SET. 
  5141.  
  5142. Typing DPATH without a parameter displays the current value of the DPATH 
  5143. environment variable. Typing DPATH ; clears the DPATH environment variable. 
  5144. DPATH indicates what directories applications should search for their data 
  5145. files (if an application program uses the DPATH directory list). 
  5146.  
  5147. DPATH is a system environment variable, which means that application programs 
  5148. can query the environment for its value, and, depending on what they find, 
  5149. change their behavior. 
  5150.  
  5151. Like the PATH command, the number of directories you can specify with DPATH is 
  5152. limited only by the length of the command line.  The length of a DPATH command 
  5153. can be up to six characters less that the maximum number of characters allowed 
  5154. on the command line.  Once you set a search path for data files with DPATH, the 
  5155. path remains in effect for the current command processor until you replace it 
  5156. with another DPATH command. 
  5157.  
  5158. DPATH differs from the APPEND command in how it operates. DPATH tells 
  5159. applications what directories it should search in order to find data files, and 
  5160. it is up to the applications to recognize DPATH.  With the APPEND command, 
  5161. however, application programs are able to find files without recognizing that 
  5162. the APPEND command is in effect. 
  5163.  
  5164.  
  5165. ΓòÉΓòÉΓòÉ <hidden> DPATH Examples ΓòÉΓòÉΓòÉ
  5166.  
  5167. To display the current value of the DPATH environment variable, enter the 
  5168. following: 
  5169.  
  5170. DPATH
  5171.  
  5172. To clear the DPATH environment variable enter the following:. 
  5173.  
  5174. DPATH ;
  5175.  
  5176. To set a DPATH statement to indicate to applications to search for data files 
  5177. in the TOOLS, UTILS, and DATA directories, type this statement in your 
  5178. CONFIG.SYS file: 
  5179.  
  5180. DPATH=C:\TOOLS;C:\UTILS;C:\DATA;
  5181.  
  5182. To specify the current path to data files as a replaceable parameter by 
  5183. appending the paths of the ABC and XYZ subdirectories to the DPATH statement 
  5184. already in effect, type the following in your CONFIG,SYS file: 
  5185.  
  5186. DPATH %DPATH%;C:\ABC;C:\XYZ;
  5187.  
  5188.  
  5189. ΓòÉΓòÉΓòÉ <hidden> Template ΓòÉΓòÉΓòÉ
  5190.  
  5191. The template is a memory buffer that holds the last command you typed. 
  5192.  
  5193.  
  5194. ΓòÉΓòÉΓòÉ 4.53. EAUTIL - Split and Join Extended File Attributes ΓòÉΓòÉΓòÉ
  5195.  
  5196. Allows you to split (save) extended attributes from a file and then rejoin the 
  5197. extended attributes to the file. 
  5198.  
  5199. EAUTIL ΓöÇΓöÇΓöÇ datafile ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  5200.                       ΓööΓöÇ holdfile ΓöÇΓöÿ   Γö£ΓöÇ /S ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5201.                                        Γöé      ΓööΓöÇ /R ΓöÇΓöÿ Γöé
  5202.                                        ΓööΓöÇ /J ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  5203.                                               Γö£ΓöÇ /O ΓöÇΓöñ
  5204.                                               ΓööΓöÇ /M ΓöÇΓöÿ
  5205. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5206.            ΓööΓöÇ /P ΓöÇΓöÿ
  5207.  
  5208. Related Commands:  IFS 
  5209.  
  5210. An extended attribute is a mechanism that allows an application to attach 
  5211. information to a file or directory (file system object). Extended attributes 
  5212. are used to describe the object to another application, to the operating 
  5213. system, or to the file system program that manages the file or directory. 
  5214.  
  5215. EAUTIL allows you to split extended attributes from a data file or program file 
  5216. and place them in a hold file as data.  After you do this, you can use the file 
  5217. with other applications or file systems that do not recognize or are not able 
  5218. to process extended attributes. By saving extended attributes to a hold file, 
  5219. you prevent them from being erased or lost. The command also allows you to join 
  5220. extended attributes contained in the hold file to the data file. 
  5221.  
  5222. Return Codes: 
  5223.  
  5224. 0 - Normal completion 
  5225. 1 - File not found 
  5226. 4 - Ended due to error 
  5227.  
  5228.  
  5229. ΓòÉΓòÉΓòÉ <hidden> EAUTIL Examples ΓòÉΓòÉΓòÉ
  5230.  
  5231. To place extended attributes from a file named MODULE.TXT into a file named 
  5232. ATTRIB.MOD, enter the following: 
  5233.  
  5234. EAUTIL MODULE.TXT ATTRIB.MOD /S
  5235.  
  5236. To replace the extended attributes in the ATTRIB.MOD file with the extended 
  5237. attributes of the NEWFILE.EA, enter the following: 
  5238.  
  5239. EAUTIL NEWFILE.EA ATTRIB.MOD /R /S
  5240.  
  5241. To preserve extended file attributes in a file named MODULE.TXT and copy that 
  5242. file's extended attributes to a file named ATTRIB.MOD, enter the following: 
  5243.  
  5244. EAUTIL MODULE.TXT ATTRIB.MOD /P /S
  5245.  
  5246. To join the extended attributes in the ATTRIB.MOD hold file with the MODULE.TXT 
  5247. data file, enter the following: 
  5248.  
  5249. EAUTIL MODULE.TXT ATTRIB.MOD /J
  5250.  
  5251. To overwrite the extended attributes in the MODULE.TXT file with the extended 
  5252. attributes in the NEWFILE.EA hold file, enter the following: 
  5253.  
  5254. EAUTIL MODULE.TXT NEWFILE.EA /O /J
  5255.  
  5256. To merge the extended attributes in the NEWFILE.EA hold file into the extended 
  5257. attributes in the MODULE.TXT data file, enter the following: 
  5258.  
  5259. EAUTIL MODULE.TXT NEWFILE.EA /M /J
  5260.  
  5261.  
  5262. ΓòÉΓòÉΓòÉ 4.54. ECHO - Display Commands as They Process ΓòÉΓòÉΓòÉ
  5263.  
  5264. Allows or prevents the screen display of OS/2 commands as they are run from a 
  5265. batch file. ECHO does not interfere with messages produced while commands are 
  5266. running. 
  5267.  
  5268. ECHO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5269.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5270.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5271.                       ΓööΓöÇΓöÇΓöÇΓöÇ message ΓöÇΓöÇΓöÇΓöÿ
  5272.  
  5273. Related Commands:  PAUSE and REM 
  5274.  
  5275. Enter this command without a parameter to display the current ECHO state. 
  5276.  
  5277. You can control (|) and redirect (>) output from a batch file. 
  5278.  
  5279. To prevent DOS from interpreting the | and > symbols, enclose them in double 
  5280. quotes. 
  5281.  
  5282. ECHO OFF
  5283. ECHO PIPING "|"
  5284. ECHO REDIRECTION ">"
  5285.  
  5286. To prevent the OS/2 operating system from interpreting the | and > symbols, 
  5287. precede them with a ^ symbol. The ^ symbol tells the system to interpret the 
  5288. next character input, but not to display it. 
  5289.  
  5290. ECHO OFF
  5291. ECHO PIPING ^|
  5292. ECHO REDIRECTION ^>
  5293.  
  5294. You can also control how batch-file lines or command lines are displayed. To 
  5295. prevent the system from displaying a batch-file line, place an @ before the 
  5296. command. 
  5297.  
  5298. @ECHO ON
  5299. @REM THIS LINE IS NOT DISPLAYED
  5300. REM THIS LINE IS DISPLAYED
  5301. @FILE1
  5302.  
  5303. To display lines of text in a batch file, but prevent the display of command 
  5304. lines, follow this example: 
  5305.  
  5306. @ECHO OFF
  5307. REM THIS LINE WILL NOT BE DISPLAYED
  5308. ECHO THIS LINE WILL BE DISPLAYED
  5309.  
  5310. In the following example, the system first displays ECHO OFF but does not 
  5311. display the REM or first DIR C:\OS2\SAMPLE.ABC commands because ECHO is OFF. 
  5312. However, the system still displays the output of the DIR command.  Next, ECHO 
  5313. ON is processed and the system displays the DIR C:\OS2\SAMPLE.ABC command with 
  5314. the DIR output. 
  5315.  
  5316. ECHO OFF
  5317. REM **** COMMAND DISPLAY IS NOW OFF
  5318. DIR C:\OS2\SAMPLE.ABC
  5319. ECHO ON
  5320. DIR C:\OS2\SAMPLE.ABC
  5321.  
  5322. When the above batch file is run, the following is displayed: 
  5323.  
  5324. ECHO OFF
  5325.  
  5326. The volume label in drive C is OS2.
  5327. Directory of C:\
  5328.  
  5329. SAMPLE.ABC        1234   7-17-88   12:14p
  5330.           1 File(s)   141312 bytes free
  5331.  
  5332. DIR C:\OS2\SAMPLE.ABC
  5333.  
  5334. The volume label in drive C is OS2.
  5335. Directory of C:\
  5336.  
  5337. SAMPLE.ABC        1234   7-17-88   12:14p
  5338.           1 Files(s)  141312 bytes free
  5339.  
  5340.  
  5341. ΓòÉΓòÉΓòÉ <hidden> ECHO Examples ΓòÉΓòÉΓòÉ
  5342.  
  5343. To show all commands on your screen as they are processed, enter the following: 
  5344.  
  5345. ECHO ON
  5346.  
  5347. To display the message, PROGRAM FAILED, on your screen, whether ECHO is ON or 
  5348. OFF, enter the following: 
  5349.  
  5350. ECHO PROGRAM FAILED
  5351.  
  5352. To prevent DOS from interpreting the | and > symbols, enclose them in double 
  5353. quotes. 
  5354.  
  5355. ECHO OFF
  5356. ECHO PIPING "|"
  5357. ECHO REDIRECTION ">"
  5358.  
  5359. To prevent the OS/2 operating system from interpreting the | and > symbols, 
  5360. precede them with a ^ symbol. The ^ symbol tells the system to interpret the 
  5361. next character input, but not to display it. 
  5362.  
  5363. ECHO OFF
  5364. ECHO PIPING ^|
  5365. ECHO REDIRECTION ^>
  5366.  
  5367. To prevent DOS from displaying a batch-file line, place an @ before the 
  5368. command. 
  5369.  
  5370. @ECHO ON
  5371. @REM THIS LINE IS NOT DISPLAYED
  5372. REM THIS LINE IS DISPLAYED
  5373. @FILE1
  5374.  
  5375. To display lines of text in a batch file, but prevent the display of command 
  5376. lines, follow this example: 
  5377.  
  5378. @ECHO OFF
  5379. REM THIS LINE WILL NOT BE DISPLAYED
  5380. ECHO THIS LINE WILL BE DISPLAYED
  5381.  
  5382.  
  5383. ΓòÉΓòÉΓòÉ 4.55. ENDLOCAL - Restore Environment Variables ΓòÉΓòÉΓòÉ
  5384.  
  5385. Restores the drive, directory, and environment variables that were in effect 
  5386. before the SETLOCAL command was processed. 
  5387.  
  5388.  
  5389. ENDLOCAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5390.  
  5391. Related Commands:  SETLOCAL 
  5392.  
  5393. This command ends the SETLOCAL command, restoring the previous drive, 
  5394. directory, and environment settings.  You can issue an ENDLOCAL command even if 
  5395. no SETLOCAL command is running. 
  5396.  
  5397. If you want to insert the ENDLOCAL command within a batch file to restore the 
  5398. drive, directory, and environmental variables, follow this example: 
  5399.  
  5400. PATH
  5401. SETLOCAL
  5402. A:
  5403. CD \XYZ
  5404. PATH A:\;A:\MISCPGM
  5405. PATH
  5406. ENDLOCAL
  5407. PATH
  5408.  
  5409. Note that the PATH command with no parameters displays the current value for 
  5410. PATH.  You can see that the original current drive, directory, and environment 
  5411. value for PATH are saved when SETLOCAL is issued, and restored when ENDLOCAL is 
  5412. issued. 
  5413.  
  5414.  
  5415. ΓòÉΓòÉΓòÉ <hidden> ENDLOCAL Examples ΓòÉΓòÉΓòÉ
  5416.  
  5417. To insert the ENDLOCAL command within a batch file to restore the drive, 
  5418. directory, and environmental variables, follow this example: 
  5419.  
  5420. PATH
  5421. SETLOCAL
  5422. A:
  5423. CD \XYZ
  5424. PATH A:\;A:\TOOLS
  5425. PATH
  5426. DPATH A:\UTILS;A:\DATA
  5427. DPATH
  5428. ENDLOCAL
  5429. PATH
  5430.  
  5431.  
  5432. ΓòÉΓòÉΓòÉ 4.56. ERASE or DEL - Delete Files ΓòÉΓòÉΓòÉ
  5433.  
  5434. Deletes one or more files.  Use ERASE or DEL interchangeably. 
  5435.  
  5436.  
  5437. ERASE ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  filename ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5438.        Γöé ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ Γöé  Γö£ΓöÇ /P ΓöÇΓöñ
  5439. DEL ΓöÇΓöÇΓöÇΓöÿ Γöé                      ΓööΓöÇ filename ΓöÇΓöÿ Γöé  ΓööΓöÇ /N ΓöÇΓöÿ
  5440.          ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5441.  
  5442. Do not use ERASE or DEL to delete a subdirectory name; use the remove directory 
  5443. (RD/RMDIR) command.  You can use ERASE or DEL to delete the contents of a 
  5444. subdirectory.  In addition, read-only and hidden files, such as the operating 
  5445. system files of IBMBIO.COM and IBMDOS.COM, cannot be deleted. 
  5446.  
  5447. When erasing all files in a directory, the system displays the name of the 
  5448. directory, along with the message: 
  5449.  
  5450. Are you sure (Y/N)?
  5451.  
  5452. Enter a Y (yes) to erase all the files in the directory or enter an N (no) to 
  5453. end the DEL or ERASE command. 
  5454.  
  5455.  
  5456. ΓòÉΓòÉΓòÉ <hidden> ERASE or DEL Examples ΓòÉΓòÉΓòÉ
  5457.  
  5458. To erase a file named MONDAY from the current directory on the current drive, 
  5459. enter the following: 
  5460.  
  5461. ERASE MONDAY
  5462.  
  5463. To erase all files in the current directory on drive C, enter the following: 
  5464.  
  5465. ERASE C:*.*
  5466.  
  5467. To erase all files in the REPORTS subdirectory on drive C, enter the following: 
  5468.  
  5469. ERASE C:\REPORTS\*.*
  5470.  
  5471. To erase a file named FRIDAY from the REPORTS subdirectory on drive C, enter 
  5472. the following: 
  5473.  
  5474. ERASE C:\REPORTS\FRIDAY
  5475.  
  5476. To erase all files with a .ABC extension from the REPORTS subdirectory in the 
  5477. root directory on drive C, enter the following: 
  5478.  
  5479. ERASE C:\REPORTS\*.ABC
  5480.  
  5481. To review before erasing all files in the MYDIR directory and display each file 
  5482. name, giving you the option to erase it or not erase it, enter the following: 
  5483.  
  5484. ERASE C:\MYDIR\*.* /P
  5485.  
  5486. To delete the contents of the REPORTS subdirectory on drive C and not be 
  5487. prompted Are you sure (Y/N)?, enter the following: 
  5488.  
  5489. ERASE C:\REPORTS /N
  5490.  
  5491.  
  5492. ΓòÉΓòÉΓòÉ 4.57. EXIT - End a Command Processor ΓòÉΓòÉΓòÉ
  5493.  
  5494. Ends or closes the current command processor (CMD.EXE or COMMAND.COM) and 
  5495. returns to the previous one, or to the desktop if no previous session exists. 
  5496.  
  5497.  
  5498. EXIT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5499.  
  5500. Related Commands:  CMD and COMMAND 
  5501.  
  5502. To close the current command processor and return to the previous command 
  5503. processor, or the desktop, enter EXIT. 
  5504.  
  5505. If you are running a program, you must first end the program before typing 
  5506. EXIT.  If no previous command processor exists, typing EXIT returns you to the 
  5507. desktop. 
  5508.  
  5509.  
  5510. ΓòÉΓòÉΓòÉ <hidden> EXIT Examples ΓòÉΓòÉΓòÉ
  5511.  
  5512. To return to the previous command processor or the desktop after you have 
  5513. finished running your program, enter the following: 
  5514.  
  5515. EXIT
  5516.  
  5517.  
  5518. ΓòÉΓòÉΓòÉ 4.58. EXTPROC - Define an External Batch Processor ΓòÉΓòÉΓòÉ
  5519.  
  5520. Defines an external batch processor for a batch file. 
  5521.  
  5522. EXTPROC Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  5523.         ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  5524.  
  5525. This command is useful if you have your own batch processor and want to 
  5526. substitute it for the OS/2 batch processor. 
  5527.  
  5528. You must include the EXTPROC command as the first statement in any batch file 
  5529. you want processed by your batch processor. CMD.EXE calls your batch processor 
  5530. to process your batch-file statements. 
  5531.  
  5532. For example, if you wanted to use a batch processor called MYBATCH.EXE, located 
  5533. in the C:\BATCH directory, to run some of your batch files, type the following 
  5534. in your batch file: 
  5535.  
  5536. EXTPROC C:\BATCH\MYBATCH.EXE
  5537.  
  5538.  
  5539. ΓòÉΓòÉΓòÉ <hidden> EXTPROC Examples ΓòÉΓòÉΓòÉ
  5540.  
  5541. To use a batch processor called MYBATCH.EXE, located in the C:\BATCH directory, 
  5542. to run some of your batch files, type the following in your batch file: 
  5543.  
  5544. EXTPROC C:\BATCH\MYBATCH.EXE
  5545.  
  5546.  
  5547. ΓòÉΓòÉΓòÉ 4.59. FCBS - Use File Control Blocks ΓòÉΓòÉΓòÉ
  5548.  
  5549. Determines file-control-block (FCB) management information for DOS sessions. 
  5550.  
  5551. This statement has no effect in OS/2 sessions. 
  5552.  
  5553.  
  5554. FCBS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ m ,n ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5555.  
  5556. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  5557. prompt. 
  5558.  
  5559. A file control block (FCB) is a record that contains all of the information 
  5560. about a file (for example, its structure, length, and name).  If a program 
  5561. tries to open more than the number of files specified in the FCBS statement, 
  5562. the system closes the least-recently used file control block and opens the new 
  5563. file. 
  5564.  
  5565. Some application programs use file control blocks to create, open, delete, 
  5566. read, and write to files.  New programs written for the operating system 
  5567. usually use internal file IDs (handles) for file input/output. 
  5568.  
  5569. If a program tries to open more than the number of file control blocks 
  5570. specified in the FCBS statement, the system closes the least-recently used FCB 
  5571. and opens a new file.  The files that are protected from being closed are not 
  5572. included in the list of least-recently used FCBs.  If a program tries to read 
  5573. or write to a file that has been closed because it is the least-recently used 
  5574. FCB, the system displays an error message. 
  5575.  
  5576. In addition, the value of the first number must be greater than or equal to the 
  5577. value of the second number.  If you set the two values equal to each other in 
  5578. the FCBS statement and a program tries to open more than the total number of 
  5579. file control blocks you specified, no files can be closed.  If a program tries 
  5580. to open more than the number of file control blocks you specified, no new files 
  5581. are opened. 
  5582.  
  5583.  
  5584. ΓòÉΓòÉΓòÉ <hidden> FCBS Examples ΓòÉΓòÉΓòÉ
  5585.  
  5586. To specify the total number of file control blocks that can be open at one time 
  5587. to 15, type the following in the CONFIG.SYS file: 
  5588.  
  5589. FCBS=15
  5590.  
  5591. To set the total number of file control block files that can be open at one 
  5592. time to 10, and set the number protected from being closed to 3, type the 
  5593. following in the CONFIG.SYS file. 
  5594.  
  5595. FCBS=10,3
  5596.  
  5597.  
  5598. ΓòÉΓòÉΓòÉ 4.60. FDISK - Partition Hard Disks ΓòÉΓòÉΓòÉ
  5599.  
  5600. Allows you to create or delete a primary partition or a logical drive in an 
  5601. extended partition. 
  5602.  
  5603.  
  5604. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5605.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5606.  
  5607. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5608.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5609.  
  5610.                                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5611.                                                            Γöé
  5612. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /QUERY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  5613.               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /CREATE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇ /NAME:name  ΓöÇΓöÇΓöÇΓöñ
  5614.               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /DELETE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /DISK:n ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5615.               Γö£ΓöÇΓöÇ /SETNAME:name  ΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /FSTYPE:x ΓöÇΓöÇΓöÇΓöñ
  5616.               Γö£ΓöÇ /SETACCESS        ΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /START:m ΓöÇΓöÇΓöÇΓöÇΓöñ
  5617.               Γö£ΓöÇΓöÇΓöÇΓöÇ /STARTABLE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /SIZE:m ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5618.               ΓööΓöÇΓöÇ /FILE:filename ΓöÇΓöÇΓöÇΓöÿ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /VTYPE:n ΓöÇΓöÇΓöÇΓöÇΓöñ
  5619.                                        Γö£ΓöÇΓöÇΓöÇ /BOOTABLE:s ΓöÇΓöÇΓöÇΓöñ
  5620.                                        ΓööΓöÇΓöÇΓöÇ /BOOTMGR ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5621.  
  5622. Related Commands: FDISKPM, SETBOOT 
  5623.  
  5624. Related Information: Hard Disk Information 
  5625.  
  5626. o The Fixed Disk Utility (FDISK) - Full-screen 
  5627.  
  5628.   The full-screen version of FDISK is used during installation of the operating 
  5629.   system.  It provides users with the same functions as the FDISKPM version. 
  5630.   The full-screen version supports windows and looks and acts much the same as 
  5631.   FDISKPM but it does not support a mouse. 
  5632.  
  5633. o The Fixed Disk Utility (FDISK) - Command Line 
  5634.  
  5635.   Use the FDISK command at the command prompt to establish or change partition 
  5636.   values.  Use the parameters and options with the FDISK command to specify and 
  5637.   limit the values and characteristics of the partitions. 
  5638.  
  5639. The following syntax shows how to use the FDISK command to take advantage of 
  5640. the Boot Manager for unattended environments: 
  5641.  
  5642. FDISK /parameter:value /option:value
  5643.  
  5644. The Boot Manager allows you to create up to four primary partitions on a hard 
  5645. disk.  A primary partition is an area on the hard disk that cannot be shared. A 
  5646. partition that cannot be shared means that only one entity can reside there and 
  5647. only one primary partition can be active at one time.  The data of an operating 
  5648. system in a primary partition cannot be accessed by an operating system in 
  5649. another primary partition but it can be accessed by a logical drive in an 
  5650. extended partition. 
  5651.  
  5652. You can create an extended partition in place of one of the four primary 
  5653. partitions. This partition can be subdivided into multiple logical drives.  You 
  5654. can install a different operating system on each of the logical drives.  These 
  5655. logical drives are shareable; any data installed on these logical drives can be 
  5656. used by an operating system running from any other logical drive on your 
  5657. system, if the file systems are compatible. 
  5658.  
  5659. Note:   All versions of DOS must be in a primary partition.  Other operating 
  5660.         systems can be installed on logical drives in an extended partition. 
  5661.  
  5662. Return codes:  FDISK issues a return code of 0 for normal completion or the 
  5663. appropriate error message. 
  5664.  
  5665.  
  5666. ΓòÉΓòÉΓòÉ <hidden> FDISK Examples ΓòÉΓòÉΓòÉ
  5667.  
  5668. The /QUERY parameter displays a list of all partitions and free space on the 
  5669. hard disks of the system.  For example, here is a query that returned 
  5670. information about 4 partitions and a free space entry: 
  5671.  
  5672. Name     Partition   Vtype   FStype   Drive   Status   Start  Size
  5673.  
  5674. System 1   C:        01      04       1        1       00     30
  5675. System 2    :        01      01       1        1       30     10
  5676. OS2-HPFS   D:        02      07       2        1       00     60
  5677. data-vol   E:        02      06       1        0       40     70
  5678. 01000061    :        03      00       2        0       60     55
  5679.  
  5680. To display a list of all partitions and free space on your system, type the 
  5681. following: 
  5682.  
  5683. FDISK /QUERY
  5684.  
  5685. To create a logical drive in an extended partition on disk 1 with the name 
  5686. OS2FAT, type the following: 
  5687.  
  5688. FDISK /CREATE:OS2FAT /VTYPE:2 /DISK:1
  5689.  
  5690. To delete a logical drive with the name OS2FAT, type the following: 
  5691.  
  5692. FDISK /DELETE /NAME:OS2FAT
  5693.  
  5694. To specify the name DOS4.0 of a partition, type the following: 
  5695.  
  5696. FDISK /SETNAME:DOS4.0
  5697.  
  5698. To specify a partition as accessible, type the following: 
  5699.  
  5700. FDISK /SETACCESS
  5701.  
  5702. To specify a partition as startable, type the following: 
  5703.  
  5704. FDISK /STARTABLE
  5705.  
  5706. To process FDISK commands in the file MYFILE, type the following: 
  5707.  
  5708. FDISK /FILE:myfile
  5709.  
  5710. You can create a file to process FDISK commands.  You must have commas 
  5711. separating the arguments of each command in the file and the commands are 
  5712. processed just once. For example, the file, MYFILE, contains the following 
  5713. commands: 
  5714.  
  5715. /query
  5716. /create:OS2,/vtype:1,/disk:1,/name:01000030,/size:20
  5717. /startable,/name:OS2
  5718. /query,/name:OS2
  5719.  
  5720. The processing of these commands is as follows: 
  5721.  
  5722. Command 1       Displays a list of all partitions and unused space on all hard 
  5723.                 disks. 
  5724.  
  5725. Command 2       Creates a primary partition on disk 1 with a size of 20MB in 
  5726.                 the free space name 01000030 and assigns it a name of OS2. 
  5727.  
  5728. Command 3       Sets the partition named OS2 to be startable on the Boot 
  5729.                 Manager menu. 
  5730.  
  5731. Command 4       Displays the partition information of the partition named OS2. 
  5732.  
  5733. Options limit the actions of the FDISK command and parameters. 
  5734.  
  5735. To delete a partition named dos, type the following: 
  5736.  
  5737. FDISK /DELETE /NAME:dos
  5738.  
  5739. To display all partitions on drive 2, type the following: 
  5740.  
  5741. FDISK /QUERY /DISK:2
  5742.  
  5743. To display a partition with a FAT file system, type the following: 
  5744.  
  5745. FDISK /QUERY /FSTYPE:FAT
  5746.  
  5747. To create a primary partition starting at the top of the partition, type the 
  5748. following: 
  5749.  
  5750. FDISK /CREATE /START:t
  5751.  
  5752. To create a primary partition with a size of 8MB, type the following: 
  5753.  
  5754. FDISK /CREATE /SIZE:8
  5755.  
  5756. To display unusable space on a disk, type the following: 
  5757.  
  5758. FDISK /QUERY /VTYPE:0
  5759.  
  5760. To specify a primary partition to be displayed, type the following: 
  5761.  
  5762. FDISK /QUERY /VTYPE:1
  5763.  
  5764. To specify a logical drive in an extended partition to be displayed, type the 
  5765. following: 
  5766.  
  5767. FDISK /QUERY /VTYPE:2
  5768.  
  5769. To display free space that can be used to create a primary or extended 
  5770. partition, type the following: 
  5771.  
  5772. FDISK /QUERY /VTYPE:3
  5773.  
  5774. To display all partitions that are bootable from the Boot Manager menu, type 
  5775. the following: 
  5776.  
  5777. FDISK /QUERY /BOOTABLE:1
  5778.  
  5779. To create the Boot Manager partition, type the following: 
  5780.  
  5781. FDISK  /CREATE /BOOTMGR
  5782.  
  5783.  
  5784. ΓòÉΓòÉΓòÉ 4.61. FDISKPM - Partition Hard Disks ΓòÉΓòÉΓòÉ
  5785.  
  5786. Allows you to create or delete a primary partition or a logical drive in an 
  5787. extended partition. 
  5788.  
  5789. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISKPM ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5790.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5791.  
  5792. Related Commands: FDISK  Related Information: Hard Disk Information 
  5793.  
  5794. FDISKPM presents menus and displays to guide you through the tasks necessary to 
  5795. set up your hard disks. Help is available for all selectable items and entry 
  5796. fields within FDISKPM. 
  5797.  
  5798. You can use the choices on the Options menu to: 
  5799.  
  5800. o Install the Boot Manager partition. 
  5801. o Create a primary partition or logical drive. 
  5802. o Add a partition to the Boot Manager menu. 
  5803. o Change the partition name. 
  5804. o Assign the accessibility of primary partitions. 
  5805. o Specify startup values such as a default partition, startup selection time, 
  5806.   or mode for the Boot Manager menu. 
  5807. o Remove a partition from the Boot Manager menu. 
  5808. o Delete a primary partition or logical drive. 
  5809. o Set a primary partition as installable. 
  5810. o Specify a primary partition as being startable. 
  5811. o Exit FDISKPM. 
  5812.  
  5813.  
  5814. ΓòÉΓòÉΓòÉ <hidden> FDISKPM Examples ΓòÉΓòÉΓòÉ
  5815.  
  5816. To start FDISKPM to set up the hard disks on your system, enter the following: 
  5817.  
  5818. FDISKPM
  5819.  
  5820.  
  5821. ΓòÉΓòÉΓòÉ 4.62. FILES - Set Maximum Number of Files ΓòÉΓòÉΓòÉ
  5822.  
  5823. Determines the maximum number of files available in DOS sessions. 
  5824.  
  5825. This statement has no effect in OS/2 sessions. 
  5826.  
  5827. FILES = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ nΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5828.  
  5829. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  5830. prompt. 
  5831.  
  5832. When a DOS session is started, 20 files are available to be used by all 
  5833. programs running in that DOS session.  A file is in use when a program is 
  5834. processing some kind of operation in it.  When a program is using a file for 
  5835. its operation, that file is unavailable to another program.  The file is 
  5836. returned to availability when the program has finished its operation and the 
  5837. file is closed. 
  5838.  
  5839. Regardless of the FILES= setting, all DOS programs are initialized to a maximum 
  5840. of 20 files.  It is the responsibility of an application to increase the number 
  5841. of files up to the maximum set by the FILES= statement. 
  5842.  
  5843. Placing a FILES= statement in the CONFIG.SYS file increases the default value 
  5844. for all DOS sessions.  Each session can also be customized by changing the 
  5845. appropriate DOS setting. 
  5846.  
  5847.  
  5848. ΓòÉΓòÉΓòÉ <hidden> FILES Examples ΓòÉΓòÉΓòÉ
  5849.  
  5850. To specify a maximum of 40 files to be open at the same time in a DOS session, 
  5851. type the following in the CONFIG.SYS file: 
  5852.  
  5853. FILES=40
  5854.  
  5855.  
  5856. ΓòÉΓòÉΓòÉ 4.63. FIND - Search Files for Strings of Text ΓòÉΓòÉΓòÉ
  5857.  
  5858. Searches for a specific string of text in a file or files and sends the 
  5859. specified lines to your output device. 
  5860.  
  5861.                                   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5862.                                                         Γöé
  5863. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ FIND ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇ
  5864.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            Γö£ΓöÇΓö¼ΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5865.                                     Γöé ΓööΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ Γöé
  5866.                                     Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /I ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5867.                                     ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5868.  
  5869. ΓöÇΓöÇ "string" ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  5870.                ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 Γöé
  5871.               Γöé                                        Γöé
  5872.               ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5873.  
  5874. It is important to note: 
  5875.  
  5876. o You must type the phrase or word in quotation marks in the exact format 
  5877.   (uppercase or lowercase) in which it is written in the text. Two single 
  5878.   quotes in succession are not equivalent to quotation marks. 
  5879. o When searching for strings that contain quotation marks, an extra set of 
  5880.   quotation marks must be entered both before and after the string.  For 
  5881.   example, to find the string "Quotation Marks" in a file named PUNCTUATION, 
  5882.   enter the following: 
  5883.  
  5884.     FIND ""Quotation Marks"" PUNCTUATION
  5885.  
  5886. o You must specify the specific file name you want the FIND command to search. 
  5887.   Global characters such as the asterisk (*) or question mark (?) do not work. 
  5888. o You can specify parameter /V together with /C or /N, but parameter /N cannot 
  5889.   be used with /C. 
  5890. o Within a search string containing quotation marks, you can represent 
  5891.   quotation marks by preceding the double quotation mark character with a 
  5892.   backslash (\).  For example: 
  5893.  
  5894.     FIND "SAY \"Hello\"" FILE1
  5895.  
  5896. o You must use a double backslash (\\) to find lines that contain the backslash 
  5897.   (\) character. 
  5898.  
  5899. Return Codes:  FIND issues a return code of 0 for normal completion. 
  5900.  
  5901.  
  5902. ΓòÉΓòÉΓòÉ <hidden> FIND Examples ΓòÉΓòÉΓòÉ
  5903.  
  5904. To display all lines that do not include the word CHAPTER in a file named 
  5905. BOOK.TXT, enter the following. 
  5906.  
  5907. FIND /V "CHAPTER" BOOK.TXT
  5908.  
  5909. To display a count of the number of lines in a file named BOOK.TXT that include 
  5910. the word CHAPTER, enter the following: 
  5911.  
  5912. FIND /C "CHAPTER" BOOK.TXT
  5913.  
  5914. To display the line number where each occurrence of CHAPTER is found in the 
  5915. text of the file named BOOK.TXT, enter the following: 
  5916.  
  5917. FIND /N "CHAPTER" BOOK.TXT
  5918.  
  5919. To make a search for the string CHAPTER not case-sensitive in the file 
  5920. BOOK.TXT, enter the following: 
  5921.  
  5922. FIND /I "CHAPTER" BOOK.TXT
  5923.  
  5924. To display all the lines from files named BOOK1 and BOOK2 (in that order) that 
  5925. contain the word CHAPTER, enter the following: 
  5926.  
  5927. FIND "CHAPTER" BOOK1 BOOK2
  5928.  
  5929. To find a string that has quotation marks such as "Boca Raton, FL." in a file 
  5930. named CITIES, enter the following: 
  5931.  
  5932. FIND ""Boca Raton, FL."" CITIES
  5933.  
  5934. To find all lines that contain a backslash (\) character in the file 
  5935. SAMPLE.TXT, enter the following: 
  5936.  
  5937. FIND "\\" SAMPLE.TXT
  5938.  
  5939.  
  5940. ΓòÉΓòÉΓòÉ 4.64. FOR - Process Commands Repetitively ΓòÉΓòÉΓòÉ
  5941.  
  5942. Allows repetitive running of OS/2 commands. 
  5943.  
  5944. To use FOR from the OS/2 command prompt: 
  5945.  
  5946.  
  5947. FOR ΓöÇΓöÇΓöÇ % variable ΓöÇΓöÇΓöÇ IN ΓöÇΓöÇΓöÇ (set) ΓöÇΓöÇΓöÇ DO ΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓöñ
  5948.  
  5949. To use FOR from a batch file: 
  5950.  
  5951.  
  5952. FOR ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ %%c ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ IN ΓöÇΓöÇΓöÇΓöÇ (set) ΓöÇΓöÇΓöÇΓöÇ DO ΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöñ
  5953.  
  5954. It is important to note that: 
  5955.  
  5956. o The items in parentheses specify the "set," which can include file and path 
  5957.   names. 
  5958.  
  5959. o An item in the set can contain the global file-name characters * or ?. 
  5960.  
  5961. o Use only one percent sign ( % ) before the variable if you are processing 
  5962.   from the command prompt; use two percent signs ( %% ) if you are using the 
  5963.   variable in a batch file. 
  5964.  
  5965. o For OS/2 sessions, piping and redirection can be used with the FOR command. 
  5966.  
  5967.   The following example shows three C-language program files being compiled and 
  5968.   compiler messages being saved in three files that have a .OUT extension. 
  5969.  
  5970.     FOR %1 IN ( FILE1 FILE2 FILE3 ) DO CL /C %1.C > %1.OUT 2>&1
  5971.  
  5972.   For DOS sessions, piping and redirection are not used with the FOR command. 
  5973.  
  5974. o For OS/2 sessions, you can specify more than one FOR command at a command 
  5975.   prompt. 
  5976.  
  5977.   For example, type the following in order to print these files: FILE1.C, 
  5978.   FILE1.LST, FILE2.C, FILE2.LST, FILE3.C, FILE3.LST: 
  5979.  
  5980.     FOR %1 IN ( FILE1 FILE2 FILE3 ) DO FOR %J IN ( C LST ) DO PRINT %1.%J
  5981.  
  5982. In the following example, FOR sequentially sets the %%D parameter to each item 
  5983. in the set and then evaluates the command you want to run (TYPE). 
  5984.  
  5985. Assume you want a batch file to process the commands, TYPE FILE1 and TYPE 
  5986. FILE2, and have the result be the same as if you typed both commands from the 
  5987. command prompt: 
  5988.  
  5989. FOR %%D IN (FILE1 FILE2) DO TYPE %%D
  5990.  
  5991. Assume you want to process the commands TYPE FILE1 and TYPE FILE2 from the 
  5992. command prompt: 
  5993.  
  5994. FOR %H IN (FILE1 FILE2) DO TYPE %H
  5995.  
  5996.  
  5997. ΓòÉΓòÉΓòÉ <hidden> FOR Examples ΓòÉΓòÉΓòÉ
  5998.  
  5999. To compile three C-language program files and save the compiler messages in 
  6000. three files that have a .OUT extension, enter the following: 
  6001.  
  6002. FOR %1 IN ( FILE1 FILE2 FILE3 ) DO CL /C %1.C > %1.OUT 2>&1
  6003.  
  6004. Piping and redirection are not available for DOS sessions. 
  6005.  
  6006. To specify more than one FOR command for OS/2 sessions at a command prompt and 
  6007. print the files FILE1.C, FILE1.LST, FILE2.C, FILE2.LST, FILE3.C, and FILE3.LST, 
  6008. enter the following: 
  6009.  
  6010. FOR %1 IN ( FILE1 FILE2 FILE3 ) DO FOR %J IN ( C LST ) DO PRINT %1.%J
  6011.  
  6012. To process the commands, TYPE FILE1 and TYPE FILE2, and have the result be the 
  6013. same as if you typed both commands from the command prompt enter the following: 
  6014.  
  6015. FOR %%D IN (FILE1 FILE2) DO TYPE %%D
  6016.  
  6017. To process the commands TYPE FILE1 and TYPE FILE2 from the command prompt enter 
  6018. the following: 
  6019.  
  6020. FOR %H IN (FILE1 FILE2) DO TYPE %H
  6021.  
  6022.  
  6023. ΓòÉΓòÉΓòÉ 4.65. FORMAT - Prepare a Disk for Use ΓòÉΓòÉΓòÉ
  6024.  
  6025. Formats a disk in the specified drive to accept OS/2 files by marking the 
  6026. directory and file allocation tables on the disk. FORMAT also checks the disk 
  6027. for defects. 
  6028.  
  6029. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ FORMAT ΓöÇΓöÇΓöÇΓöÇ drive ΓöÇΓöÇΓöÇΓöÇΓöÇ
  6030.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  6031.  
  6032.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6033.                                      Γöé
  6034. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6035.                Γö£ΓöÇΓöÇΓöÇ /ONCE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6036.                Γö£ΓöÇΓöÇΓöÇ /4 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6037.                Γö£ΓöÇΓöÇΓöÇ /T:tracks ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6038.                Γö£ΓöÇΓöÇΓöÇ /N:sectors ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6039.                Γö£ΓöÇΓöÇΓöÇ /F:xxxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6040.                Γö£ΓöÇΓöÇΓöÇ /FS:xxxxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6041.                Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6042.                ΓööΓöÇΓöÇΓöÇ /V ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  6043.                         ΓööΓöÇ :label ΓöÇΓöÿ
  6044.  
  6045. Related Commands:  IFS, LABEL, and VOL 
  6046.  
  6047. If you format a drive for the High Performance File System, FORMAT checks the 
  6048. IFS statement in the CONFIG.SYS file to determine if the drive is listed with 
  6049. the /AUTOCHECK parameter. If the drive is listed, FORMAT does not update the 
  6050. IFS statement. If the drive is not listed, FORMAT adds the drive letter. 
  6051.  
  6052. If you format a diskette or hard disk that already contains information, all 
  6053. the information is erased.  Also, be sure to specify a drive letter, followed 
  6054. by a colon (for example, A:); otherwise, the system displays an error message 
  6055. that you have not specified a target drive. 
  6056.  
  6057. Be sure to set up an OS/2 partition on all hard disks before formatting them. 
  6058. FORMAT does not recognize a hard disk as being an OS/2 disk if an OS/2 or a DOS 
  6059. partition does not exist.  When FORMAT finds such a disk, it skips to the next 
  6060. disk and begins formatting it. 
  6061.  
  6062. Do not attempt to format a diskette to an incorrect capacity, because such a 
  6063. diskette will not store your data reliably. 
  6064.  
  6065. By default, the FORMAT command attempts to format the media to the maximum 
  6066. capacity of the diskette drive.  The /F:xxxx parameter allows you to format 
  6067. 3.5-inch diskettes to less than the maximum capacity of the diskette drive. 
  6068.  
  6069. FORMAT does not work on drives that have an ASSIGN, JOIN, or SUBST command in 
  6070. effect. Also, FORMAT does not work on network drives. 
  6071.  
  6072. FORMAT does work on the IBM read/write optical disc drive.  To format and 
  6073. install the file system on an optical disc the first time requires about 20 
  6074. minutes using the /L parameter.  Reformatting a previously formatted optical 
  6075. disc requires only a few minutes when you do not use the /L parameter. 
  6076.  
  6077. Return Codes: 
  6078.  
  6079. 0 - Normal completion 
  6080.  
  6081. 3 - Ended by user 
  6082.  
  6083. 4 - Ended due to error 
  6084.  
  6085. 5 - Ended due to NO response when user was prompted to format a hard disk 
  6086.  
  6087. 6 - FORMAT was unable to process another file system's format program 
  6088.  
  6089. 7 - Volume not supported by another file system's format program. 
  6090.  
  6091.  
  6092. ΓòÉΓòÉΓòÉ <hidden> FORMAT Examples ΓòÉΓòÉΓòÉ
  6093.  
  6094. To format a 5.25-inch high-capacity diskette in high-capacity diskette drive B, 
  6095. enter the following: 
  6096.  
  6097. FORMAT B:
  6098.  
  6099. To format one diskette on drive A, enter the following: 
  6100.  
  6101. FORMAT A: /ONCE
  6102.  
  6103. To format a 360KB diskette in a 1.2MB drive, enter the following: 
  6104.  
  6105. FORMAT B: /4
  6106.  
  6107. You can also enter: 
  6108.  
  6109. FORMAT B: /N:9 /T:40
  6110.  
  6111. To format a 3.5-inch 720KB diskette in a 1.44MB drive (drive A), enter the 
  6112. following: 
  6113.  
  6114. FORMAT A: /T:80 /N:9
  6115.  
  6116. To format a diskette in drive A and give the diskette a volume label of MYDISK, 
  6117. enter the following: 
  6118.  
  6119. FORMAT A: /V:MYDISK
  6120.  
  6121. To label a diskette using blanks as in the label My Disk, enter the following: 
  6122.  
  6123. FORMAT A:/v:"My Disk"
  6124.  
  6125. To format a 3.5-inch 720KB diskette in a 1.4MB drive (drive A), enter the 
  6126. following: 
  6127.  
  6128. FORMAT A: /F:720
  6129.  
  6130. To format a hard disk partition on drive D for the High Performance File 
  6131. System, enter the following: 
  6132.  
  6133. FORMAT D: /FS:HPFS
  6134.  
  6135. To change the HPFS partition on drive D to a FAT partition, enter the 
  6136. following: 
  6137.  
  6138. FORMAT D: /FS:FAT
  6139.  
  6140. To format and install the file system on a read/write optical disc, enter the 
  6141. following: 
  6142.  
  6143. FORMAT D: /L
  6144.  
  6145. where drive D is designated as the optical disc drive. 
  6146.  
  6147.  
  6148. ΓòÉΓòÉΓòÉ 4.66. FSACCESS - Change Access to the OS/2 File System from DOS Sessions ΓòÉΓòÉΓòÉ
  6149.  
  6150.            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6151.                                                  Γöé
  6152. FSACCESS ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöñ
  6153.              ΓööΓöÇ ! ΓöÇΓöÿ Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DOSletter ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6154.                      Γö£ΓöÇ DOSletter - DOSletter ΓöÇΓöñ
  6155.                      ΓööΓöÇΓöÇ DOSletter = OS2drive ΓöÇΓöÿ
  6156.  
  6157. Related Commands: FSFILTER, VMDISK 
  6158.  
  6159. Related Information: Starting a Specific Version of DOS 
  6160.  
  6161. FSACCESS can be called multiple times to re-assign drive letters, make new 
  6162. drives accessible, or remove access to drives.  Drives cannot be in use (the 
  6163. current drive) when remapped. 
  6164.  
  6165. When a specific version of DOS is started from an image file, references to 
  6166. drive A in that session access the image file.  The use of the physical 
  6167. diskette drive A is not available. 
  6168.  
  6169. The command 
  6170.  
  6171. FSACCESS A:
  6172.  
  6173. closes the image file and maps drive letter A to the physical diskette drive A. 
  6174.  
  6175. Note:   Specifying no parameters displays the current drive mappings. 
  6176.  
  6177.  
  6178. ΓòÉΓòÉΓòÉ <hidden> FSACCESS Examples ΓòÉΓòÉΓòÉ
  6179.  
  6180. FSACCESS            Displays which DOS drive letters are mapped to OS/2 drives. 
  6181.                     The format will be: 
  6182.  
  6183.                     Local DOSletter is mapped to OS/2drive 
  6184.  
  6185.                                         Local C: is mapped to OS/2 C:
  6186.                                         Local D: is mapped to OS/2 D:
  6187.                                         Local E: is mapped to OS/2 E:
  6188.  
  6189. FSACCESS K          Registers DOS drive letter K.  All references for K will 
  6190.                     now be sent to the OS/2 file system. (Allows DOS drive 
  6191.                     letter K to access an OS/2 file system). 
  6192.  
  6193. FSACCESS !E         Removes access of DOS drive letter E to the OS/2 file 
  6194.                     system. 
  6195.  
  6196. FSACCESS !E-H       Removes access of DOS drive letters E, F, G, and H to the 
  6197.                     OS/2 file system. 
  6198.  
  6199. FSACCESS M=C        Causes functions specifying DOS drive letter M to be routed 
  6200.                     to the OS/2 file system as function requests for drive C. 
  6201.  
  6202.  
  6203. ΓòÉΓòÉΓòÉ 4.67. FSFILTER -  Access the OS/2 File System from DOS Sessions ΓòÉΓòÉΓòÉ
  6204.  
  6205. DEVICE= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FSFILTER.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6206.  
  6207. Related Commands: FSACCESS, VMDISK 
  6208.  
  6209. Related Information: Starting a Specific Version of DOS 
  6210.  
  6211. FSFILTER is a DOS device driver that provides access to OS/2 disk partitions 
  6212. when running a specific version of DOS.  This device driver is provided in the 
  6213. OS2\MDOS directory, and must be loaded by the CONFIG.SYS file that is processed 
  6214. by the specific version of DOS. 
  6215.  
  6216. Do this by copying FSFILTER.SYS to the diskette or disk partition that will be 
  6217. started, and add the following statement to the CONFIG.SYS file of the diskette 
  6218. or disk partition from which the DOS session will be started. 
  6219.  
  6220. DEVICE=FSFILTER.SYS
  6221.  
  6222. The FSFILTER statement must be the first DEVICE= statement in the CONFIG.SYS 
  6223. file.  In addition, it must precede any statement with a reference to a file 
  6224. stored in an HPFS partition. 
  6225.  
  6226.  
  6227. ΓòÉΓòÉΓòÉ <hidden> FSFILTER Examples ΓòÉΓòÉΓòÉ
  6228.  
  6229. To be able to access the OS/2 file system from a specific version of DOS 
  6230. running in a disk partition or from a diskette, type the following in the 
  6231. CONFIG.SYS file of the disk partition or the diskette: 
  6232.  
  6233. DEVICE=FSFILTER.SYS
  6234.  
  6235.  
  6236. ΓòÉΓòÉΓòÉ <hidden> Hard Disk Information ΓòÉΓòÉΓòÉ
  6237.  
  6238. The following is a brief description of the hard disk architecture in the OS/2 
  6239. 2.1 operating system to help you plan ahead and be able to use the Boot 
  6240. Manager. 
  6241.  
  6242. A hard disk is divided into partitions.  A partition defines the area of the 
  6243. hard disk that belongs to a particular operating system. 
  6244.  
  6245. Although each hard disk can be divided into multiple primary partitions and/or 
  6246. one extended partition, the first hard disk must have a primary partition. 
  6247. Each extended partition can be further divided into one or more logical drives. 
  6248.  
  6249. The assignment of drive letters is done by the operating system's volume 
  6250. manager at start time.  The first hard disk is searched for an active primary 
  6251. OS2/DOS partition and the letters starting with "C" are sequentially assigned. 
  6252. After all volumes in primary partitions have been assigned, the logical drives 
  6253. in extended partitions are assigned drive letters sequentially. 
  6254.  
  6255. Important facts to remember are: 
  6256.  
  6257. o An operating system only assigns drive letters to file system types it 
  6258.   supports.  For example, DOS would not assign a drive letter to an HPFS 
  6259.   partition. 
  6260. o Only one primary partition per drive is accessible at a time. 
  6261. o All logical drives in an extended partition are accessible if their file 
  6262.   systems are recognizable by the operating system in use. 
  6263.  
  6264. You can assign names to logical drives to simplify their identity. These names 
  6265. are important especially in the event of a hardware reconfiguration such as 
  6266. adding other hard disks to the system.  The logical drive names assigned to the 
  6267. original hard disk will not change and still identify the same area on the 
  6268. disk, unlike the drive letters which could change because of the 
  6269. reconfiguration. 
  6270.  
  6271. You select the logical drive when you start the system. You will see a menu, 
  6272. and you can either select an operating system to start or let the default 
  6273. operating system start. 
  6274.  
  6275.  
  6276. ΓòÉΓòÉΓòÉ <hidden> Presentation Manager ΓòÉΓòÉΓòÉ
  6277.  
  6278. Trademark of the IBM Corporation. 
  6279.  
  6280.  
  6281. ΓòÉΓòÉΓòÉ 4.68. GOTO - Transfer Processing to a Specified Label ΓòÉΓòÉΓòÉ
  6282.  
  6283. Transfers control to the line that follows the one containing the appropriate 
  6284. label. 
  6285.  
  6286.  
  6287. GOTO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ label ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6288.  
  6289. Related Commands:  IF 
  6290.  
  6291. It is important to note that: 
  6292.  
  6293. o A label is a set of characters within your batch file that indicates what 
  6294.   action the operating system is to take.  It can be a name or a string of 
  6295.   characters, the first eight characters being significant (making it 
  6296.   different). 
  6297.  
  6298. o A label is indicated by a colon (:), followed by the label name. If you 
  6299.   specify a label that is not defined in the batch file, the current processing 
  6300.   of the batch file ends. 
  6301.  
  6302. o A label cannot contain a period (.). 
  6303.  
  6304. o The operating system does not display labels within a batch file while it 
  6305.   processes the batch file.  Therefore, nonreferenced labels provide a 
  6306.   convenient way for placing comments (within your batch file) that the 
  6307.   operating system does not display when it processes the file. 
  6308.  
  6309.  
  6310. ΓòÉΓòÉΓòÉ <hidden> GOTO Examples ΓòÉΓòÉΓòÉ
  6311.  
  6312. To go to a section in your batch file that has a label of WXYZ, if the error 
  6313. level of the program you are running is 1 or greater, type the following in 
  6314. your batch file: 
  6315.  
  6316. IF ERRORLEVEL 1 GOTO WXYZ
  6317.  .
  6318.  .
  6319. :WXYZ
  6320.  
  6321. To show an indefinite sequence of the message "Be Prepared !" on your screen, 
  6322. type the following in the batch file: 
  6323.  
  6324. :LOOP
  6325. @ECHO Be Prepared !
  6326. @GOTO LOOP
  6327.  
  6328. This file will continue to run until you press Ctrl+Break. 
  6329.  
  6330.  
  6331. ΓòÉΓòÉΓòÉ 4.69. GRAFTABL - Display Extended Character Sets ΓòÉΓòÉΓòÉ
  6332.  
  6333. Loads a table of additional characters into memory for graphics mode. Because 
  6334. GRAFTABL is a DOS command, it has no effect on OS/2 sessions. 
  6335.  
  6336.  
  6337. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ GRAFTABL ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6338.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇΓöÇ nnn ΓöÇΓöÇΓöÇΓöñ
  6339.                                         Γö£ΓöÇΓöÇΓöÇΓöÇ ? ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6340.                                         ΓööΓöÇΓöÇΓöÇ /STA ΓöÇΓöÇΓöÇΓöÿ
  6341.  
  6342. Enter this command without a parameter to display the current graphics 
  6343. code-page table that is loaded. 
  6344.  
  6345. GRAFTABL allows the ASCII extended character set to be displayed when display 
  6346. adapters are being used for graphics. GRAFTABL works only for modes 4, 5, and 6 
  6347. of the Color Graphics Adapter, Enhanced Graphics Adapter, and Video Graphics 
  6348. Array. 
  6349.  
  6350. Return Codes: 
  6351.  
  6352. 0 - No previously loaded character table exists and a code page is now 
  6353. resident. 
  6354. 1 - A previously loaded character table exists.  If a new table was requested, 
  6355. it replaces the previous table at its original location. 
  6356. 2 - No previously loaded character table exists and no new table is loaded. 
  6357. 3 - Incorrect parameter 
  6358. 4 - Incorrect DOS version 
  6359.  
  6360.  
  6361. ΓòÉΓòÉΓòÉ <hidden> GRAFTABL Examples ΓòÉΓòÉΓòÉ
  6362.  
  6363. To specify the Multilingual 850 graphic code page, enter the following: 
  6364.  
  6365. GRAFTABL 850
  6366.  
  6367. To display the number of the graphic code page currently being used, and a list 
  6368. of graphic code-page options, enter the following: 
  6369.  
  6370. GRAFTABL ?
  6371.  
  6372. To display the number of the graphic code page currently being used, enter the 
  6373. following: 
  6374.  
  6375. GRAFTABL /STA
  6376.  
  6377.  
  6378. ΓòÉΓòÉΓòÉ 4.70. HELP - Provide System Help ΓòÉΓòÉΓòÉ
  6379.  
  6380. Provides a help line as part of the command prompt, displays help information 
  6381. for warning and error messages, or displays a specific topic within a book. 
  6382.  
  6383. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ HELP ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  6384.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6385.                                      Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6386.                                      Γö£ΓöÇΓöÇΓöÇ message help ΓöÇΓöÇΓöñ
  6387.                                      ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ topic ΓöÇΓöÿ
  6388.                                       ΓööΓöÇ book ΓöÇΓöÿ
  6389.  
  6390. Enter this command without a parameter to display the HELP options available 
  6391. for the current mode of operation. These options allow you to: 
  6392.  
  6393. o Return to the desktop. 
  6394. o Switch to the next session 
  6395. o Exit the current OS/2 session 
  6396. o Get additional help on error and warning messages. 
  6397.  
  6398. If you are writing an application program or working with unfamiliar software, 
  6399. it is advisable to specify HELP OFF, or messages from your program might not 
  6400. appear on the display screen. 
  6401.  
  6402. If you specify HELP ON, the value of the PROMPT environment is overwritten 
  6403. until you specify HELP OFF.  Specifying HELP OFF resets the prompt back to the 
  6404. default system prompts for DOS and OS/2 sessions. 
  6405.  
  6406.  
  6407. ΓòÉΓòÉΓòÉ 4.70.1. Obtain Help on System Messages ΓòÉΓòÉΓòÉ
  6408.  
  6409. To request help for a message, enter HELP with the message number. HELP then 
  6410. displays the original message, which is usually followed by explanation and 
  6411. action statements. If the original message contains variable data, such as the 
  6412. name of a file, HELP substitutes three asterisks (***) for the variable data 
  6413. when it responds to your help request. In addition, if you enter an incorrect 
  6414. message ID, you get a message stating "No help is available for the message ID 
  6415. number requested." 
  6416.  
  6417. If HELP is unable to find the help message file (OSO001H.MSG) in the current 
  6418. directory, it searches for the file in the directories contained in the DPATH 
  6419. and APPEND statements. 
  6420.  
  6421.  
  6422. ΓòÉΓòÉΓòÉ <hidden> HELP Examples ΓòÉΓòÉΓòÉ
  6423.  
  6424. To display the HELP options available for the current operating environment, 
  6425. enter the following: 
  6426.  
  6427. HELP
  6428.  
  6429. To display a help line as a part of the command prompt, reminding you which 
  6430. keys to press to return to the desktop, enter the following: 
  6431.  
  6432. HELP ON
  6433.  
  6434. To request additional help for error message number SYS0003, enter the 
  6435. following: 
  6436.  
  6437. HELP 3
  6438.  
  6439. To view information in the OS/2 Command Reference about the COPY command, enter 
  6440. the following at the OS/2 command prompt: 
  6441.  
  6442. HELP CMDREF COPY
  6443.  
  6444. To view information about functions in the REXX Information, enter the 
  6445. following at the OS/2 command prompt: 
  6446.  
  6447. HELP REXX FUNCTIONS
  6448.  
  6449. To view information about the COPY command, enter the following at the OS/2 
  6450. command prompt: 
  6451.  
  6452. HELP COPY
  6453.  
  6454.  
  6455. ΓòÉΓòÉΓòÉ 4.71. IF - Process Commands Conditionally ΓòÉΓòÉΓòÉ
  6456.  
  6457. Allows conditional processing of OS/2 commands.  When the condition is true, 
  6458. the operating system processes the command; otherwise, it skips the command and 
  6459. processes the next command in the file. 
  6460.  
  6461. Piping and redirection should not be specified on the IF command line. 
  6462.  
  6463. IF ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇ ERRORLEVEL ΓöÇΓöÇΓöÇ number ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6464.      ΓööΓöÇ NOT ΓöÇΓöÿ  ΓööΓöÇ string1==string2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6465.  
  6466. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  6467.      ΓööΓöÇ EXIST ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓöÿ
  6468.                 ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  6469.  
  6470. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  command  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6471.  
  6472. For readability, the file name parameters are shown on a separate line in this 
  6473. diagram.  When you type the IF command, you can specify either an error level, 
  6474. string, or a file name. 
  6475.  
  6476. Related Commands:  GOTO 
  6477.  
  6478.  
  6479. ΓòÉΓòÉΓòÉ <hidden> IF Examples ΓòÉΓòÉΓòÉ
  6480.  
  6481. To reverse the truth value of conditional parameters from true to false or 
  6482. false to true, type the following statements in your batch file. 
  6483.  
  6484. COPY MARY\*.* NAMES\*.*
  6485. IF NOT ERRORLEVEL 1 GOTO STEP2
  6486. ECHO COPY FAILED
  6487. PAUSE
  6488. GOTO END
  6489. :STEP2
  6490. ECHO COPY PROCEDURE COMPLETED SUCCESSFULLY
  6491. :END
  6492.  
  6493. To test the system to see if the DPATH statement is defined, and to define it 
  6494. as C:\OS2, and then test to see that it was set, type the following statements 
  6495. in your batch file. 
  6496.  
  6497. IF "%DPATH%" == "" DPATH C:\OS2;
  6498. IF "%DPATH%" == "" GOTO LABEL
  6499. ECHO DPATH SET
  6500. :LABEL
  6501. DPATH
  6502.  
  6503. To provide the true status of your STATUS files when the first string is 
  6504. identical to the second string, type the following in your batch file: 
  6505.  
  6506. IF EXIST C:\STATUS\*.STS ECHO I have status files
  6507. IF NOT EXIST C:\STATUS\*.STS ECHO I do not have status files
  6508.  
  6509. To test if a program ended because of an error and, if so, to display "FAILED" 
  6510. on your screen, type the following in your batch file: 
  6511.  
  6512. PROGRAM.ONE C:\*.* A: /S
  6513. IF ERRORLEVEL 4 ECHO FAILED
  6514.  
  6515. To test if the %1 parameter is equal to HELP and, if so, to display "PROG1 
  6516. FAILED" on the screen, type the following in the batch file: 
  6517.  
  6518. IF %1 == HELP ECHO PROG1 FAILED
  6519.  
  6520. To test if the %1. parameter is equal to HELP. and, if so, display "PROG1 
  6521. FAILED" on the screen, type the following in the batch file: 
  6522.  
  6523. IF %1. == HELP. ECHO PROG1 FAILED
  6524.  
  6525. Notice the same character (.) added in each string.  This example avoids the 
  6526. error of using a blank in the first string. 
  6527.  
  6528. To test if FILE1 is in the current directory on the default drive and, if so, 
  6529. to process the GOTO command, type the following in the batch file: 
  6530.  
  6531. IF EXIST FILE1 GOTO END
  6532.   .
  6533.   .
  6534.   .
  6535. :END
  6536.  
  6537. To test if the file A:\%1 exists (where %1 is a replaceable parameter), type 
  6538. the following in the batch file: 
  6539.  
  6540. IF NOT EXIST A:\%1 COPY B:\%1 A:
  6541.  
  6542. If the file exists on drive A, processing continues.  If the file does not 
  6543. exist, the COPY command is processed. 
  6544.  
  6545. To test the value of the environment variable path, type the following in the 
  6546. batch file: 
  6547.  
  6548. IF "%PATH%" == "" ECHO NO PATH
  6549.  
  6550.  
  6551. ΓòÉΓòÉΓòÉ 4.72. IFS (Installable File System) - Install a File System ΓòÉΓòÉΓòÉ
  6552.  
  6553. Installs a file system (IFS) by specifying the path and complete file name of 
  6554. the file system driver in your CONFIG.SYS file. 
  6555.  
  6556. IFS =  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  6557.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  6558.  
  6559. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6560. command prompt. 
  6561.  
  6562. Related Commands: CACHE, CHKDSK,  FORMAT, IFS (HPFS.IFS) 
  6563.  
  6564. A file system driver is a file that contains code needed to manage disks and 
  6565. diskettes formatted for file systems other than the file allocation table 
  6566. (FAT). 
  6567.  
  6568. Any time you add or make changes to the CONFIG.SYS file, you must restart the 
  6569. system in order for the new file system or change to become effective. 
  6570. Remember, the CONFIG.SYS file is read only during system startup.  Anything 
  6571. added to this file after system initialization does not work until you restart 
  6572. the system. 
  6573.  
  6574. Use this command to replace the FAT file system with a file system of your 
  6575. choice.  An example of an IFS driver is HPFS.IFS. 
  6576.  
  6577.  
  6578. ΓòÉΓòÉΓòÉ <hidden> IFS Examples ΓòÉΓòÉΓòÉ
  6579.  
  6580. To install the High Performance File System in a system with 6MB of RAM, the 
  6581. OS/2 Installation program places the following statement in the CONFIG.SYS 
  6582. file: 
  6583.  
  6584. IFS=C:\OS2\HPFS.IFS /CACHE:128 /CRECL:4 /AUTOCHECK:C
  6585.  
  6586.  
  6587. ΓòÉΓòÉΓòÉ 4.73. IFS (CDFS.IFS) - Install the CD-ROM File System (CDFS) ΓòÉΓòÉΓòÉ
  6588.  
  6589. Specifies the file system program for loading the CD-ROM File System (CDFS). 
  6590.  
  6591. IFS =  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇCDFS.IFS  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  6592.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  6593.  
  6594. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6595. command prompt. 
  6596.  
  6597. Related Commands: IFS, IFS (HPFS.IFS) 
  6598.  
  6599. The CD-ROM file system provides file-system functionality for the CD-ROM 
  6600. devices that are supported by OS/2 2.1.  CDFS.IFS is activated by including an 
  6601. IFS= statement in the CONFIG.SYS file. 
  6602.  
  6603. CDFS.IFS provides read-only access to data stored on CD-ROM media.  Programs 
  6604. can use OS/2-supported APIs to access this media.  Any functions involving 
  6605. write access will be denied because they are unsupported. 
  6606.  
  6607. This version of the CD-ROM file system can only be used with OS/2 Version 2.0 
  6608. or later. 
  6609.  
  6610.  
  6611. ΓòÉΓòÉΓòÉ <hidden> IFS (CDFS.IFS) Examples ΓòÉΓòÉΓòÉ
  6612.  
  6613. To install the CD-ROM file system and suppress initialzation messages, type the 
  6614. following statement in your CONFIG.SYS file: 
  6615.  
  6616. IFS=C:\OS2\CDFS.IFS /Q
  6617.  
  6618.  
  6619. ΓòÉΓòÉΓòÉ 4.74. IFS (HPFS.IFS) - Install the High Performance File System (HPFS) ΓòÉΓòÉΓòÉ
  6620.  
  6621. Specifies the file system program for loading the High Performance File System 
  6622. (HPFS). 
  6623.  
  6624. IFS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  6625.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ /C:nnnn ΓöÇΓöÿ
  6626.  
  6627. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6628.            ΓööΓöÇ /AUTOCHECK:xxx ΓöÇΓöÿ   ΓööΓöÇ /CRECL:x ΓöÇΓöÿ
  6629.  
  6630. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6631. command prompt. 
  6632.  
  6633. Related Commands: CACHE, CHKDSK, FORMAT, IFS 
  6634.  
  6635. Use this command to replace the FAT file system with a file system of your 
  6636. choice such as HPFS.  This enables you to: 
  6637.  
  6638. o Use large disks more efficiently 
  6639. o Have greater file flexibility 
  6640. o Increase system performance 
  6641. o Have more than one active file system. 
  6642.  
  6643. During OS/2 installation, you were given the option of installing the High 
  6644. Performance File System (HPFS). The features of this file system include the 
  6645. following: 
  6646.  
  6647. o Cache Memory Access 
  6648.  
  6649.   The High Performance File System uses a high-speed buffer storage, known as a 
  6650.   cache, to access programs and data.  Often-used programs and data can be 
  6651.   found in memory, thereby reducing the number of times the operating system 
  6652.   must read a disk.  The maximum amount of memory that can be used as a cache 
  6653.   is 2MB regardless of how much memory is available. 
  6654.  
  6655. o Long File Names 
  6656.  
  6657.   HPFS accepts file names of up to 254 characters in length.  It also accepts 
  6658.   any number of separators (.) as part of the file name.  You can include 
  6659.   blanks in the names of files or directories.  You must, however, include 
  6660.   double quotation marks around the name of the directory or file if it 
  6661.   contains blanks.  For example, to change directory to the MY NEW DESKTOP 
  6662.   directory, type: 
  6663.  
  6664.     CD "MY NEW DESKTOP"
  6665.  
  6666. o File Allocation 
  6667.  
  6668.   HPFS attempts to keep disk allocation for a file in contiguous sectors. 
  6669.   Because most files will be located in adjacent sectors, the number of 
  6670.   operations needed to access the file is reduced. 
  6671.  
  6672. o Extended Attributes 
  6673.  
  6674.   HPFS supports extended directory information about files and directories. 
  6675.   This information is called an extended attribute.  Through extended 
  6676.   attributes, an application can attach information to a file or directory. 
  6677.  
  6678. o "Lazy" Writing 
  6679.  
  6680.   HPFS copies data to an area in cache memory before writing data to a disk 
  6681.   according to the IFS statement specified in the CONFIG.SYS file. 
  6682.  
  6683. o Balanced Directory Tree 
  6684.  
  6685.   HPFS keeps track of files through a structure known as a balanced directory 
  6686.   tree.  To locate a file, HPFS reads this structure rather than reading the 
  6687.   full directory list. 
  6688.  
  6689. HPFS is an installable file system (IFS) designed to provide better performance 
  6690. than the existing file allocation table (FAT) based file system.  HPFS is 
  6691. designed to provide extremely fast access to very large disk volumes.  The OS/2 
  6692. operating system also supports the coexistence of multiple, active file systems 
  6693. on a single personal computer system, with the capability of multiple and 
  6694. different storage devices. 
  6695.  
  6696. If you select HPFS as your standard file system, the OS/2 installation 
  6697. procedure inserts an IFS statement as the first entry in the CONFIG.SYS file. 
  6698.  
  6699. System installation automatically sets up the HPFS cache for you if you format 
  6700. the primary partition with HPFS (using the OS2.INI file).  If you format the 
  6701. primary partition for FAT instead, and then later want to format another 
  6702. partition with HPFS, you need to add an IFS statement to the CONFIG.SYS file. 
  6703.  
  6704. During OS/2 installation on a system with 6MB of RAM, the following IFS 
  6705. statement was added to the CONFIG.SYS file if you selected the High Performance 
  6706. File System: 
  6707.  
  6708. IFS=C:\OS2\HPFS.IFS /CACHE:128 /CRECL:4 /AUTOCHECK:C
  6709.  
  6710. Keep in mind that these statements are device-dependent and must be included 
  6711. before any DEVICE statements. 
  6712.  
  6713. Note:   Refer to the individual commands for further information on IFS, CACHE, 
  6714.         and RUN statements. 
  6715.  
  6716. If you start DOS (from outside the OS/2 operating system, that is, from a DOS 
  6717. partition or diskette), files on HPFS partitions are not accessible.  (This 
  6718. means that you cannot start your system from a DOS installation diskette while 
  6719. using HPFS).  If you start a Specific Version of DOS from within the OS/2 
  6720. operating system (that is, a version of DOS running in a DOS sesssion), then 
  6721. files on HPFS partitions are accessible. 
  6722.  
  6723. Both the FAT-based file system and installable file systems support standard 
  6724. naming conventions and the existing logical file and directory structure. 
  6725. Features of HPFS include: 
  6726.  
  6727. o File names up to 254 characters in length 
  6728. o Fast access to very large disk volumes 
  6729. o Strategic allocation of directory structures 
  6730. o Extended attribute support 
  6731. o Caching of directories, data, and file system structures 
  6732. o Processing of metacharacters that are generally used for displaying and 
  6733.   printing graphics. 
  6734. o Large file support. 
  6735.  
  6736.  
  6737. ΓòÉΓòÉΓòÉ <hidden> IFS (HPFS.IFS) Examples ΓòÉΓòÉΓòÉ
  6738.  
  6739. To install the High Performance File System in a system with 6MB of RAM, the 
  6740. OS/2 Installation program places the following statement in the CONFIG.SYS 
  6741. file: 
  6742.  
  6743. IFS=C:\OS2\HPFS.IFS /CACHE:128 /CRECL:4 /AUTOCHECK:C
  6744.  
  6745. To indicate to the operating system to check drives D and F before it runs the 
  6746. CHKDSK program, type the following in your CONFIG.SYS file and restart your 
  6747. system: 
  6748.  
  6749. IFS=C:\OS2\HPFS.IFS /C:64 /AUTOCHECK:DF
  6750.  
  6751. To set the cache size to 64KB and the maximum record size to 4KB, type the 
  6752. following in the CONFIG.SYS file: 
  6753.  
  6754. IFS=C:\OS2\HPFS.IFS /C:64 /CRECL:4
  6755.  
  6756.  
  6757. ΓòÉΓòÉΓòÉ 4.75. IOPL - Allow Input/Output Privilege ΓòÉΓòÉΓòÉ
  6758.  
  6759. Allows I/O privilege to be granted to requesting processes in OS/2 sessions. 
  6760.  
  6761.  
  6762. IOPL = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ NO ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6763.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ YES ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6764.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ list ΓöÇΓöÇΓö¼ΓöÇΓöÿ
  6765.                                     Γöé
  6766.                          ΓööΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6767.  
  6768. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6769. command prompt. 
  6770.  
  6771. The privilege level assigned to a program determines what code segments and 
  6772. data segments it can access.  The privilege level also limits the machine 
  6773. instructions a program can process. 
  6774.  
  6775. Application programs are usually assigned privilege level 3.  This means that 
  6776. they can call routines that run at any other privilege level. However, they can 
  6777. access only their own data segments and cannot issue any I/O instructions. 
  6778.  
  6779. Programs that are granted I/O privilege run at privilege level 2.  When IOPL is 
  6780. YES, a program assigned privilege level 2, such as a subsystem that needs to 
  6781. communicate directly with a specific device, is then permitted to send or 
  6782. receive instructions to or from that device. 
  6783.  
  6784.  
  6785. ΓòÉΓòÉΓòÉ <hidden> IOPL Examples ΓòÉΓòÉΓòÉ
  6786.  
  6787. To permit I/O privileges to processing programs, type the following in the 
  6788. CONFIG.SYS file and restart your system: 
  6789.  
  6790. IOPL=YES
  6791.  
  6792. To prevent I/O privileges from processing programs, type the following in the 
  6793. CONFIG.SYS file and restart your system: 
  6794.  
  6795. IOPL=NO
  6796.  
  6797. To allow I/O privileges to be granted to programs named PROC2 and PROC3, type 
  6798. the following in the CONFIG.SYS file and restart your system: 
  6799.  
  6800. IOPL=PROC2,PROC3
  6801.  
  6802.  
  6803. ΓòÉΓòÉΓòÉ 4.76. JOIN - Join Drives ΓòÉΓòÉΓòÉ
  6804.  
  6805. Logically connects a drive to a directory on another drive. Therefore, you can 
  6806. access a drive by a directory name instead of a drive letter. You can join a 
  6807. drive only at the root directory. 
  6808.  
  6809. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ JOIN ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ drive ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6810.  ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  6811.  
  6812. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ drive\directory ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6813.                                  ΓööΓöÇ /D ΓöÇΓöÿ
  6814.  
  6815. Related Commands:  ASSIGN, SUBST 
  6816.  
  6817. Enter this command without a parameter to display the names of the drives 
  6818. currently joined. 
  6819.  
  6820. If the directory name does not exist, the OS/2 operating system creates a 
  6821. directory on the drive you specify.  A directory that already exists must be 
  6822. empty for the JOIN to work.  Also, after you issue the JOIN command, the first 
  6823. drive name is no longer correct, and if you try to use it, the operating system 
  6824. displays an error message. 
  6825.  
  6826. Note that the following commands do not work in DOS sessions on drives that 
  6827. have a JOIN command in effect: 
  6828.  
  6829. CHKDSK 
  6830. DISKCOMP 
  6831. DISKCOPY 
  6832. FORMAT 
  6833. LABEL 
  6834. RECOVER 
  6835. RESTORE 
  6836.  
  6837.  
  6838. ΓòÉΓòÉΓòÉ <hidden> JOIN Examples ΓòÉΓòÉΓòÉ
  6839.  
  6840. To join drive A to the path C:\DRIVEA and access drive A as the DRIVEA 
  6841. subdirectory on drive C, enter the following: 
  6842.  
  6843. JOIN A: C:\DRIVEA
  6844.  
  6845. To turn off the JOIN action on drive A, enter the following: 
  6846.  
  6847. JOIN A: /D
  6848.  
  6849.  
  6850. ΓòÉΓòÉΓòÉ 4.77. KEYB - Select a Keyboard Layout ΓòÉΓòÉΓòÉ
  6851.  
  6852. Selects a keyboard layout to replace the current keyboard layout for all OS/2 
  6853. and DOS sessions. 
  6854.  
  6855. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ KEYB ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6856.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ layout ΓöÇΓöÿ
  6857.  
  6858. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6859.             ΓööΓöÇ subcountry ΓöÇΓöÿ
  6860.  
  6861. Related Commands:  CODEPAGE, COUNTRY, and DEVINFO 
  6862.  
  6863. If your CONFIG.SYS file contains a keyboard DEVINFO statement, then you have 
  6864. the ability to switch keyboard layouts using KEYB.  If there is no keyboard 
  6865. DEVINFO statement in the CONFIG.SYS file, typing KEYB with any layout returns 
  6866. an error message.  Typing KEYB without a layout parameter, whether there is a 
  6867. DEVINFO statement or not in your CONFIG.SYS file, causes the current keyboard 
  6868. code-page information to be displayed. 
  6869.  
  6870. KEYB is useful for quickly accessing the keyboard characters of another 
  6871. keyboard layout. KEYB must be run only from an OS/2 full-screen command prompt. 
  6872. Running KEYB from a command prompt of an OS/2 window creates unexpected 
  6873. results. 
  6874.  
  6875. KEYB prepares the keyboard in the selected layout for the system code pages.  A 
  6876. message is displayed when the code pages that are set in the CODEPAGE statement 
  6877. in the CONFIG.SYS file do not match the code pages associated with the layout 
  6878. that is being processed by KEYB. Enter a Y (yes) to load the default layout or 
  6879. an N (no) to end the KEYB command without loading the requested keyboard 
  6880. layout. Loading the default layout for a keyboard that does not match the 
  6881. country physical keyboard layout is recommended only for users who understand 
  6882. the implications for character mismatch.  If you choose to load the default 
  6883. layout, certain characters typed at the keyboard and read by a program may not 
  6884. match the characters shown on the keytops. Also, characters entered from the 
  6885. keyboard could be displayed incorrectly on the screen. 
  6886.  
  6887. If you use KEYB to switch to a keyboard layout where the keyboard code page 
  6888. does not match the system code pages, and you decide that the potential 
  6889. problems with using the default layout are too great, you must change the 
  6890. CODEPAGE statement in the CONFIG.SYS file to match the keyboard code page 
  6891. associated with the keyboard layout that you are trying to load. 
  6892.  
  6893. If you want characters displayed in the same default code page for the layout 
  6894. you specified using KEYB, change the CODEPAGE statement in the CONFIG.SYS file. 
  6895.  
  6896. The DEVINFO statement specifies the keyboard layout that the system is to start 
  6897. in, if all other required CONFIG.SYS parameters are correct.  If you do not 
  6898. specify a DEVINFO statement in your CONFIG.SYS file, the U.S. keyboard layout 
  6899. (US) is the default.  Only one DEVINFO is required (for the starting keyboard 
  6900. layout).  KEYB can be issued for any valid country layout, provided code-page 
  6901. support for that country has been prepared. 
  6902.  
  6903.  
  6904. ΓòÉΓòÉΓòÉ <hidden> KEYB  Examples ΓòÉΓòÉΓòÉ
  6905.  
  6906. To switch to the German keyboard using the keyboard layout, GR enter the 
  6907. following: 
  6908.  
  6909. KEYB GR
  6910.  
  6911. See the table below for the keyboard layout parameter for the country you wish 
  6912. to use. 
  6913.  
  6914. Keyboard Layout Table: 
  6915.  
  6916.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  6917.  Γòæ  AR  Arabic          Γòæ  HU  Hungary       Γòæ                           Γòæ
  6918.  Γòæ  BE  Belgium         Γòæ  IS  Iceland       Γòæ  SV  Sweden               Γòæ
  6919.  Γòæ  BR  Brazil          Γòæ  IT  Italy         Γòæ  SF  Switzerland (French) Γòæ
  6920.  Γòæ  CF  Canada (French) Γòæ  LA  Latin America Γòæ  SG  Switzerland (German) Γòæ
  6921.  Γòæ  CS  Czechoslovakia  Γòæ  NL  Netherlands   Γòæ  TR  Turkey               Γòæ
  6922.  Γòæ  DK  Denmark         Γòæ  NO  Norway        Γòæ  TW  Rep. of China        Γòæ
  6923.  Γòæ  SU  Finland         Γòæ  PL  Poland        Γòæ  UK  United Kingdom       Γòæ
  6924.  Γòæ  FR  France          Γòæ  PO  Portugal      Γòæ  US  United States        Γòæ
  6925.  Γòæ  GR  Germany         Γòæ  SP  Spain         Γòæ  YU  Yugoslavia           Γòæ
  6926.  Γòæ  HE  Hebrew          Γòæ                    Γòæ                           Γòæ
  6927.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  6928.  
  6929. To switch to the Czechoslovakian keyboard using the Czechoslovakian keyboard 
  6930. layout, CS, and the Czechoslovakian enhanced keyboard, 245, type the following 
  6931. at the command prompt of a full-screen OS/2 session. 
  6932.  
  6933. KEYB CS 245
  6934.  
  6935. For the subcountry keyboard code for the country you wish to use, select from 
  6936. the subcountry codes table below: 
  6937.  
  6938. Enhanced keyboard Table: 
  6939.  
  6940.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  6941.  Γòæ   Default    Alternate  Countries with more than one keyboard layout  Γòæ
  6942.  Γòæ                                                                       Γòæ
  6943.  Γòæ   243        245        Czechoslovakia                                Γòæ
  6944.  Γòæ   189        120        France                                        Γòæ
  6945.  Γòæ   141        142        Italy                                         Γòæ
  6946.  Γòæ   166        168        United Kingdom                                Γòæ
  6947.  Γòæ                                                                       Γòæ
  6948.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  6949.  
  6950. If you do not specify a subcountry code for these countries, the OS/2 operating 
  6951. system uses the first subcountry code listed. 
  6952.  
  6953.  
  6954. ΓòÉΓòÉΓòÉ 4.78. KEYS - Retrieve Commands ΓòÉΓòÉΓòÉ
  6955.  
  6956. Permits previously issued commands to be retrieved and edited. 
  6957.  
  6958.  
  6959. KEYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6960.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6961.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6962.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ list ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6963.  
  6964. Enter this command without a parameter to display the status of the KEYS 
  6965. command. 
  6966.  
  6967. Entering KEYS ON disables ANSI extended keyboard support in OS/2 sessions. 
  6968.  
  6969. The amount of memory for the command queue cannot exceed 64KB.  When the queue 
  6970. is full, the oldest command is discarded as new commands are entered from the 
  6971. keyboard. 
  6972.  
  6973. Entering KEYS ON or KEYS OFF at the command prompt, sets an environment 
  6974. variable named KEYS with a value of ON or OFF.  CMD.EXE checks the KEYS 
  6975. environment variable when it starts and determines if KEYS is set to ON.  If 
  6976. so, CMD.EXE acts as an implicit KEYS ON command. 
  6977.  
  6978. KEYS ON Editing 
  6979.  
  6980. KEYS OFF Editing 
  6981.  
  6982.  
  6983. ΓòÉΓòÉΓòÉ <hidden> KEYS ON Editing Commands ΓòÉΓòÉΓòÉ
  6984.  
  6985. Use the following keys for editing commands when KEYS is set to ON: 
  6986.  
  6987. Esc                   Clears the command line and returns the cursor to the 
  6988.                       first position following the command prompt 
  6989.  
  6990. Home                  Moves the cursor to the first character in the command 
  6991.                       line 
  6992.  
  6993. End                   Moves the cursor to the last character in the command 
  6994.                       line 
  6995.  
  6996. Ins                   Inserts characters 
  6997.  
  6998. Del                   Deletes characters 
  6999.  
  7000. Left Arrow            Moves the cursor one position to the left 
  7001.  
  7002. Right Arrow           Moves the cursor one position to the right 
  7003.  
  7004. Up Arrow              Displays the previous command in the queue 
  7005.  
  7006. Down Arrow            Displays the next command in the queue 
  7007.  
  7008. Ctrl+Left Arrow       Moves the cursor to the first character of a word 
  7009.  
  7010. Ctrl+Right Arrow      Moves the cursor to the first character of the next word 
  7011.  
  7012. Ctrl+End              Deletes any character from the cursor position to the end 
  7013.                       of the line 
  7014.  
  7015. Ctrl+Home             Deletes any character from the beginning of the line to 
  7016.                       the left of the cursor position 
  7017.  
  7018. Enter                 Submits the command for processing 
  7019.  
  7020.  
  7021. ΓòÉΓòÉΓòÉ <hidden> KEYS OFF Editing Commands ΓòÉΓòÉΓòÉ
  7022.  
  7023. Use the following keys for editing command-prompt commands when KEYS is set to 
  7024. OFF: 
  7025.  
  7026. Esc                   Cancels the currently displayed command at the command 
  7027.                       prompt. 
  7028.  
  7029. Enter                 Places the command entered at the command prompt into the 
  7030.                       computer and enters it into the memory of the command 
  7031.                       queue. 
  7032.  
  7033. F1                    Displays the last command entered at the command prompt 
  7034.                       one character at a time as the F1 key is pressed and held 
  7035.                       in the down position. 
  7036.  
  7037. F2                    Displays all of the characters in the previous command up 
  7038.                       to, but not including the character you enter, for 
  7039.                       example: 
  7040.  
  7041.                       Assume you have three files named FILE1, FILE2, and FILE3 
  7042.                       on three different diskettes that you want to copy to 
  7043.                       your B drive.  One way to do this with KEYS OFF is as in 
  7044.                       the example that follows: 
  7045.  
  7046.                       1. At the [B:\] command prompt, Type COPY A:FILE1 and 
  7047.                       press Enter. 
  7048.  
  7049.                       2. The command entered into your system and stored in the 
  7050.                       command-prompt memory buffer is COPY A:FILE1. 
  7051.  
  7052.                       3. Press F2 and enter the last character number 1. 
  7053.  
  7054.                       4. As the 1 key is pressed, the previous command, COPY 
  7055.                       A:FILE1, is retrieved but the number 1 has been dropped 
  7056.                       as follows: 
  7057.  
  7058.                                             COPY A:FILE
  7059.  
  7060.                       5. The cursor is held in the last position where the 
  7061.                       number 2 can now be entered to copy the next file from 
  7062.                       the second diskette and so on, returning to step 1 and 
  7063.                       repeating until the copy process has been completed. 
  7064.  
  7065. F3                    Displays the entire command previously entered at the 
  7066.                       command prompt. 
  7067.  
  7068. F4                    Deletes all of the characters in the previous command up 
  7069.                       to, but not including, the selected character you enter; 
  7070.                       for example: 
  7071.  
  7072.                       The previous command entered is COPY FILENAME. Press F4 
  7073.                       and enter the letter F. Press F3 and the previous command 
  7074.                       FILENAME is retrieved as follows: 
  7075.  
  7076.                                             FILENAME
  7077.  
  7078. F5                    Accepts the command that is present, or has been edited 
  7079.                       at the command prompt as the current command and enters 
  7080.                       it into the command-prompt queue. 
  7081.  
  7082.  
  7083. ΓòÉΓòÉΓòÉ <hidden> KEYS Examples ΓòÉΓòÉΓòÉ
  7084.  
  7085. To enable retrieving commands, enter the following: 
  7086.  
  7087. KEYS ON
  7088.  
  7089. KEYS ON Editing 
  7090.  
  7091. To stop retrieving commands, enter the following: 
  7092.  
  7093. KEYS OFF
  7094.  
  7095. KEYS OFF Editing 
  7096.  
  7097. To display the list of commands in the queue, enter the following: 
  7098.  
  7099. KEYS LIST
  7100.  
  7101. To set a KEYS statement in the CONFIG.SYS file, type the following in your 
  7102. CONFIG.SYS file and restart your system.: 
  7103.  
  7104. SET KEYS=ON
  7105.  
  7106.  
  7107. ΓòÉΓòÉΓòÉ 4.79. LABEL - Create or Change Volume Label ΓòÉΓòÉΓòÉ
  7108.  
  7109. Creates or changes the volume identification label on a disk. 
  7110.  
  7111. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ LABEL ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  7112.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ label ΓöÇΓöÿ
  7113.  
  7114. Related Commands: VOL 
  7115.  
  7116. Enter this command without a parameter to display the current label and volume 
  7117. serial number.  LABEL prompts you if you want to change it.  Type a volume 
  7118. label up to 11 characters long and press Enter.  If you press Enter without 
  7119. entering a label, the volume label remains unchanged. 
  7120.  
  7121. Any leading blanks entered before a volume label are removed from the label, 
  7122. and the first letter of the label is automatically positioned at the first 
  7123. digit space allowed for the label. 
  7124.  
  7125. LABEL does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  7126. SUBST command in effect. Also, LABEL does not work on network drives. 
  7127.  
  7128. Return Codes: The LABEL command issues a return code of 0 for normal 
  7129. completion. 
  7130.  
  7131.  
  7132. ΓòÉΓòÉΓòÉ <hidden> LABEL Examples ΓòÉΓòÉΓòÉ
  7133.  
  7134. To display the volume label of drive A and be prompted by the system for the 
  7135. new label, enter the following: 
  7136.  
  7137. LABEL A:
  7138.  
  7139. To create a volume-label name of FIXEDISKC for your hard disk, drive C, type 
  7140. the following: 
  7141.  
  7142. LABEL C:FIXEDISKC
  7143.  
  7144.  
  7145. ΓòÉΓòÉΓòÉ 4.80. LASTDRIVE - Number of Accessible Drives ΓòÉΓòÉΓòÉ
  7146.  
  7147. Specifies the maximum number of drives that are accessible. 
  7148.  
  7149. This statement has no effect in OS/2 sessions. 
  7150.  
  7151. LASTDRIVE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ xΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7152.  
  7153. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  7154. prompt. 
  7155.  
  7156. The value you specify with this command represents the last valid drive that is 
  7157. recognized. 
  7158.  
  7159.  
  7160. ΓòÉΓòÉΓòÉ <hidden> LASTDRIVE Examples ΓòÉΓòÉΓòÉ
  7161.  
  7162. To set the last drive = to M, giving your system access to 13 logical disks, 
  7163. type the following in the CONFIG.SYS file: 
  7164.  
  7165. LASTDRIVE=M
  7166.  
  7167.  
  7168. ΓòÉΓòÉΓòÉ 4.81. LIBPATH - Identify Dynamic Link Libraries ΓòÉΓòÉΓòÉ
  7169.  
  7170. Identifies the locations of dynamic link libraries for OS/2 programs. 
  7171.  
  7172.  
  7173. LIBPATH = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7174.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  7175.            Γöé                                Γöé
  7176.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7177.  
  7178. LIBPATH is used to identify a set of directories to be searched when the OS/2 
  7179. operating system loads dynamic link libraries. Because dynamic link library 
  7180. modules are shared globally, this command allows path searching to be defined 
  7181. globally rather than on a per-process basis (as done by the PATH command). 
  7182.  
  7183. LIBPATH is not a part of the environment and therefore cannot be viewed with 
  7184. the SET command.  Also, unlike the PATH environment variable, the current 
  7185. directory is not searched first. 
  7186.  
  7187. The installation program places this statement in your CONFIG.SYS file: 
  7188.  
  7189. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;
  7190.  
  7191. Note:   The initial period indicates the current directory. 
  7192.  
  7193.  
  7194. ΓòÉΓòÉΓòÉ <hidden> LIBPATH Examples ΓòÉΓòÉΓòÉ
  7195.  
  7196. To specify the LIB subdirectory as the directory to be searched for dynamic 
  7197. link libraries, type the following in the CONFIG.SYS file and restart your 
  7198. system: 
  7199.  
  7200. LIBPATH=C:\;C:\LIB;
  7201.  
  7202. To reset the LIBPATH statement in your CONFIG.SYS file to what is set by the 
  7203. installation program, type the following in your CONFIG.SYS file and restart 
  7204. your system: 
  7205.  
  7206. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;
  7207.  
  7208.  
  7209. ΓòÉΓòÉΓòÉ 4.82. LH or LOADHIGH - Load DOS TSR Programs into Upper Memory ΓòÉΓòÉΓòÉ
  7210.  
  7211. Loads Terminate and Stay Resident (TSR) DOS programs into an available upper 
  7212. memory block (UMB) for a DOS session. 
  7213.  
  7214. LOADHIGH ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  7215. LH         ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  7216.  
  7217. Related Commands:  DEVICEHIGH, DOS (UMB/NOUMB) 
  7218.  
  7219. You can load a DOS TSR program into an upper memory block (UMB) by typing the 
  7220. LH or LOADHIGH command at the DOS command prompt.  If no UMB is available, the 
  7221. TSR program will be loaded into low memory (below 640KB).  To enable UMBs, type 
  7222. the DOS=UMB statement in the CONFIG.SYS file. 
  7223.  
  7224.  
  7225. ΓòÉΓòÉΓòÉ <hidden> LOADHIGH Examples ΓòÉΓòÉΓòÉ
  7226.  
  7227. To load the APPEND program with the parameters C:\OS2 and C:\TOOLS into a UMB, 
  7228. enter the following: 
  7229.  
  7230. LOADHIGH APPEND C:\OS2;C:\TOOLS
  7231.  
  7232.  
  7233. ΓòÉΓòÉΓòÉ 4.83. MAKEINI - Recover User and System INI Files ΓòÉΓòÉΓòÉ
  7234.  
  7235. System settings, such as application defaults, display options, and file 
  7236. options, are contained in the OS2.INI startup file located in the C:\OS2 
  7237. directory of your hard disk.  There is also a system file called OS2SYS.INI, 
  7238. which contains information about installed fonts and printer drivers. 
  7239.  
  7240.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ MAKEINI ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  7241.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇΓöÇ user ΓöÇΓöÇΓöñ
  7242.                                             ΓööΓöÇ system ΓöÇΓöÿ
  7243.  
  7244. If you receive a message stating that the OS2.INI file is corrupted, the 
  7245. OS2.INI file installed on your system must be replaced by another valid copy of 
  7246. the OS2.INI file. 
  7247.  
  7248. To accomplish this, use the MAKEINI program from your command prompt. 
  7249.  
  7250. Added to your system during the installation process, the MAKEINI.EXE file 
  7251. creates a new OS2.INI file containing default information.  You should 
  7252. re-create both the user and system INI files using MAKEINI (located in the 
  7253. C:\OS2 directory of your hard disk). 
  7254.  
  7255. Note:   You can rename the OS2.INI and OS2SYS.INI files to names of your choice 
  7256.         as long as the same file names are reflected in the PROTSHELL statement 
  7257.         in the CONFIG.SYS file. 
  7258.  
  7259.  
  7260. ΓòÉΓòÉΓòÉ <hidden> MAKEINI Examples ΓòÉΓòÉΓòÉ
  7261.  
  7262. Creating New INI Files 
  7263.  
  7264. Note:   The following procedure assumes that you have the OS/2 2.1 operating 
  7265.         system installed on drive C of your system.  If you have installed OS/2 
  7266.         2.1 on another drive, you must use that drive instead of drive C to do 
  7267.         the procedure. 
  7268.  
  7269. To create new user and system INI files, follow these steps: 
  7270.  
  7271.  1. Insert the Installation diskette in drive A; then, press and hold the Ctrl, 
  7272.     Alt, and Del keys together to restart the system. 
  7273.  
  7274.  2. When the screen displaying the logo appears, remove the Installation 
  7275.     diskette and insert diskette 1 into drive A. 
  7276.  
  7277.  3. Press Enter to continue. 
  7278.  
  7279.  4. Press Esc when the screen, "Welcome to OS/2," appears. 
  7280.  
  7281.  5. To change to drive C, enter: 
  7282.  
  7283.         C:
  7284.  
  7285.  6. To change to the OS2 subdirectory, enter: 
  7286.  
  7287.         CD \OS2
  7288.  
  7289.  7. To erase the current OS2.INI file, enter: 
  7290.  
  7291.         ERASE OS2.INI
  7292.  
  7293.  8. To erase the current OS2SYS.INI file, enter: 
  7294.  
  7295.         ERASE OS2SYS.INI
  7296.  
  7297.  9. To re-create a new user INI file, enter: 
  7298.  
  7299.         MAKEINI OS2.INI INI.RC
  7300.  
  7301. 10. To re-create a new system INI file, enter: 
  7302.  
  7303.         MAKEINI OS2SYS.INI INISYS.RC
  7304.  
  7305. 11. Remove diskette 1 from drive A. 
  7306.  
  7307. 12. Restart the system by pressing the Ctrl, Alt, and Del keys together. 
  7308.  
  7309.  
  7310. ΓòÉΓòÉΓòÉ 4.84. MAXWAIT - Set Maximum Wait ΓòÉΓòÉΓòÉ
  7311.  
  7312. Sets the amount of time a ready-to-run thread waits before the system assigns 
  7313. it a higher priority. 
  7314.  
  7315. When a regular-class thread is denied the processor for a defined number of 
  7316. seconds, it receives a temporary increase in priority up to a minimum time 
  7317. slice. 
  7318.  
  7319. MAXWAIT = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7320.  
  7321. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  7322. command prompt. 
  7323.  
  7324. Related Commands:  PRIORITY, THREADS, TIMESLICE 
  7325.  
  7326. The system limits the time that a regular-class thread waits to be processed. 
  7327. When the time limit is reached, the system raises the priority of the thread to 
  7328. give it a chance to be processed. 
  7329.  
  7330. The most appropriate amount of time to set depends on the number of 
  7331. applications that must run concurrently and the kinds of activities the 
  7332. applications perform (the system default is three seconds). Experiment with 
  7333. this time to improve overall system performance. 
  7334.  
  7335.  
  7336. ΓòÉΓòÉΓòÉ <hidden> MAXWAIT Examples ΓòÉΓòÉΓòÉ
  7337.  
  7338. To cause a thread to wait up to 5 seconds before it receives a temporary 
  7339. increase in priority, type the following in the CONFIG.SYS file: 
  7340.  
  7341. MAXWAIT=5
  7342.  
  7343. You can specify a number from 1 through 255. 
  7344.  
  7345.  
  7346. ΓòÉΓòÉΓòÉ 4.85. MEM - Display Used and Free Memory in DOS Environment ΓòÉΓòÉΓòÉ
  7347.  
  7348. Displays the amount of used and free memory in the DOS environment. 
  7349.  
  7350.  
  7351. MEM  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7352.                        Γö£ΓöÇ /P ΓöÇΓöñ
  7353.                        Γö£ΓöÇ /D ΓöÇΓöñ
  7354.                        ΓööΓöÇ /C ΓöÇΓöÿ
  7355.  
  7356. Related Commands: CHKDSK 
  7357.  
  7358. Use the MEM command to display information about allocated memory areas, free 
  7359. memory areas, and programs that are currently loaded into memory. 
  7360.  
  7361.  
  7362. ΓòÉΓòÉΓòÉ <hidden> MEM Examples ΓòÉΓòÉΓòÉ
  7363.  
  7364. To display the status of the total memory available in the DOS environment, 
  7365. that is, conventional, expanded, and extended, and to display a list of 
  7366. programs currently loaded into memory, type the following: 
  7367.  
  7368. MEM /P
  7369.  
  7370.  
  7371. ΓòÉΓòÉΓòÉ 4.86. MEMMAN - Select Storage Allocation ΓòÉΓòÉΓòÉ
  7372.  
  7373. Selects storage allocation options for the OS/2 environment. 
  7374.  
  7375.                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  7376.                                           Γöé
  7377. MEMMAN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇ SWAP ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7378.                        Γöé  ΓööΓöÇ NOSWAP ΓöÇΓöÿ   Γöé
  7379.                        Γö£ΓöÇΓöÇΓö¼ΓöÇΓöÇ MOVE ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  7380.                        Γöé  ΓööΓöÇ NOMOVE  Γöÿ   Γöé
  7381.                        Γö£ΓöÇΓöÇΓöÇΓöÇ COMMIT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7382.                        ΓööΓöÇΓöÇΓöÇΓöÇ PROTECT ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7383.  
  7384.  
  7385.  
  7386. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  7387. command prompt. 
  7388.  
  7389. Related Commands:  SWAPPATH 
  7390.  
  7391. Applications consist of groups of segments that can be either loaded into 
  7392. physical memory at the same time or called when needed.  If not enough memory 
  7393. is available to satisfy a request, the system attempts to provide more memory 
  7394. by writing the least frequently used data segments to a temporary file on a 
  7395. disk.  This file is called a swap file. 
  7396.  
  7397. Segments in the swap file are brought back into memory only as needed. 
  7398. Swapping makes it possible for applications to overcommit the amount of 
  7399. physical memory in the system. 
  7400.  
  7401. If the system is started from a hard disk, swapping (SWAP) is the system 
  7402. default; from a diskette, the default is no swapping (NOSWAP). 
  7403.  
  7404.  
  7405. ΓòÉΓòÉΓòÉ <hidden> MEMMAN Examples ΓòÉΓòÉΓòÉ
  7406.  
  7407. To permit segment swapping, type the following in the CONFIG.SYS file: 
  7408.  
  7409. MEMMAN=SWAP
  7410.  
  7411. To run a time-dependent application and prevent the OS/2 operating system from 
  7412. swapping the contents of storage to disk, type the following in the CONFIG.SYS 
  7413. file: 
  7414.  
  7415. MEMMAN=NOSWAP
  7416.  
  7417. The default is SWAP. 
  7418.  
  7419. To permit segment swapping and enable a program to receive an error return code 
  7420. when there is not enough space in the swap file for the program to run, type 
  7421. the following in the CONFIG.SYS file: 
  7422.  
  7423. MEMMAN=SWAP,COMMIT
  7424.  
  7425. To permit segment swapping and enable APIs to allocate and use protected 
  7426. memory, type the following in the CONFIG.SYS file: 
  7427.  
  7428. MEMMAN=SWAP,PROTECT
  7429.  
  7430. The command can be typed with a comma or a space as a separator. 
  7431.  
  7432.  
  7433. ΓòÉΓòÉΓòÉ 4.87. MD or MKDIR - Make Directory ΓòÉΓòÉΓòÉ
  7434.  
  7435. Makes new subdirectories within the root directory (the directory you are in 
  7436. when the OS/2 operating system starts) or within another subdirectory. MKDIR 
  7437. creates a multilevel directory structure, which is helpful in keeping related 
  7438. program or data files together. 
  7439.  
  7440.  
  7441. MKDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7442. MD      ΓöÇΓöÇΓöÿ        ΓööΓöÇ drive ΓöÇΓöÿ                Γöé
  7443.                 Γöé                              Γöé
  7444.                 ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7445.  
  7446. Related Commands:  CD, DIR, RD, and TREE 
  7447.  
  7448. Enter this command with a directory name to create a subdirectory within the 
  7449. current directory. Do not use the backslash (\) symbol if you have changed 
  7450. directories and you want to create a subdirectory in your current directory. 
  7451. If you use the backslash symbol, the subdirectory is created within the root 
  7452. directory. 
  7453.  
  7454. Each directory can contain file and directory names that also appear in other 
  7455. directories.  In other words, two or more files or directories can have the 
  7456. same name, if you define them in separate directories. 
  7457.  
  7458.  
  7459. ΓòÉΓòÉΓòÉ <hidden> MD or MKDIR Examples ΓòÉΓòÉΓòÉ
  7460.  
  7461. To make a subdirectory named LEDGERS within the root directory on drive C, 
  7462. enter the following: 
  7463.  
  7464. MD C:\LEDGERS
  7465.  
  7466. You can also create more than one directory at a time. 
  7467.  
  7468. To make two separate directories named ACCOUNTS and LEDGERS in the root 
  7469. directory on drive C, enter the following: 
  7470.  
  7471. MD C:\ACCOUNTS C:\LEDGERS
  7472.  
  7473.  
  7474. ΓòÉΓòÉΓòÉ 4.88. MODE - Set Operation Modes for Devices ΓòÉΓòÉΓòÉ
  7475.  
  7476. Sets operation modes for devices. 
  7477.  
  7478. MODEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ device ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7479.                                       ΓööΓöÇ arguments ΓöÇΓöÿ
  7480.  
  7481. There are four different MODE commands you can use: 
  7482.  
  7483. COM#              Sets asynchronous communications modes. 
  7484.  
  7485. Display           Sets the display modes for video adapters. 
  7486.  
  7487. LPT#              Sets parallel printer modes. 
  7488.  
  7489. DSKT              Sets diskette input/output write verification. 
  7490.  
  7491.  
  7492. ΓòÉΓòÉΓòÉ <hidden> MODE (COM#) - Set Communication Modes ΓòÉΓòÉΓòÉ
  7493.  
  7494. Sets asynchronous communications modes for both OS/2 and DOS sessions. 
  7495.  
  7496. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇ COM# ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  7497.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ                   ΓööΓöÇ : ΓöÇΓöÿ ΓööΓöÇ , ΓöÇΓöÿ
  7498.  
  7499. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7500.   ΓööΓöÇ baud ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7501.            ΓööΓöÇ ,parity ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7502.                        ΓööΓöÇ ,databits ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7503.                                      ΓööΓöÇ ,stopbits ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7504.                                                    ΓööΓöÇ ,P ΓöÇΓöÿ
  7505.  
  7506.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  7507.                                        Γöé
  7508. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7509.                Γö£ΓöÇΓöÇΓöÇ ,TO = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7510.                Γö£ΓöÇΓöÇΓöÇ ,XON = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7511.                Γö£ΓöÇΓöÇΓöÇ ,IDSR = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  7512.                Γö£ΓöÇΓöÇΓöÇ ,ODSR = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  7513.                Γö£ΓöÇΓöÇΓöÇ ,OCTS = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  7514.                Γö£ΓöÇΓöÇΓöÇ ,DTR = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7515.                Γö£ΓöÇΓöÇΓöÇ ,RTS = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7516.                ΓööΓöÇΓöÇΓöÇ ,BUFFER = state ΓöÇΓöÇΓöÿ
  7517.  
  7518. Before using MODE to set up communications port modes, be sure the base 
  7519. asynchronous communication device driver (COM.SYS) is installed. 
  7520.  
  7521. Related Commands: 
  7522.  
  7523. MODE (LPT#) - Sets parallel printer modes 
  7524.  
  7525. MODE (Display) - Sets video modes 
  7526.  
  7527. MODE (DSKT) - Sets diskette I/O write verification 
  7528.  
  7529. The baud, parity, databits, stopbits, and P parameters are positional.  If you 
  7530. omit a positional parameter but include a parameter that follows it, you must 
  7531. enter a comma to designate the position of the omitted parameter. For example, 
  7532. to accept the defaults for the baud, parity, stopbits, and databits parameters 
  7533. and specify the P parameter, enter the following: 
  7534.  
  7535. MODE COM1,,,,,P
  7536.  
  7537. Note that the P parameter can be used only in DOS sessions; baud, parity, 
  7538. databits, and stopbits can be used in either DOS or OS/2 sessions. 
  7539.  
  7540. When a positional parameter is omitted or designated only with a comma, the 
  7541. parameter returns to the original system default.  If a keyword parameter is 
  7542. omitted, the current setting of that parameter is unchanged. 
  7543.  
  7544. To set asynchronous communication modes, you can issue the command at either a 
  7545. DOS or OS/2 command prompt.  This means you can set asynchronous communication 
  7546. modes in DOS or OS/2 sessions.  You can also query the status of communications 
  7547. ports in both sessions.  The output of a MODE COMx query can be redirected, 
  7548. modified, and used as input to another MODE command. 
  7549.  
  7550. Redirection of parallel-printer output to a serial device is not supported by 
  7551. the MODE command.  However, this function is supported by the SPOOL command. 
  7552.  
  7553. The following asynchronous-communication device-driver parameters are reset by 
  7554. MODE every time it sets COM parameters when processing in OS/2 sessions. 
  7555.  
  7556. o Output handshaking using DCD (data carrier detect) is prevented. 
  7557. o Automatic receive flow control (XON or XOFF) is prevented. 
  7558.  
  7559. For DOS sessions, the states of these parameters remain unchanged. 
  7560.  
  7561.  
  7562. ΓòÉΓòÉΓòÉ <hidden> MODE COM#: Examples ΓòÉΓòÉΓòÉ
  7563.  
  7564. To query the status of asynchronous COM port 1, enter the following: 
  7565.  
  7566. MODE COM1
  7567.  
  7568. To select a baud rate of 2400, enter the following: 
  7569.  
  7570. MODE COM1:24
  7571.  
  7572. Baud Transmission Rate Facts: 
  7573.  
  7574. o You must specify at least the first two digits of the desired rate. 
  7575. o Valid Baud Rates 
  7576.  
  7577.    110, 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 14400, 19200, 
  7578.    38400, or 57600. 
  7579.  
  7580. o The default is 1200. 
  7581.  
  7582. To specify odd parity bits enter the following: 
  7583.  
  7584. MODE COM1:,O
  7585.  
  7586. Parity Values Table 
  7587.  
  7588. N (none), means that there is no parity bit. 
  7589. O (odd), means odd parity. 
  7590. E (even), even means even parity. 
  7591. M (mark), means that the parity bit is always 1. 
  7592. S (space), means that the parity bit is always 0. 
  7593. The default is E. 
  7594.  
  7595. To specify 8 data bits of data, enter the following: 
  7596.  
  7597. MODE COM1:,,8
  7598.  
  7599. The values are 5, 6, 7, or 8 bits of data, 
  7600. The default is 7. 
  7601.  
  7602. To specify 1 stop bit of data, enter the following: 
  7603.  
  7604. MODE COM1:,,,1
  7605.  
  7606. Stop-bit Value Facts. 
  7607.  
  7608. Values are 1, 1.5, or 2. 
  7609. Only 1 or 1.5 is valid if databits is specified as 5. 
  7610. If stopbits is specified as 1.5, only 5 is valid for databits. 
  7611. The default is 2 when the baud rate is 110; otherwise, the default is 1. 
  7612.  
  7613. To specify a timeout value of approximately 30 seconds in a DOS session, enter 
  7614. the following: 
  7615.  
  7616. MODE COM1:,,,,P
  7617.  
  7618. The previous 5 examples normally would be entered together on the DOS command 
  7619. prompt or typed in a batch file as follows: 
  7620.  
  7621. MODE COM1:2400,N,8,1,P
  7622.  
  7623. To accept the defaults for the baud, parity, stopbits, and databits parameters 
  7624. and specify the P parameter in a DOS session, enter the following: 
  7625.  
  7626. MODE COM1,,,,,P
  7627.  
  7628. To ensure that a printer write timeout never occurs, enter the following: 
  7629.  
  7630. MODE COM1,,,,,TO=ON
  7631.  
  7632. To prevent automatic transmit flow control, enter the following: 
  7633.  
  7634. MODE COM1,,,,,XON=OFF
  7635.  
  7636. To allow input handshaking using DSR, enter the following: 
  7637.  
  7638. MODE COM1,,,,,IDSR=ON
  7639.  
  7640. To allow output handshaking using DSR, enter the following: 
  7641.  
  7642. MODE COM1,,,,,ODSR=ON
  7643.  
  7644. To allow output handshaking using CTS, enter the following: 
  7645.  
  7646. MODE COM1,,,,,OCTS=ON
  7647.  
  7648. To allow data terminal ready, enter the following: 
  7649.  
  7650. MODE COM1,,,,,DTR=ON
  7651.  
  7652. To allow RTS toggling in transmit mode, enter the following: 
  7653.  
  7654. MODE COM1,,,,,RTS=TOG
  7655.  
  7656. To permit maximum device performance, enter the following: 
  7657.  
  7658. MODE COM1,,,,,BUFFER=AUTO
  7659.  
  7660.  
  7661. ΓòÉΓòÉΓòÉ <hidden> MODE (Display) - Set Video Modes ΓòÉΓòÉΓòÉ
  7662.  
  7663. Sets display modes for switching display adapters, sets the display mode of the 
  7664. color graphics monitor adapter, and allows you to specify the number of 
  7665. character lines on the screen. 
  7666.  
  7667. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  7668.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ CONx ΓöÇΓöÿ
  7669.  
  7670. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ display ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7671.                                  ΓööΓöÇ ,rows ΓöÇΓöÿ
  7672.  
  7673. Related Commands: 
  7674.  
  7675. MODE (COM#) - Sets communications modes 
  7676.  
  7677. MODE (LPT#) - Sets parallel-printer modes 
  7678.  
  7679. MODE (DSKT) - Sets diskette I/O write verification 
  7680.  
  7681. The display mode that is set with the MODE command affects only the current 
  7682. session in which MODE is issued.  This includes any programs or command 
  7683. processors running in this session. 
  7684.  
  7685.  
  7686. ΓòÉΓòÉΓòÉ <hidden> MODE (Display) Examples ΓòÉΓòÉΓòÉ
  7687.  
  7688. To set a mode on display number 1: 
  7689.  
  7690. MODE CON1
  7691.  
  7692. To set a mode on display number 2: 
  7693.  
  7694. MODE CON2
  7695.  
  7696. Examples using the CONx parameter: 
  7697.  
  7698. To set a color 80x43 mode on display number 1: 
  7699.  
  7700. MODE CON1 CO80,43
  7701.  
  7702. To set a monochrome mode on display number 2: 
  7703.  
  7704. MODE CON2 MONO
  7705.  
  7706. To set a color 80x50 mode on the first BVH display in the list that it 
  7707. supports: 
  7708.  
  7709. MODE CON0 CO80,50
  7710. or 
  7711.  
  7712. MODE CON CO80,50
  7713.  
  7714. To switch the active display adapter to the color graphics monitor adapter, 
  7715. enter the following: 
  7716.  
  7717. MODE CO40
  7718.  
  7719. The valid options are: 
  7720.  
  7721. 40, 80, 132, BW40, BW80, BW132, CO40, CO80, CO132, or MONO. 
  7722.  
  7723. To specify a 50-line display enter the following: the number of rows 
  7724.  
  7725. MODE CO80,50
  7726.  
  7727. Valid rows are 25, 43, or 50, depending on the display adapter 
  7728.  
  7729.  
  7730. ΓòÉΓòÉΓòÉ <hidden> MODE (LPT#) - Set Parallel Printer Modes ΓòÉΓòÉΓòÉ
  7731.  
  7732. Sets parallel-printer modes. 
  7733.  
  7734. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ LPT# ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  7735.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ                ΓööΓöÇΓöÇΓöÇ PRN ΓöÇΓöÇΓöÇΓöÿ
  7736.  
  7737. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7738.    ΓööΓöÇ chars ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7739.               ΓööΓöÇ ,lines ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7740.                             ΓööΓöÇ ,P ΓöÇΓöÇΓöÿ
  7741.  
  7742. Related Commands: 
  7743.  
  7744. MODE (COM#) - Sets communications modes 
  7745.  
  7746. MODE (Display) - Sets video modes 
  7747.  
  7748. MODE (DSKT) - Sets diskette I/O write verification 
  7749.  
  7750. The chars, lines, and P parameters are positional.  When a positional parameter 
  7751. is omitted, but the one that follows it is specified, its position must be 
  7752. designated by a comma. Once you have issued the MODE command and specified 
  7753. values for the chars or lines parameters (or both), those values become the 
  7754. default values. 
  7755.  
  7756. Note:   The spooler ignores all mode commands for setting printer parameters 
  7757.         while the spooler is active. 
  7758.  
  7759.  
  7760. ΓòÉΓòÉΓòÉ <hidden> MODE (LPT#) Examples ΓòÉΓòÉΓòÉ
  7761.  
  7762. To set up your printer as LPT1 and accept the system defaults (80 characters 
  7763. per line and 6 lines per vertical inch), enter the following: 
  7764.  
  7765. MODE LPT1 ,,,
  7766.  
  7767. o Specifies the printer number.  The pound sign (#) defines printer number 1, 
  7768.   2, or 3. 
  7769.  
  7770. o If you are using a network printer, the MODE command supports LPT4 through 
  7771.   LPT9 for printing to a network printer. 
  7772.  
  7773. To set up your printer as LPT2 and use 132 characters per line and 8 lines per 
  7774. inch, enter the following: 
  7775.  
  7776. MODE LPT2 132,8,,
  7777.  
  7778. o The value is either 80 or 132. 
  7779.  
  7780. o The default is 80. 
  7781.  
  7782. To set up your printer as LPT3 and specify 8 lines per inch for vertical 
  7783. spacing, enter the following: 
  7784.  
  7785. MODE LPT3 ,8,,
  7786.  
  7787. o The value is either 6 or 8. 
  7788.  
  7789. o The default is 6. 
  7790.  
  7791. To set up your printer as LPT2 and specify infinite retry, enter the following: 
  7792.  
  7793. MODE LPT2 ,,P
  7794.  
  7795.  
  7796. ΓòÉΓòÉΓòÉ <hidden> MODE (DSKT) - Set Diskette I/O Write Verification ΓòÉΓòÉΓòÉ
  7797.  
  7798. Sets diskette I/O write verification. 
  7799.  
  7800. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ MODE ΓöÇΓöÇ DSKT ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7801.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                  ΓööΓöÇ VER=state ΓöÇΓöÿ
  7802.  
  7803. Related Commands: 
  7804.  
  7805. MODE (COM#) - Sets communications modes 
  7806.  
  7807. MODE (LPT#) - Sets parallel-printer modes 
  7808.  
  7809. MODE (Display) - Sets video modes 
  7810.  
  7811. This function of MODE is different from the function offered by the VERIFY 
  7812. internal command, which verifies file-system I/O write operations for each 
  7813. session. 
  7814.  
  7815. If you do not have a hard disk, a diskette (any diskette) must be present in 
  7816. drive A before the MODE command can turn diskette verification on or off. 
  7817.  
  7818.  
  7819. ΓòÉΓòÉΓòÉ <hidden> MODE (DSKT) Examples ΓòÉΓòÉΓòÉ
  7820.  
  7821. To set diskette verification to ON, enter the following: 
  7822.  
  7823. MODE VER=ON
  7824.  
  7825. To set diskette verification to OFF, enter the following:
  7826.  
  7827. MODE VER=OFF
  7828.  
  7829.  
  7830. ΓòÉΓòÉΓòÉ 4.89. MORE - Display Output One Screen at a Time ΓòÉΓòÉΓòÉ
  7831.  
  7832. Reads data from the standard input device and sends data to the standard output 
  7833. device (usually the display) one full screen at a time. After each screen, the 
  7834. OS/2 operating system pauses with the message --More-- until you press any key 
  7835. to continue. 
  7836.  
  7837. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ MORE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7838.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  7839.  
  7840. Related Commands:  FIND, SORT 
  7841.  
  7842. "One screen at a time" does not imply one physical window's worth of 
  7843. information at a time when used in a window session. 
  7844.  
  7845. MORE is useful for viewing long files or directories.  To view the next screen, 
  7846. press any key.  However, if you do not want to continue, press the Ctrl and 
  7847. Break keys together. 
  7848.  
  7849. Return Codes:  The MORE command issues a return code of 0 for normal 
  7850. completion. 
  7851.  
  7852.  
  7853. ΓòÉΓòÉΓòÉ <hidden> MORE Examples ΓòÉΓòÉΓòÉ
  7854.  
  7855. To display the large subdirectory C:\MYDIR one screen at a time, using the | 
  7856. symbol, enter the following: 
  7857.  
  7858. DIR C:\MYDIR | MORE
  7859.  
  7860. To display the contents of a file named MYFILES.NEW one screen at a time, using 
  7861. the redirection symbol (<), enter the following: 
  7862.  
  7863. MORE <MYFILES.NEW
  7864.  
  7865.  
  7866. ΓòÉΓòÉΓòÉ 4.90. MOVE - Move Files to Another Directory ΓòÉΓòÉΓòÉ
  7867.  
  7868. Moves one or more files from one directory to another directory on the same 
  7869. drive. 
  7870.  
  7871. MOVE ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7872.          ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7873.                                   ΓööΓöÇ filename ΓöÇΓöÿ
  7874. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7875.             ΓööΓöÇ path ΓöÇΓöÿ   ΓööΓöÇ filename ΓöÇΓöÿ
  7876.  
  7877. You can use the global file-name characters ? and * in the filename parameter 
  7878. of both the source and target files.  If you type global characters in the 
  7879. source file name, the names of the files will be displayed as the files are 
  7880. being moved. 
  7881.  
  7882.  
  7883. ΓòÉΓòÉΓòÉ <hidden> MOVE Examples ΓòÉΓòÉΓòÉ
  7884.  
  7885. To move a file named FRIDAY to a directory named WEEKLY and rename the file 
  7886. DAILY, enter the following: 
  7887.  
  7888. MOVE FRIDAY \WEEKLY\DAILY
  7889.  
  7890. To move all files in the current directory with an extension of .STA to the 
  7891. STATUS directory, enter the following: 
  7892.  
  7893. MOVE *.STA \STATUS
  7894.  
  7895.  
  7896. ΓòÉΓòÉΓòÉ 4.91. PATCH - Apply Software Repairs ΓòÉΓòÉΓòÉ
  7897.  
  7898. Allows you to apply IBM-supplied patches to make repairs to software. 
  7899.  
  7900. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ PATCH ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  7901.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  7902.  
  7903. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename.ext ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7904.    ΓööΓöÇ path ΓöÇΓöÿ                       ΓööΓöÇ /A ΓöÇΓöÿ
  7905.  
  7906. PATCH should be used only by those who understand the need for a patch, how to 
  7907. make a patch, and the effect the patch has on the operation of a program. PATCH 
  7908. has prompts that guide you through inserting changes to the operating system's 
  7909. software. 
  7910.  
  7911. If you select the /A option to automatically apply patches shipped by IBM to 
  7912. make fixes to IBM-supplied code, verification is performed before the patch is 
  7913. applied.  Verification might not be done on non-IBM-supplied patches. 
  7914.  
  7915. If you decide to manually apply a patch by entering the command without any 
  7916. options, you are asked to supply an offset to indicate where the patch is to be 
  7917. made. PATCH displays the contents of the location specified by the offset and 
  7918. allows you to enter the patch.  You must enter both the offset and the patch 
  7919. contents in hexadecimal notation. 
  7920.  
  7921. When you supply a hexadecimal offset, the operating system displays the 16 
  7922. bytes at that offset and you can change any or all 16 bytes or quit without 
  7923. making any changes. The cursor is initially positioned on the first byte.  You 
  7924. can type one or two hexadecimal digits to change this byte or press the 
  7925. Spacebar to leave the byte unchanged and move to the next byte.  You can press 
  7926. Backspace to move the cursor to the previous byte if you make a mistake.  You 
  7927. can continue changing bytes until you press Enter.  If you move the cursor past 
  7928. the 16th byte, the operating system displays the next 16 bytes, allowing you to 
  7929. also change those bytes. 
  7930.  
  7931. After you press Enter, the patch information is saved in memory and the 
  7932. following message is displayed: 
  7933.  
  7934. Do you want to continue patching filename (Y/N)?
  7935.  
  7936. If you enter Y (yes), PATCH prompts for an offset. PATCH also saves any more 
  7937. patch requests in memory.  When you have entered all patches, the operating 
  7938. system displays them on your screen and asks you to verify that they should be 
  7939. applied.  If you respond with a Y, all the saved patch requests are written to 
  7940. the disk in the same order in which you entered them. 
  7941.  
  7942. If you specify automatic mode (/A), PATCH gets the information needed from a 
  7943. patch information file received from IBM. 
  7944.  
  7945. Return Codes:  PATCH issues a return code of 0 for normal completion. 
  7946.  
  7947.  
  7948. ΓòÉΓòÉΓòÉ <hidden> PATCH Examples ΓòÉΓòÉΓòÉ
  7949.  
  7950. Note:   All patches are addressed in hexadecimal. 
  7951.  
  7952. To manually PATCH an information file you created named MYFILE.EXE, enter the 
  7953. following: 
  7954.  
  7955. PATCH MYFILE.EXE
  7956.  
  7957. Note:   The /A parameter for automatic mode is designed for IBM applied 
  7958.         patches.  The following is only an example. 
  7959.  
  7960. To specify automatic mode from a PATCH information file named DATA.DAT, that 
  7961. looks like this: 
  7962.  
  7963. 123456
  7964.  
  7965. Type the following in a patch file called REPAIR.FIL: 
  7966.  
  7967. FILE DATA.DAT
  7968. VER 0 313233
  7969. CHA 0 343536
  7970.  
  7971. To start the patch process on the file DATA.DAT enter the following: 
  7972.  
  7973. PATCH REPAIR.FIL /A
  7974.  
  7975. The result of the patch would be: 
  7976.  
  7977. 456456
  7978.  
  7979. Note:   The preceding example for patching an ASCII text file and this utility 
  7980.         program would be used on an executable file. You can use the PATCH 
  7981.         command on any .EXE file as long as you understand what you want to do 
  7982.         and where the information is located within the file. 
  7983.  
  7984.  
  7985. ΓòÉΓòÉΓòÉ 4.92. PATH - Set Search Path ΓòÉΓòÉΓòÉ
  7986.  
  7987. Sets a search path for commands and programs. 
  7988.  
  7989. PATH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7990.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  7991.            Γöé                                Γöé
  7992.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7993.  
  7994. Related Commands:  APPEND, DPATH, and SET 
  7995.  
  7996. Enter this command without a parameter to display the paths currently in 
  7997. effect.  To delete the use of the PATH command, enter the command followed by a 
  7998. semicolon (;). 
  7999.  
  8000. Setting the PATH in the CONFIG.SYS and AUTOEXEC.BAT files lets you avoid having 
  8001. to set PATH from the command prompt each time you turn on your system. 
  8002.  
  8003. As you create your own subdirectories, you can change the PATH statement in 
  8004. your CONFIG.SYS to reflect your new directory structure. For DOS sessions, you 
  8005. update the PATH statement in your AUTOEXEC.BAT file. 
  8006.  
  8007. PATH searches specified directories for commands or batch files that the system 
  8008. did not find when it searched the current directory. PATH only finds files that 
  8009. can be run, such as files with the following extensions: .COM, .EXE, and .BAT 
  8010. (for DOS sessions), or .CMD (for OS/2 sessions). 
  8011.  
  8012. PATH is a system environment variable.  If the system cannot find an external 
  8013. command or program in your current directory, it queries the environment for a 
  8014. value for PATH. Application programs can also query the environment for the 
  8015. value of PATH and, depending on what they find, change their behavior. 
  8016.  
  8017. If you enter a command that is not found in the current directory, the system 
  8018. searches the named directories in the order in which you entered them.  The 
  8019. length of a path can be up to five characters less than the number of 
  8020. characters allowed on the command line. 
  8021.  
  8022. When you install the OS/2 operating system, the installation program places the 
  8023. following PATH statement in your CONFIG.SYS file: 
  8024.  
  8025. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS;C:\OS2\INSTALL;C:\;
  8026.  
  8027. System installation also creates the following PATH statement in your 
  8028. AUTOEXEC.BAT file for use with DOS sessions: 
  8029.  
  8030. PATH C:\OS2;C:\OS2\MDOS;C:\;
  8031.  
  8032.  
  8033. ΓòÉΓòÉΓòÉ <hidden> PATH Examples ΓòÉΓòÉΓòÉ
  8034.  
  8035. To determine the current active PATH environment, enter the following: 
  8036.  
  8037. PATH
  8038.  
  8039. To delete the current PATH environment, enter the following: 
  8040.  
  8041. PATH ;
  8042.  
  8043. To search the MEMOS subdirectory on drive A and then search the REPORTS 
  8044. directory on drive C, enter the following: 
  8045.  
  8046. PATH A:\MEMOS;C:\REPORTS
  8047.  
  8048. To add the path to the ABC subdirectory on drive A to the existing path known 
  8049. to CMD.EXE., enter the following: 
  8050.  
  8051. PATH %PATH%;A:\ABC
  8052.  
  8053.  
  8054. ΓòÉΓòÉΓòÉ 4.93. PAUSE - Suspend Batch Operation ΓòÉΓòÉΓòÉ
  8055.  
  8056. Suspends processing of the batch file and displays the following message: 
  8057.  
  8058. Press any key when ready . . .
  8059.  
  8060. PAUSE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8061.                   ΓööΓöÇ comment ΓöÇΓöÿ
  8062.  
  8063. Related Commands:  ECHO, REM 
  8064.  
  8065. Enter this command to display the message: 
  8066.  
  8067. Press any key when ready....
  8068.  
  8069. You can control how much of a batch file you want to process by placing PAUSE 
  8070. commands at strategic points in the file.  At each PAUSE statement, the system 
  8071. stops and gives you time to decide whether to stop the processing.  Press and 
  8072. hold Ctrl+Break, and type Y to stop a batch file from processing.  In a DOS 
  8073. session, press any key to continue processing.  In an OS/2 session, you cannot 
  8074. continue processing. 
  8075.  
  8076.  
  8077. ΓòÉΓòÉΓòÉ <hidden> PAUSE Examples ΓòÉΓòÉΓòÉ
  8078.  
  8079. To pause batch processing and display the message, "Press any key when 
  8080. ready...", type the following in your batch file: 
  8081.  
  8082. PAUSE
  8083.  
  8084. To suspend processing of your commands in a batch file so that you can change 
  8085. diskettes, type a statement like the following in your batch file: 
  8086.  
  8087. @ECHO INSERT COPY DISKETTE #2 IN DRIVE A
  8088. @PAUSE
  8089.  
  8090. or 
  8091.  
  8092. PAUSE INSERT COPY DISKETTE #2 IN DRIVE A
  8093.  
  8094.  
  8095. ΓòÉΓòÉΓòÉ 4.94. PAUSEONERROR - Pause CONFIG.SYS Messages ΓòÉΓòÉΓòÉ
  8096.  
  8097. Allows or prevents pausing when error messages are issued during the processing 
  8098. of the CONFIG.SYS file. 
  8099.  
  8100. PAUSEONERROR = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ YES ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8101.                        ΓööΓöÇ  NO   ΓöÇΓöÿ
  8102.  
  8103.  
  8104. ΓòÉΓòÉΓòÉ <hidden> PAUSEONERROR Examples ΓòÉΓòÉΓòÉ
  8105.  
  8106. To prevent the system from pausing before starting the user interface or 
  8107. command processor during the processing of the CONFIG.SYS file, enter the 
  8108. following: 
  8109.  
  8110. PAUSEONERROR=NO
  8111.  
  8112. To pause the screen and read any error messages generated during the processing 
  8113. of the CONFIG.SYS file, enter the following: 
  8114.  
  8115. PAUSEONERROR=YES
  8116.  
  8117. If if there is not a PAUSEONERROR statement in the CONFIG.SYS file, the default 
  8118. is true, and PAUSEONERROR is equal to YES. 
  8119.  
  8120.  
  8121. ΓòÉΓòÉΓòÉ 4.95. PICVIEW - Display a Picture File ΓòÉΓòÉΓòÉ
  8122.  
  8123. Displays a picture file. 
  8124.  
  8125. PICVIEW ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  8126.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            Γö£ΓöÇ /P ΓöÇΓöñ
  8127.                                            ΓööΓöÇ /S ΓöÇΓöÿ                              ΓöÇΓöÿ
  8128.  
  8129. You can select Picture Viewer from the Productivity folder or issue a PICVIEW 
  8130. command at an OS/2 command prompt. 
  8131.  
  8132. If you enter PICVIEW without a parameter at the OS/2 command prompt, the 
  8133. Picture Viewer window appears.  If you type PICVIEW with a file name, PICVIEW 
  8134. starts displaying the picture file immediately.  If you do not specify a file 
  8135. name, you can select the files to be displayed from the Picture Viewer window. 
  8136.  
  8137.  
  8138. ΓòÉΓòÉΓòÉ <hidden> PICVIEW Examples ΓòÉΓòÉΓòÉ
  8139.  
  8140. To view a metafile named AIRPLANE, enter the following: 
  8141.  
  8142. PICVIEW AIRPLANE.MET
  8143.  
  8144. To view a picture interchange format (PIF) file named TRADSHOW, enter the 
  8145. following: 
  8146.  
  8147. PICVIEW TRADSHOW.PIF
  8148.  
  8149. To send a metafile named AIRPLANE to be printed, enter the following: 
  8150.  
  8151. PICVIEW AIRPLANE.MET /P
  8152.  
  8153. To view a metafile named SHIP and then return the Picture Viewer window to the 
  8154. default position on the screen, enter the following: 
  8155.  
  8156. PICVIEW SHIP.MET /S
  8157.  
  8158.  
  8159. ΓòÉΓòÉΓòÉ 4.96. PMREXX - Display Output from REXX Procedures ΓòÉΓòÉΓòÉ
  8160.  
  8161. Displays output from REXX procedures and provides an input field for them. 
  8162.  
  8163. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ PMREXXΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8164.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8165.  
  8166. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  8167.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ arguments ΓöÇΓöÿ
  8168.  
  8169. PMREXX is a Presentation Manager* window application that enables you to browse 
  8170. the output of your REXX procedures. 
  8171.  
  8172. You start the PMREXX program and a REXX procedure from an OS/2 command prompt. 
  8173. You do this by typing PMREXX and a target procedure name that generates an 
  8174. output or input function, as follows: 
  8175.  
  8176. PMREXX  filename.CMD arguments
  8177.  
  8178. where the arguments and .CMD extension are optional. 
  8179.  
  8180. By using PMREXX, you add the following features to REXX: 
  8181.  
  8182. o A window for the display of the output of a REXX procedure, such as: 
  8183.  
  8184.    - The SAY instruction output 
  8185.    - The STDOUT and STDERR outputs from secondary processes started from a REXX 
  8186.      procedures file 
  8187.    - The REXX TRACE output (not to be confused with OS/2 tracing). 
  8188.  
  8189. o An input window for: 
  8190.  
  8191.    - The PULL instruction in all of its forms 
  8192.    - The STDIN data for secondary processes started from a REXX procedures 
  8193.      file. 
  8194.  
  8195. o A browsing, scrolling, and clipboard capability for REXX output. 
  8196. o A selection of fonts for the output window. 
  8197. o A simple environment for experimenting with REXX instructions through the use 
  8198.   of the REXXTRY.CMD program.  REXXTRY interactively interprets REXX 
  8199.   instructions and can be started from an OS/2 command prompt. 
  8200.  
  8201. For more information about REXX and PMREXX, select REXX Information in the 
  8202. Information folder. 
  8203.  
  8204.  
  8205. ΓòÉΓòÉΓòÉ <hidden> PMREXX Examples ΓòÉΓòÉΓòÉ
  8206.  
  8207. To start the PMREXX program and a REXX procedure named TEST.CMD from an OS/2 
  8208. command prompt, type: 
  8209.  
  8210. PMREXX TEST
  8211.  
  8212. Typing the .CMD extension is optional. 
  8213.  
  8214. The following REXX program SAMPLE.CMD displays environment variables requested 
  8215. as arguements: 
  8216.  
  8217. /**/
  8218. '@ECHO OFF'
  8219. env = 'OS2ENVIRONMENT'
  8220. Parse Arg all
  8221. Do i=1 to words(all)
  8222.    word = translate(word(all,i))
  8223.    Say
  8224.    If value(word,,env)=''
  8225.      Then Say '"'word'" is not in the environment!.'
  8226.      Else Say word'="'value(word,,env)'".'
  8227. End
  8228.  
  8229. To display the current PATH and DPATH statements in the CONFIG.SYS file that 
  8230. you have indicated in the REXX program, SAMPLE.CMD, enter the following: 
  8231.  
  8232. PMREXX Sample PATH DPATH
  8233.  
  8234.  
  8235. ΓòÉΓòÉΓòÉ 4.97. PRINT - Print Information ΓòÉΓòÉΓòÉ
  8236.  
  8237. Prints or cancels printing of one or more files. 
  8238.  
  8239.                                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8240.                                                        Γöé
  8241. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ PRINT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇ
  8242.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇ /D:device ΓöÇΓöñ
  8243.                                        ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8244.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8245.                                                          Γöé
  8246. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  8247.    ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             Γöé    Γöé  Γö£ΓöÇ /C ΓöÇΓöñ   Γöé
  8248.   Γöé                                   Γöé    Γöé  ΓööΓöÇ /T ΓöÇΓöÿ   Γöé
  8249.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇ /D:device ΓöÇΓöÿ
  8250.  
  8251. Related Commands:  SPOOL 
  8252.  
  8253. It is important to note that: 
  8254.  
  8255. o The /C and /T parameters are valid for OS/2 sessions only. 
  8256.  
  8257. o The /C or /T parameter cannot be used with the /B parameter. 
  8258.  
  8259. o The /C and /T parameters cannot be used together. 
  8260.  
  8261. o A file name cannot be specified with the /C or /T parameter. 
  8262.  
  8263. You can enter more than one file name (along with its appropriate parameters) 
  8264. at the command prompt.  The global file-name characters (* and ?) are allowed. 
  8265. Also, the files are queued for printing in the order in which you enter them. 
  8266.  
  8267.  
  8268. ΓòÉΓòÉΓòÉ <hidden> PRINT Examples ΓòÉΓòÉΓòÉ
  8269.  
  8270. To print a file named C:\LISTING\REPORT.STA on the LPT2 print device, enter the 
  8271. following: 
  8272.  
  8273. PRINT /D:LPT2 C:\LISTING\REPORT.STA
  8274.  
  8275. To prevent Ctrl+Z characters from being interpreted as end-of-file characters 
  8276. when a file named LISTING prints, enter the following: 
  8277.  
  8278. PRINT /B LISTING
  8279.  
  8280. To print a file named REPORTS in the current directory, enter the following: 
  8281.  
  8282. PRINT REPORTS
  8283.  
  8284. To cancel the file that is currently printing on LPT1 (the default print 
  8285. device), enter the following: 
  8286.  
  8287. PRINT /C
  8288.  
  8289. To cancel all files in the LPT2 print queue and any file currently printing, 
  8290. enter the following: 
  8291.  
  8292. PRINT /D:LPT2 /T
  8293.  
  8294.  
  8295. ΓòÉΓòÉΓòÉ 4.98. PRINTMONBUFSIZE - Set Parallel-Port Device-Driver Buffer Size ΓòÉΓòÉΓòÉ
  8296.  
  8297. Sets parallel-port device-driver buffer size. 
  8298.  
  8299. PRINTMONBUFSIZE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x,ΓöÇΓöÇ x,ΓöÇΓöÇ xΓöÇΓöÇΓöñ
  8300.  
  8301. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  8302. prompt. 
  8303.  
  8304. The PRINTMONBUFSIZE= statement enables you to increase the size of the OS/2 
  8305. parallel-port device-driver buffer and thereby increase performance of data 
  8306. transfer to devices connected to the parallel port.  This device-driver monitor 
  8307. buffer is used only if a printer character monitor is active.  The parallel 
  8308. port device driver will allocate and register its monitor chain buffer based 
  8309. upon the value specified. 
  8310.  
  8311. Note:   If you increase this value, additional system memory is used. 
  8312.         Therefore, you should increase the value only when using a printer 
  8313.         character monitor that can take advantage of the additional memory. 
  8314.  
  8315.  
  8316. ΓòÉΓòÉΓòÉ <hidden> PRINTMONBUFSIZE Examples ΓòÉΓòÉΓòÉ
  8317.  
  8318. To set the parallel-port device-driver buffer size for LPT1 as 2048 bytes, for 
  8319. LPT2 as 134 bytes, and for LPT3 as 134 bytes, type the following in the 
  8320. CONFIG.SYS file: 
  8321.  
  8322. PRINTMONBUFSIZE=2048,134,134
  8323.  
  8324.  
  8325. ΓòÉΓòÉΓòÉ 4.99. PRIORITY - Schedule Threads ΓòÉΓòÉΓòÉ
  8326.  
  8327. Selects priority calculation in scheduling regular-class threads. 
  8328.  
  8329. PRIORITY = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ DYNAMIC ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8330.                       ΓööΓöÇΓöÇ ABSOLUTE ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8331.  
  8332. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  8333. command prompt. 
  8334.  
  8335. Related Commands:  MAXWAIT, TIMESLICE, THREADS 
  8336.  
  8337. The system assigns a thread based on its display status (background or 
  8338. foreground), recent input and output activity, and frequency of processor use. 
  8339. Most threads are assigned Regular priority. 
  8340.  
  8341. Applications can adjust priorities, but the system has a built-in method of 
  8342. handling access to the processor.  The default method is Dynamic.  Changing 
  8343. this to Absolute can help achieve predictable results by determining the order 
  8344. of priority strictly on the basis of class and level. 
  8345.  
  8346.  
  8347. ΓòÉΓòÉΓòÉ <hidden> PRIORITY Examples ΓòÉΓòÉΓòÉ
  8348.  
  8349. To change the PRIORITY statement so the OS/2 operating system varies the 
  8350. priorities of threads as they are running, type the following in the CONFIG.SYS 
  8351. file and restart your system: 
  8352.  
  8353. PRIORITY=DYNAMIC
  8354.  
  8355. To change the PRIORITY statement so the OS/2 operating system does not vary the 
  8356. priorities of threads as they are running, type the following in the CONFIG.SYS 
  8357. file and restart your system: 
  8358.  
  8359. PRIORITY=ABSOLUTE
  8360.  
  8361.  
  8362. ΓòÉΓòÉΓòÉ 4.100. PRIORITY_DISK_IO - Set Disk Input/Output Priority ΓòÉΓòÉΓòÉ
  8363.  
  8364. Specifies disk input/output priority for applications running in the 
  8365. foreground. 
  8366.  
  8367. PRIORITY_DISK_IO = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ   YES   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8368.                       ΓööΓöÇΓöÇ    NO    ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8369.  
  8370. Type this command in the CONFIG.SYS file; do not enter the command at a DOS or 
  8371. OS/2 command prompt. 
  8372.  
  8373. When PRIORITY_DISK_IO=YES is specified in the CONFIG.SYS file, an application 
  8374. running in the foreground will receive disk I/O priority over applications 
  8375. running in the background.  This means that the application in the forground 
  8376. will have a better response time than applications running in the background. 
  8377.  
  8378.  
  8379. ΓòÉΓòÉΓòÉ <hidden> PRIORITY_DISK_IO Examples ΓòÉΓòÉΓòÉ
  8380.  
  8381. To specify that applications in the foreground are to receive priority for disk 
  8382. access, type the following in the CONFIG.SYS file: 
  8383.  
  8384. PRIORITY_DISK_IO=YES
  8385.  
  8386. To specify that all applications (foreground and background) are to be treated 
  8387. equally with regard to disk access, type the following in the CONFIG.SYS file: 
  8388.  
  8389. PRIORITY_DISK_IO=NO
  8390.  
  8391.  
  8392. ΓòÉΓòÉΓòÉ 4.101. PROMPT - Change System Command Prompt ΓòÉΓòÉΓòÉ
  8393.  
  8394. Changes the system command prompt. 
  8395.  
  8396. PROMPT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8397.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ text ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8398.  
  8399. Related Commands: DATE, HELP, SET, TIME, and VER 
  8400.  
  8401. Typing this command without a parameter resets the system prompt to the system 
  8402. default. PROMPT can be specified with the SET command. You can also set the 
  8403. PROMPT command in the CONFIG.SYS file. 
  8404.  
  8405. In DOS sessions, the default system prompt is the default drive letter followed 
  8406. by the > symbol.  If you are in the root directory of the default drive, your 
  8407. DOS command prompt looks like this: 
  8408.  
  8409. C>
  8410.  
  8411. The default OS/2 system prompt is the current directory of the default drive 
  8412. enclosed within bracket symbols. If you are in the \OS2 directory of the 
  8413. default drive, your OS/2 command prompt looks like this: 
  8414.  
  8415. [C:\OS2]
  8416.  
  8417.  
  8418. ΓòÉΓòÉΓòÉ <hidden> PROMPT Examples ΓòÉΓòÉΓòÉ
  8419.  
  8420. To set the command prompt to show special text, for example, GOOD MORNING, type 
  8421. the following in the CONFIG.SYS file: 
  8422.  
  8423. SET PROMPT=GOOD MORNING
  8424.  
  8425. To set the command prompt to display the current drive and directory plus the > 
  8426. character (OS/2 sessions), type the following in the CONFIG.SYS file: 
  8427.  
  8428. SET PROMPT=$P$G
  8429.  
  8430. To set the prompt to display the default drive plus the > character (DOS 
  8431. sessions), type 
  8432.  
  8433. PROMPT
  8434.  
  8435. To set the command prompt to display the date and time in OS/2 sessions, type 
  8436. the following in the CONFIG.SYS file: 
  8437.  
  8438. SET PROMPT=TIME = $T$_DATE = $D
  8439.  
  8440. If you have allowed extended keyboard and display support, you can use escape 
  8441. sequences in your prompts.  The following example sets the prompt to show help 
  8442. on the first line, the date and time on the second line, and [drive\path] on 
  8443. the current line. 
  8444.  
  8445. SET PROMPT=$i[$p]$e[s$e[2;1H$e[34;47m$d$_$t$e[0m$e[u
  8446.  
  8447. Note:   Issuing the HELP ON or HELP OFF commands will overwrite any previous 
  8448.         value you have set your prompt to. 
  8449.  
  8450.  
  8451. ΓòÉΓòÉΓòÉ 4.102. PROTECTONLY - Select Operating Environments ΓòÉΓòÉΓòÉ
  8452.  
  8453. Selects one or two operating environments. 
  8454.  
  8455. PROTECTONLY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ NO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8456.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ YES ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8457.  
  8458. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  8459. command prompt. 
  8460.  
  8461. Related Commands:  PROTSHELL, RMSIZE, and SHELL 
  8462.  
  8463. The OS/2 operating system requires this statement in the CONFIG.SYS file.  The 
  8464. PROTECTONLY=YES statement allows memory under 640KB, which is normally used for 
  8465. DOS programs, to be available for OS/2 programs.  When PROTECTONLY=YES, you 
  8466. cannot run programs in DOS sessions. If you later decide that you want to run 
  8467. DOS programs in the lower 640KB of memory, specify PROTECTONLY=NO.  This allows 
  8468. you to use both DOS and OS/2 programs. 
  8469.  
  8470.  
  8471. ΓòÉΓòÉΓòÉ <hidden> PROTECTONLY Examples ΓòÉΓòÉΓòÉ
  8472.  
  8473. To set up your system for OS/2 sessions only, type the following in the 
  8474. CONFIG.SYS file: 
  8475.  
  8476. PROTECTONLY=YES
  8477.  
  8478. To set up your system for both OS/2 and DOS sessions, type the following in the 
  8479. CONFIG.SYS file: 
  8480.  
  8481. PROTECTONLY=NO
  8482.  
  8483.  
  8484. ΓòÉΓòÉΓòÉ 4.103. PROTSHELL - Load a User Interface Program ΓòÉΓòÉΓòÉ
  8485.  
  8486. Loads the user interface program and OS/2 command processor. PROTSHELL also 
  8487. replaces the default OS/2 command processor, CMD.EXE, with another command 
  8488. processor. 
  8489.  
  8490. PROTSHELL = ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8491.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8492.  
  8493. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8494.             ΓööΓöÇ arguments ΓöÇΓöÿ
  8495.  
  8496. Related Commands: CMD, PROTECTONLY, RMSIZE, and SHELL 
  8497.  
  8498. If you do not specify PROTSHELL in your CONFIG.SYS file, the default user 
  8499. interface for OS/2 2.1 is loaded and started with an argument of CMD.EXE. 
  8500.  
  8501. For a system that is set up for both OS/2 and DOS sessions, the user interface 
  8502. is started and automatically displayed.  The DOS command processor also is 
  8503. started but does not begin running until the DOS command prompt is selected 
  8504. from the Command Prompts folder. 
  8505.  
  8506.  
  8507. ΓòÉΓòÉΓòÉ <hidden> PROTSHELL Examples ΓòÉΓòÉΓòÉ
  8508.  
  8509. If you accept the system installation default for the PROTSHELL statement, the 
  8510. installation program places the following default statement in your CONFIG.SYS 
  8511. file: 
  8512.  
  8513. PROTSHELL=C:\OS2\PMSHELL.EXE
  8514. SET USER_INI=C:\OS2\OS2.INI
  8515. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  8516. SET OS2_SHELL=C:\OS2\CMD.EXE
  8517. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  8518.  
  8519. If you want to run the Presentation Manager* program AIRLINE.EXE instead of the 
  8520. default PMSHELL.EXE, type the following in your CONFIG.SYS file: 
  8521.  
  8522. PROTSHELL=C:\AIRLINE.EXE
  8523. SET USER_INI=C:\OS2\OS2.INI
  8524. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  8525. SET OS2_SHELL=C:\OS2\CMD.EXE
  8526.  
  8527. Note:   You should also delete the SET AUTOSTART= line from the CONFIG.SYS file 
  8528.         to disable the OS/2 Workplace Shell. 
  8529.  
  8530. If you want to pass a default batch file to CMD.EXE to establish an 
  8531. environment, type the following in your CONFIG.SYS file: 
  8532.  
  8533. PROTSHELL=C:\OS2\PMSHELL.EXE
  8534. SET USER_INI=C:\OS2\OS2.INI
  8535. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  8536. SET OS2_SHELL=C:\OS2\CMD.EXE /K INIT.CMD
  8537.  
  8538.  
  8539. ΓòÉΓòÉΓòÉ 4.104. PSTAT - Display Process Status Information ΓòÉΓòÉΓòÉ
  8540.  
  8541. Displays process, thread, system-semaphore, shared-memory, and dynamic-link 
  8542. library information. 
  8543.  
  8544. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ PSTAT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  8545.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  8546.                                              Γö£ΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöñ
  8547.                                              Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöñ
  8548.                                              Γö£ΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöñ
  8549.                                              ΓööΓöÇ /P:pid ΓöÇΓöÿ
  8550.  
  8551. Enter this command without a parameter to display information about the 
  8552. following: 
  8553.  
  8554. o Current processes and threads 
  8555. o System semaphores 
  8556. o Shared memory for each process 
  8557. o Dynamic-link libraries 
  8558.  
  8559. PSTAT displays process status information, such as current processes and 
  8560. threads, system- semaphores, dynamic-link libraries, and shared memory.  PSTAT 
  8561. helps you determine which threads are running in the system, along with their 
  8562. current status and current priorities. 
  8563.  
  8564. This command also aids you in determining why a given thread is blocked 
  8565. (waiting for a system event), or why the thread's performance is slow (low 
  8566. priority compared to other threads.)  Moreover, it displays the process ID that 
  8567. has been assigned from each process.  The process ID can then be used as input 
  8568. to the TRACE utility program for tracing on a per-process basis. 
  8569.  
  8570.  
  8571. ΓòÉΓòÉΓòÉ <hidden> PSTAT Examples ΓòÉΓòÉΓòÉ
  8572.  
  8573. To display the current process and thread-related information on the system 
  8574. for: 
  8575.  
  8576. o Process ID 
  8577. o Parent process ID 
  8578. o Session ID 
  8579. o Process name 
  8580.  
  8581. and display values for: 
  8582.  
  8583. o Thread ID 
  8584. o Thread state 
  8585. o Thread priority 
  8586. o Block ID 
  8587.  
  8588. enter the following: 
  8589.  
  8590. PSTAT /C
  8591.  
  8592. To display system-semaphore information for each thread and display: 
  8593.  
  8594. o Process module name 
  8595. o Process ID 
  8596. o Session 
  8597. o Index 
  8598. o Number of references 
  8599. o Number of requests 
  8600. o Flag 
  8601. o Name of the system semaphore 
  8602.  
  8603. enter the following: 
  8604.  
  8605. PSTAT /S
  8606.  
  8607. To display the dynamic-link libraries for: 
  8608.  
  8609. o Process module name 
  8610. o Process ID 
  8611. o Session ID 
  8612. o Library list 
  8613.  
  8614. enter the following: 
  8615.  
  8616. PSTAT /L
  8617.  
  8618. To display the shared information for each process: 
  8619.  
  8620. o Handle 
  8621. o Selector 
  8622. o Number of references 
  8623. o Name of the shared memory 
  8624.  
  8625. enter the following: 
  8626.  
  8627. PSTAT /M
  8628.  
  8629. To display the related information on the process ID 0002. 
  8630.  
  8631. o Process ID 
  8632. o Parent process ID 
  8633. o Session ID 
  8634. o Process module name 
  8635. o Dynamic-link libraries 
  8636. o Shared memory data 
  8637.  
  8638. and display: 
  8639.  
  8640. o Thread ID 
  8641. o Thread priority 
  8642. o Thread status 
  8643. o Block ID 
  8644. o Semaphore information 
  8645.  
  8646. enter the following: 
  8647.  
  8648. PSTAT /P:2
  8649.  
  8650.  
  8651. ΓòÉΓòÉΓòÉ 4.105. RECOVER - Recover Files ΓòÉΓòÉΓòÉ
  8652.  
  8653. Recovers files from a disk that contains defective sectors. 
  8654.  
  8655. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ RECOVER ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8656.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8657.  
  8658. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8659.    Γö£ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöñ
  8660.    Γöé  ΓööΓöÇ drive ΓöÇΓöÿ                              Γöé
  8661.    Γöé                                           Γöé
  8662.    ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8663.       ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  8664.  
  8665. Related Commands:  CHKDSK 
  8666.  
  8667. OS/2 2.1 reads the specified disk, sector by sector.  If RECOVER finds a bad 
  8668. portion, the sector is marked and data is no longer allocated to it.  All the 
  8669. files on the disk can be recovered if the directory has been damaged. 
  8670.  
  8671. RECOVER cannot recover files on the disk that contains the RECOVER.EXE file or 
  8672. the disk used to start the OS/2 operating system.  RECOVER locks the drive to 
  8673. be recovered so that no other applications or processes are allowed to access 
  8674. the drive. 
  8675.  
  8676. The OS/2 message file, C:\OS2\SYSTEM\OSO001.MSG, must not be on the disk to be 
  8677. recovered.  To be sure it is not, do the following: 
  8678.  
  8679. o Copy the following files to a blank, formatted diskette; C:\OS2\RECOVER.COM, 
  8680.   C:\OS2\SYSTEM\OSO001.MSG 
  8681. o Delete these files from the disk to be recovered. 
  8682. o Start the system from the OS/2 Install Diskette. 
  8683. o At the A: prompt, type: 
  8684.  
  8685.     SETDPATH=A:\
  8686.     SETPATH=A:\
  8687.  
  8688. o Put the diskette prepared earlier into drive A and type: 
  8689.  
  8690.     RECOVER C:filenames
  8691.  
  8692. RECOVER does not work on drives that have an ASSIGN, JOIN, or SUBST command in 
  8693. effect. Also, RECOVER does not work on network drives. 
  8694.  
  8695. Note:   Use RECOVER with a specific file name or group of file names to ensure 
  8696.         that only the specified files are recovered and that other files on the 
  8697.         target disk will maintain their integrity. 
  8698.  
  8699. Extended Attributes:  RECOVER will attempt to recover the clusters that contain 
  8700. the extended attributes of a file. An extended attribute is a special area used 
  8701. for storing data that describes the file to the system or to an application. If 
  8702. errors occur in any extended attribute chain, RECOVER writes extended attribute 
  8703. information into a file that follows this naming format:  EAnnnn.REC (nnnn is a 
  8704. sequential number starting with 0000). The data from any bad sector appears in 
  8705. the file as zeroes; the original recovered file no longer contains extended 
  8706. attributes. RECOVER also recovers the file or directory associated with the 
  8707. extended attribute chain and places it in a file that follows this naming 
  8708. format:  FILEnnnn.REC.  The number in this file name corresponds to the number 
  8709. shown in the EAnnnn.REC file name. 
  8710.  
  8711. When recovering files or directories that have extended attributes, be sure to 
  8712. use OS/2 2.1 to ensure all extended file attributes are recovered. 
  8713.  
  8714.  
  8715. ΓòÉΓòÉΓòÉ 4.105.1. High Performance File System Considerations ΓòÉΓòÉΓòÉ
  8716.  
  8717. When using RECOVER on a disk formatted for the High Performance File System 
  8718. (HPFS), it is important to note the following: 
  8719.  
  8720. o RECOVER does not recover an entire disk; only individual files are recovered. 
  8721.  
  8722. o RECOVER uses the original file name.  If the old file cannot be recovered, 
  8723.   RECOVER creates a file that follows this naming format: FILEnnnn.REC and 
  8724.   places that file in the same directory as the original file. 
  8725.  
  8726. o If a sector in the damaged file cannot be recovered, RECOVER fills the area 
  8727.   occupied by the sector with zeroes in the new file, preserving the original 
  8728.   file size. 
  8729.  
  8730. Return Codes: 
  8731.  
  8732. 0 - Normal completion 
  8733. 1 - Undefined 
  8734. 2 - Undefined 
  8735. 3 - Ended by user 
  8736. 4 - Ended due to error 
  8737. 5 - Unable to read or write to one of the file allocation tables 
  8738. 6 - Unable to execute another file system's recover program 
  8739.  
  8740.  
  8741. ΓòÉΓòÉΓòÉ <hidden> RECOVER Examples ΓòÉΓòÉΓòÉ
  8742.  
  8743. To recover a file named ADDRESS.FIL in the root directory of drive A, enter the 
  8744. following: 
  8745.  
  8746. RECOVER A:\ADDRESS.FIL
  8747.  
  8748. To recover all the files on drive A, enter the following: 
  8749.  
  8750. RECOVER A:
  8751.  
  8752. To recover files on a drive that is the hard disk from which you normally start 
  8753. the operating system, follow these steps: 
  8754.  
  8755.  1. Insert the system installation diskette in diskette drive A. 
  8756.  2. Restart the system.  At the Logo panel, remove the installation diskette 
  8757.     and insert diskette 1.  Press Enter to continue. 
  8758.  3. At the first text panel that appears (Welcome to OS/2), press Esc. 
  8759.  4. If the drive containing the files to be recovered is a drive formatted for 
  8760.     HPFS, the file UHPFS.DLL has to exist on the same diskette as CHKDSK, or 
  8761.     UHPFS.DLL has to exist in a directory in the LIBPATH statement. To display 
  8762.     the LIBPATH statement, enter TYPE \CONFIG.SYS in the drive of the disk that 
  8763.     the system started from. 
  8764.  5. In order for the system to display error messages, the file OSO001.MSG has 
  8765.     to be on the same disk as CHKDSK or it has to exist in a directory in your 
  8766.     DPATH statement.  To display your DPATH statement, enter DPATH at the 
  8767.     command line. 
  8768.  6. Run CHKDSK in drive A, while specifying the letter of the drive containing 
  8769.     the files to be recovered. 
  8770.  
  8771.  
  8772. ΓòÉΓòÉΓòÉ 4.106. REM - Display Remarks ΓòÉΓòÉΓòÉ
  8773.  
  8774. Adds comments or line spacing in a batch file or a CONFIG.SYS file. 
  8775.  
  8776. REM ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8777.                   ΓööΓöÇ comment ΓöÇΓöÿ
  8778.  
  8779.  When adding remarks or line spacing in a batch file, it is important to note 
  8780. that: 
  8781.  
  8782. o The OS/2 operating system displays the remark when batch processing reaches 
  8783.   the REM command.  If ECHO is OFF, the system does not display the remarks. 
  8784. o You can use REM by itself to improve the readability of your batch file. 
  8785.  
  8786. The OS/2 operating system treats the preceding REM commands as comments only 
  8787. and does not attempt to act on the comments. 
  8788.  
  8789. You can use the REM command to add remarks or line spacing to your CONFIG.SYS 
  8790. file. Any lines of text added using REM are ignored by the system during 
  8791. CONFIG.SYS processing and are not displayed on your display terminal. 
  8792.  
  8793.  
  8794. ΓòÉΓòÉΓòÉ <hidden> REM Examples ΓòÉΓòÉΓòÉ
  8795.  
  8796. To display REM and the remark, THIS IS A BATCH FILE from within a batch file, 
  8797. type the following: 
  8798.  
  8799. REM THIS IS A BATCH FILE
  8800.  
  8801. To prevent REM from displaying the remark THIS IS A BATCHFILE from within a 
  8802. batch file, type the following: 
  8803.  
  8804. @REM THIS IS A BATCHFILE
  8805.  
  8806. To prevent the operating system from interpreting the piping symbol (|), 
  8807. enclose it in double quotes. 
  8808.  
  8809. REM USE DOUBLE QUOTES "|" DIR
  8810.  
  8811. To add a line of text to explain the use of your device commands or as a 
  8812. reminder for future reference, follow this example. 
  8813.  
  8814. REM
  8815. REM These four lines I added
  8816. REM so that I can use the
  8817. REM mouse I borrowed
  8818. REM from Marion. They should
  8819. REM be deleted when I return
  8820. REM Marion's mouse.
  8821. REM
  8822. DEVICE=C:\OS2\POINTDD.SYS
  8823. DEVICE=MSSER01.SYS SERIAL=COM2 MODEL=199
  8824. DEVICE=MOUSE.SYS TYPE=MSSER$ MODE=P QSIZE=15
  8825. DEVICE=C:\OS2\COM02.SYS
  8826. REM
  8827.  
  8828. To add a line to explain system configuration and improve readability, follow 
  8829. this example: 
  8830.  
  8831. REM
  8832. REM The following statement
  8833. REM sets the size of DOS environment
  8834. REM to 512KB.
  8835. REM
  8836. RMSIZE=512
  8837. REM
  8838. REM This allows Ctrl+Break
  8839. REM in DOS environment
  8840. REM
  8841. BREAK=ON
  8842. REM
  8843.  
  8844.  
  8845. ΓòÉΓòÉΓòÉ 4.107. RENAME - Rename Files ΓòÉΓòÉΓòÉ
  8846.  
  8847. Changes a file name or extension without changing the contents of the file. 
  8848. You can use RENAME or REN interchangeably. In OS/2 sessions, you can also 
  8849. change the name of a directory. 
  8850.  
  8851. RENAME ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename1 ΓöÇΓöÇ filename2 ΓöÇΓöñ
  8852.         Γöé ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8853. REN ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8854.  
  8855. Related Commands:  COPY, MOVE 
  8856.  
  8857. You cannot specify a drive and path in the second file name; therefore, the 
  8858. file stays in the same directory after you rename it. 
  8859.  
  8860. You can use global file name characters (* or ?) in either file name.  All 
  8861. files matching the first file name are renamed.  If global file-name characters 
  8862. appear in the second file name, the corresponding character positions are not 
  8863. changed. 
  8864.  
  8865.  
  8866. ΓòÉΓòÉΓòÉ <hidden> RENAME Examples ΓòÉΓòÉΓòÉ
  8867.  
  8868. To change the name of a file from MEMOS to LETTERS in the current directory on 
  8869. the current drive, enter the following: 
  8870.  
  8871. REN MEMOS LETTERS
  8872.  
  8873. To change the extension of all files in the current directory of the current 
  8874. drive from .OLD to .NEW, enter the following: 
  8875.  
  8876. REN *.OLD *.NEW
  8877.  
  8878. To rename a program named MY.COM in the LEVEL1 subdirectory on drive B to 
  8879. YOUR.COM, enter the following: 
  8880.  
  8881. REN B:\LEVEL1\MY.COM YOUR.COM
  8882.  
  8883.  
  8884. ΓòÉΓòÉΓòÉ 4.108. REPLACE - Replace Files ΓòÉΓòÉΓòÉ
  8885.  
  8886. Selectively replaces files on the target drive with files of the same name from 
  8887. the source drive.  Also, it selectively adds files from the source drive to the 
  8888. target drive. 
  8889.  
  8890. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ REPLACE ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  8891.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               ΓööΓöÇ source drive ΓöÇΓöÿ
  8892.  
  8893.  
  8894. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇ target drive ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  8895.   ΓööΓöÇ path ΓöÇΓöÿ                                  ΓööΓöÇ path ΓöÇΓöÿ
  8896.  
  8897.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8898.                                 Γöé
  8899. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8900.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ /A ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8901.         Γöé     ΓööΓöÇΓöÇ /S ΓöÇΓöÇΓöÿ      Γöé
  8902.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8903.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8904.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /W ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8905.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /U ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8906.         ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8907.  
  8908. Hidden and system files are not found on the source and are not replaced on the 
  8909. target.  Also, if you use the /A parameter with the /S parameter, the system 
  8910. displays an error message. 
  8911.  
  8912. Extended Attributes:  REPLACE will copy the source file's extended attributes 
  8913. to the target file (See the /F parameter). When replacing files that have 
  8914. extended attributes, be sure to use OS/2 2.1 to ensure all extended file 
  8915. attributes are replaced. 
  8916.  
  8917. Return Codes: 
  8918.  
  8919. 0 - Normal completion 
  8920. 1 - No files were found to replace 
  8921. 2 - Some files not replaced (or added) due to file errors 
  8922. 4 - Ended due to error 
  8923.  
  8924.  
  8925. ΓòÉΓòÉΓòÉ <hidden> REPLACE Examples ΓòÉΓòÉΓòÉ
  8926.  
  8927. To replace the LETTERS file on drive A with the LETTERS file on drive C, enter 
  8928. the following: 
  8929.  
  8930. REPLACE C:LETTERS A:
  8931.  
  8932. You can also use the global characters * and ? when specifying a file name. 
  8933.  
  8934. To replace all files on drive C that have an extension of .EXE with files from 
  8935. drive A that have the same file name and extension, enter the following: 
  8936.  
  8937. REPLACE A:*.EXE C:
  8938.  
  8939. To copy all files from the current directory on drive C (that do not exist on 
  8940. drive A) to drive A, without overwriting the files that currently exist on 
  8941. drive A, enter the following: 
  8942.  
  8943. REPLACE C:*.* A: /A
  8944.  
  8945. To replace the files found in all directories of drive C with files matching 
  8946. the source file name of YEARLY in the current directory on drive A, enter the 
  8947. following: 
  8948.  
  8949. REPLACE A:YEARLY C:\ /S
  8950.  
  8951. To be prompted with (Y/N?) before replacing each file from the root directory 
  8952. on drive C to the root directory on drive A, enter the following: 
  8953.  
  8954. REPLACE C:\*.* A:\ /P
  8955.  
  8956. To replace all files on drive C (including read-only files) with files of the 
  8957. same name from drive A, enter the following: 
  8958.  
  8959. REPLACE A:*.* C: /R
  8960.  
  8961. To replace the LETTERS file on drive A with the LETTERS file on drive C, and 
  8962. have the system wait for you to insert a diskette before searching for source 
  8963. files, enter the following: 
  8964.  
  8965. REPLACE C:LETTERS A: /W
  8966.  
  8967. To replace all files on drive C named LETTER.FMT with a new LETTER.FMT file 
  8968. from drive A, enter the following: 
  8969.  
  8970. REPLACE A:LETTER.FMT C:\ /U  /S
  8971.  
  8972. To replace a file named REPORTS.TXT to the STATUS directory on drive D and have 
  8973. REPLACE fail if drive D does not support extended attributes, enter the 
  8974. following: 
  8975.  
  8976. REPLACE REPORTS.TXT D:\STATUS /F
  8977.  
  8978.  
  8979. ΓòÉΓòÉΓòÉ 4.109. RESTORE - Restore Backed-Up Files ΓòÉΓòÉΓòÉ
  8980.  
  8981. Restores one or more backed-up files from one disk to another. 
  8982.  
  8983. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ RESTORE  ΓöÇΓöÇΓöÇ source drive ΓöÇΓöÇΓöÇ
  8984.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  8985.  
  8986. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8987.    ΓööΓöÇ target drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ    ΓööΓöÇ filename ΓöÇΓöÿ
  8988.  
  8989.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8990.                                       Γöé
  8991. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8992.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8993.                Γö£ΓöÇΓöÇΓöÇΓöÇ /B:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöñ
  8994.                Γö£ΓöÇΓöÇΓöÇΓöÇ /A:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöñ
  8995.                Γö£ΓöÇΓöÇΓöÇΓöÇ /E:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöñ
  8996.                Γö£ΓöÇΓöÇΓöÇΓöÇ /L:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöñ
  8997.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8998.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8999.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9000.                ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9001.  
  9002. Related Commands:  ATTRIB, BACKUP 
  9003.  
  9004. You must have used the BACKUP command to place the files you want restored on 
  9005. the source.  Note that: 
  9006.  
  9007. o RESTORE works only within the source directory unless you specify the /S 
  9008.   parameter, which copies files in the source directory and in all directories 
  9009.   below the starting source directory. 
  9010.  
  9011. o When RESTORE prompts you to insert the source diskette, make sure that you 
  9012.   insert the correct backup diskette. When you restore all your files, RESTORE 
  9013.   prompts you to insert the backup diskettes in order. 
  9014.  
  9015. o RESTORE can restore files from disks of different types. 
  9016.  
  9017. o The RESTORE command does not restore COMMAND.COM, CMD.EXE, or the hidden OS/2 
  9018.   and DOS system files on the root directory.  Therefore, you cannot use 
  9019.   RESTORE to create a startable disk or diskette. 
  9020.  
  9021. o You must restore files to the same directory they were in when BACKUP copied 
  9022.   them.  If you try to restore them to a different directory, the system 
  9023.   displays an error message. 
  9024.  
  9025. o If you use global file-name characters, RESTORE prompts you to insert the 
  9026.   next diskette after it has restored all files on the backup diskette that 
  9027.   match the specified file name. 
  9028.  
  9029. o If you are sharing files, you can restore only files that you have access to. 
  9030.   If you attempt to access a file that you do not have access to, the system 
  9031.   displays an error message. 
  9032.  
  9033. Extended Attributes:  RESTORE will copy the extended attributes of a backed-up 
  9034. source file or directory to the target (See the /F parameter). An extended 
  9035. attribute is a special area used for storing data that describes the file to 
  9036. the system or to an application. 
  9037.  
  9038. When restoring files that have extended attributes, be sure to use OS/2 2.1 to 
  9039. ensure all extended file and directory attributes are restored. Extended 
  9040. attributes of a backed-up source subdirectory will only be copied to the target 
  9041. when the subdirectory does not already exist on the target. 
  9042.  
  9043. Return Codes: 
  9044.  
  9045. 0 - Normal completion 
  9046. 1 - No files were found to restore 
  9047. 2 - Some files were not processed due to file errors 
  9048. 3 - Ended by user 
  9049. 4 - Ended due to error 
  9050.  
  9051.  
  9052. ΓòÉΓòÉΓòÉ <hidden> RESTORE Examples ΓòÉΓòÉΓòÉ
  9053.  
  9054. To restore a file named MONDAY to the REPORTS subdirectory on drive C from the 
  9055. backup diskette in drive A, enter the following: 
  9056.  
  9057. RESTORE A: C:\REPORTS\MONDAY
  9058.  
  9059. To be prompted with (Y/N)? before restoring any read-only file or file changed 
  9060. since the last time you did a backup, enter the following: 
  9061.  
  9062. RESTORE A: C:*.* /P
  9063.  
  9064. To restore files that were changed or deleted since they were last backed up, 
  9065. enter the following: 
  9066.  
  9067. RESTORE A: C:*.* /M
  9068.  
  9069. To restore all files changed on or before November 12, 1988, type the following 
  9070. (using the current date format): 
  9071.  
  9072. RESTORE A: C: /B:11-12-88
  9073.  
  9074. To restore all files changed on or after November 12, 1988, type the following 
  9075. (using the current date format): 
  9076.  
  9077. RESTORE A: C: /A:11-12-88
  9078.  
  9079. To restore only those files that were changed at or earlier than 11:45 a.m., 
  9080. enter the following: 
  9081.  
  9082. RESTORE A: C: /E:11:45:00
  9083.  
  9084. To restore only those files that were changed at or later than 11:45 a.m., 
  9085. enter the following: 
  9086.  
  9087. RESTORE A: C: /L:11:45:00
  9088.  
  9089. To restore all files (including subdirectories) on the backup diskettes in 
  9090. drive A to drive C, enter the following: 
  9091.  
  9092. RESTORE A: C:\*.* /S
  9093.  
  9094. To restore files that no longer exist on the target drive, enter the following: 
  9095.  
  9096. RESTORE A: C: /N
  9097.  
  9098. To restore a file named REPORTS.TXT to the STATUS directory on drive D and have 
  9099. RESTORE fail if drive D does not support extended attributes, enter the 
  9100. following: 
  9101.  
  9102. RESTORE REPORTS.TXT D:\STATUS /F
  9103.  
  9104. To display the files on the backup diskette that match the files that were 
  9105. backed up by the BACKUP command without restoring them, enter the following: 
  9106.  
  9107. RESTORE /D
  9108.  
  9109.  
  9110. ΓòÉΓòÉΓòÉ 4.110. RD or RMDIR - Remove a Directory ΓòÉΓòÉΓòÉ
  9111.  
  9112. Removes empty directories from a multilevel directory structure. 
  9113.  
  9114. RMDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9115. RD      ΓöÇΓöÇΓöÿ        ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ    Γöé
  9116.                Γöé                                    Γöé
  9117.                ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9118.  
  9119. Related Commands:  CD, DIR, MD, and TREE 
  9120.  
  9121. You cannot remove the root directory or the current directory.  You also cannot 
  9122. remove a subdirectory of the current directory. 
  9123.  
  9124. To process this command, it is important that you: 
  9125.  
  9126. o Empty the directory of all files by using DEL or ERASE before using the RD or 
  9127.   RMDIR command.  Only the two special hidden files of (.) and (..) remain. 
  9128.  
  9129. o Empty the directory of all files in each subdirectory, if the directory 
  9130.   contains subdirectories. 
  9131.  
  9132. o Remove all hidden file attributes from all files except (.) and (..). 
  9133.  
  9134. You cannot use this command on drives that have a SUBST or JOIN command in 
  9135. effect. 
  9136.  
  9137.  
  9138. ΓòÉΓòÉΓòÉ <hidden> RD or RMDIR Examples ΓòÉΓòÉΓòÉ
  9139.  
  9140. To remove a subdirectory named NAMES from your root directory on the current 
  9141. drive, delete all the files and subdirectories within NAMES, and enter the 
  9142. following: 
  9143.  
  9144. RD \NAMES
  9145.  
  9146. To remove a subdirectory named ANNUAL within a subdirectory ACCOUNTS, which is 
  9147. in the root directory on the current drive, enter the following: 
  9148.  
  9149. RD \ACCOUNTS\ANNUAL
  9150.  
  9151. To remove the subdirectory REPORTS from the SALES directory and the 
  9152. subdirectory PROGS from the ACCT directory (OS/2 sessions only), enter the 
  9153. following: 
  9154.  
  9155. RD \SALES\REPORTS \ACCT\PROGS
  9156.  
  9157.  
  9158. ΓòÉΓòÉΓòÉ 4.111. RMSIZE - Specify DOS Environment Size ΓòÉΓòÉΓòÉ
  9159.  
  9160. Specifies the highest storage address allowed for the DOS operating 
  9161. environment. 
  9162.  
  9163. RMSIZE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9164.  
  9165. Related Commands:  PROTECTONLY, PROTSHELL, and SHELL 
  9166.  
  9167. If you specify a number that exceeds the amount of memory allowable for your 
  9168. system configuration, the system sends you an error message and ignores the 
  9169. statement. It then automatically calculates the largest default value for your 
  9170. system. 
  9171.  
  9172. If you do not have an RMSIZE statement in your CONFIG.SYS file, the default is 
  9173. the total amount of low memory installed (either 512KB or 640KB). 
  9174.  
  9175. If you decided to specify PROTECTONLY=NO, you can further reduce the size of 
  9176. the DOS environment by specifying RMSIZE.  This allows you to make the size of 
  9177. the DOS environment smaller than the maximum amount available if all the 
  9178. remaining memory below 640KB were used for DOS sessions. 
  9179.  
  9180. This statement specifies the highest storage address allowed for a DOS session. 
  9181. It is important to note that if you specify a number that exceeds the amount of 
  9182. memory allowable for your system configuration, the system sends you an error 
  9183. message.  This message states that the value was not acceptable and ignores the 
  9184. statement.  If you do not specify a RMSIZE statement in your CONFIG.SYS file, 
  9185. the default depends on the total memory installed.  If this total is 640KB or 
  9186. less, then the default size is the total memory minus the minimum required for 
  9187. protect-mode operations.  If this total is 1024KB or greater, the default size 
  9188. is the amount of memory installed below 1024KB, either 512KB or 640KB. 
  9189.  
  9190. This is the largest usable size for DOS sessions at which your system can 
  9191. operate.  If you enter a size that is too large for your system, the system 
  9192. displays an error message during startup and automatically calculates the 
  9193. largest default value possible. 
  9194.  
  9195.  
  9196. ΓòÉΓòÉΓòÉ <hidden> RMSIZE Examples ΓòÉΓòÉΓòÉ
  9197.  
  9198. Specifies a number from 0 through 640, representing a multiple of 1024 bytes. 
  9199.  
  9200. To set the size of the DOS environment to 256KB, type the following in the 
  9201. CONFIG.SYS file: 
  9202.  
  9203. RMSIZE=256
  9204.  
  9205.  
  9206. ΓòÉΓòÉΓòÉ 4.112. RUN - Start System Programs ΓòÉΓòÉΓòÉ
  9207.  
  9208. Loads and starts a system program during system initialization.  RUN does not 
  9209. start a Presentation Manager* application. 
  9210.  
  9211. RUN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9212.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  9213.  
  9214. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9215.             ΓööΓöÇ arguments ΓöÇΓöÿ
  9216.  
  9217. Related Commands:  START 
  9218.  
  9219. It is important to note that more than one RUN statement might appear in the 
  9220. CONFIG.SYS file.  The RUN statements are processed in the order in which they 
  9221. appear in the file, but all DEVICE statements are processed before any RUN 
  9222. statements. 
  9223.  
  9224. If a program started with a RUN statement requests a window before the user 
  9225. interface is started, it receives a unique error code.  The program might 
  9226. respond by delaying its processing until the user interface is started. 
  9227.  
  9228. A program started with a RUN statement can establish a keyboard or mouse 
  9229. monitor for any non-detached program.  Also, it can issue I/O requests to the 
  9230. keyboard, mouse, or display only after it has established a window. 
  9231.  
  9232. Because RUN programs are started before initialization of the user interface 
  9233. and disk error handling, the program must prevent the OS/2 operating system 
  9234. from performing disk handling and perform its own. 
  9235.  
  9236.  
  9237. ΓòÉΓòÉΓòÉ <hidden> RUN Examples ΓòÉΓòÉΓòÉ
  9238.  
  9239. To run a system checkout program named MARY.EXE located in the UTILS directory, 
  9240. type the following in the CONFIG.SYS file. 
  9241.  
  9242. RUN=C:\UTILS\MARY.EXE
  9243.  
  9244.  
  9245. ΓòÉΓòÉΓòÉ 4.113. RUN - Logging Daemon Process ΓòÉΓòÉΓòÉ
  9246.  
  9247. Controls the start of the Logging Daemon process for system error-log files. 
  9248. The System-Error Logging Service supports software that detects errors and logs 
  9249. those errors in the system-error log file. 
  9250.  
  9251. RUN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ LOGDAEM.EXE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9252.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  9253.  
  9254. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9255.             ΓööΓöÇ /E:filename ΓöÇΓöÿ  ΓööΓöÇ /W:x ΓöÇΓöÿ
  9256.  
  9257. Related Commands:  SYSLOG, DEVICE (LOG.SYS) 
  9258.  
  9259. A RUN=LOGDAEM.EXE command must be in the CONFIG.SYS file to control the start 
  9260. of the Logging Daemon process.  It must be included whenever you specify the 
  9261. DEVICE=LOG.SYS command in the CONFIG.SYS file to install the System Logging 
  9262. Service device driver. 
  9263.  
  9264.  
  9265. ΓòÉΓòÉΓòÉ <hidden> RUN = LOGDAEM.EXE Examples ΓòÉΓòÉΓòÉ
  9266.  
  9267. To specify C:\OS2\SYSTEM as the path for the error-log file, LOG0001.DAT, type 
  9268. the following in the CONFIG.SYS file: 
  9269.  
  9270. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT
  9271.  
  9272. To set the size of the error-log file, LOG0001.DAT, with the path C:\OS2\SYSTEM 
  9273. to 32KB, type the following in the CONFIG.SYS file: 
  9274.  
  9275. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  9276. *Frequent changes of DOS and OS/2 mode to session or environment in file 
  9277.  
  9278.  
  9279. ΓòÉΓòÉΓòÉ 4.114. SET - Set Environment Variables ΓòÉΓòÉΓòÉ
  9280.  
  9281. Sets one string in the environment equal to another string for later use in 
  9282. programs. You can use the SET command in your CONFIG.SYS file or batch files to 
  9283. set search paths and environment variables. 
  9284.  
  9285. To use SET from the command prompt: 
  9286.  
  9287. SET ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  9288.         ΓööΓöÇ string1= ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9289.                      ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string2 ΓöÇΓöÇΓöÇΓöÇΓöÿ
  9290.  
  9291.  To use SET in your CONFIG.SYS file: 
  9292.  
  9293. SET ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string1 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9294.  
  9295. Related Commands:  APPEND, DPATH, KEYS, PATH, and PROMPT 
  9296.  
  9297. Enter this command without a parameter to display the environment variables for 
  9298. the current mode of operation. 
  9299.  
  9300. If the name specified by the first string of the SET command already exists in 
  9301. the environment, the command processor replaces its current value with the new 
  9302. value specified by the second string.  If you enter the SET command with only 
  9303. the first string and the equals sign (=), the command processor removes the 
  9304. environment variable or replaceable parameter name and its associated value 
  9305. from the environment, if the name exists. 
  9306.  
  9307.  
  9308. ΓòÉΓòÉΓòÉ 4.114.1. Environments and Command Processors ΓòÉΓòÉΓòÉ
  9309.  
  9310. The environment is a special place in storage that is used by the command 
  9311. processor to store and look up information, such as the values assigned to 
  9312. names. You can use SET to create a replaceable parameter or to set the value of 
  9313. a system variable, such as PATH. Application programs (particularly compilers 
  9314. and assemblers) and batch files can use the information stored in the 
  9315. environment to affect their processing. 
  9316.  
  9317. Because DOS sessions and OS/2 sessions operate independently, each command 
  9318. processor that starts a session can have its own environment.  For information 
  9319. on how command processors within a session inherit the environment, refer to 
  9320. the COMMAND.COM and CMD.EXE command processors. 
  9321.  
  9322.  
  9323. ΓòÉΓòÉΓòÉ 4.114.2. Replaceable Parameters for Batch Files ΓòÉΓòÉΓòÉ
  9324.  
  9325. You can use the SET command in a batch file to define a replaceable parameter 
  9326. that will be replaced by values supplied when the batch file runs. In OS/2 
  9327. sessions, replaceable parameters can also be set on the command line. You must 
  9328. begin and end the name with a percent sign (%).  For example, suppose you have 
  9329. a batch file that contains multiple occurrences of a file name.  To avoid 
  9330. having to change each occurrence when you want to change the name of the file, 
  9331. you can specify the file name as a replaceable parameter; for example: 
  9332.  
  9333. %MYFILE%
  9334.  
  9335. To set %MYFILE% to a specific file name, include a SET command in your batch 
  9336. file: 
  9337.  
  9338. SET MYFILE=SAMPLE.ABC
  9339.  
  9340. After the batch processor interprets the SET command, it changes each 
  9341. occurrence of %MYFILE% it meets in the batch file to SAMPLE.ABC. 
  9342.  
  9343. You can also use names of system variables as replaceable parameters in batch 
  9344. files.  Assume that you have the following replaceable parameter in a batch 
  9345. file: 
  9346.  
  9347. %PATH%
  9348.  
  9349. When the batch processor meets this replaceable parameter, it looks in the 
  9350. environment for the current value of PATH and substitutes that value. 
  9351.  
  9352.  
  9353. ΓòÉΓòÉΓòÉ 4.114.3. Commands That Are System Variables ΓòÉΓòÉΓòÉ
  9354.  
  9355. You can use the SET command to set the value of OS/2 system variables. These 
  9356. system variables for OS/2 sessions are: 
  9357.  
  9358. PATH           Sets a search path for executable files. 
  9359.  
  9360. DPATH          Sets a search path for data files. 
  9361.  
  9362. KEYS           Permits previously issued commands to be retrieved and edited. 
  9363.  
  9364. PROMPT         Sets a new command prompt. 
  9365.  
  9366. The system variables for DOS sessions are: 
  9367.  
  9368. PATH           Sets a search path for executable files. 
  9369.  
  9370. PROMPT         Sets a new command prompt. 
  9371.  
  9372. APPEND         Sets the search path for data files if the APPEND command is 
  9373.                entered with the /E option. 
  9374.  
  9375. The system variables for the Workplace Shell are: 
  9376.  
  9377. USER_INI              Sets the INI file used by the Workplace Shell for system 
  9378.                       information about such items as program defaults, display 
  9379.                       options, and file options. 
  9380.  
  9381. SYSTEM_INI            Sets the INI file used by the Workplace Shell for system 
  9382.                       information about such items as installed fonts and 
  9383.                       printer drivers. 
  9384.  
  9385. OS2_SHELL             Sets the command processor for OS/2 sessions. 
  9386.  
  9387. RESTARTOBJECTS        Sets the objects that will be automatically started by 
  9388.                       the Workplace Shell.  The YES and NO options determine if 
  9389.                       objects running at time of shutdown and objects in the 
  9390.                       Startup folder are to be started.  The STARTUPFOLDERSONLY 
  9391.                       option is used if only objects in the Startup folder are 
  9392.                       to be started.  The REBOOTONLY option is used if objects 
  9393.                       are to be started only when the Workplace Shell is 
  9394.                       started by pressing Ctrl+Alt+Del or turning on the 
  9395.                       computer. 
  9396.  
  9397. AUTOSTART             Sets the parts of the Workplace Shell that are 
  9398.                       automatically started.  Parts of the Workplace Shell that 
  9399.                       are started by default include FOLDERS, PROGRAMS, 
  9400.                       TASKLIST (the Window List), and CONNECTIONS (network 
  9401.                       connections).  Deleting any of these options means that 
  9402.                       the deleted options will be disabled the next time the 
  9403.                       system is started.  For example, deleting the FOLDERS 
  9404.                       option from the AUTOSTART statement means that all 
  9405.                       folders, including the desktop itself, will not start. 
  9406.                       Similarly, deleting the TASKLIST option means that no 
  9407.                       Window List will be displayed.  Deleting the PROGRAMS 
  9408.                       option means that programs, except those in the Startup 
  9409.                       folder, cannot be started from the Workplace Shell even 
  9410.                       if RESTARTOBJECTS=YES.  Deleting CONNECTIONS means that 
  9411.                       network connections will not be started.  Modifying the 
  9412.                       AUTOSTART statement is not recommended for general use. 
  9413.  
  9414. RUNWORKPLACE          Sets the interface that is started by the OS/2 operating 
  9415.                       system.  PMSHELL.EXE is the program for the Workplace 
  9416.                       Shell. 
  9417.  
  9418. The command processor recognizes system variable commands that are entered at 
  9419. the command prompt.  You can also enter the system variables with the SET 
  9420. command.  The SET command is optional at the command prompt for system 
  9421. variables except those for the Workplace Shell.  It is always required when 
  9422. used to set system variables in the CONFIG.SYS file. 
  9423.  
  9424.  
  9425. ΓòÉΓòÉΓòÉ 4.114.4. Replaceable Parameters at the OS/2 Command Prompt ΓòÉΓòÉΓòÉ
  9426.  
  9427. In OS/2 sessions, substitution of replaceable parameter names by their values 
  9428. in the environment can be made at the command prompt. Using this feature of 
  9429. OS/2 2.1, you can append values to the values of system variables already in 
  9430. the environment. For example, assume that your current path to data files is: 
  9431.  
  9432. DPATH
  9433. C:\OS2;C:\OS2\SYSTEM;
  9434. C:\OS2\INSTALL;
  9435.  
  9436. To append a path to the \MYDIR directory on drive C, enter: 
  9437.  
  9438. SET DPATH=%DPATH%;C:\MYDIR;
  9439.  
  9440. Or you can enter: 
  9441.  
  9442. DPATH %DPATH%;C:\MYDIR;
  9443.  
  9444. In both these examples, the C:\MYDIR directory is appended to the current path 
  9445. to data files in the environment of the current OS/2 session.  In this example, 
  9446. assume that your current path ends with a semicolon. If no environment variable 
  9447. exists by the name you specify, no substitution is made.  The system will not 
  9448. generate a message stating that the substitution was not made. 
  9449.  
  9450. The following is the contents of the batch file ADDPATH.BAT or ADDPATH.CMD.  It 
  9451. will append the first parameter to the end of the current path setting: 
  9452.  
  9453. @PATH=%PATH%%1;
  9454.  
  9455.  
  9456. ΓòÉΓòÉΓòÉ <hidden> SET Examples ΓòÉΓòÉΓòÉ
  9457.  
  9458. To display the environment variables for the current mode of operation enter 
  9459. the following: 
  9460.  
  9461. SET
  9462.  
  9463. To set the search path of executable files to null, enter the following: 
  9464.  
  9465. SET PATH=
  9466. The environment will no longer have a PATH value. 
  9467.  
  9468. To set the search path to another value for your environment (such as the APPS 
  9469. subdirectory on drive C), enter the following: 
  9470.  
  9471. SET PATH=C:\APPS
  9472.  
  9473. To avoid having to change the file name for each occurrence when you want to 
  9474. change the name of the file, you can specify the file name as a replaceable 
  9475. parameter as in the following: 
  9476.  
  9477. %THEFILE%
  9478.  
  9479. To set %THEFILE% to a specific file name, include a SET command in your batch 
  9480. file as follows: 
  9481.  
  9482. SET THEFILE=EXAMPLE.ABC
  9483.  
  9484. After the batch processor interprets the SET command, it changes each 
  9485. occurrence of %THEFILE% it finds in the batch file to EXAMPLE.ABC. 
  9486.  
  9487. To use the name of a system variable such as PATH as a replaceable parameter in 
  9488. a batch file to substitute the current value of PATH, type the following 
  9489. replaceable parameter in your batch file: 
  9490.  
  9491. %PATH%
  9492.  
  9493.  
  9494. ΓòÉΓòÉΓòÉ <hidden> SET Examples ΓòÉΓòÉΓòÉ
  9495.  
  9496. Below are examples of how SET can be used to set the environment variables in 
  9497. your CONFIG.SYS file. 
  9498.  
  9499. SET COMSPEC=C:\OS2\CMD.EXE
  9500. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\UTILS;C:\TOOLS;
  9501. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\UTILS;C:\TOOLS;
  9502. SET PROMPT=$i[$p]
  9503. SET HELP=C:\OS2\HELP
  9504. SET BOOKSHELF=C:\OS2\BOOK
  9505. SET TOOLS=C:\WORDPROC
  9506. SET TOOLS=C:\SPELCHK
  9507. SET KEYS=ON
  9508. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,CONNECTIONS
  9509. SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  9510.  
  9511.  
  9512. ΓòÉΓòÉΓòÉ 4.115. SETBOOT - Sets Up the Boot Manager ΓòÉΓòÉΓòÉ
  9513.  
  9514. Provides the ability to set up the Boot Manager for a hard disk. 
  9515.  
  9516. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ SETBOOT ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  9517.       Γöö drive Γöÿ Γöö path Γöÿ           Γö£ΓöÇΓöÇ /T:x ΓöÇΓöÇΓöÇΓöñ
  9518.                                    Γö£ΓöÇΓöÇ /T:NO ΓöÇΓöÇΓöñ
  9519.                                    Γö£ΓöÇΓöÇ /M:m ΓöÇΓöÇΓöÇΓöñ
  9520.                                    Γö£ΓöÇΓöÇΓöÇ/Q ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9521.                                    Γö£ΓöÇΓöÇΓöÇ/B ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9522.                                    Γö£ΓöÇ  IBA:n ΓöÇΓöÇΓöñ
  9523.                                    Γö£ΓöÇ  IBD:d ΓöÇΓöÇΓöñ
  9524.                                    Γö£ΓöÇΓöÇ /X:x ΓöÇΓöÇΓöÇΓöñ
  9525.                                    ΓööΓöÇ /N:name ΓöÇΓöÿ
  9526.  
  9527. Related Commands: FDISK   Related Information: Hard Disk Information 
  9528.  
  9529. The SETBOOT utility program helps you to set up the Boot Manager.  It allows 
  9530. you to enter parameters at the command prompt that enable you to take full 
  9531. advantage of the Boot Manager.  The Boot Manager can operate in attended or 
  9532. unattended mode.  In attended mode, the Boot Manager displays a list of 
  9533. startable systems which enables you to select the system to be started. 
  9534.  
  9535. The system index determines the mode.  A value of 0 indicates attended mode. 
  9536. Any value above 0 indicates unattended mode.  Unattended mode means that you 
  9537. can construct a fallback startup sequence.  This means that each time you start 
  9538. the computer, the system index is decreased by 1 if the previous value was 
  9539. greater than 1.  When the current system index reaches 1, it remains there 
  9540. until reset by the SETBOOT command.  Type the following command to display the 
  9541. SETBOOT parameters that you can use: 
  9542.  
  9543. SETBOOT /option:parameters
  9544.  
  9545.  
  9546. ΓòÉΓòÉΓòÉ <hidden> SETBOOT Examples ΓòÉΓòÉΓòÉ
  9547.  
  9548. To set the startup selection timer to 15 seconds, type the following: 
  9549.  
  9550. SETBOOT /T:15
  9551.  
  9552. To disable the startup selection timer, type the following: 
  9553.  
  9554. SETBOOT /T:NO
  9555.  
  9556. To set the normal mode for the Boot Manager menu, type the following: 
  9557.  
  9558. SETBOOT /M:n
  9559.  
  9560. To set the Boot Manager menu to advanced mode, type the following: 
  9561.  
  9562. SETBOOT /M:a
  9563.  
  9564. To query the current startup environment, type the following: 
  9565.  
  9566. SETBOOT /Q
  9567.  
  9568. To shutdown the file system buffers and caches and then restart the system, 
  9569. type the following: 
  9570.  
  9571. SETBOOT /B
  9572.  
  9573. To set the startup index to put the Boot Manager in attended mode, type the 
  9574. following: 
  9575.  
  9576. SETBOOT /X:0
  9577.  
  9578. To set the startup index to put the Boot Manager in unattended mode, type the 
  9579. following: 
  9580.  
  9581. SETBOOT /X:3
  9582.  
  9583. To specify the logical drive with the alias MYSYSTEM as the default operating 
  9584. system to be started, type the following: 
  9585.  
  9586. SETBOOT /0:MYSYSTEM
  9587.  
  9588.  
  9589. ΓòÉΓòÉΓòÉ 4.116. SETLOCAL - Define Local Variables ΓòÉΓòÉΓòÉ
  9590.  
  9591. Lets you define the drive, directory, and environment variables that are local 
  9592. to the current batch file. 
  9593.  
  9594. SETLOCAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9595.  
  9596. Related Commands:  ENDLOCAL 
  9597.  
  9598. This command saves the current drive, directory, and environment variables and 
  9599. lets you define local variables for the batch file. The previous drive, 
  9600. directory, and environment settings are restored when the ENDLOCAL command is 
  9601. encountered, or when the batch file ends. 
  9602.  
  9603. If a matching ENDLOCAL command is not found, the saved elements are restored 
  9604. when the processing of the batch file that issued the SETLOCAL command ends. In 
  9605. this way, any environment variable and the current drive and directory can be 
  9606. altered without affecting the command processor. Issuing multiple SETLOCAL 
  9607. commands without matching ENDLOCAL commands is not considered an error. 
  9608.  
  9609.  
  9610. ΓòÉΓòÉΓòÉ <hidden> SETLOCAL Examples ΓòÉΓòÉΓòÉ
  9611.  
  9612. To define the path of PATH A:\;A:\MICSPGM within a batch file and restore the 
  9613. previous drive, directory, and environment settings when the processing of the 
  9614. batch file ends, type the following: 
  9615.  
  9616.  .
  9617.  .
  9618.  .
  9619. SETLOCAL
  9620. A:
  9621. CD\XYZ
  9622. PATH A:\;A:\MICSPGM
  9623.  .
  9624.  .
  9625. ENDLOCAL
  9626.  
  9627.  
  9628. ΓòÉΓòÉΓòÉ 4.117. SHELL - Install a Command Processor ΓòÉΓòÉΓòÉ
  9629.  
  9630. Loads and starts the DOS command processor, COMMAND.COM, or allows you to 
  9631. replace the DOS command processor with another command processor. 
  9632.  
  9633. SHELL = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9634.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  9635.  
  9636. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9637.             ΓööΓöÇ arguments ΓöÇΓöÿ
  9638.  
  9639. Type this command in the CONFIG.SYS file; do not enter this command at a DOS 
  9640. command prompt. 
  9641.  
  9642. Related Commands:  COMMAND, PROTSHELL, and RMSIZE 
  9643.  
  9644. If SHELL is omitted from the CONFIG.SYS file, the default DOS command processor 
  9645. is loaded and started with a /P parameter to retain COMMAND.COM in storage. In 
  9646. addition, SHELL does not affect either the OS/2 SET command, or the SHELL 
  9647. command in BASIC. 
  9648.  
  9649. Also, remember that if you are using a DOS command processor other than 
  9650. COMMAND.COM, internal commands and the batch processor are not available to you 
  9651. unless they are duplicated in your command processor. 
  9652.  
  9653.  
  9654. ΓòÉΓòÉΓòÉ <hidden> SHELL Examples ΓòÉΓòÉΓòÉ
  9655.  
  9656. To install COMMAND.COM as the command processor, type the following in the 
  9657. CONFIG.SYS file: 
  9658.  
  9659. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  9660.  
  9661. If you specify a SHELL statement that contains a file specification other than 
  9662. the default, set the COMSPEC environment variable to the same file 
  9663. specification when a DOS session is started.  For example, if you have a 
  9664. command processor named DOSPROC.COM in a DOSPGMS subdirectory, you can place 
  9665. the following SET command in your AUTOEXEC.BAT file: 
  9666.  
  9667. SET COMSPEC=C:\DOSPGMS\DOSPROC.COM
  9668.  
  9669.  
  9670. ΓòÉΓòÉΓòÉ 4.118. SHIFT - Use More Than 10 Replaceable Parameters ΓòÉΓòÉΓòÉ
  9671.  
  9672. Allows command lines to use more than 10 replaceable parameters in batch file 
  9673. processing. 
  9674.  
  9675. SHIFT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9676.  
  9677. It is important to note that: 
  9678.  
  9679. o Command files are limited to handling 10 parameters, %0 through %9, unless 
  9680.   you use the SHIFT command. 
  9681.  
  9682. o All parameters on the command line are shifted one position to the left, the 
  9683.   %1 parameter replacing the %0 parameter, the %2 parameter replacing the %1 
  9684.   parameter, and so on.  Each following shift command causes all the parameters 
  9685.   to be shifted to the left by one position. 
  9686.  
  9687. o There is no backward shift.  Once SHIFT is run, the %0 parameter that existed 
  9688.   before the shift cannot be recovered. 
  9689.  
  9690. As an example, assume: 
  9691.  
  9692. %0 = 'A'
  9693. %1 = 'B'
  9694. %2 = 'C'
  9695. %3 - %9 are empty
  9696.  
  9697. A SHIFT results in the following: 
  9698.  
  9699. %0 = 'B'
  9700. %1 = 'C'
  9701. %2 - %9 are empty
  9702.  
  9703.  
  9704. ΓòÉΓòÉΓòÉ <hidden> SHIFT Examples ΓòÉΓòÉΓòÉ
  9705.  
  9706. To shift the parameters on the command line one position to the left, with the 
  9707. %0 parameter being replaced by the %1 parameter and so on, type the following 
  9708. in your batch file. 
  9709.  
  9710. ECHO %0
  9711. .
  9712. .
  9713. .
  9714. ECHO %8
  9715. SHIFT
  9716. ECHO %9
  9717. .
  9718. .
  9719. .
  9720.  
  9721. As an example, assume: 
  9722.  
  9723. %0 = 'round'
  9724. %1 = 'square'
  9725. %2 = 'flat'
  9726. %3 - %9 are empty
  9727.  
  9728. A SHIFT results in the following: 
  9729.  
  9730. %0 = 'square'
  9731. %1 = 'flat'
  9732. %2 - %9 are empty
  9733.  
  9734. In the following batch file named PROCESS.CMD, you could use a file such as 
  9735. this to call other processes and call on more than the 10 (%0 through %9) 
  9736. variables that only batch-file processing allows.  The file will process the 
  9737. first batch file specified, and the SHIFT command will then move to the next 
  9738. specified batch file.  This allows you to specify the files to be processed in 
  9739. any order that you want as well as vary the number of files to be processed. 
  9740.  
  9741. @ECHO OFF
  9742. :CHECK
  9743. IF "%1" == "" GOTO DONE
  9744.  
  9745. ECHO PROCESSING THE FILE %1
  9746. CALL %1
  9747. SHIFT
  9748. GOTO CHECK
  9749.  
  9750. :DONE
  9751. ECHO PROCESSING COMPLETED
  9752.  
  9753. To process three files named FILE1, FILE6, and FILE2 using the batch file in 
  9754. the previous example, enter the following at the command line: 
  9755.  
  9756. PROCESS FILE1 FILE6 FILE2
  9757.  
  9758. The SHIFT results in the following: 
  9759.  
  9760. PROCESSING THE FILE FILE1
  9761. (output of file1 if there is any...)
  9762. PROCESSING THE FILE FILE6
  9763. (output of file6 if there is any...)
  9764. PROCESSING THE FILE FILE2
  9765. (output of file2 if there is any...)
  9766. PROCESSING COMPLETED
  9767.  
  9768.  
  9769. ΓòÉΓòÉΓòÉ 4.119. SORT - Sort Information by Letter or Number ΓòÉΓòÉΓòÉ
  9770.  
  9771. Reads data from standard input, sorts the data, and writes it to standard 
  9772. output. 
  9773.  
  9774. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ SORT ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  9775.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ /R ΓöÇΓöÿ    ΓööΓöÇ /+n ΓöÇΓöÿ
  9776.  
  9777. Related Commands:  CODEPAGE, COUNTRY 
  9778.  
  9779. It is important to remember that: 
  9780.  
  9781. o When you are sorting large files, you might have to wait a few minutes until 
  9782.   processing is completed.  The maximum size of a file you can sort is 
  9783.   approximately 63KB, or 64 512 bytes. 
  9784.  
  9785. o The standard input and output devices cannot be redirected to the same file 
  9786.   name. 
  9787.  
  9788. o Characters are sorted according to their ASCII values, with the following 
  9789.   exceptions: lowercase letters (a - z) are equated to uppercase letters (A - 
  9790.   Z), and characters above ASCII value 127 are sorted according to rules based 
  9791.   on the currently selected country code. 
  9792.  
  9793. Note that the word sort means to rearrange lines of text according to specific 
  9794. instructions.  Use SORT if you want to arrange a file in alphabetic or numeric 
  9795. sequence.  For example, you could use SORT to alphabetize applicant names or 
  9796. number a schedule according to dates. 
  9797.  
  9798. Return Codes:  SORT issues a return code of 0 for normal completion. 
  9799.  
  9800.  
  9801. ΓòÉΓòÉΓòÉ <hidden> SORT Examples ΓòÉΓòÉΓòÉ
  9802.  
  9803. To sort a file named BOOK1 in reverse order and write the output to a file 
  9804. named REV, enter the following: 
  9805.  
  9806. SORT /R <BOOK1 >REV
  9807.  
  9808. To sort a file named BOOK1 starting at column 1, and send the output to your 
  9809. screen, enter the following: 
  9810.  
  9811. SORT <BOOK1
  9812.  
  9813. To sort a file named CALENDAR.88, starting at column 7, type the following: 
  9814.  
  9815. SORT /+7 <CALENDAR.88
  9816.  
  9817. To direct the output of DIR to SORT, sort the listing starting with the 25th 
  9818. column, and send the output to your screen, enter the following: 
  9819.  
  9820. DIR | SORT /+25
  9821.  
  9822. To cause the output listing from DIR to be used by SORT as its input, redirect 
  9823. the output to your screen, and pause after each screen with the message 
  9824. --More--, enter the following: 
  9825.  
  9826. DIR | SORT | MORE
  9827.  
  9828.  
  9829. ΓòÉΓòÉΓòÉ 4.120. SPOOL - Print Redirection ΓòÉΓòÉΓòÉ
  9830.  
  9831. Redirects printer output from one device to another, for example, from one 
  9832. parallel printer to another, or from a parallel printer to a serial printer. 
  9833.  
  9834.                                        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  9835.                                                       Γöé
  9836. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ SPOOL ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γö¼ΓöÇΓöÇΓöÇΓöñ
  9837.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γöé Γö£ΓöÇ /D:device ΓöÇΓöñ Γöé
  9838.                                       Γöé ΓööΓöÇ /O:device ΓöÇΓöÿ Γöé
  9839.                                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /Q ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9840.  
  9841. Related Commands:  DEVICE, CODEPAGE, and PRINT 
  9842.  
  9843. The Base Asynchronous Communications device driver supports COM1 through COM4. 
  9844. For the system to spool to a serial printer, it must load the COM.SYS device 
  9845. driver during system initialization. This requires a DEVICE statement in your 
  9846. CONFIG.SYS file. 
  9847.  
  9848.  
  9849. ΓòÉΓòÉΓòÉ 4.120.1. Change Serial Printer Settings ΓòÉΓòÉΓòÉ
  9850.  
  9851. When spooling to a serial printer, you may need to issue the MODE command so 
  9852. that the Asynchronous Device Driver works correctly with the serially attached 
  9853. printer. The communications setting used by the Asynchronous Device Driver must 
  9854. match the setting used by the serially attached printer.  Serial settings 
  9855. include such items as the baud rate, the parity, the start and stop bits, and 
  9856. the hardware or software handshaking.  You only need to issue the MODE command 
  9857. if the Presentation Manager* printer driver installed in the spooler does not 
  9858. use the Serial Port settings. The MODE command can be issued before or after 
  9859. starting SPOOL. 
  9860.  
  9861. The recommended way is to change the communications settings using the Serial 
  9862. Port Settings window.  To do this, do the following: 
  9863.  
  9864.  1. Display the pop-up menu for your printer object by clicking mouse button 2 
  9865.     on the object. 
  9866.  2. Select the arrow to the right of Open. 
  9867.  3. Select Settings. 
  9868.  4. Select the Output tab. 
  9869.  5. Display the menu for the COM port to which your serial printer is attached. 
  9870.  6. Select the arrow to the right of Open. 
  9871.  7. Select Settings. 
  9872.  8. Determine the communications settings for your serial printer using the 
  9873.     Serial Port Settings window. 
  9874.  
  9875. If you change the communications settings using the MODE command and the Serial 
  9876. Port Settings window, the settings in the window will override the settings set 
  9877. by the MODE command. 
  9878.  
  9879.  
  9880. ΓòÉΓòÉΓòÉ 4.120.2. Start the Spooler ΓòÉΓòÉΓòÉ
  9881.  
  9882. If you have installed a printer on your system, the spooler is automatically 
  9883. enabled by default.  To disable the spooler: 
  9884.  
  9885.  1. Select OS/2 System. 
  9886.  2. Select System Setup. 
  9887.  3. Display the menu for the Spooler object by clicking mouse button 2 on the 
  9888.     object. 
  9889.  4. Select Disable spooler. 
  9890.  
  9891. To enable a previously disabled spooler, follow the above procedure and select 
  9892. Enable spooler from the spooler object menu since this will be the menu choice 
  9893. because the spooler was disabled.  You can also enable the spooler by entering 
  9894. the SPOOL command with no parameters at the OS/2 command prompt. 
  9895.  
  9896.  
  9897. ΓòÉΓòÉΓòÉ 4.120.3. Redirect Printing to a Serial Device ΓòÉΓòÉΓòÉ
  9898.  
  9899. For non-Presentation Manager* (PM) applications and PM applications that use 
  9900. non-PM printing, the spooler supports spooling of data only to parallel devices 
  9901. (PRN, LPT1, LPT2, and LPT3) as input devices. 
  9902.  
  9903. Output devices, on the other hand, can be parallel devices and serial devices 
  9904. COM1, COM2, COM3, and COM4. 
  9905.  
  9906. Before you begin, ensure that your system has serial device support.  You have 
  9907. serial device support when the serial communication parameter settings are 
  9908. displayed after you enter the following command at a DOS or OS/2 command 
  9909. prompt: 
  9910.  
  9911. MODE COM1
  9912.  
  9913. To add serial device support to your system, do the following: 
  9914.  
  9915.  1. Select OS/2 System. 
  9916.  2. Select System Setup. 
  9917.  3. Select Selective Install. 
  9918.  4. On the System Configuration window, select Install support in the Serial 
  9919.     device support field. 
  9920.  5. Follow the instructions in the window and insert the specified OS/2 
  9921.     installation diskettes when requested. 
  9922.  
  9923. Using the SPOOL command, you can redirect parallel printer output to a serial 
  9924. device by specifying a parallel printer as the input device (/D) and a serial 
  9925. printer as the output device (/O). 
  9926.  
  9927. To redirect input from a parallel port to the printer attached to a serial port 
  9928. (for example, COM1), enter the following: 
  9929.  
  9930. SPOOL /D:LPT2 /O:COM1
  9931.  
  9932. To print a file named LETTER on the serial printer you just set up, enter the 
  9933. following: 
  9934.  
  9935. PRINT LETTER /D:LPT2
  9936.  
  9937. To cancel the redirection specified in the previous SPOOL statement, enter the 
  9938. following: 
  9939.  
  9940. SPOOL /D:LPT2 /O:LPT2
  9941.  
  9942.  
  9943. ΓòÉΓòÉΓòÉ 4.120.4. DOS Application Printing Information ΓòÉΓòÉΓòÉ
  9944.  
  9945. The print spooler spools output from a program into a file until it is 
  9946. instructed to close the file and print its contents. Many DOS programs do not 
  9947. contain the instructions required by the print spooler, so output is not 
  9948. printed until the application program ends. 
  9949.  
  9950. If you wish to force printer output for a DOS program, you can do so while you 
  9951. are still interacting with the program by pressing the Ctrl, Alt, and PrtSc 
  9952. keys together.  This causes the temporary spool file to be closed and prepared 
  9953. to print.  Make sure that you wait until the entire file has been sent to the 
  9954. queue by your application program.  Pressing the Ctrl, Alt, and PrtSc keys too 
  9955. soon can cause the print file to split into two separate print files. 
  9956.  
  9957. Another method to force printer output for a DOS application is to set the DOS 
  9958. Settings printer option with the following procedure: 
  9959.  
  9960.  1. Display the pop-up menu for a DOS session by clicking mouse button 2 on a 
  9961.     DOS full-screen or DOS window object. 
  9962.  2. Select the arrow to the right of Open. 
  9963.  3. Select Settings. 
  9964.  4. Select the Session tab. 
  9965.  5. Select the DOS settings pushbutton. 
  9966.  6. Select Print_timeout in the DOS Settings window. 
  9967.  7. Specify the number of seconds to wait after the DOS application completes 
  9968.     printing before the spooler closes the file and begins printing. 
  9969.  
  9970. Setting the number of seconds too small can cause the print file to be split 
  9971. into two separate print files.  This behavior can vary depending on the DOS 
  9972. application that is running.  Many applications print correctly with a small 
  9973. delay.  The printer timeout is set only for applications running in the window 
  9974. in which the option was set. 
  9975.  
  9976.  
  9977. ΓòÉΓòÉΓòÉ 4.120.5. Switch Code Pages for DOS sessions ΓòÉΓòÉΓòÉ
  9978.  
  9979. If you plan to use code-page switching for DOS sessions, you must start the 
  9980. print spooler before selecting a DOS command prompt from the Command Prompts 
  9981. folder. 
  9982.  
  9983.  
  9984. ΓòÉΓòÉΓòÉ <hidden> SPOOL Examples ΓòÉΓòÉΓòÉ
  9985.  
  9986. To start the spooler from the OS/2 command line, enter the following: 
  9987.  
  9988. SPOOL
  9989.  
  9990. To redirect input from a parallel port to the printer attached to a serial port 
  9991. (for example, COM1), enter the following: 
  9992.  
  9993. SPOOL /D:LPT2 /O:COM1
  9994.  
  9995. To print a file named LETTER on the serial printer you just set up, enter the 
  9996. following: 
  9997.  
  9998. PRINT LETTER /D:LPT2
  9999.  
  10000. To cancel the redirection specified in the previous SPOOL statement, enter the 
  10001. following: 
  10002.  
  10003. SPOOL /D:LPT2 /O:LPT2
  10004.  
  10005. To query existing device redirection, enter the following: 
  10006.  
  10007. SPOOL /Q
  10008.  
  10009.  
  10010. ΓòÉΓòÉΓòÉ 4.121. START - Start Programs Automatically ΓòÉΓòÉΓòÉ
  10011.  
  10012. Starts an OS/2 program in another session. 
  10013.  
  10014. The primary use for START is to automatically start programs at system startup. 
  10015. The special batch file, STARTUP.CMD, allows you to do this. 
  10016.  
  10017. To imbed redirectional signals into the command session, enclose the command 
  10018. and command inputs in quotation marks. 
  10019.  
  10020. START ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10021.         Γöé "program  Γöé      Γö£ΓöÇΓöÇ /K ΓöÇΓöÇΓöñ      Γö£ΓöÇΓöÇ /F ΓöÇΓöÇΓöñ
  10022.         ΓööΓöÇ title"  ΓöÇΓöÿ      Γö£ΓöÇΓöÇ /C ΓöÇΓöÇΓöñ      ΓööΓöÇΓöÇ /B ΓöÇΓöÇΓöÿ
  10023.                            ΓööΓöÇΓöÇ /N ΓöÇΓöÇΓöÿ
  10024.  
  10025. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10026.          ΓööΓöÇ /PGM ΓöÇΓöÿ        Γö£ΓöÇ /FS  ΓöÇΓöñ      Γö£ΓöÇ /MAX ΓöÇΓöñ
  10027.                            Γö£ΓöÇ /WIN ΓöÇΓöñ      ΓööΓöÇ /MIN ΓöÇΓöÿ
  10028.                            Γö£ΓöÇ /PM  ΓöÇΓöñ
  10029.                            ΓööΓöÇ /DOS ΓöÇΓöÿ
  10030.  
  10031. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10032.           ΓööΓöÇ /I ΓöÇΓöÿ                     Γöé   command   Γöé
  10033.                                        ΓööΓöÇΓöÇ inputs  ΓöÇΓöÇΓöÿ
  10034.  
  10035. Related Commands:  RUN 
  10036.  
  10037. Enter this command without a parameter to start an OS/2 command processor. 
  10038.  
  10039. If you use the /WIN, /FS, or /PM parameter, your program runs in the foreground 
  10040. session.  If you do not use one of these parameters, you can use the /F 
  10041. parameter to make the program run in the foreground session. 
  10042.  
  10043. Make sure that you specify the correct drive and path when you use the START 
  10044. command to run a batch file with the STARTUP.CMD file.  Also, if you plan to 
  10045. redirect I/O using the START command, enclose the command and command inputs 
  10046. within quotation marks. 
  10047.  
  10048. You can use START to run full-screen applications or applications running in a 
  10049. window such as Presentation Manager* programs. 
  10050.  
  10051. START determines the type of application and will run it in the appropriate 
  10052. window or full-screen session.  However, you have the option to override the 
  10053. determined default by using the /FS, /WIN, /PM, or /I parameter. 
  10054.  
  10055. You cannot start a batch file (.CMD) with the /PM parameter. 
  10056.  
  10057.  
  10058. ΓòÉΓòÉΓòÉ <hidden> START Examples ΓòÉΓòÉΓòÉ
  10059.  
  10060. To start XCOPY directly without invoking the CMD.EXE command processor, copy 
  10061. the complete contents of the root directory on drive C to drive A, and display 
  10062. XCOPY C-A as the program title, type the following: 
  10063.  
  10064. START "XCOPY C-A" /N XCOPY C:\ A:
  10065.  
  10066. To run the XCOPY command in the foreground session, enter the following: 
  10067.  
  10068. START "XCOPY C-A" /F XCOPY C:\ A:\
  10069.  
  10070. To start MY EDITOR without specifying a title, enter the following: 
  10071.  
  10072. START /PGM "MY EDITOR"
  10073.  
  10074. To start MY EDITOR and give it a title, enter the following: 
  10075.  
  10076. START "MY FAVORITE EDITOR" /PGM "MY EDITOR"
  10077.  
  10078. The name MY FAVORITE EDITOR would appear on the Window List, rather than the 
  10079. name of the program, MY EDITOR. 
  10080.  
  10081. If the /PGM parameter is not used, START interprets the first quoted string as 
  10082. the name of a user-supplied title, and the second quoted string as the command 
  10083. to be passed to another session which is running CMD.EXE. 
  10084.  
  10085. To start the XCOPY command in a full-screen session and copy the files from 
  10086. drive A to drive B, enter the following: 
  10087.  
  10088. START "XCOPY A-B" /FS XCOPY A:\ B:
  10089.  
  10090. To start a batch file named CRAYON.CMD in an OS/2 window session, enter the 
  10091. following: 
  10092.  
  10093. START /WIN CRAYON.CMD
  10094.  
  10095. To start a batch file named MYFILE.BAT in a DOS window session, enter the 
  10096. following: 
  10097.  
  10098. START /WIN MYFILE.BAT
  10099.  
  10100. To start the CRAYON.EXE program to run as a Presentation Manager* program, 
  10101. enter the following: 
  10102.  
  10103. START "CRAYON GAME" /PM CRAYON.EXE
  10104.  
  10105. To start the XCOPY command in a background session, enter the following: 
  10106.  
  10107. START "XCOPY C-A" /B XCOPY C:\ A:\
  10108.  
  10109. To start the ACCT.EXE program to run as a full-screen program and cause the new 
  10110. session to inherit the environment defined by the SET statements in the 
  10111. CONFIG.SYS file, enter the following: 
  10112.  
  10113. START "ACCOUNT" /FS /I ACCT.EXE
  10114.  From a DOS Command Prompt: 
  10115.  
  10116. To start a COMMAND.COM session, enter the following: 
  10117.  
  10118. START /DOS
  10119.  
  10120. To start a COMMAND.COM session in a window, enter the following: 
  10121.  
  10122. START /WIN /DOS
  10123.  
  10124. To start a full-screen COMMAND.COM session, enter the following: 
  10125.  
  10126. START /FS /DOS
  10127.  From an OS/2 Command Prompt: 
  10128.  
  10129. To start a Presentation Manager or any window application in a maximized state, 
  10130. enter the following: 
  10131.  
  10132. START /MAX
  10133.  
  10134. To start a Presentation Manager or any window application in a minimized (icon) 
  10135. state, enter the following: 
  10136.  
  10137. START /MIN
  10138.  
  10139. To start XCOPY in a new OS/2 session, copy the complete contents of the root 
  10140. directory on drive C to the root directory on drive A, and display XCOPY C-A as 
  10141. the program title, enter the following: 
  10142.  
  10143. START "XCOPY C-A" XCOPY C:\ A:\
  10144.  
  10145.  
  10146. ΓòÉΓòÉΓòÉ 4.122. SUBST - Substitute Drives ΓòÉΓòÉΓòÉ
  10147.  
  10148. Substitutes a drive letter for another drive and path so that you can access 
  10149. that drive and path using only the drive letter.  When OS/2 2.1 finds a drive 
  10150. that was created with the SUBST command, it replaces the reference with the new 
  10151. path. 
  10152.  
  10153. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ SUBST ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10154.   ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ
  10155.  
  10156. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10157.       ΓööΓöÇΓöÇ drive ΓöÇΓöÇΓö¼ΓöÇΓöÇ drive\path ΓöÇΓöÇΓöñ
  10158.                   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10159.  
  10160. Related Commands:  ASSIGN and JOIN 
  10161.  
  10162. Enter this command without a parameter to display the names of the 
  10163. substitutions currently in effect on your system. 
  10164.  
  10165. The following commands do not work in DOS sessions on drives that have a SUBST 
  10166. command in effect:  BACKUP, CHKDSK, DISKCOMP, DISKCOPY, FORMAT, LABEL, RECOVER, 
  10167. and RESTORE. 
  10168.  
  10169.  
  10170. ΓòÉΓòÉΓòÉ <hidden> SUBST Examples ΓòÉΓòÉΓòÉ
  10171.  
  10172. To substitute the drive letter G for the path C:\OS2\OS2.DTP, enter the 
  10173. following: 
  10174.  
  10175. SUBST G: C:\OS2\OS2.DTP
  10176.  
  10177. You can now enter DIR G: instead of entering DIR C:\OS2\OS2.DTP. 
  10178.  
  10179. To delete substitutions currently in effect on drive G, enter the following: 
  10180.  
  10181. SUBST G: /D
  10182.  
  10183.  
  10184. ΓòÉΓòÉΓòÉ 4.123. SWAPPATH - Specify Swap File ΓòÉΓòÉΓòÉ
  10185.  
  10186. Specifies the size and location of the swap file. 
  10187.  
  10188. SWAPPATH = drive ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10189.                       ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ minfree ΓöÇΓöÿ  ΓööΓöÇ initial ΓöÇΓöÿ
  10190.  
  10191. Related Commands:  MEMMAN 
  10192.  
  10193. The swap file (SWAPPER.DAT) is used to temporarily store data segments that the 
  10194. system has removed from physical memory to satisfy a request for memory.  If 
  10195. moving and swapping are enabled, use this command to specify the location and 
  10196. size of the swap file. 
  10197.  
  10198. You can isolate the swap file in either a subdirectory or a separate partition 
  10199. on a hard disk.  A separate partition is recommended, because the swap file can 
  10200. become quite large.  For example, if the default location for the swap file is 
  10201. drive C, you can direct the swap file to a subdirectory on drive D.  The 
  10202. following examples show the default location and a location in a subdirectory 
  10203. (SWAPPER) that you have created on drive D: 
  10204.  
  10205. The default location is: 
  10206.  
  10207. SWAPPATH=C:\OS2\SYSTEM
  10208.  
  10209. A location in the SWAPPER subdirectory created on drive D is: 
  10210.  
  10211. SWAPPATH=D:\SWAPPER
  10212.  
  10213. Note:   After you have relocated the swap file to a subdirectory or separate 
  10214.         partition, shut down and restart your system, and erase the old swap 
  10215.         file from its previous location. 
  10216.  
  10217. The minfree parameter specifies the minimum free space that can remain on the 
  10218. disk before you receive a warning that the swap file has increased to a size 
  10219. that leaves less than this amount of free space on the disk.  The initial 
  10220. parameter specifies the size of the swap file initially allocated by the 
  10221. operating system at time of installation.  This value is variable and depends 
  10222. on the amount of physical memory in the system. 
  10223.  
  10224. Note:   The minfree value does NOT define the amount of free space on the disk 
  10225.         at any given time because applications could cause less free space to 
  10226.         be available on the disk than what is specified by the minfree value. 
  10227.  
  10228.  
  10229. ΓòÉΓòÉΓòÉ <hidden> SWAPPATH Examples ΓòÉΓòÉΓòÉ
  10230.  
  10231. For swapping to be active, MEMMAN must be in your CONFIG.SYS file as follows: 
  10232.  
  10233. MEMMAN=SWAP
  10234.  
  10235. To store the swap file in the C:\OS2\SYSTEM directory, type the following in 
  10236. the CONFIG.SYS file: 
  10237.  
  10238. SWAPPATH=C:\OS2\SYSTEM
  10239.  
  10240. To store the swap file in the D:\SWAPPER directory on drive D, type the 
  10241. following in the CONFIG.SYS file: 
  10242.  
  10243. SWAPPATH=D:\SWAPPER
  10244.  
  10245. The default SWAPPATH statement for a system with 8MB of physical memory is: 
  10246.  
  10247. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  10248.  
  10249. The default SWAPPATH statement for a system with 12MB of physical memory is: 
  10250.  
  10251. SWAPPATH=C:\OS2\SYSTEM 2048 2048
  10252.  
  10253. To specify 8MB as the initial size of a swap file on a partition with 10MB of 
  10254. free space and a minfree value of 2MB, type the following in the CONFIG.SYS 
  10255. file: 
  10256.  
  10257. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  10258.  
  10259.  
  10260. ΓòÉΓòÉΓòÉ 4.124. SYSLEVEL  - Displaying Operating System Service Level ΓòÉΓòÉΓòÉ
  10261.  
  10262. Displays operating-system service level 
  10263.  
  10264. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ SYSLEVEL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10265.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  10266.  
  10267. This utility program displays the corrective service level of the system. 
  10268.  
  10269. The following message will appear while SYSLEVEL checks the current corrective 
  10270. service level of your system 
  10271.  
  10272. Please wait...
  10273.  
  10274. Once the corrective service level has been determined the following will be 
  10275. displayed on your monitor. 
  10276.  
  10277. C:\OS2\INSTALL\SYSLEVEL.OS2
  10278. IBM OS/2 Base Operating System
  10279. Version 2.10     Component ID 562107701
  10280. Type 0
  10281. Current CSD level: XR00000
  10282. Prior   CSD level: XR00000
  10283.  
  10284. An example of the information displayed and an explanation of the displayed 
  10285. items follows: 
  10286.  
  10287. o C:\OS2\INSTALL\SYSLEVEL.OS2 
  10288.  
  10289.    - The subdirectory and file containing the information. 
  10290.  
  10291. o IBM OS/2 Base Operating System 
  10292.  
  10293.    - The system name. 
  10294.  
  10295. o Version 2.10, Component ID: 
  10296.  
  10297.    - The version, release, and modification number, followed by the Component 
  10298.      ID of the system. 
  10299.  
  10300. o Current CSD Level: nnnnnnn 
  10301.  
  10302.    - The current corrective service level. 
  10303.  
  10304. o Prior CSD Level: nnnnnnn 
  10305.  
  10306.    - The prior corrective service level. 
  10307.  
  10308.  
  10309. ΓòÉΓòÉΓòÉ <hidden> SYSLEVEL Examples ΓòÉΓòÉΓòÉ
  10310.  
  10311. To run the SYSLEVEL utility program enter the following: 
  10312.  
  10313. SYSLEVEL
  10314.  
  10315.  
  10316. ΓòÉΓòÉΓòÉ 4.125. SYSLOG - System Log File Formatter ΓòÉΓòÉΓòÉ
  10317.  
  10318. Allows you to view or print the formatted contents of the system error-log 
  10319. file. 
  10320.  
  10321. SYSLOG ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10322.             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10323.             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10324.             ΓööΓö¼ΓöÇ /P:pathname ΓöÇΓö¼Γöÿ
  10325.              ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /W:x ΓöÇΓöÇΓöÇΓöÇΓöÿ
  10326.  
  10327. Related Commands: DEVICE (LOG.SYS), RUN (LOGGING) 
  10328.  
  10329. You can enter this command with parameters to do the following: 
  10330.  
  10331. o Suspend system error logging 
  10332. o Resume system error logging 
  10333. o Redirect error logging data from one file to another. 
  10334. o Specify the size of an error-log file. 
  10335.  
  10336. If you enter the SYSLOG command with no parameters, the SYSLOG utility program 
  10337. is started. 
  10338.  
  10339. SYSLOG is a Presentation Manager* application that runs in a window.  You can 
  10340. use SYSLOG to suspend or resume error logging, format the contents of error-log 
  10341. files, print the contents of those log files, or redirect error logging to a 
  10342. different file. 
  10343.  
  10344.  
  10345. ΓòÉΓòÉΓòÉ <hidden> SYSLOG Examples ΓòÉΓòÉΓòÉ
  10346.  
  10347. To display the SYSLOG utility program, enter the following: 
  10348.  
  10349. SYSLOG
  10350.  
  10351. To suspend error logging, type the following: 
  10352.  
  10353. SYSLOG /S
  10354.  
  10355. To resume error logging, type the following: 
  10356.  
  10357. SYSLOG /R
  10358.  
  10359. To redirect the current error-log file to the file LOG0001.DAT in the path 
  10360. C:\OS2\SYSTEM, type the following: 
  10361.  
  10362. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT
  10363.  
  10364. To set the size of a new error-log file named LOG0001.DAT, with the path 
  10365. C:\OS2\SYSTEM, to 32KB, type the following: 
  10366.  
  10367. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  10368.  
  10369.  
  10370. ΓòÉΓòÉΓòÉ 4.126. THREADS - Set Number of Independent Actions ΓòÉΓòÉΓòÉ
  10371.  
  10372. Sets the maximum number of independent actions, known as threads, for OS/2 
  10373. sessions. 
  10374.  
  10375. THREADS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10376.  
  10377. Related Commands: MAXWAIT, PRIORITY, TIMESLICE 
  10378.  
  10379. Applications consist of a series of instructions.  The processor reads each 
  10380. instruction and performs the associated activity.  The sequential execution of 
  10381. the instructions by the processor is called the thread of execution.  More than 
  10382. one thread of execution can exist within a single process.  Typically, OS/2 
  10383. applications contain many threads. 
  10384.  
  10385. Several threads can be ready to execute at the same time, but only one thread 
  10386. at a time can have access to the processor.  Access to the processor is managed 
  10387. by the system scheduler, which assigns each thread a priority.  The thread that 
  10388. has the highest priority, and that is ready to run, is allocated to the 
  10389. processor.  For example, if a thread is being processed, and another thread 
  10390. with a higher priority becomes ready to run, the system stops processing the 
  10391. thread with the lower priority and allocates the processor to the thread with 
  10392. the higher priority.  That thread is processed until it relinquishes control of 
  10393. the processor or until a thread of higher priority is ready to run. 
  10394.  
  10395. The system supports a maximum of 4095 threads, which it allocates to itself and 
  10396. the applications running on it.  Reducing the number of threads while running 
  10397. complex applications or system extensions, can force activities that COULD be 
  10398. performed concurrently, to be performed serially, thus slowing performance.  If 
  10399. no THREADS statement is in the CONFIG.SYS file, the default number of threads 
  10400. is 64. 
  10401.  
  10402.  
  10403. ΓòÉΓòÉΓòÉ <hidden> THREADS Examples ΓòÉΓòÉΓòÉ
  10404.  
  10405. To have the system handle up to 512 active threads, type the following in the 
  10406. CONFIG.SYS file: 
  10407.  
  10408. THREADS=512
  10409.  
  10410. If no THREADS statement is in the CONFIG.SYS file, the system defaults to a 
  10411. value of 64. 
  10412.  
  10413.  
  10414. ΓòÉΓòÉΓòÉ 4.127. TIME - Set System Time ΓòÉΓòÉΓòÉ
  10415.  
  10416. Displays or changes the time known to the system and resets the time on your 
  10417. computer's clock. This time is recorded in the directory when you create or 
  10418. change a file. 
  10419.  
  10420. TIME ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10421.        ΓööΓöÇ hh ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10422.               ΓööΓöÇ :mm ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10423.                       ΓööΓöÇ :ss ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10424.  
  10425. Related Commands:  COUNTRY, DATE, and PROMPT 
  10426.  
  10427. Enter this command without a parameter to display the system time and be 
  10428. prompted about changing it. 
  10429.  
  10430. Specify time in hours and minutes, using a 24-hour clock (military time), 
  10431. separated by a colon or period.  You can also add the seconds and hundredths of 
  10432. a second separated by a period or a comma, depending on the decimal separator 
  10433. shown on your screen. 
  10434.  
  10435. Note:   If you do not enter a valid time, the system displays an error message. 
  10436.         Also, as with the DATE command format, you can change the TIME 
  10437.         separators by editing the COUNTRY statement in your CONFIG.SYS file. 
  10438.  
  10439.  
  10440. ΓòÉΓòÉΓòÉ <hidden> TIME Examples ΓòÉΓòÉΓòÉ
  10441.  
  10442. To query the system clock and allow you to update the clock prompted by the 
  10443. system, enter the following: 
  10444.  
  10445. TIME
  10446.  
  10447. To enter or change the time in the system to 6:45 a.m. without being prompted 
  10448. by the system, enter the following: 
  10449.  
  10450. TIME 6:45
  10451.  
  10452. Time Parameters 
  10453.  
  10454. hh    Specifies the hours.  The new hours must be entered using 0 to 23 only. 
  10455.  
  10456. mm    Specifies the minutes. The new minutes must be entered using 0 to 59 
  10457.       only. 
  10458.  
  10459. ss    Specifies the seconds. The new seconds must be entered using 0 to 59 
  10460.       only. 
  10461.  
  10462. cc    Specifies the hundredths of seconds. The new hundredths of seconds must 
  10463.       be entered using 0 to 99 only. 
  10464.  
  10465.  
  10466. ΓòÉΓòÉΓòÉ 4.128. TIMESLICE - Allocate Process Wait Time ΓòÉΓòÉΓòÉ
  10467.  
  10468. Sets the minimum and maximum amount of processor time allocated to processes 
  10469. and programs for both OS/2 and DOS sessions. 
  10470.  
  10471. TIMESLICE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10472.                                  ΓööΓöÇ ,y ΓöÇΓöÿ
  10473.  
  10474. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  10475. command prompt. 
  10476.  
  10477. Related Commands:  MAXWAIT, THREADS, PRIORITY 
  10478.  
  10479. Unless a dispatching priority is explicitly defined by an application, the 
  10480. system assigns one to each thread of execution.  The system uses round-robin 
  10481. (that is, time-distribution) time slicing to ensure that threads of equal 
  10482. priority are given equal chances to be processed. 
  10483.  
  10484. The first value (x) in the statement is the minimum amount of time a thread can 
  10485. be processed before yielding the processor to a thread of the same priority 
  10486. level; the second value (y) is the maximum amount of time a thread can be 
  10487. processed before yielding processor time. 
  10488.  
  10489. The default is dynamic time slicing based on system load and paging activity. 
  10490. Dynamic time slicing gives the best performance in all situations. 
  10491.  
  10492.  
  10493. ΓòÉΓòÉΓòÉ <hidden> TIMESLICE Examples ΓòÉΓòÉΓòÉ
  10494.  
  10495. To set the minimum TIMESLICE value to 32 and allow the maximum value to 
  10496. default, type the following in the CONFIG.SYS file: 
  10497.  
  10498. TIMESLICE=32,
  10499.  
  10500. To set the maximum TIMESLICE value to 32 and allow the minimum value to 
  10501. default, type the following in the CONFIG.SYS file: 
  10502.  
  10503. TIMESLICE=,32
  10504.  
  10505. To change the minimum and maximum time slice allowed to 45 milliseconds, type 
  10506. the following in the CONFIG.SYS file: 
  10507.  
  10508. TIMESLICE=45
  10509.  
  10510. This value must be an integer greater than or equal to the default value of 32. 
  10511.  
  10512. To change the maximum time slice allowed to 125 milliseconds to support a 
  10513. communication program, and the minimum time slice to 40 milliseconds, type the 
  10514. following in the CONFIG.SYS file: 
  10515.  
  10516. TIMESLICE=40,125
  10517.  
  10518. Note:   This value must be an integer greater than or equal to the minimum 
  10519.         default value of 32, and less than the maximum default value of 65536. 
  10520.  
  10521. If you do not have a TIMESLICE statement in your CONFIG.SYS file, the minimum 
  10522. and maximum default values are set. 
  10523.  
  10524.  
  10525. ΓòÉΓòÉΓòÉ 4.129. TRACE - Select or Set System Trace ΓòÉΓòÉΓòÉ
  10526.  
  10527.  Selects or sets the tracing of system events. 
  10528.  
  10529. This command is intended to be used with the assistance of your technical 
  10530. coordinator. 
  10531.  
  10532. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ TRACE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ OFF ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  10533.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                    ΓööΓöÇ ON  ΓöÇΓöÿ
  10534.  
  10535. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10536.    Γö£Γö¼ΓöÇΓöÇ major_code_spec ΓöÇΓöÇΓö¼Γöñ    Γöé  Γö£ΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöñ   Γöé
  10537.    ΓöéΓööΓöÇ (minor_code_spec) ΓöÇΓöÿΓöé    Γöé  ΓööΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÿ   Γöé
  10538.    Γö£Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ tdf_spec ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10539.    ΓöéΓö£ΓöÇ (minor_code_spec) ΓöÇΓöñΓöé
  10540.    ΓöéΓööΓöÇ (event_type_spec) ΓöÇΓöÿΓöé
  10541.    Γö£Γö¼ΓöÇΓöÇΓöÇ tdf_keyword ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  10542.    ΓöéΓö£ΓöÇ (minor_code_spec) ΓöÇΓöñΓöé
  10543.    ΓöéΓööΓöÇ (event_type_spec) ΓöÇΓöÿΓöé
  10544.    ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P: ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÿ
  10545.       ΓööΓöÇΓöÇΓöÇ pid_spec ΓöÇΓöÇΓöÇΓöÿ
  10546.  
  10547. To allow system trace in your CONFIG.SYS file: 
  10548.  
  10549. TRACE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ OFF ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10550.                  ΓööΓöÇ ON  ΓöÇΓöÿ            ΓööΓöÇ x ΓöÇΓöÿ     Γöé
  10551.                                  Γöé                 Γöé
  10552.                                  ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10553.  
  10554. Related Commands:  PSTAT, TRACEBUF, and TRACEFMT 
  10555.  
  10556. Related Information:  Trace Point Overview and Trace Definition Files (TDF) 
  10557.  
  10558. The OS/2* operating system processes TRACE statements in the order in which 
  10559. they appear in the CONFIG.SYS file; the effects of the statements are 
  10560. cumulative.  If any part of a statement is incorrect, the OS/2 operating system 
  10561. ignores the statement. 
  10562.  
  10563. If you do not specify TRACE in the CONFIG.SYS file, events are not traced. 
  10564. However, if you have a TRACEBUF statement in CONFIG.SYS, this allocates a trace 
  10565. buffer.  Then, you can trace events by entering the TRACE command at the OS/2 
  10566. command prompt. 
  10567.  
  10568. If TRACE=OFF or TRACE=ON appears in the CONFIG.SYS file without a TRACEBUF 
  10569. statement, the system allocates a 4KB trace buffer. 
  10570.  
  10571. If you do not specify TRACE or TRACEBUF statements in the CONFIG.SYS file, OS/2 
  10572. 2.1 does not allocate a trace buffer and system tracing is not available. 
  10573.  
  10574. The System Trace facility is used to record a sequence of system events, 
  10575. function calls, or data.  The record is usually produced for debugging 
  10576. purposes.  After the trace data is recorded, the System Trace Formatter is used 
  10577. to retrieve it from the system trace buffer and format the data to your 
  10578. display, printer, or file. 
  10579.  
  10580. On request, the OS/2 operating system tracing facility records certain 
  10581. important events in the system and system extensions in a circular buffer. 
  10582.  
  10583. If a system problem can be duplicated without a system failure, the TRACE OFF 
  10584. function allows tracing to be stopped after the problem has been re-created. 
  10585. This allows the state of the trace buffer to be preserved from the time the 
  10586. TRACE OFF command is processed. 
  10587.  
  10588. The tracing mechanism is performance critical; therefore, no statistical 
  10589. processing of recorded data is performed by the tracing routines. 
  10590.  
  10591. Records in the buffer are identified by major and minor codes (you can only 
  10592. specify TRACE by major code in the CONFIG.SYS file).  Some of the data that may 
  10593. be recorded in the circular buffer will include system events such as 
  10594. interrupts and task switches. 
  10595.  
  10596. If you need to use the System Trace facility, your technical coordinator will 
  10597. provide the buffer size.  When the trace is complete, you can use the trace 
  10598. formatter (TRACEFMT) to organize the data into a report.  This helps you 
  10599. isolate causes of problems in the OS/2 system by formatting the information 
  10600. placed in the trace buffer by the Trace facility. 
  10601.  
  10602. An OS/2 enhancement to the Trace utility program allows you to trace a given 
  10603. process or set of processes, so that you can focus on the events of the 
  10604. specified process without intermixing events from other processes in the 
  10605. system.  This reduces the possibility of trace-buffer overflow by minimizing 
  10606. the number of events which are recorded.  Analyzing the formatted trace data is 
  10607. quicker and easier because only events of the specified process are recorded 
  10608. and displayed. 
  10609.  
  10610.  
  10611. ΓòÉΓòÉΓòÉ <hidden> TRACE Examples ΓòÉΓòÉΓòÉ
  10612.  
  10613. To allow system trace, type the following in your CONFIG.SYS file: 
  10614.  
  10615. TRACE=ON
  10616.  
  10617. To prevent system trace, type the following in your CONFIG.SYS file: 
  10618.  
  10619. TRACE=OFF
  10620.  
  10621. or 
  10622.  
  10623. REM TRACE=ON
  10624.  
  10625. If there is no TRACE statement in your CONFIG.SYS file, the default is active 
  10626. and system trace is not allowed (TRACE=OFF). 
  10627.  
  10628. To indicate that a major event code (15) is to be traced, type the following in 
  10629. your CONFIG.SYS file: 
  10630.  
  10631. TRACE=ON 15
  10632.  
  10633.  
  10634. ΓòÉΓòÉΓòÉ <hidden> TRACE Examples ΓòÉΓòÉΓòÉ
  10635.  
  10636. To allow system trace, type the following in your CONFIG.SYS file: 
  10637.  
  10638. TRACE=ON
  10639.  
  10640. The default is system trace is not allowed (TRACE=OFF). 
  10641.  
  10642. To turn all static trace points on, enter the following: 
  10643.  
  10644. TRACE ON
  10645.  
  10646. To turn all static trace points off, enter the following: 
  10647.  
  10648. TRACE OFF
  10649.  
  10650. In dynamic tracing, to trace DOSCALL1 (2, 4, 5, 6, 7, and 8), enter the 
  10651. following: 
  10652.  
  10653. TRACE ON DOSCALL1 (2, 4-8)
  10654.  
  10655. This TRACE command remains in effect until one of the following occurs: 
  10656.  
  10657. o The system is powered off. 
  10658.  
  10659. o The operating system removes the dynamic-link library. 
  10660.  
  10661. o You enter either of the following commands: 
  10662.  
  10663.     TRACE OFF
  10664.  
  10665.   or 
  10666.  
  10667.     TRACE OFF DOSCALL1
  10668.  
  10669.   Notice that the event list is not specified. 
  10670.  
  10671. To activate tracing for all current and future processes, enter the following: 
  10672.  
  10673. TRACE ON /P:ALL
  10674.  
  10675. To specify tracing the process ID (pid) of hexadecimal value 0034, enter the 
  10676. following: 
  10677.  
  10678. TRACE ON /P:34
  10679.  
  10680. To suspend tracing without removing the existing set of trace points, enter the 
  10681. following: 
  10682.  
  10683. TRACE OFF /S
  10684.  
  10685. To resume tracing activity for the currently specified set of trace points, 
  10686. enter the following: 
  10687.  
  10688. TRACE ON /R
  10689.  
  10690. To Clear the trace buffer, enter the following: 
  10691.  
  10692. TRACE OFF /C
  10693.  
  10694.  
  10695. ΓòÉΓòÉΓòÉ 4.130. TRACEBUF - Set Size of Trace Buffer ΓòÉΓòÉΓòÉ
  10696.  
  10697. Sets the size of the trace buffer. This statement is intended to be used with 
  10698. the assistance of your technical coordinator. 
  10699.  
  10700. TRACEBUF= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10701.  
  10702. Related Commands:  TRACE and TRACEFMT 
  10703.  
  10704. TRACEBUF sets the size of the trace buffer in the CONFIG.SYS file.  If any 
  10705. valid TRACE statements are in CONFIG.SYS (including TRACE=OFF), the default 
  10706. size of the trace buffer is 4KB. 
  10707.  
  10708. The x parameter specifies a trace buffer size of up to 63KB.  If you have a 
  10709. TRACEBUF statement without a TRACE statement in the CONFIG.SYS file, the trace 
  10710. buffer size requested is specified and tracing is turned off (the same as if 
  10711. you specify TRACE=OFF). If you need to use the System Trace facility, your 
  10712. technical coordinator will provide the buffer size. 
  10713.  
  10714. If you do not specify a TRACE or TRACEBUF statement in CONFIG.SYS file, OS/2 
  10715. 2.1 does not allocate a trace buffer, and system tracing is not available. 
  10716.  
  10717.  
  10718. ΓòÉΓòÉΓòÉ <hidden> TRACEBUF Examples ΓòÉΓòÉΓòÉ
  10719.  
  10720. To set the size of the trace buffer to 25KB, type the following in the 
  10721. CONFIG.SYS file: 
  10722.  
  10723. TRACEBUF=25
  10724.  
  10725. Specifying a number from 1 through 63, represents a multiple of 1024 bytes. 
  10726.  
  10727. The default is 4KB. 
  10728.  
  10729.  
  10730. ΓòÉΓòÉΓòÉ 4.131. TRACEFMT - Display Formatted Trace Records ΓòÉΓòÉΓòÉ
  10731.  
  10732. Displays formatted trace records in reverse time-stamp order. This command is 
  10733. intended to be used with the assistance of your service coordinator. Your 
  10734. technical coordinator will analyze the formatted data to help diagnose your 
  10735. problem. 
  10736.  
  10737. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ TRACEFMT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10738.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10739.  
  10740. Related Commands:  TRACE and TRACEBUF 
  10741.  
  10742. TRACEFMT works only if you have the TRACE or the TRACEBUF statement in your 
  10743. CONFIG.SYS file. 
  10744.  
  10745. You use the TRACEFMT utility program to format the information placed in the 
  10746. trace buffer by system trace. TRACEFMT is a Presentation Manager* application 
  10747. running in a window. The TRACEFMT application provides choices on the menu bar. 
  10748. From these choices, you can select items that allow you to do the following 
  10749. tasks: 
  10750.  
  10751. o Open a file 
  10752. o Get system trace buffer 
  10753. o Save As 
  10754.  
  10755.    - Save unformatted trace data 
  10756.    - Save formatted trace data 
  10757.    - Save either summary mode (process ID or major code) 
  10758.  
  10759. o Print 
  10760.  
  10761.    - Formatted data 
  10762.    - Either summary mode 
  10763.  
  10764. o View formatted data 
  10765. o View summary by process ID 
  10766. o View summary by major code. 
  10767.  
  10768. Your technical coordinator will analyze the formatted data to help diagnose 
  10769. your problem.  You can use TRACEFMT as many times as required to diagnose a 
  10770. problem without having to restart the system. 
  10771.  
  10772.  
  10773. ΓòÉΓòÉΓòÉ <hidden> TRACEFMT Examples ΓòÉΓòÉΓòÉ
  10774.  
  10775. TRACEFMT is intended to be used as a Presentation Manager utility program. 
  10776.  
  10777. To start the OS/2 System Trace Formatter and display the contents of the system 
  10778. trace buffer when system tracing is available, enter the following: 
  10779.  
  10780. TRACEFMT
  10781.  
  10782. To format a data file named RECORDS that contains unformatted trace data when 
  10783. tracing is not active, enter the following: 
  10784.  
  10785. TRACEFMT RECORDS
  10786.  
  10787.  
  10788. ΓòÉΓòÉΓòÉ 4.132. TREE - Display Directory Structure ΓòÉΓòÉΓòÉ
  10789.  
  10790. Displays all the directory paths found on the specified drive, and optionally 
  10791. lists the files in the root directory and in each subdirectory. 
  10792.  
  10793. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ TREE ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  10794.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ /F ΓöÇΓöÿ
  10795.  
  10796. Related Commands:  CHDIR, DIR, MKDIR, and RMDIR 
  10797.  
  10798. Enter this command without a parameter to display all directory paths found on 
  10799. the current drive. 
  10800.  
  10801. You can also: 
  10802.  
  10803. o Print a directory listing on a printer 
  10804.  
  10805. o Pause a directory listing on a display 
  10806.  
  10807. The display (or output) indents at each subdirectory level and uses block 
  10808. graphics. 
  10809.  
  10810. Return Codes:  TREE issues a return code of 0 for normal completion. 
  10811.  
  10812.  
  10813. ΓòÉΓòÉΓòÉ <hidden> TREE Examples ΓòÉΓòÉΓòÉ
  10814.  
  10815. To list the directory names on drive C, enter the following: 
  10816.  
  10817. TREE C:
  10818.  
  10819. To list the directory paths and the names of all files in the root directory 
  10820. and each subdirectory on drive C, enter the following: 
  10821.  
  10822. TREE C: /F
  10823.  
  10824. To have a directory listing sent to a printer, enter the following: 
  10825.  
  10826. TREE >PRN
  10827.  
  10828. To display directory names on the screen and pause with the message --More-- 
  10829. after a full screen of information appears, enter the following: 
  10830.  
  10831. TREE | MORE
  10832.  
  10833. To create a directory names file called MYTREE, enter the following: 
  10834.  
  10835. TREE > MYTREE
  10836.  
  10837.  
  10838. ΓòÉΓòÉΓòÉ 4.133. TYPE - Display File Contents ΓòÉΓòÉΓòÉ
  10839.  
  10840. Displays the contents of one or more files on the screen. In a DOS session, 
  10841. only one file is displayed. 
  10842.  
  10843. TYPE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  10844.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ                Γöé
  10845.            Γöé                                            Γöé
  10846.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10847.  
  10848. You can also: 
  10849.  
  10850. o Print a file 
  10851. o Pause the display screen while viewing a file 
  10852.  
  10853. You can use TYPE to display ASCII files. Text files appear in a legible format; 
  10854. however, other files, such as object program files, may appear unreadable 
  10855. because of the presence of nonalphabetic or nonnumeric characters. 
  10856.  
  10857. Note that the data is unformatted except that tab characters are expanded to an 
  10858. eight-character boundary (that is, columns 1, 9, 17, 25 and so on).  In an OS/2 
  10859. session, TYPE displays files consecutively on the screen if you specify 
  10860. multiple file names. You can include a drive and path when specifying multiple 
  10861. file names and can also use the global file-name characters * and ? in the file 
  10862. name you specify. 
  10863.  
  10864. In an OS/2 session if multiple files or files with global characters are 
  10865. listed, TYPE precedes the file data with the file name.  A blank line appears 
  10866. before and after each file name.  TYPE writes the file data to Standard Output 
  10867. and writes the file name to Standard Error. For example, to display data in 
  10868. files named FILE1, FILE2, and FILE3 and place the file names in a file named 
  10869. FILE.LST, enter the following: 
  10870.  
  10871. TYPE FILE1 FILE2 FILE3 2> FILE.LST
  10872.  
  10873. To display the file names on the screen and place all the file data in a file 
  10874. named FILE.TXT, enter the following: 
  10875.  
  10876. TYPE FILE1 FILE2 FILE3 > FILE.TXT
  10877.  
  10878. Note:   If you TYPE a text file that is not in the current directory, the 
  10879.         operating system searches the directories in the order that is 
  10880.         specified in your DPATH statement. 
  10881.  
  10882.  
  10883. ΓòÉΓòÉΓòÉ <hidden> TYPE Examples ΓòÉΓòÉΓòÉ
  10884.  
  10885. To display the file FILE1.TXT in the STATUS directory on drive C, enter the 
  10886. following: 
  10887.  
  10888. TYPE C:\STATUS\FILE1.TXT
  10889.  
  10890. To look at a file named CALENDAR in the current directory and have the display 
  10891. pause with the message --More-- after a full screen of information appears, 
  10892. enter the following: 
  10893.  
  10894. TYPE CALENDAR | MORE
  10895.  
  10896. or 
  10897.  
  10898. MORE < CALENDAR
  10899.  
  10900. You can display the contents of more than one file at a time. To display the 
  10901. files FILE1.TXT in the STATUS directory on drive C and FILE2.TXT on drive A, 
  10902. enter the following: 
  10903.  
  10904. TYPE C:\STATUS\FILE1.TXT A:FILE2.TXT
  10905.  
  10906. To display data in files named DATA1, DATA2, and DATA3 and place the file names 
  10907. in a file named DATA.LST, enter the following: 
  10908.  
  10909. TYPE DATA1 DATA2 DATA3 2> DATA.LST
  10910.  
  10911. To display the file names on the screen and place all the file data in a file 
  10912. named DATA.TXT, enter the following: 
  10913.  
  10914. TYPE DATA1 DATA2 DATA3 > DATA.TXT
  10915.  
  10916.  
  10917. ΓòÉΓòÉΓòÉ 4.134. UNDELETE - Recover Deleted or Erased Files ΓòÉΓòÉΓòÉ
  10918.  
  10919. Recovers files that have been deleted or erased. 
  10920.  
  10921. UNDELETE Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10922.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ   ΓööΓöÇfilename ΓöÇΓöÿ
  10923.  
  10924.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  10925.                          Γöé
  10926. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10927.          Γöé  Γö£ΓöÇ /L ΓöÇΓöñ  Γöé
  10928.          Γöé  ΓööΓöÇ /S ΓöÇΓöÿ  Γöé
  10929.          Γö£ΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöñ
  10930.          ΓööΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÿ
  10931.  
  10932. The UNDELETE command provides the capability of recovering files that have been 
  10933. deleted or erased.  UNDELETE is designed to delay the removal of a file, which 
  10934. lets you retrieve a file before it is permanently discarded. 
  10935.  
  10936. The environment variable DELDIR defines the path and maximum size of the 
  10937. directories used to store deleted files.  One such directory is specified for 
  10938. each logical drive on the system.  The DELDIR statement is written in the 
  10939. CONFIG.SYS file as follows: 
  10940.  
  10941. SET DELDIR = drive:\path, maxsize; drive2:\path, maxsize
  10942.  
  10943. The path and maximum size values in KB for each logical drive are separated 
  10944. from each other by a comma; the logical drive names are separated by a 
  10945. semicolon. When the DEL or ERASE command is issued from any session type, the 
  10946. file is copied to the directory specified in the DELDIR statement for that 
  10947. logical drive. 
  10948.  
  10949. If the size of deleted files combined exceeds the maximum size of the specified 
  10950. directory, files are automatically removed from the directory to conform to its 
  10951. maximum size specified in the DELDIR statement.  Files are removed in 
  10952. first-in-first-out (FIFO) order.  To disable storage of deleted files in a 
  10953. directory, remove the directory name from the DELDIR statement. 
  10954.  
  10955. When UNDELETE is specified, if the file is still recoverable, it is reclaimed 
  10956. and restored to its specific path.  If a duplicate file name exists, you are 
  10957. prompted to rename it or it is ignored by the system. 
  10958.  
  10959. UNDELETE can be used in both DOS and OS/2 sessions.  Files that are available 
  10960. for recovery are reported as used bytes on the disk. 
  10961.  
  10962.  
  10963. ΓòÉΓòÉΓòÉ <hidden> UNDELETE Examples ΓòÉΓòÉΓòÉ
  10964.  
  10965. To list deleted files that are available to be recovered without recovering the 
  10966. files, type the following: 
  10967.  
  10968. UNDELETE /L
  10969.  
  10970. To recover all deleted files if they are still present without prompting for 
  10971. confirmation on each file, type the following: 
  10972.  
  10973. UNDELETE /A
  10974.  
  10975. To recover all files in the specified directory and all subdirectories, type 
  10976. the following: 
  10977.  
  10978. UNDELETE /S
  10979.  
  10980. To remove files so they cannot be recovered, type the following: 
  10981.  
  10982. UNDELETE /F
  10983.  
  10984.  
  10985. ΓòÉΓòÉΓòÉ 4.135. UNPACK - Decompress a File ΓòÉΓòÉΓòÉ
  10986.  
  10987. Unpacks (decompresses) compressed files and copies files that are not 
  10988. compressed but are located on the OS/2 installation diskettes.  Compressed 
  10989. files have a @ as the last character in their file name. 
  10990.  
  10991. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ UNPACK ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇ
  10992.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ          ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  10993. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10994.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ    ΓööΓöÇ /V ΓöÇΓöÿΓööΓöÇ /F ΓöÇΓöÿΓööΓöÇ /N:filename ΓöÇΓöÿ
  10995.  
  10996.  
  10997. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ UNPACK ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇ
  10998.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ          ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  10999. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11000.                         ΓööΓöÇ /SHOW ΓöÇΓöÿ
  11001.  
  11002. Do not specify an output file name; UNPACK uses the file name from the original 
  11003. uncompressed file as the destination file name.  It also preserves the date, 
  11004. time, and file attribute of the original uncompressed file. 
  11005.  
  11006. UNPACK copies files that are not compressed and handles file information such 
  11007. as date, time, and file attributes in the same way the COPY command does. 
  11008. Therefore, you can unpack a diskette that contains a combination of compressed 
  11009. and uncompressed files. 
  11010.  
  11011. Return Codes: 
  11012.  
  11013. 0 - Normal completion 
  11014. 1 - No files were found to unpack or copy 
  11015. 2 - Some files or directories were not unpacked or copied due to file errors 
  11016. 3 - Ended by user 
  11017. 4 - Ended due to error 
  11018.  
  11019.  
  11020. ΓòÉΓòÉΓòÉ <hidden> UNPACK Examples ΓòÉΓòÉΓòÉ
  11021.  
  11022. To unpack a compressed file named FORMAT.CO@ from the current directory on 
  11023. drive A to the OS2 directory on drive C, enter the following: 
  11024.  
  11025. UNPACK A:FORMAT.CO@ C:\OS2
  11026.  
  11027. To unpack a compressed file named FORMAT.CO@ from the current drive and 
  11028. directory to the OS2 subdirectory on drive C, enter the following: 
  11029.  
  11030. UNPACK FORMAT.CO@ C:\OS2
  11031.  
  11032. To verify the compressed files on drive A are correctly copied to drive C, 
  11033. enter the following: 
  11034.  
  11035. UNPACK A:\*.* C:\ /V
  11036.  
  11037. To specify that extended attributes should not be discarded when unpacking or 
  11038. copying files from drive A to drive C (when drive C does not support extended 
  11039. attributes because of its file system), enter the following: 
  11040.  
  11041. UNPACK A:\*.* C:\ /F
  11042.  
  11043. To display the destination path and file name for every compressed file in the 
  11044. packed file, BUNDLE.DA@, enter the following: 
  11045.  
  11046. UNPACK BUNDLE.DA@ /SHOW
  11047.  
  11048. To specify the file, FORMAT.CO@, to be extracted and decompressed from a packed 
  11049. file, BUNDLE.DA@, containing multiple compressed files, enter the following: 
  11050.  
  11051. UNPACK BUNDLE.DA@ /N:FORMAT.COM
  11052.  
  11053.  
  11054. ΓòÉΓòÉΓòÉ 4.136. VER - Display OS/2 Version Number ΓòÉΓòÉΓòÉ
  11055.  
  11056. Displays the OS/2 version number. 
  11057.  
  11058. VER ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11059.  
  11060. This command can be entered at either the OS/2 or DOS prompt.  The OS/2 version 
  11061. number is displayed on your screen; for example: 
  11062.  
  11063. The Operating System/2 Version is 2.10
  11064.  
  11065.  
  11066. ΓòÉΓòÉΓòÉ <hidden> VER Examples ΓòÉΓòÉΓòÉ
  11067.  
  11068. To display the OS/2 version number, enter the following: 
  11069.  
  11070. VER
  11071.  
  11072. The version number for the OS/2 operating system is displayed on your screen as 
  11073. follows: 
  11074.  
  11075. The Operating System/2 Version is 2.10
  11076.  
  11077.  
  11078. ΓòÉΓòÉΓòÉ 4.137. VERIFY - Set Data Verification ΓòÉΓòÉΓòÉ
  11079.  
  11080. Confirms that data written to a disk has been written correctly. 
  11081.  
  11082. VERIFY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11083.                        Γö£ΓöÇ ON  ΓöÇΓöñ
  11084.                        ΓööΓöÇ OFF ΓöÇΓöÿ
  11085.  
  11086. Enter this command without a parameter to display the current VERIFY status. 
  11087.  
  11088. You can use the VERIFY command to tell the system to verify that files are 
  11089. written correctly to the disk (for example, no bad sectors).  The system does a 
  11090. VERIFY action each time you write data to a disk.  You receive an error message 
  11091. only if the system is unable to write the data to the disk successfully. 
  11092.  
  11093. When you issue VERIFY ON, verification is done for file system I/O write 
  11094. actions for both hard disks and diskettes on a per session basis. 
  11095.  
  11096. This command has the same purpose as the /V parameter in the COPY and XCOPY 
  11097. commands. 
  11098.  
  11099.  
  11100. ΓòÉΓòÉΓòÉ <hidden> VERIFY Examples ΓòÉΓòÉΓòÉ
  11101.  
  11102. To check the conditional status of VERIFY, enter the following: 
  11103.  
  11104. VERIFY
  11105.  
  11106. To verify that your files are written correctly to the disk, enter the 
  11107. following: 
  11108.  
  11109. VERIFY ON
  11110.  
  11111. To turn VERIFY off, enter the following: 
  11112.  
  11113. VERIFY OFF
  11114.  
  11115. The default is off. 
  11116.  
  11117.  
  11118. ΓòÉΓòÉΓòÉ 4.138. VIEW - Display Online Documents ΓòÉΓòÉΓòÉ
  11119.  
  11120. Displays online documents created with the Information Presentation Facility 
  11121. (IPF) compiler.  VIEW displays IPF files that have a .INF extension. 
  11122.  
  11123. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ VIEW ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  11124.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  11125.  
  11126. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  11127.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ topic ΓöÇΓöÿ
  11128.  
  11129. VIEW displays files that have been compiled by the IPF compiler as online 
  11130. documents having a .INF extension.  VIEW can display the entire file or 
  11131. individual topics that are located in the Contents of the file. 
  11132.  
  11133.  
  11134. ΓòÉΓòÉΓòÉ <hidden> VIEW Examples ΓòÉΓòÉΓòÉ
  11135.  
  11136. To display the CMDREF.INF file that is located in the OS2\BOOK directory on 
  11137. drive C, enter the following: 
  11138.  
  11139. VIEW C:\OS2\BOOK\CMDREF
  11140.  
  11141. To display the Functions topic in the REXX.INF file that is located in the 
  11142. OS2\BOOK directory on drive C, enter the following: 
  11143.  
  11144. VIEW C:\OS2\BOOK\REXX FUNCTIONS
  11145.  
  11146.  
  11147. ΓòÉΓòÉΓòÉ 4.139. VMDISK - Create an Image File of a DOS Startup Diskette ΓòÉΓòÉΓòÉ
  11148.  
  11149. Creates a file that contains the image of a DOS startup diskette.  After 
  11150. creating an image, you can create a DOS session by starting from this image 
  11151. file. 
  11152.  
  11153. VMDISK ΓöÇΓöÇ sourcedrive ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  11154.                         ΓööΓöÇ targetdrive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  11155.  
  11156. Related Commands: FSFILTER, FSACCESS 
  11157.  
  11158. Related Information: Starting a Specific Version of DOS 
  11159.  
  11160. To use VMDISK, you need to make changes to the DOS startup diskette.  Select 
  11161. Starting a Specific Version of DOS in the "Related Information" section above 
  11162. for more information about preparing the DOS startup diskette. 
  11163.  
  11164.  
  11165. ΓòÉΓòÉΓòÉ <hidden> VMDISK Examples ΓòÉΓòÉΓòÉ
  11166.  
  11167. Here are some examples of creating an image file of a DOS startup diskette. 
  11168. These examples assume the diskette is inserted in drive A. 
  11169.  
  11170. To place the image file in the current directory, type the following: 
  11171.  
  11172. VMDISK A: DOS50.IMG
  11173.  
  11174. Note:   The free disk space on the current drive must be greater than the total 
  11175.         capacity of the diskette in drive A. 
  11176.  
  11177. To place the image file in the root directory of drive C, type the following: 
  11178.  
  11179. VMDISK A: C:\DOS33.IMG
  11180.  
  11181. To place the image file in an image file directory on drive D, type the 
  11182. following: 
  11183.  
  11184. VMDISK A: D:OS_IMAGE\DOS33.IMG
  11185.  
  11186.  
  11187. ΓòÉΓòÉΓòÉ <hidden> Starting a Specific Version of DOS ΓòÉΓòÉΓòÉ
  11188.  
  11189. Creating a DOS Startup Diskette 
  11190.  
  11191. Follow these steps to create a DOS startup diskette: 
  11192.  
  11193.  1. Restart the system with a prior DOS version. 
  11194.  
  11195.  2. Format a diskette with the /S option. 
  11196.  
  11197.  3. Copy the DOS version of these files from the hard disk to the diskette: 
  11198.  
  11199.    o CONFIG.SYS 
  11200.    o AUTOEXEC.BAT 
  11201.    o OS2\MDOS\FSFILTER.SYS 
  11202.  
  11203.  4. Edit the CONFIG.SYS and AUTOEXEC.BAT files that were created on the 
  11204.     diskette, following the instructions in the "Modifying the DOS Startup 
  11205.     Diskette" section below. 
  11206.  
  11207.  5. Ensure that all programs and device drivers in the CONFIG.SYS and 
  11208.     AUTOEXEC.BAT files have full drive and path extensions.  The specific 
  11209.     version of DOS will always start from drive A, and DOS will not search 
  11210.     drive C for programs or utilities unless the full drive and path is 
  11211.     specified. 
  11212.  
  11213.  6. Restart the workstation with the OS/2* operating system.  Use the DOS 
  11214.     Settings notebook to select the DOS startup drive setting.  Set its value 
  11215.     to A: and save this change.  You can now use this entry to start the 
  11216.     specific DOS version diskette from drive A. 
  11217.  
  11218. Once you verify that the startup diskette is operating properly, you can create 
  11219. an image file of that diskette on your hard disk using the VMDISK utility. 
  11220.  
  11221. To start a specific version of DOS, you must make changes to the CONFIG.SYS 
  11222. file on the disk or diskette from which DOS will be started.  These changes are 
  11223. needed because a specific version of DOS cannot use the OS/2 file system 
  11224. without making these updates.  The FSFILTER device driver provides access 
  11225. between the DOS and OS/2 file systems. 
  11226.  
  11227. Modifying the DOS Startup Diskette 
  11228.  
  11229. You must modify the CONFIG.SYS and AUTOEXEC.BAT files on the diskette that will 
  11230. be started.  You need to edit the CONFIG.SYS file on the DOS startup diskette 
  11231. by doing the following: 
  11232.  
  11233.  1. Insert the line DEVICE=FSFILTER.SYS before any other DEVICE= statement in 
  11234.     the CONFIG.SYS file.  Make sure to copy the file FSFILTER.SYS from 
  11235.     OS2\MDOS\FSFILTER.SYS to the startup diskette. 
  11236.  
  11237.  2. If any XMS (HIMEM.SYS) or EMS (EMM386.SYS) device driver statements are in 
  11238.     the CONFIG.SYS file, replace them with these statements (assuming the OS/2 
  11239.     operating system is installed on drive C): 
  11240.  
  11241.         DEVICE=C:\OS2\MDOS\HIMEM.SYS
  11242.         DEVICE=C:\OS2\MDOS\EMM386.SYS
  11243.  
  11244.  3. Delete any DEVICE= statement that is loading mouse support.  Mouse support 
  11245.     will be provided by a driver that is loaded when the AUTOEXEC.BAT is 
  11246.     processed. 
  11247.  
  11248.  4. Make sure that any other utilities or programs that are referenced have a 
  11249.     drive and path extension. 
  11250.  
  11251. Make these changes to the AUTOEXEC.BAT file on the startup diskette: 
  11252.  
  11253.  1. If mouse support is needed, add this line to the AUTOEXEC.BAT file. 
  11254.  
  11255.         C:\OS2\MDOS\MOUSE
  11256.  
  11257.     This example assumes that the OS/2 operating system is installed on drive 
  11258.     C. 
  11259.  
  11260.  2. Make sure that any other utilities or programs that are referenced have a 
  11261.     drive and path extension. 
  11262.  
  11263. Information about FSACCESS and FSFILTER 
  11264.  
  11265. The FSFILTER device driver provides access between the DOS and OS/2 file 
  11266. systems. The initial mapping of drives is done automatically.  After the filter 
  11267. is running, the FSACCESS utility can be called to change the drive mappings for 
  11268. that specific DOS session.  Initial drive mappings are determined in the 
  11269. following ways when the filter is started: 
  11270.  
  11271. o Drive A is mapped to DOS only when started from an image file; otherwise, 
  11272.   drive A is mapped to the OS/2 operating system. 
  11273. o Drive B is mapped to the OS/2 operating system. 
  11274. o When FSFILTER is started, all OS/2 defined physical volumes are counted.  DOS 
  11275.   drive letters for these OS/2 drives are allocated in the DOS startup session 
  11276.   and are then mapped to the corresponding OS/2 drives. 
  11277.  
  11278. When a DOS program makes a file-system request, FSFILTER determines what drive 
  11279. is referenced.  If the drive is mapped, the request is sent to the OS/2 file 
  11280. system.  If the drive is not mapped, the request is sent to DOS if DOS 
  11281. recognizes the drive; otherwise it is sent to the OS/2 operating system. 
  11282.  
  11283. Differences in DOS Environments 
  11284.  
  11285. There are some differences among the various DOS environments.  These 
  11286. environments include DOS, DOS sessions in the OS/2 operating system, and 
  11287. specific versions of DOS started from diskette. As noted earlier, when you are 
  11288. starting a specific version of DOS from diskette, DOS mouse, XMS, or EMS driver 
  11289. support must be replaced with the OS/2 version of the driver, supplied in the 
  11290. OS2\MDOS directory. 
  11291.  
  11292. Some of the DOS properties are not processed in a DOS session started from the 
  11293. specific version of DOS.  The ignored DOS properties are those that configure 
  11294. parameters that are controlled by the CONFIG.SYS file on the DOS startup 
  11295. diskette.  These ignored properties include: 
  11296.  
  11297. o BREAK 
  11298. o DOS Device Drivers 
  11299. o DOS Memory Size (KB) 
  11300. o DOS Shell 
  11301. o LASTDRIVE 
  11302. o Simulated DOS Version 
  11303.  
  11304. Other differences include: 
  11305.  
  11306. o FCB values are restricted to the minimum of the two values in the DOS and 
  11307.   OS/2 configuration files. 
  11308. o The EXIT command does not work when issued from the top level prompt in a DOS 
  11309.   session started from a specific version of DOS.  You need to use the EXIT_VDM 
  11310.   command to successfully exit from a DOS session started from a specific 
  11311.   version of DOS. 
  11312. o There is generally less memory available in a DOS session started from a 
  11313.   specific version of DOS. 
  11314. o A DOS session started from a specific version of DOS will not support 
  11315.   extended attributes on logical drives managed by the file system of that 
  11316.   specific version of DOS. 
  11317.  
  11318.  
  11319. ΓòÉΓòÉΓòÉ 4.140. VOL - Display Disk Volume Label ΓòÉΓòÉΓòÉ
  11320.  
  11321. Displays the disk volume label and serial number if they exist. From a DOS 
  11322. command prompt, VOL displays the label for only one disk.  From an OS/2 command 
  11323. prompt, if you specify more than one drive, VOL displays the volume labels 
  11324. consecutively. 
  11325.  
  11326. VOL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11327.                   ΓööΓöÇ drive ΓöÇΓöÿ          Γöé
  11328.               ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  11329.  
  11330. Related Commands:  FORMAT and LABEL 
  11331.  
  11332. Enter this command without a parameter to display the volume label and volume 
  11333. serial number of the current drive. 
  11334.  
  11335.  
  11336. ΓòÉΓòÉΓòÉ <hidden> VOL Examples ΓòÉΓòÉΓòÉ
  11337.  
  11338. To display the volume label and volume serial number of the current drive, 
  11339. enter the following: 
  11340.  
  11341. VOL
  11342.  
  11343. To display the volume labels of both drive C and drive D, enter the following: 
  11344.  
  11345. VOL C: D:
  11346.  
  11347.  
  11348. ΓòÉΓòÉΓòÉ 4.141. XCOPY - Copy Subdirectories ΓòÉΓòÉΓòÉ
  11349.  
  11350. Selectively copies groups of files, which can include lower-level 
  11351. subdirectories. 
  11352.  
  11353. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ XCOPY ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  11354.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               ΓööΓöÇ drive ΓöÇΓöÿ
  11355.  
  11356. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  11357.   ΓööΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ   ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  11358.               ΓööΓöÇ filename ΓöÇΓöÿ
  11359.  
  11360.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  11361.                                               Γöé
  11362. ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11363.                       Γö£ΓöÇΓöÇΓöÇ  /D:mm-dd-yy  ΓöÇΓöÇΓöÇΓöñ
  11364.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11365.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /E ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11366.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11367.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11368.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  11369.                       Γöé    ΓööΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÿ    Γöé
  11370.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11371.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /T ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11372.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11373.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /O ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  11374.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  11375.  
  11376.  
  11377. Related Commands:  BACKUP, COPY, RESTORE, and VERIFY 
  11378.  
  11379. It is important to remember the following: 
  11380.  
  11381. o Specify the drive, path, and file name for the source and target drives.  If 
  11382.   you do not specify a path, XCOPY starts from the current directory.  If you 
  11383.   do not specify a file name, XCOPY uses *.* as the default value. 
  11384.  
  11385. o XCOPY works only within the source directory unless you specify the /S 
  11386.   parameter, which copies files in the source directory and in all directories 
  11387.   below the starting source directory. 
  11388.  
  11389. o If you use the /D parameter, the month, date, and year may be in different 
  11390.   positions depending on your country. 
  11391.  
  11392. o The /M parameter copies files whose archive bit is set, and then turns off 
  11393.   the archive bit of the source file.  You can use the ATTRIB command to reset 
  11394.   the archive bit for your files. 
  11395.  
  11396. o If the specified target path does not exist on the target, XCOPY creates the 
  11397.   directories before copying.  You can rename files on the target by specifying 
  11398.   a new file name on the target. 
  11399.  
  11400. Extended Attributes:  XCOPY will copy the extended attributes of a source file 
  11401. to the target file as indicated by the parameters in the syntax diagram.  An 
  11402. extended attribute is a special area used for storing data that describes the 
  11403. file to the OS/2 operating system or to an application. 
  11404.  
  11405. When copying files that have extended attributes, be sure to use OS/2 2.1 to 
  11406. ensure all extended file or directory attributes are copied.  Extended 
  11407. attributes associated with a source directory will be copied to the target if 
  11408. the directory does not already exist on the target. 
  11409.  
  11410. Return Codes: 
  11411.  
  11412. 0 - Normal completion 
  11413. 1 - No files were found to xcopy 
  11414. 2 - Some files or directories were not copied due to file or directory errors 
  11415. 3 - Ended by user 
  11416. 4 - Ended due to error 
  11417.  
  11418.  
  11419. ΓòÉΓòÉΓòÉ <hidden> XCOPY Examples ΓòÉΓòÉΓòÉ
  11420.  
  11421. To copy the files in the MEMOS subdirectory on drive C to a newly created 
  11422. subdirectory named LETTERS on drive A, enter the following: 
  11423.  
  11424. XCOPY C:\MEMOS A:\LETTERS
  11425.  
  11426. To copy files changed on or after November 12, 1988 in the MEMOS subdirectory 
  11427. to the root directory on drive A, enter the following: 
  11428.  
  11429. XCOPY C:\MEMOS A:\ /D:11-12-88
  11430.  
  11431. To copy the subdirectories and their contents from the root directory on drive 
  11432. C to the root directory on drive A, enter the following: 
  11433.  
  11434. XCOPY C:\ A:\ /S
  11435.  
  11436. To copy the REPORTS subdirectory on drive C, including all files and 
  11437. subdirectories within it, to the root directory on drive A, enter the 
  11438. following: 
  11439.  
  11440. XCOPY C:\REPORTS A:\ /S /E
  11441.  
  11442. To be prompted with (Y/N?) before each file is copied from the MEMOS 
  11443. subdirectory on drive C to the LETTERS subdirectory on drive A, enter the 
  11444. following: 
  11445.  
  11446. XCOPY C:\MEMOS A:\LETTERS /P
  11447.  
  11448. To verify that the files written from drive C to drive A are recorded properly, 
  11449. enter the following: 
  11450.  
  11451. XCOPY C:\ A:\ /V
  11452.  
  11453. To copy only those files that have the archive bit set on without changing the 
  11454. attribute of source drive C when it is copied, type the following: 
  11455.  
  11456. XCOPY C:\ A:\ /A
  11457.  
  11458. To copy files whose archive bit is set on from the root directory on drive C to 
  11459. the root directory on drive A, then turn the archive bit of the source file 
  11460. off, enter the following: 
  11461.  
  11462. XCOPY C:\ A:\ /M
  11463.  
  11464. To copy all files, including all hidden files, from the root directory on drive 
  11465. C to the root directory on drive A, type the following: 
  11466.  
  11467. XCOPY C:\ A:\ /H
  11468.  
  11469. To copy all files, including all files with a system attribute, from the root 
  11470. directory on drive C to the root directory on drive A, type the following: 
  11471.  
  11472. XCOPY C:\ A:\ /T
  11473.  
  11474. To copy all files from the root directory on drive C to the root directory on 
  11475. drive A and have all files with a read-only attribute retain this attribute, 
  11476. type the following: 
  11477.  
  11478. XCOPY C:\ A:\ /R
  11479.  
  11480. To copy all files from the root directory on drive C to the root directory on 
  11481. drive A and specify that any file with a read-only, system, or hidden attribute 
  11482. can be overlaid, type the following: 
  11483.  
  11484. XCOPY C:\ A:\ /O
  11485.  
  11486.  
  11487. ΓòÉΓòÉΓòÉ <hidden> Trace Point Overview and Dynamic Tracing ΓòÉΓòÉΓòÉ
  11488.  
  11489. The OS/2 2.1 operating system contains a mixture of static trace points and 
  11490. dynamic trace points. 
  11491.  
  11492. Static trace points are implemented as trace function calls within individual 
  11493. software modules.  The TRACE command can be used to turn on and off static 
  11494. trace points by specifying them by major code (and, optionally, minor code). 
  11495.  
  11496. Dynamic trace points are implemented as Trace Definition File (TDF) entries. 
  11497. The TRACE command can be used to insert (and turn on) a dynamic trace point by 
  11498. patching it into its corresponding software module.  Dynamic trace points are 
  11499. specified by the dynamic library (DLL) prefix (and, optionally minor code). 
  11500.  
  11501. Individual dynamic trace points can be qualified by separate type and group 
  11502. qualifiers.  These qualifiers exist so that you can more easily turn on and off 
  11503. sets of related dynamic trace points.  For example, all the dynamic trace 
  11504. points that are associated with pre-invocation events might have a type of PRE. 
  11505. Similarly, all the dynamic trace points that are involved in semaphore 
  11506. processing might have a group of SEM.  In the TRACE command syntax, group is 
  11507. considered to have a stronger binding than type.  This means that you can ask 
  11508. to turn on or off all events that are of a specified group that are also of one 
  11509. or more specified types.  You do not need to use these qualifiers; they are 
  11510. there simply to make it easier to control related sets of dynamic trace points. 
  11511.  
  11512. TDF files are typically found in the \OS2\SYSTEM\TRACE directory. They are 
  11513. identified by .TDF file name extensions.  There are also Trace Formatting Files 
  11514. (TFF) found within that directory.  These files are used by the OS/2 2.1 Trace 
  11515. Formatter (TRACEFMT) utility to format the entries that are logged within the 
  11516. system trace buffer. 
  11517.  
  11518. The system .TDF file supports dynamic tracing for the following: 
  11519.  
  11520. o TRACE ON KERNEL 
  11521.  
  11522.        Major Code: 5 (decimal) 5 (hex)
  11523.        Groups: FS, LDR, NLS, PIP, SEL, SEM, SIG, TIM, TIK, VM
  11524.        Types: PRE, POST, API, INT
  11525.        Purpose: Dynamic trace point definitions for APIs that reside in
  11526.             the OS/2 kernel
  11527.  
  11528. o TRACE ON DOSCALL1 
  11529.  
  11530.        Major Code: 16 (decimal) 10 (hex)
  11531.        Groups: FS, LDR, LNK, MSG, MSP, NLS, SEM, TSK
  11532.        Types: PRE, POST, API
  11533.        Purpose: Dynamic trace point definitions for APIs that reside in
  11534.          DOSCALL1.DLL
  11535.  
  11536. o TRACE ON QUECALLS 
  11537.  
  11538.        Major Code: 22 (decimal) 16 (hex)
  11539.        Groups: None
  11540.        Types: API, PRE, POST, INT
  11541.        Purpose: Dynamic trace point definitions for APIs that reside in
  11542.              QUECALLS.DLL (queue calls)
  11543.  
  11544. o TRACE ON SESMGR 
  11545.  
  11546.        Major Code: 23 (decimal) 17 (hex)
  11547.        Groups: None
  11548.        Types: API, PRE, POST
  11549.        Purpose: Dynamic trace point definitions for APIs that reside in
  11550.              SESMGR.DLL (session manager)
  11551.  
  11552. o TRACE ON OS2CHAR 
  11553.  
  11554.        Major Code: 24 (decimal) 18 (hex)
  11555.        Groups: KBD, MOU, VIO
  11556.        Types: API, PRE, POST
  11557.        Purpose: Dynamic trace point definitions for APIs that reside in
  11558.              OS2CHAR.DLL
  11559.  
  11560. o TRACE ON PMSHAPI 
  11561.  
  11562.        Major Code: 192 (decimal) C0 (hex)
  11563.        Groups: None
  11564.        Types: None
  11565.        Purpose: Dynamic trace point definitions for APIs that reside in
  11566.              PMSHAPI.DLL (PM shell APIs)
  11567.  
  11568. o TRACE ON PMWIN 
  11569.  
  11570.        Major Code: 194 (decimal) C2 (hex)
  11571.        Groups: None
  11572.        Types: None
  11573.        Purpose: Dynamic trace point definitions for APIs that reside in
  11574.              PMWIN.DLL (window manager)
  11575.  
  11576. o TRACE ON PMGRE 
  11577.  
  11578.        Major Code: 195 (decimal) C3 (hex)
  11579.        Groups: None
  11580.        Types: None
  11581.        Purpose: Dynamic trace point definitions for APIs that reside in
  11582.              PMGRE.DLL (graphics engine)
  11583.  
  11584. o TRACE ON PMPIC 
  11585.  
  11586.        Major Code: 196 (decimal) C4 (hex)
  11587.        Groups: None
  11588.        Types: None
  11589.        Purpose: Dynamic trace point definitions for APIs that reside in
  11590.              PMPIC.DLL (picture interchange)
  11591.  
  11592. o TRACE ON PMGPI 
  11593.  
  11594.        Major Code: 197 (decimal) C5 (hex)
  11595.        Groups: None
  11596.        Types: None
  11597.        Purpose: Dynamic trace point definitions for APIs that reside in
  11598.              PMGPI.DLL (graphics program interface)
  11599.  
  11600. OS/2 2.1 Static Trace Points 
  11601.  
  11602. The OS/2 static trace points do not have associated TDF files, but do have 
  11603. associated TFF files that are used by the Trace Formatter (TRACEFMT). 
  11604.  
  11605. o Machine Exceptions 
  11606.  
  11607.        Major Code: 3
  11608.  
  11609. o Hardware Interrupts 
  11610.  
  11611.        Major Code: 4
  11612.  
  11613. o Device Helper Routines 
  11614.  
  11615.        Major Code: 6
  11616.  
  11617. o Disk Device Driver 
  11618.  
  11619.        Major Code: 7
  11620.  
  11621. Commonly Used Abbreviations for Groups and Types 
  11622.  
  11623. o Groups 
  11624.  
  11625.        FS-  file system
  11626.        KBD- keyboard I/O
  11627.        LDR- resource loader
  11628.        LNK- environment management
  11629.        MOU- mouse I/O
  11630.        MSG- message management
  11631.        MSP- virtual memory management
  11632.        NLS- national language support
  11633.        PIP- pipe support
  11634.        SEL- selector-related
  11635.        SEM- semaphore support
  11636.        SIG- signal handling
  11637.        TIM- timer support
  11638.        TK-  task management
  11639.        TSK- monitor support
  11640.        VIO- video I/O
  11641.        VM-  virtual memory management
  11642.  
  11643. o Types 
  11644.  
  11645.        API-  application programming interface
  11646.        INT-  internal
  11647.        PRE-  pre-processing invocation
  11648.        POST- post-processing invocation
  11649.  
  11650.  
  11651. ΓòÉΓòÉΓòÉ <hidden> Trace Point Overview Examples ΓòÉΓòÉΓòÉ
  11652.  
  11653. TRACE ON 15,31,22 /S
  11654.  
  11655.       Indicates that all static trace points with major codes of
  11656.       15, 31 and 22 are to be traced, and then suspends all
  11657.       event tracing.
  11658.  
  11659. TRACE ON 17,22(4,9-13)
  11660.  
  11661.       Indicates that all static trace points with a major code of
  11662.       17, and all static trace points with a major code of 22
  11663.       and minor codes of 4, or 9 to 13, are to be
  11664.       traced.
  11665.  
  11666.  
  11667. TRACE ON DOSCALL1
  11668.  
  11669.       Inserts all dynamic trace points that are defined in
  11670.       DOSCALL1.TDF.
  11671.  
  11672.  
  11673. TRACE ON DOSCALL1(4,23-56,8) /R
  11674.  
  11675.       Inserts all dynamic trace points from DOSCALL1.TDF that have
  11676.       minor codes of 4, 8, or 23 to 56, and then resumes all
  11677.       event tracing.
  11678.  
  11679.  
  11680. TRACE ON DOSCALL1(FS=PRE+API,SEM)
  11681.  
  11682.       Inserts all dynamic trace points from DOSCALL1.TDF that are
  11683.       of group FS and of either type PRE or API, or
  11684.       are simply of group SEM.
  11685.  
  11686.  
  11687. TRACE ON KERNEL(20-23,182)
  11688.  
  11689.       Inserts all dynamic trace points into the OS/2 kernel that
  11690.       have minor codes between 20 and 23, or have a minor code
  11691.       of 182.
  11692.  
  11693.  
  11694. TRACE ON /P:16,14,8
  11695.  
  11696.       Indicates that events are to be traced only when pid 8,
  11697.       14, or 16 is the current pid
  11698.       (the set of events that are to be traced
  11699.       is set through other TRACE commands).
  11700.  
  11701.  
  11702. TRACE OFF /P:14
  11703.  
  11704.       Indicates that events are no longer to be traced when pid
  11705.       14 is the current pid.
  11706.  
  11707.  
  11708. TRACE ON /P:ALL
  11709.  
  11710.       Indicates that event tracing is now performed irrespective
  11711.       of the current pid.
  11712.  
  11713.  
  11714. TRACE /C /R
  11715.  
  11716.       Indicates that the system event trace buffer is to be
  11717.       cleared and then event tracing is to be resumed.
  11718.  
  11719.  
  11720. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11721.  
  11722. When you place a bookmark on a topic, it is added to a list of bookmarks you 
  11723. have previously set.  You can view the list, and you can remove one or all 
  11724. bookmarks from the list.  If you have not set any bookmarks, the list is empty. 
  11725.  
  11726. To set a bookmark, do the following: 
  11727.  
  11728.  1. Select a topic from the Contents. 
  11729.  
  11730.  2. When that topic appears, choose the Bookmark option from the Services menu. 
  11731.  
  11732.  3. If you want to change the name used for the bookmark, type the new name in 
  11733.     the field. 
  11734.  
  11735.  4. Select the Place radio button. 
  11736.  
  11737.  5. Select OK.  The bookmark is then added to the bookmark list. 
  11738.  
  11739.  
  11740. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11741.  
  11742. You can specify a word or phrase to be searched.  You can also limit the search 
  11743. to a set of topics by first marking the topics on the Contents list. 
  11744.  
  11745. To search for a word or phrase in all topics, do the following: 
  11746.  
  11747.  1. Select the Search option from the Services menu. 
  11748.  
  11749.  2. Type the word or words to be searched. 
  11750.  
  11751.  3. Select All sections. 
  11752.  
  11753.  4. Select Search to begin the search. 
  11754.  
  11755.  5. The list of topics where the word or phrase appears is displayed. 
  11756.  
  11757.  
  11758. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11759.  
  11760. You can print one or more topics.  You can also print a set of topics by first 
  11761. marking the topics on the Contents list. 
  11762.  
  11763. To print the document Contents list, do the following: 
  11764.  
  11765.  1. Select Print from the Services menu. 
  11766.  
  11767.  2. Select Contents. 
  11768.  
  11769.  3. Select Print. 
  11770.  
  11771.  4. The Contents list is printed on your printer. 
  11772.  
  11773.  
  11774. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11775.  
  11776. You can copy a topic you are viewing into a temporary file named TEXT.TMP.  You 
  11777. can later edit that file by using an editor such as the System Editor. 
  11778.  
  11779. To copy a topic, do the following: 
  11780.  
  11781.  1. Expand the Contents list and select a topic. 
  11782.  
  11783.  2. When the topic appears, select Copy to file from the Services menu. 
  11784.  
  11785. The system copies the text pertaining to that topic into the temporary TEXT.TMP 
  11786. file. 
  11787.  
  11788. For information on any of the other choices in the Services menu, highlight the 
  11789. choice and press the F1 key. 
  11790.  
  11791.  
  11792. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11793.  
  11794. You can control the appearance of the Contents list. 
  11795.  
  11796. To expand the Contents and show all levels for all topics, select Expand all 
  11797. from the Options menu. 
  11798.  
  11799. For information on any of the other choices in the Options menu, highlight the 
  11800. choice and press the F1 key. 
  11801.  
  11802.  
  11803. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11804.  
  11805. The multitasking OS/2 environment allows you to run several programs at the 
  11806. same time.  This gives each program the potential of taking advantage of the 
  11807. available physical memory in the system.  The OS/2 environment allows you to 
  11808. achieve a high level of interaction with an OS/2 program.  It permits you to 
  11809. run some programs in interactive windows on your screen.  At the same time, you 
  11810. can run other programs in the background, away from view.  Your operating 
  11811. system also protects each program so that it cannot change another program that 
  11812. is running at the same time. 
  11813.  
  11814.  
  11815. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11816.  
  11817. When using the OS/2 operating system, you may choose to use the DOS environment 
  11818. similar to IBM Disk Operating System Version 5.0. Like most programs that run 
  11819. in an OS/2 session, a program running in a DOS session can run in a window. 
  11820. You can run several DOS programs at the same time with several active OS/2 
  11821. programs. You can continue using DOS programs with your new operating system. 
  11822. A DOS session can run in either a full screen or a window.  It runs 
  11823. continuously even when you may be running in another DOS session or in an OS/2 
  11824. session.  The only time a DOS session is frozen is if it is running graphics. 
  11825. A text program will continue running even when it is running in a background 
  11826. environment. 
  11827.  
  11828. You can start DOS tasks or begin a DOS program almost as though you were using 
  11829. DOS 5.0.  However, not all programs originally written for a personal computer 
  11830. work properly in the DOS environment (for example, timing- and 
  11831. network-dependent programs).  Refer to documentation that came with the program 
  11832. you are using for program limitations and answers to compatibility questions. 
  11833.  
  11834.  
  11835. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11836.  
  11837. A keyword has a predefined value.  It appears in uppercase letters and must be 
  11838. typed exactly as shown.  A command name is a keyword. 
  11839.  
  11840.  
  11841. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11842.  
  11843. Variables represent names or values you supply.  They are shown in lowercase 
  11844. letters.  A file name is a variable. 
  11845.  
  11846.  
  11847. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11848.  
  11849. Your technical coordinator, whose role includes investigating hardware and 
  11850. software problems, is the first level of customer assistance.  This person, who 
  11851. could be either an IBM authorized dealer or the person assigned to be the 
  11852. coordinator for your particular organization, can contact IBM, if necessary. 
  11853. Please do not provide a dump or any other materials unless directed to do so by 
  11854. your technical coordinator or service representative. 
  11855.  
  11856.  
  11857. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11858.  
  11859. A batch file is a file containing one or more commands that the operating 
  11860. system starts one at a time. Batch files can be created for both DOS and OS/2 
  11861. sessions.  When you run a batch file, the OS/2 command processor processes the 
  11862. commands in the batch file, one at a time.  If you have a repetitive process 
  11863. that requires you to enter a series of commands at the command prompt, creating 
  11864. a batch file that contains these commands shortens process time and reduces the 
  11865. possibility of typing errors.  All batch files intended for use in DOS sessions 
  11866. have a .BAT file name extension; batch files intended for use in OS/2 sessions 
  11867. have a .CMD file-name extension. 
  11868.  
  11869.  
  11870. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11871.  
  11872. A return code is a value returned to a program or batch file to indicate the 
  11873. results of an operation.  The valid return codes are: 
  11874.  
  11875. 0 - Normal completion 
  11876. 1 - No files were found to be processed 
  11877. 2 - Some files or directories were not processed due to file errors 
  11878. 3 - Ended by user (Ctrl+Break) 
  11879. 4 - Ended due to error 
  11880. 5 - (Specific error defined by the command or utility) 
  11881. 6 - (Specific error defined by the command or utility) 
  11882. 7 - (Specific error defined by the command or utility) 
  11883.  
  11884. Most commands issue a return code of 0 for normal completion, or display an 
  11885. error message for unsuccessful completion. 
  11886.  
  11887.  
  11888. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11889.  
  11890. ANSI Command:  ON and OFF Parameters 
  11891.  
  11892. Specify ON to allow extended display and keyboard support.  Specify OFF to 
  11893. prevent this support. The default value is ON. 
  11894.  
  11895. To allow extended display and keyboard support, type the following: 
  11896.  
  11897. ANSI ON
  11898.  
  11899.  
  11900. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11901.  
  11902. APPEND Command:  /E Parameter 
  11903.  
  11904. Keeps the APPEND paths in the DOS environment. (This is similar to the DOS PATH 
  11905. command.) APPEND searches the environment on each call to find the path. Use 
  11906. the /E parameter to permit application programs to query the environment and, 
  11907. depending on what they find, to change the actions they take. However, if you 
  11908. want to ensure that all processes are affected by changes to the APPEND path 
  11909. string, do not use the /E parameter. 
  11910.  
  11911. For example, if you want to query the environment for paths to data files and 
  11912. find any files that have paths in the WORDPROC or CALC subdirectories on drive 
  11913. C, type the following: 
  11914.  
  11915. PATH C:\WORDPROC;C:\CALC;
  11916. APPEND /E
  11917. APPEND C:\WORDPROC;C:\CALC;
  11918.  
  11919. If you want to find any files that have paths in the WORDPROC or CALC 
  11920. subdirectories on drive C but do not want to query the environment for paths to 
  11921. data files, type the following: 
  11922.  
  11923. PATH C:\WORDPROC;C:\CALC;
  11924. APPEND C:\WORDPROC;C:\CALC;
  11925.  
  11926.  
  11927. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11928.  
  11929. APPEND Command:  Drive and Path Parameters 
  11930.  
  11931. Specifies the drives and directories to be searched. 
  11932.  
  11933. If you want to access files in the EDITOR directory when you are in another 
  11934. directory, type the following: 
  11935.  
  11936. APPEND = C:\OS2;C:\OS2\SYSTEM;
  11937. C:\EDITOR;
  11938.  
  11939.  
  11940. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11941.  
  11942. APPEND Command:  /PATH:ON and /PATH:OFF Parameters 
  11943.  
  11944. Specify /PATH:ON to allow APPEND to search for a file even when the specified 
  11945. file name includes a drive or path or both.  Specify /PATH:OFF to allow APPEND 
  11946. to search for a file when you type only a file name. If you specify /PATH:OFF 
  11947. and then type a drive or a path, APPEND does not search for the file. 
  11948.  
  11949. If you want to search for a file using only a file name, enter the following: 
  11950.  
  11951. APPEND /PATH:OFF
  11952.  
  11953. If you want to view a file, you can enter the following: 
  11954.  
  11955. TYPE MYFILE
  11956. APPEND searches until it finds the file. 
  11957.  
  11958.  
  11959. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11960.  
  11961. ASSIGN Command: x and y Parameters 
  11962.  
  11963. The x parameter specifies the drive to which read and write requests are 
  11964. currently set.  The y parameter specifies the drive to which you want read and 
  11965. write requests set.  You can use a space between the drive letters instead of 
  11966. the equals sign.  Do not type a colon after the drive letter. 
  11967.  
  11968. To assign all requests for drive A to drive C, enter the following: 
  11969.  
  11970. ASSIGN A=C or ASSIGN A C
  11971.  
  11972. To assign all requests for drives A and B to drive C, enter the following: 
  11973.  
  11974. ASSIGN A=C B=C
  11975.  
  11976.  
  11977. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11978.  
  11979. ATTRIB Command:  +R and -R Parameters 
  11980.  
  11981. Specify +R to turn on the read-only attribute of a file. Specify -R to turn it 
  11982. off. 
  11983.  
  11984. To turn on the read-only attribute of a file named LETTER.TXT, type the 
  11985. following: 
  11986.  
  11987. ATTRIB +R LETTER.TXT
  11988.  
  11989. To remove the read-only attribute from a file named LETTER.TXT, type the 
  11990. following: 
  11991.  
  11992. ATTRIB -R LETTER.TXT
  11993.  
  11994.  
  11995. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11996.  
  11997. ATTRIB Command:  +A and -A Parameters 
  11998.  
  11999. Specify +A to turn on the archive bit of a file. Specify -A to turn it off. 
  12000.  
  12001. To turn on the archive bit of a file named LETTER.TXT, type the following: 
  12002.  
  12003. ATTRIB +A LETTER.TXT
  12004.  
  12005. To turn off the archive bit and turn on the read-only attribute of a file named 
  12006. LETTER.TXT, type the following. 
  12007.  
  12008. ATTRIB -A +R LETTER.TXT
  12009.  
  12010.  
  12011. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12012.  
  12013. ATTRIB Command:  +S and -S Parameters 
  12014.  
  12015. Specify +S to set a file as a system file.  Specify -S to turn off the system 
  12016. file attribute. 
  12017.  
  12018. To set the file, LETTER.TXT, as a system file, type the following: 
  12019.  
  12020. ATTRIB +S LETTER.TXT
  12021.  
  12022. To clear the file, LETTER.TXT, as a system file, type the following: 
  12023.  
  12024. ATTRIB -S LETTER.TXT
  12025.  
  12026.  
  12027. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12028.  
  12029. ATTRIB Command:  +H and -H Parameters 
  12030.  
  12031. Specify +H to set a file as a hidden file.  Specify -H to turn off the hidden 
  12032. file attribute. 
  12033.  
  12034. To set the file, LETTER.TXT, as a hidden file, type the following: 
  12035.  
  12036. ATTRIB +H LETTER.TXT
  12037.  
  12038. To clear the file, LETTER.TXT, as a hidden file, type the following: 
  12039.  
  12040. ATTRIB -H LETTER.TXT
  12041.  
  12042.  
  12043. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12044.  
  12045. ATTRIB Command:  Drive, Path, Filename Parameters 
  12046.  
  12047. Specifies the drive, directory, and file name. You do not need to specify the 
  12048. drive and directory when changing the status of a file in your current 
  12049. directory. 
  12050.  
  12051. To turn off the archive bit of the LETTER.TXT file in the REPORTS directory on 
  12052. drive D, type the following: 
  12053.  
  12054. ATTRIB -A D:\REPORTS\LETTER.TXT
  12055.  
  12056.  
  12057. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12058.  
  12059. ATTRIB Command:  /S Parameter 
  12060.  
  12061. Specify the /S parameter to process all subdirectories. 
  12062.  
  12063. To display the current settings of the archive and read-only bits for all the 
  12064. files on drive C, type the following: 
  12065.  
  12066. ATTRIB C:\*.* /S
  12067.  
  12068. To find all occurrences of a file named LETTER.TXT on drive C, type the 
  12069. following: 
  12070.  
  12071. ATTRIB C:\LETTER.TXT /S
  12072.  
  12073.  
  12074. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12075.  
  12076. AUTOFAIL Command:  YES and NO Parameters 
  12077.  
  12078. Specify NO to cause a window to appear that informs you of an error condition. 
  12079. Specify YES to have an error code appear instead. The default is NO. 
  12080.  
  12081. To cause an error code to appear, type the following in the CONFIG.SYS file: 
  12082.  
  12083. AUTOFAIL=YES
  12084.  
  12085.  
  12086. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12087.  
  12088. BACKUP Command:  Source Drive, Path, Filename Parameters 
  12089.  
  12090. Specifies the drive, directory, and names of the files to be backed up. You 
  12091. need to specify a path when backing up files in another directory. 
  12092.  
  12093. To back up a file named FRIDAY.RPT from the REPORTS directory to drive A, enter 
  12094. the following: 
  12095.  
  12096. BACKUP C:\REPORTS\FRIDAY.RPT A:
  12097.  
  12098.  
  12099. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12100.  
  12101. BACKUP Command:  Target Drive Parameter 
  12102.  
  12103. Specifies the destination drive for the backed-up files. 
  12104.  
  12105. To back up all files on drive C to drive A, enter the following: 
  12106.  
  12107. BACKUP C: A:
  12108.  
  12109.  
  12110. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12111.  
  12112. BACKUP Command:  /L:filename Parameter 
  12113.  
  12114. Makes a backup log entry in the file specified. If no file name is given, the 
  12115. file BACKUP.LOG is placed in the root directory of the source drive. 
  12116.  
  12117. To back up files from the current directory on drive C to drive A and to create 
  12118. a log file named BACKUP.LOG, enter the following: 
  12119.  
  12120. BACKUP C: A: /L
  12121.  
  12122. The first line of the entry in the file contains date and time representing the 
  12123. backup dates and times.  Each subsequent line in the entry corresponds to one 
  12124. of the files that was backed up. 
  12125.  
  12126. These lines consist of the file name and the number of the diskette that 
  12127. contains the file. This information can be used when you need to restore a 
  12128. particular file from a diskette. You must specify the diskette so that RESTORE 
  12129. does not have to search for files. If the backup log file already exists, the 
  12130. current entry is appended to the file. 
  12131.  
  12132.  
  12133. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12134.  
  12135. BACKUP Command:  /D:mm-dd-yy Parameter 
  12136.  
  12137. Backs up only those files that were last modified on or after the specified 
  12138. date.  This parameter expects the date to be entered in the correct format for 
  12139. the current country specified with the COUNTRY command. 
  12140.  
  12141. To back up files changed on or after June 15, 1990 from the current directory 
  12142. on drive C to drive A, enter the following: 
  12143.  
  12144. BACKUP C: A: /D:06-15-90
  12145.  
  12146.  
  12147. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12148.  
  12149. BACKUP Command:  /T:hh:mm:ss  Parameter
  12150.  
  12151. Backs up only those files that were last modified at or after a certain time. 
  12152. It is recommended that /T be used with /D. 
  12153.  
  12154. To back up files changed on or after 11:45 a.m. from the current directory on 
  12155. drive C to drive A, enter the following: 
  12156.  
  12157. BACKUP C: A: /T:11:45:00
  12158.  
  12159.  
  12160. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12161.  
  12162. BACKUP Command:  /M Parameter 
  12163.  
  12164. Backs up only those files that have changed since the last backup. 
  12165.  
  12166. To back up files in the current directory on drive C that were changed since 
  12167. the last backup to drive A, enter the following: 
  12168.  
  12169. BACKUP C: A: /M
  12170.  
  12171.  
  12172. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12173.  
  12174. BACKUP Command:  /A Parameter 
  12175.  
  12176. Adds the files to be backed up to those already on the backup disk.  When you 
  12177. use this parameter, the old files on the backup disk are not erased. This 
  12178. parameter is not valid if files exist on the backup disk that were backed up by 
  12179. DOS Version 3.20 BACKUP or earlier. 
  12180.  
  12181. To add the files on drive B to the backed-up files already on the diskette in 
  12182. drive A, enter the following: 
  12183.  
  12184. BACKUP B: A: /A
  12185.  
  12186.  
  12187. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12188.  
  12189. BACKUP Command:  /F:xxx Parameter 
  12190.  
  12191. Specifies that unformatted target diskettes are formatted before BACKUP starts. 
  12192. This parameter does not format a hard disk or previously formatted diskette. 
  12193. If an unformatted diskette is encountered, BACKUP formats it as needed.  You 
  12194. can specify one of the following sizes for the diskette: 
  12195.  
  12196. o 360 for 360KB diskettes 
  12197. o 720 for 720KB diskettes 
  12198. o 1200 for 1.2MB diskettes 
  12199. o 1440 for 1.4MB diskettes 
  12200. o 2880 for 2.88MB diskettes 
  12201.  
  12202. To back up all files from the root directory on drive C to drive A and to 
  12203. format any diskettes to 1.2MB, enter the following: 
  12204.  
  12205. BACKUP C: A: /F:1200
  12206.  
  12207.  
  12208. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12209.  
  12210. BACKUP Command:  /S Parameter 
  12211.  
  12212. Backs up subdirectories. 
  12213.  
  12214. To back up the contents of drive C, including all files and subdirectories 
  12215. within it, to multiple diskettes on drive A, enter the following: 
  12216.  
  12217. BACKUP C:\*.* A: /S
  12218.  
  12219.  
  12220. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12221.  
  12222. BASEDEV Command:  Filename Parameter 
  12223.  
  12224. Specifies the complete name of the file, including its extension, that contains 
  12225. the base device driver. 
  12226.  
  12227.  
  12228. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12229.  
  12230. BASEDEV Command:  Arguments Parameter 
  12231.  
  12232. Specifies the parameters of the specified base device driver. 
  12233.  
  12234.  
  12235. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12236.  
  12237. BOOT Command:  /OS2 Parameter 
  12238.  
  12239. Prepares your system to start the OS/2 operating system from drive C. 
  12240.  
  12241. To start the OS/2 operating system, do the following: 
  12242.  
  12243.  1. Enter BOOT /OS2 and press Enter. 
  12244.  
  12245.  2. Respond to the prompt that appears. 
  12246.  
  12247.  
  12248. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12249.  
  12250. BOOT Command:  /DOS Parameter 
  12251.  
  12252. Prepares your system to start DOS from drive C. 
  12253.  
  12254. To start DOS, do the following: 
  12255.  
  12256.  1. Enter BOOT /DOS and press Enter. 
  12257.  
  12258.  2. Respond to the prompt that appears. 
  12259.  
  12260.  
  12261. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12262.  
  12263. BREAK Command:  ON and OFF Parameters 
  12264.  
  12265. Specify ON to check to see if you pressed the Ctrl and Break keys together. In 
  12266. OS/2 sessions, the check for Ctrl+Break is always set to ON, and you cannot 
  12267. change it. Specify OFF to have DOS check whether the Ctrl and Break keys were 
  12268. pressed only during: 
  12269.  
  12270. o Standard output operations 
  12271. o Standard input operations 
  12272. o Standard print operations 
  12273. o Standard auxiliary operations 
  12274.  
  12275. The default is OFF. 
  12276.  
  12277. To check whether Ctrl+Break has been pressed only when output is written to 
  12278. your screen or printer, or when input is read from your keyboard, type the 
  12279. following in your CONFIG.SYS file: 
  12280.  
  12281. BREAK=OFF
  12282.  
  12283. To have the system check for Ctrl+Break when you request it, type the following 
  12284. in your CONFIG.SYS file: 
  12285.  
  12286. BREAK=ON
  12287.  
  12288.  
  12289. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12290.  
  12291. BUFFERS Command:  x Parameter 
  12292.  
  12293. Specifies the number of disk buffers the system allocates in memory when it 
  12294. starts.  Type a number from 1 through 100.  Values greater than 100 are 
  12295. ignored.  The default is 30. 
  12296.  
  12297. To assign the number of buffers to 15, type the following in your CONFIG.SYS 
  12298. file: 
  12299.  
  12300. BUFFERS=15
  12301.  
  12302.  
  12303. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12304.  
  12305. External Command:  Drive and Path Parameters 
  12306.  
  12307. Specifies the drive and location for the command you want to process. External 
  12308. commands are stored on the disk as program files.  When an external command is 
  12309. entered, the system searches for it in the current directory of the default or 
  12310. specified drive. If the command is not found, the system continues searching 
  12311. for it in the directories listed in the PATH statement. 
  12312.  
  12313.  
  12314. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12315.  
  12316. CACHE Command:  /LAZY Parameter 
  12317.  
  12318. Specifies whether the contents of cache memory are written immediately to disk 
  12319. or only during disk idle time.  This command pertains only to disks formatted 
  12320. for the High Performance File System. ON enables writing of cache memory during 
  12321. disk idle time. OFF specifies immediate writing to disk. This parameter must 
  12322. not be mixed with other parameters.  It must be entered without other 
  12323. parameters at a command prompt.  The default state is for lazy-writing to be 
  12324. ON.  If you want lazy-writing to be OFF as the default, you must add the 
  12325. following statement to your STARTUP.CMD file: 
  12326.  
  12327. C:\OS2\CACHE.EXE /LAZY:OFF
  12328.  
  12329. To have data in cache memory immediately written to disk, enter the following 
  12330. at an OS/2 command prompt: 
  12331.  
  12332. CACHE /LAZY:OFF
  12333.  
  12334. Note:   If you turn lazy-writing off by entering the /LAZY:OFF parameter at a 
  12335.         command prompt and later in the same session want to turn lazy-writing 
  12336.         back on, enter the DETACH command before CACHE to retain use of the 
  12337.         same command prompt session. 
  12338.  
  12339.                 DETACH CACHE /LAZY:ON
  12340.  
  12341.  
  12342. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12343.  
  12344. CACHE Command:  /MAXAGE Parameter 
  12345.  
  12346. Specifies the maximum amount of time (in milliseconds) before data is 
  12347. transferred to another section of cache memory.  That section contains data and 
  12348. programs that have not recently been used. The default value is 5000. 
  12349.  
  12350. To have data that has been in cache memory longer than 4000 milliseconds 
  12351. written to disk, type the following in the CONFIG.SYS file: 
  12352.  
  12353. RUN=C:\OS2\CACHE.EXE /MAXAGE:4000
  12354.  
  12355.  
  12356. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12357.  
  12358. CACHE Command:  /DISKIDLE Parameter 
  12359.  
  12360. Sets the amount of time (in milliseconds) that a disk must be idle before it 
  12361. can accept data from cache memory.  The default value is 1000.  The The minimum 
  12362. amount of disk idle time must be greater than the value specified in the 
  12363. BUFFERIDLE parameter. 
  12364.  
  12365. To set the amount of disk idle time to 2000 milliseconds, type the following in 
  12366. the CONFIG.SYS file: 
  12367.  
  12368. RUN=C:\OS2\CACHE.EXE /DISKIDLE:2000
  12369.  
  12370.  
  12371. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12372.  
  12373. CACHE Command:  /BUFFERIDLE Parameter 
  12374.  
  12375. Sets the amount of time (in milliseconds) that the cache buffer can be idle 
  12376. before the data it contains must be written to a disk. The default value is 
  12377. 500. 
  12378.  
  12379. To set the amount of cache buffer idle time to 1000 milliseconds, type the 
  12380. following in the CONFIG.SYS file: 
  12381.  
  12382. RUN=C:\OS2\CACHE.EXE /BUFFERIDLE:1000
  12383.  
  12384.  
  12385. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12386.  
  12387. CALL Command:  Batchfile Parameter 
  12388.  
  12389. Specifies the name of the batch file to begin running. 
  12390.  
  12391. For example, to call two files named ACCOUNT.BAT and BILL.BAT, type the 
  12392. following in your batch file: 
  12393.  
  12394. CALL ACCOUNT
  12395. CALL BILL
  12396.  
  12397.  
  12398. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12399.  
  12400. CALL Command:  Argument Parameter 
  12401.  
  12402. Specifies information passed to the called batch file. 
  12403.  
  12404. For example, if you want to pass the second and third parameters, along with 
  12405. the value of FILE, to the batch file named MARKET, type the following in your 
  12406. batch file: 
  12407.  
  12408. SET FILE=NEW.TXT
  12409. CALL MARKET %2 %3 %FILE%
  12410.  
  12411.  
  12412. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12413.  
  12414. CHCP Command:  nnn Parameter 
  12415.  
  12416. Indicates the code page number you want to use. 
  12417.  
  12418. If you want to change to the Multilingual code page (850) and your system has 
  12419. been set up to use code pages 437 and 850, enter the following: 
  12420.  
  12421. CHCP 850
  12422.  
  12423.  
  12424. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12425.  
  12426. CD Command:  Drive and Path Parameters 
  12427.  
  12428. Specifies the location of the directory you want to change to. 
  12429.  
  12430. You can: 
  12431.  
  12432. o Change from one directory to another on the current drive 
  12433. o Change to a subdirectory within the current directory 
  12434. o Change back to the root directory 
  12435. o Change to the parent directory from any subdirectory 
  12436.  
  12437. To change from the current directory to a directory named REPORTS on the 
  12438. current drive, enter the following: 
  12439.  
  12440. CD \REPORTS
  12441.  
  12442. To change to the MONTHLY subdirectory, which is within the REPORTS\ANNUAL 
  12443. current directory, enter the following: 
  12444.  
  12445. CD MONTHLY
  12446.  
  12447. To change back to the root directory, enter: 
  12448.  
  12449. CD \
  12450.  
  12451. To change to the ANNUAL directory from the REPORTS\ANNUAL\MONTHLY subdirectory, 
  12452. enter the following: 
  12453.  
  12454. CD ..
  12455.  
  12456.  
  12457. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12458.  
  12459. CHKDSK Command:  Drive, Path, Filename Parameters 
  12460.  
  12461. Specifies the file or files that are to be analyzed. 
  12462.  
  12463. Note:   You cannot specify a file on a disk formatted with the High Performance 
  12464.         File System (HPFS). 
  12465.  
  12466. To analyze a file named REPORTS.ABC, enter the following: 
  12467.  
  12468. CHKDSK REPORTS.ABC
  12469.  
  12470. You can also use global file-name characters .  For example, to display the 
  12471. status of all files that begin with "REPORT" and contain other characters, 
  12472. enter the following: 
  12473.  
  12474. CHKDSK REPORT*.*
  12475.  
  12476.  
  12477. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12478.  
  12479. CHKDSK Command:  /F Parameter 
  12480.  
  12481. Fixes errors found on a disk or directory.  When you use this parameter, no 
  12482. activity can occur on the disk.  Therefore, the drive to be fixed cannot be the 
  12483. one from which you start the operating system, nor can it be the one that 
  12484. contains the CHKDSK program. 
  12485.  
  12486. To fix errors that are found in the file allocation table or directory, enter 
  12487. the following: 
  12488.  
  12489. CHKDSK /F
  12490.  
  12491.  
  12492. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12493.  
  12494. CHKDSK Command:  /V Parameter 
  12495.  
  12496. Displays all files and their paths on the default or specified drive. 
  12497.  
  12498. To display all files and directories on the current drive, enter the following: 
  12499.  
  12500. CHKDSK /V
  12501.  
  12502.  
  12503. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12504.  
  12505. CHKDSK Command:  /C Parameter 
  12506.  
  12507. Specifies that files will be recovered only if the file system was in an 
  12508. inconsistent state when the computer was started. A file system could be in an 
  12509. inconsistent state when files were left open. This can happen when: 
  12510.  
  12511. o The computer was turned off before all files were closed. 
  12512.  
  12513. o Electrical power to the computer was interrupted. 
  12514.  
  12515.  
  12516. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12517.  
  12518. CHKDSK Command:  /F:n Parameter 
  12519.  
  12520. Specifies a recovery level n.  If no number is specified, CHKDSK assumes 
  12521. recovery level 2. 
  12522.  
  12523. The recovery levels are as follows: 
  12524.  
  12525. /F:0      Specifies that CHKDSK is to analyze the file system, display 
  12526.           information about its state, but not perform any repairs. 
  12527.  
  12528. /F:1      Specifies that CHKDSK is to resolve inconsistent file system 
  12529.           structures. 
  12530.  
  12531. /F:2      Specifies that CHKDSK is to resolve inconsistent file system 
  12532.           structures and also scan disk space that is in use but not referred 
  12533.           to by the file system. If recognizable file or directory structures 
  12534.           are found, CHKDSK recovers them. 
  12535.  
  12536. /F:3      Includes all level 2 recovery and also specifies CHKDSK is to scan 
  12537.           the entire disk partition for recognizable file system structures. 
  12538.  
  12539.  
  12540. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12541.  
  12542. CMD Command:  Drive and Path Parameters 
  12543.  
  12544. Tells CMD.EXE which drive and path to set the value of the COMSPEC environment 
  12545. variable to. 
  12546.  
  12547.  
  12548. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12549.  
  12550. CMD Command:  /Q Parameter 
  12551.  
  12552. Provides a NO ECHO function to start a secondary command processor from an 
  12553. existing CMD.EXE.  The /Q parameter cannot be used after the /K or /C 
  12554. parameters. To start a secondary command processor and override the default for 
  12555. copying the command line to standard output, enter the following: 
  12556.  
  12557. CMD /Q
  12558.  
  12559.  
  12560. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12561.  
  12562. CMD Command:  /S Parameter 
  12563.  
  12564. Tells the command processor being started not to install a signal handler such 
  12565. as Ctrl+C.  This means that a Ctrl+C request to end the program will be 
  12566. ignored. 
  12567.  
  12568. To tell the command processor being started not to install a signal handler 
  12569. normally used for Ctrl+C (end a program), type the following: 
  12570.  
  12571. CMD /S
  12572.  
  12573.  
  12574. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12575.  
  12576. CMD Command:  /K string Parameter 
  12577.  
  12578. Passes a string to CMD.EXE but does not automatically return to the previous 
  12579. command processor after the command is completed. The string is the command you 
  12580. want to pass. 
  12581.  
  12582. To start another command processor, process the DIR command on drive A, and 
  12583. retain the current command processor, type the following: 
  12584.  
  12585. CMD /K DIR A:
  12586.  
  12587. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  12588. quotation marks. 
  12589.  
  12590. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  12591. exists on drive C, which is formatted with the HPFS, and retain the current 
  12592. command processor, type the following: 
  12593.  
  12594. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE""
  12595.  
  12596. If the program requires arguments, type them as: 
  12597.  
  12598. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  12599.  
  12600.  
  12601. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12602.  
  12603. CMD Command:  /C string Parameter 
  12604.  
  12605. Passes a command to CMD.EXE and automatically returns to the previous command 
  12606. processor after the command is completed. The string is the command you want to 
  12607. pass. 
  12608.  
  12609. To start another command processor, process the DIR command on drive A, and 
  12610. automatically return to the previous command processor after DIR is complete, 
  12611. type the following: 
  12612.  
  12613. CMD /C DIR A:
  12614.  
  12615. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  12616. quotation marks. 
  12617.  
  12618. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  12619. exists on drive C, which is formatted with the HPFS, and return to the previous 
  12620. command processor, type the following: 
  12621.  
  12622. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE""
  12623.  
  12624. If the program requires arguments, type them as: 
  12625.  
  12626. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  12627.  
  12628.  
  12629. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12630.  
  12631. CODEPAGE Command:  xxx and yyy Parameters.
  12632.  
  12633. Specifies the primary code page (xxx) and the secondary code page (yyy). 
  12634.  
  12635. The OS/2 operating system supports these code pages: 
  12636.  
  12637. 437     U.S. 
  12638.  
  12639. 850     Multilingual 
  12640.  
  12641. 852     Latin 2 (Czechoslovakia, Hungary, Poland, Yugoslavia) 
  12642.  
  12643. 857     Turkish 
  12644.  
  12645. 860     Portuguese 
  12646.  
  12647. 861     Iceland 
  12648.  
  12649. 862     Hebrew-speaking 
  12650.  
  12651. 863     Canada (French-speaking) 
  12652.  
  12653. 864     Arabic-speaking 
  12654.  
  12655. 865     Nordic 
  12656.  
  12657. 938     Republic of China 
  12658.  
  12659. 942     Japanese  SAA* 
  12660.  
  12661. 944     Korean   SAA 
  12662.  
  12663. 948     Republic of China  SAA 
  12664.  
  12665. Note 1    For the DOS environment, code pages 862 and 864 are supported with a 
  12666.           country supplement available only in certain countries. 
  12667. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  12668.           the DBCS version of the OS/2 operating system on DBCS hardware. 
  12669.  
  12670. For example, if you have a U.S. keyboard, a VGA display, and a Proprinter that 
  12671. support code-page switching, and you want to prepare code pages 437 and 850, 
  12672. insert the following in the CONFIG.SYS file: 
  12673.  
  12674. CODEPAGE=437,850
  12675.  
  12676.  
  12677. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12678.  
  12679. COMMAND Command:  Drive and Path Parameters 
  12680.  
  12681. Sets the value of the COMSPEC environment variable to the drive and path 
  12682. specified.  The file name and extension cannot be changed when using this 
  12683. parameter.  For example, 
  12684.  
  12685. COMMAND D:\XYZ
  12686.  
  12687. will load a second copy of the command processor and set the new environment 
  12688. variable. 
  12689.  
  12690. COMSPEC=D:\XYZ\COMMAND.COM
  12691.  
  12692.  
  12693. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12694.  
  12695. COMMAND Command:  /C string Parameter 
  12696.  
  12697. Passes a command to a secondary command processor and returns to the primary 
  12698. command processor after the command is completed. The string is a command you 
  12699. want to pass to the command processor.  The command is interpreted and acted on 
  12700. as if you had entered it at the DOS command prompt. 
  12701.  
  12702. For example, if you enter the following and press the Enter key: 
  12703.  
  12704. COMMAND /C DIR B:
  12705.  
  12706. a secondary DOS command processor is loaded, runs the command DIR B:, and exits 
  12707. to the primary DOS command processor. 
  12708.  
  12709.  
  12710. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12711.  
  12712. COMMAND Command: /P Parameter 
  12713.  
  12714. Causes the DOS command processor that has been started to become permanent in 
  12715. storage.  If you specify /P, the new command processor does not return to the 
  12716. previous command processor.  You must restart the OS/2 operating system to 
  12717. remove the second DOS command processor. 
  12718.  
  12719. To retain the DOS processor, enter the following: 
  12720.  
  12721. COMMAND /P
  12722.  
  12723.  
  12724. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12725.  
  12726. COMMAND Command:  /E:x Parameter 
  12727.  
  12728. Specifies a base-10 integer that you can select to set the size of the 
  12729. environment. This number must be in a range of 160 through 32768. It is rounded 
  12730. up to the nearest paragraph boundary (to a multiple of 16). 
  12731.  
  12732. To specify the size of the environment as 16KB, enter the following: 
  12733.  
  12734. COMMAND /E:16384
  12735.  
  12736.  
  12737. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12738.  
  12739. COMMAND Command:  /K string Parameter 
  12740.  
  12741. Passes a string to COMMAND.COM but does not automatically return to the 
  12742. previous command processor after the command is completed. The string is the 
  12743. command you want to pass. 
  12744.  
  12745. To start another command processor, process the DIR command on drive A, and 
  12746. retain the new command processor, enter the following: 
  12747.  
  12748. COMMAND /K DIR A:
  12749.  
  12750.  
  12751. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12752.  
  12753. COMP Command:  Drive, Path, Filename Parameters 
  12754.  
  12755. Specifies the drive, directory, and names of the files to be compared. 
  12756.  
  12757. To compare all files in the NOTE subdirectory on drive C with the files in the 
  12758. MEMO subdirectory on drive C, enter the following: 
  12759.  
  12760. COMP C:\NOTE C:\MEMO
  12761.  
  12762. To compare a file that is not on the same diskette as the COMP command itself 
  12763. and be prompted for the file names, enter the following: 
  12764.  
  12765. COMP
  12766.  
  12767. To compare all files on drive A that have a .ABC extension with the files on 
  12768. drive C that have the same extension, enter the following: 
  12769.  
  12770. COMP A:*.ABC C:
  12771.  
  12772. To compare all files on drive A that have a .ALL extension with the files on 
  12773. drive B that have the same name but an extension of .BAK, enter the following: 
  12774.  
  12775. COMP A:*.ALL B:*.BAK
  12776.  
  12777.  
  12778. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12779.  
  12780. COPY Command:  /A and B Parameters 
  12781.  
  12782. Specifies the amount of data to be processed by the COPY command. A /A or /B 
  12783. parameter applies to the filename specified before it.  It also applies to all 
  12784. remaining files on the command line unless another /A or /B is indicated. 
  12785.  
  12786. These parameters have the following meaning when used with a source filename: 
  12787.  
  12788. /A    Treats the file as an ASCII (text) file.  The file's data is copied up 
  12789.       to, but not including, the first end-of-file character (Ctrl+Z) found in 
  12790.       the file.  The rest of the file is not copied. 
  12791.  
  12792. /B    Treats the file as a binary file and copies the entire file (based on the 
  12793.       directory file size). 
  12794.  
  12795. These parameters have the following meaning when used with a target filename: 
  12796.  
  12797. /A    Adds an end-of-file character (Ctrl+Z) as the last character of the file. 
  12798.  
  12799. /B    Does not add an end-of-file character (Ctrl+Z) as the last character of 
  12800.       the file. 
  12801.  
  12802. You can combine ASCII files with binary files by using both the /A and /B 
  12803. parameters.  For example, to combine an ASCII file named TUES with a binary 
  12804. file named WED and create a new file named STATUS, enter the following: 
  12805.  
  12806. COPY TUES + WED /B STATUS
  12807.  
  12808.  
  12809. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12810.  
  12811. COPY Command:  /V Parameter 
  12812.  
  12813. Causes the OS/2 operating system to verify that the sectors written to the 
  12814. target disk are recorded correctly. 
  12815.  
  12816. To verify that information is recorded correctly, specify /V at the end of the 
  12817. command.  For example, 
  12818.  
  12819. COPY REPORTS.TXT C:\STATUS /V
  12820. verifies that the REPORTS.TXT file was copied to the STATUS directory on drive 
  12821. C. 
  12822.  
  12823. Although recording errors rarely occur when you run COPY, you might want to use 
  12824. this parameter to verify that critical data was correctly recorded. This 
  12825. parameter causes the COPY command to run more slowly because the system must 
  12826. check each entry recorded on the disk.  The system displays an error message if 
  12827. a write is not verified. 
  12828.  
  12829.  
  12830. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12831.  
  12832. COPY Command:  /F Parameter 
  12833.  
  12834. Causes the copy operator to fail if the source file contains extended 
  12835. attributes and the destination file system does not support extended 
  12836. attributes. If the /F parameter is not specified, the copy will succeed if the 
  12837. source file contains extended attributes, and the destination file system does 
  12838. not support them.  The extended attributes are not copied. If the /F parameter 
  12839. is not specified and the source file contains needed extended attributes, the 
  12840. copy will fail if the destination file system does not support extended 
  12841. attributes.  In this instance, a message appears. 
  12842.  
  12843. Assume you want to copy a file named REPORTS.TXT to the STATUS directory on 
  12844. drive D.  You also want the copy to fail if drive D does not support extended 
  12845. attributes.  Type the following: 
  12846.  
  12847. COPY REPORTS.TXT D:\STATUS /F
  12848.  
  12849.  
  12850. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12851.  
  12852. COPY Command:  Drive, Path, Filename Parameters 
  12853.  
  12854. Specifies the source and target file names.  If the target is a directory (a 
  12855. path with no filename), this command copies files into that directory without 
  12856. changing their names. For example, to copy a file named MON from the root 
  12857. directory on drive C to a directory named REPORTS on drive C, enter the 
  12858. following: 
  12859.  
  12860. COPY C:\MON C:\REPORTS
  12861.  
  12862. You can use the global characters ? and * in the filename parameter and in the 
  12863. extension parameters of both the source and target files. 
  12864.  
  12865. If you specify the source drive and path and omit the source file name, all the 
  12866. files in the source directory are copied to the target.  In other words, an *.* 
  12867. is assumed for the filename parameter. For example, to copy all the files in a 
  12868. directory named STATUS on drive A to the REPORTS directory on drive C, enter 
  12869. the following: 
  12870.  
  12871. COPY A:\STATUS\*.* C:\REPORTS
  12872.  
  12873. You can also copy files to the same disk.  In this case, you must give the 
  12874. copies different names unless different directories are specified. 
  12875.  
  12876.  
  12877. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12878.  
  12879. COPY Command:  Combine-Files Option 
  12880.  
  12881. Use the combine mode of copy when you can combine several other copy functions 
  12882. and there is at least one plus sign, and all of the file-name specifications 
  12883. have a common name that can be substituted by a global file-name character in 
  12884. them as follows: 
  12885.  
  12886. Copy *.BAT + *.CMD *.ALL
  12887.  
  12888. Another way of thinking about the append and combine copy modes is that the 
  12889. append mode produces only one target file. The combine mode combines copy 
  12890. functions and produces a target file for each common source file found.  This 
  12891. is what happens if we enter the previous example and there are source files of 
  12892. A.BAT, B.BAT, C.BAT, A.CMD, B.CMD, and C.CMD. The result is three target files 
  12893. of A.ALL, B.ALL and C.ALL are created. The A.ALL file contains appended copies 
  12894. of the files A.BAT and A.CMD, the B.ALL file contains appended copies of the 
  12895. files B.BAT and B.CMD, and the C.ALL file contains appended copies of the files 
  12896. C.BAT and C.CMD. The global file-name character (*) found three common file 
  12897. names to append files to or COPY performed a combined operation of three file 
  12898. name groups to which it could append files. 
  12899.  
  12900.  
  12901. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12902.  
  12903. COPY Command:  Append-Files Option 
  12904.  
  12905. Use this option when you want to combine files while copying.  That is, you can 
  12906. copy and combine two or more files into one new file, or add additional files 
  12907. to the end of the first file. 
  12908.  
  12909. To combine files, follow COPY with a list of any number of source files, each 
  12910. separated by a plus (+) sign.  The following example copies and combines the 
  12911. files MYPROG.XYZ and FILEA.ABC from the current drive and directory and file 
  12912. FILEB.DEF from drive B and puts them into a new file called BIGFILE.TXT in the 
  12913. current directory: 
  12914.  
  12915. COPY MYPROG.XYZ+FILEA.ABC+B:FILEB.DEF BIGFILE.TXT
  12916.  
  12917. To add (append) files to an existing file, do not specify a target file name. 
  12918. The following example adds files named MYPROG.XYZ, FILEA.ABC, and FILEB.DEF to 
  12919. the MYPROG.XYZ file: 
  12920.  
  12921. COPY MYPROG.XYZ+FILEA.ABC+FILEB.DEF
  12922.  
  12923.  
  12924. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12925.  
  12926. COPY Command:  Change-Date-and-Time Option 
  12927.  
  12928. To change the date and time of a file to the current date and time without 
  12929. altering its contents, use a plus sign followed by two commas (+ ,,). 
  12930.  
  12931. To update the date and time of all files in the current directory to the 
  12932. current date and time, enter the following: 
  12933.  
  12934. COPY *.* /B + ,,
  12935.  
  12936.  
  12937. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12938.  
  12939. COPY Command:  Device-Name Option 
  12940.  
  12941. Use this option when you want to refer to a character-device name, such as 
  12942. COM1, LPT1, PRN, or CON. 
  12943.  
  12944. To copy a binary file named MYFILE.BIN and send it to your printer (LPT1), 
  12945. enter the following: 
  12946.  
  12947. COPY MYFILE.BIN /B LPT1
  12948.  
  12949. To copy a file named FRIDAY and send it to your plotter (COM1), type the 
  12950. following: 
  12951.  
  12952. COPY FRIDAY COM1
  12953.  
  12954.  
  12955. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12956.  
  12957. DBCS means a set of characters in which each character is represented by two 
  12958. bytes.  Languages such as Japanese, Chinese, and Korean, which contain more 
  12959. characters than can be represented by 256 code points, require double-byte 
  12960. character sets.  As each character requires two bytes, the entering, 
  12961. displaying, and printing of DBCS characters requires hardware and software that 
  12962. can support DBCS. 
  12963.  
  12964.  
  12965. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12966.  
  12967. COUNTRY Command:  nnn Parameter 
  12968.  
  12969. Specifies a three-digit value.  For most countries, this value is the 
  12970. three-digit international country code for the telephone system. 
  12971.  
  12972. To set the date and time format for Canada (French), use 002 as the country 
  12973. code and 863 as the desired code page, and specify COUNTRY.SYS as the file 
  12974. containing the country information. Type the following in your CONFIG.SYS file. 
  12975.  
  12976. COUNTRY=002,C:\OS2\SYSTEM\COUNTRY.SYS
  12977.  
  12978.  
  12979. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12980.  
  12981. COUNTRY Command:  Country File Location 
  12982.  
  12983. Specifies the drive, directory, and name of the file that contains the country 
  12984. information used.  Normally, this file specification is 
  12985. C:\OS2\SYSTEM\COUNTRY.SYS. 
  12986.  
  12987.  
  12988. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12989.  
  12990. CREATEDD Command:  Target Drive Parameter 
  12991.  
  12992. Specifies the diskette drive that contains the diskette to be formatted as a 
  12993. dump diskette. 
  12994.  
  12995. To create a dump diskette in drive A, type the following: 
  12996.  
  12997. CREATEDD A:
  12998.  
  12999.  
  13000. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13001.  
  13002. DATE Command:  Date Parameters 
  13003.  
  13004. mm    Specifies the month, which must be entered with the numbers 01 through 
  13005.       12. 
  13006.  
  13007. dd    Specifies the day, which must be entered with the numbers 01 through 31. 
  13008.  
  13009. yy    Specifies the year, which must be entered with the numbers 1980 through 
  13010.       2079, or the numbers 00 through 99. The 00-79 range represents the years 
  13011.       2000 through 2079, and the 80-99 range represents the years 1980 through 
  13012.       1999. 
  13013.  
  13014. To change the date in the system to May 21 1990 without being prompted by the 
  13015. system, enter the following: 
  13016.  
  13017. DATE 05-21-90
  13018.  
  13019.  
  13020. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13021.  
  13022. DEBUG Command: Drive Path Filename Parameters 
  13023.  
  13024. Specifies the drive, directory, and name of the file to test. 
  13025.  
  13026.  
  13027. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13028.  
  13029. DETACH Command:  Command Parameter 
  13030.  
  13031. Specifies any program or OS/2 command (and its options) that does not require 
  13032. any input from the keyboard or mouse or any output to the display. 
  13033.  
  13034. To start and detach a batch program named SAMPLE.CMD from its command 
  13035. processor, enter the following: 
  13036.  
  13037. DETACH SAMPLE.CMD
  13038.  
  13039. To detach the CL command for compiling the TEST.C file and redirect the output 
  13040. to LPT1, enter the following: 
  13041.  
  13042. DETACH CL -C TEST.C > LPT1
  13043.  
  13044.  
  13045. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13046.  
  13047. DEVICE Command:  Drive and Path Parameters 
  13048.  
  13049. Specifies the drive and directory of the file that contains the device driver. 
  13050.  
  13051.  
  13052. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13053.  
  13054. DEVICE Command:  Filename Parameter 
  13055.  
  13056. Specifies the complete name of the file, including its extension, that contains 
  13057. the device driver. 
  13058.  
  13059.  
  13060. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13061.  
  13062. DEVICE Command:  Arguments Parameter 
  13063.  
  13064. Specifies the parameters of the identified device driver. 
  13065.  
  13066.  
  13067. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13068.  
  13069. DEVICE Command:  Drive and Path Parameter 
  13070.  
  13071. Specifies the drive and directory that contain the ANSI.SYS file. 
  13072.  
  13073.  
  13074. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13075.  
  13076. DEVICE Command:  /X Parameter 
  13077.  
  13078. Allows keys with extended key values (keys with hexadecimal 0E0 as a low byte) 
  13079. to be redefined as distinct keys.  Extended key value reassignments can be set 
  13080. by following these control sequences: 
  13081.  
  13082. ESC[#;#;...#p
  13083.  
  13084. ESC["string"p
  13085.  
  13086. ESC[#"string";#;
  13087.  
  13088. #;"string";#;
  13089.  
  13090. or any other combination of strings and decimal numbers 
  13091.  
  13092. The first ASCII code in the control sequence defines which code is being 
  13093. mapped.  The remaining numbers define the sequence of ASCII codes generated 
  13094. when this key is intercepted. However, if the first code in the sequence is 0 
  13095. (NULL), the first and second code make up an extended ASCII redefinition. 
  13096.  
  13097. To install ANSI.SYS and be able to redefine your extended key values, type the 
  13098. following in the CONFIG.SYS file: 
  13099.  
  13100. DEVICE=C:\OS2\MDOS\ANSI.SYS /X
  13101.  
  13102.  
  13103. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13104.  
  13105. DEVICE Command:  /K Parameter 
  13106.  
  13107. Prevents ANSI.SYS from using extended keyboard functions.  This forces the 
  13108. system to use the conventional keyboard functions when an enhanced keyboard is 
  13109. installed.  This option provides compatibility for those applications that do 
  13110. not recognize the extended keyboard function. 
  13111.  
  13112. To allow a system with an enhanced keyboard to be functionally compatible with 
  13113. the conventional keyboard, type the following in the CONFIG.SYS file: 
  13114.  
  13115. DEVICE=C:\OS2\MDOS\ANSI.SYS /K
  13116.  
  13117.  
  13118. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13119.  
  13120. DEVICE Command:  Drive and Path Parameters 
  13121.  
  13122. Specifies the drive and directory that contain the COM.SYS file. 
  13123.  
  13124.  
  13125. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13126.  
  13127. DEVICE Command:  COM.SYS Parameter 
  13128.  
  13129. Specifies the system file.  COM.SYS is for all personal computer models. 
  13130.  
  13131.  
  13132. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13133.  
  13134. DEVICE Command:  (n,addr,IRQ,S) Parameter 
  13135.  
  13136. This is the COM.SYS parameter that supports COM ports that have nonstandard 
  13137. addresses and interrupt request levels (IRQs).  The parameter values are shown 
  13138. in the following example: 
  13139.  
  13140. DEVICE=C:\OS2\COM.SYS (n,addr,IRQ,S) [(n,addr,IRQ,S)]...
  13141.  
  13142. where 
  13143.  
  13144. C =     Drive on which OS/2 is installed. 
  13145.  
  13146. n =     COM port number (1, 2, 3, or 4). 
  13147.  
  13148. addr =  COM port address in hex number (3e8, 2e8, 3320, etc.). 
  13149.  
  13150. IRQ =   IRQ level in decimal number (from 1 to 15). 
  13151.  
  13152. S =     Unexpected interrupt handling value.  D is to deinstall the COM.SYS 
  13153.         device driver if more than 1000 unexpected interrupts occur 
  13154.         consecutively.  I is to ignore unexpected interrupts. (The default is 
  13155.         D.)  This value is optional. 
  13156.  
  13157. For ISA/EISA bus computers, this parameter must be specified to support COM3 
  13158. and COM4 ports.  The COM.SYS device driver assigns the following to COM1 and 
  13159. COM2: 
  13160.  
  13161. Address of COM1 is 3f8 and its IRQ is 4. 
  13162. Address of COM2 is 2f8 and its IRQ is 3. 
  13163.  
  13164. For Micro Channel bus computers, you do not need to specify this parameter 
  13165. unless the computer has a COM port with a nonstandard COM port address or IRQ. 
  13166.  
  13167. OS/2 2.1 cannot share the IRQ level in ISA/EISA bus computers.  Therefore, the 
  13168. IRQ level must be unique for each COM port on these systems.  IRQ level is 
  13169. determined by the hardware.  Check the IRQ level of the COM port before setting 
  13170. the parameter.  On Micro Channel bus computers, the IRQ level can be shared and 
  13171. no parameter is required to support COM3 or COM4 ports.  However, in order to 
  13172. ignore unexpected interrupts, you need to specify the value I. 
  13173.  
  13174.  
  13175. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13176.  
  13177. DEVICE Command:  Drive and Path Parameters 
  13178.  
  13179. Specifies the drive and directory that contain the EGA.SYS file. 
  13180.  
  13181.  
  13182. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13183.  
  13184. DEVICE Command:  Drive and Path Parameters 
  13185.  
  13186. Specifies the drive and directory that contain the EXTDSKDD.SYS file. 
  13187.  
  13188.  
  13189. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13190.  
  13191. DEVICE Command:  /D Parameter 
  13192.  
  13193. Specifies the physical drive number, which can have a value of 0 through 255. 
  13194.  
  13195. To specify the first physical diskette drive, accessed as A: from the command 
  13196. prompt, specify the value 0. The value 1 specifies the second physical diskette 
  13197. drive, and the value 2 specifies the third physical diskette drive, which must 
  13198. be external. 
  13199.  
  13200.  
  13201. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13202.  
  13203. DEVICE Command:  /T Parameter 
  13204.  
  13205. Specifies the number of tracks per side. The valid range is from 1 through 999. 
  13206. The default is 80. 
  13207.  
  13208.  
  13209. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13210.  
  13211. DEVICE Command:  /S Parameter 
  13212.  
  13213. Specifies the number of sectors per track. The valid range is from 1 through 
  13214. 99. The default is 9. 
  13215.  
  13216.  
  13217. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13218.  
  13219. DEVICE Command:  /H Parameter 
  13220.  
  13221. Specifies the maximum number of heads.  The valid range is from 1 through 99. 
  13222. The default is 2. 
  13223.  
  13224.  
  13225. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13226.  
  13227. DEVICE Command:  /F Parameter 
  13228.  
  13229. Specifies the device type (form factor).  The values are 0 - 9. The default is 
  13230. 2.  The values and the diskette drives are as follows: 
  13231.  
  13232. 0 - 360KB           (360) 
  13233. 1 - 1.2MB           (1200) (1.2) 
  13234. 2 - 7.20KB  3.5-inch drives  (720) 
  13235. 3 - not used  8-inch drives 
  13236. 4 - not used  8-inch drives 
  13237. 5 - not used  hard disks 
  13238. 6 - not used  tape drives 
  13239. 7 - 1.44MB  3.5-inch drives  (1440) (1.4) 
  13240. 8 - not used  RW Optical 
  13241. 9 - 2.88MB  3.5-inch drives  (2880) (2.88) 
  13242.  
  13243. Note:   The values in parentheses can be used in place of the 0-9 values. 
  13244.  
  13245.  
  13246. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13247.  
  13248. DEVICE Command:  Drive and Path Parameter 
  13249.  
  13250. Specifies the drive and directory that contain the LOG.SYS file. 
  13251.  
  13252.  
  13253. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13254.  
  13255. DEVICE Command:  /E:x Parameter 
  13256.  
  13257. Sets the size of the System-Error Logging Service error-log buffer to a 
  13258. specified size (x) in KB.  The default is 8KB, the minimum is 4KB and the 
  13259. maximum is 64KB. 
  13260.  
  13261. To set the size of the System Logging Service error log buffer to 32KB, type 
  13262. the following in the CONFIG.SYS file: 
  13263.  
  13264. DEVICE=C:\OS2\LOG.SYS /E:32
  13265.  
  13266.  
  13267. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13268.  
  13269. DEVICE Command:  /A:x Parameter 
  13270.  
  13271. Sets the size of the System Logging Service error-log device driver entry alert 
  13272. notification buffer to a specified size (x) in KB.  There is no default, the 
  13273. minimum is 4KB and the maximum is 64KB. 
  13274.  
  13275. To set the size of the System Error Logging Service error-log device driver 
  13276. entry alert notification buffer to 64KB, type the following in the CONFIG.SYS 
  13277. file: 
  13278.  
  13279. DEVICE=C:\OS2\LOG.SYS /A:64
  13280.  
  13281.  
  13282. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13283.  
  13284. DEVICE Command:  /OFF Parameter 
  13285.  
  13286. Pauses error logging as soon as the device driver is installed.  The default is 
  13287. that error logging will not be turned off until you suspend it using the SYSLOG 
  13288. utility program. 
  13289.  
  13290. To pause error logging, type the following in the CONFIG.SYS file: 
  13291.  
  13292. DEVICE=C:\OS2\LOG.SYS /OFF
  13293.  
  13294.  
  13295. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13296.  
  13297. DEVICE Command:  Drive and Path Parameters 
  13298.  
  13299. Specifies the drive and directory for the mouse device driver file. 
  13300.  
  13301.  
  13302. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13303.  
  13304. DEVICE Command:  Filename Parameter 
  13305.  
  13306. Specifies the complete name of the file, including its extension, that contains 
  13307. the mouse device driver. 
  13308.  
  13309. The file names for the IBM Personal System/2 Models 50, 55, 60, 70, 80, 90, and 
  13310. 95 are: 
  13311.  
  13312. PCLOGIC.SYS             PC Mouse Systems and some Logitech** devices 
  13313. VISION.SYS              Visi-On** 
  13314.  
  13315.  
  13316. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13317.  
  13318. DEVICE Command:  SERIAL Parameter 
  13319.  
  13320. Specifies the serial communications port that the serial mouse is connected to. 
  13321.  
  13322. Note:   This parameter is not valid for the IBM Personal System/2 Mouse, 
  13323.         Microsoft** Mouse with Bus Interface, or Microsoft In-Port Mouse. 
  13324.  
  13325. The values for the IBM Personal System/2 Model 55SX, 65, 70, 80, 90, or 95 are 
  13326. 1 through 8.  The default communications port is COM1. 
  13327.  
  13328.  
  13329. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13330.  
  13331. DEVICE Command:  Drive and Path Parameter 
  13332.  
  13333. Specifies the drive and directory for the MOUSE.SYS file. 
  13334.  
  13335.  
  13336. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13337.  
  13338. DEVICE Command:  QSIZE Parameter 
  13339.  
  13340. Specifies the length of the queue for events to be used for all OS/2 session 
  13341. tasks.  The valid range is 1 through 100. The default value is 10 event 
  13342. records. 
  13343.  
  13344.  
  13345. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13346.  
  13347. DEVICE Command:  TYPE Parameter 
  13348.  
  13349. Specifies the name of the device driver for the mouse. 
  13350.  
  13351. PCLOGIC$       PC Mouse Systems Devices 
  13352. PCLOGIC$       Logitech** Pointing Devices 
  13353. VISION$        Visi-On** Mouse 
  13354.  
  13355.  
  13356. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13357.  
  13358. DEVICE Command:  RELAXED Parameter 
  13359.  
  13360. Can be used with any three-button mouse if the mouse pointer is jumping 
  13361. randomly about the screen.  Do not use this parameter unless you are 
  13362. experiencing this problem. 
  13363.  
  13364.  
  13365. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13366.  
  13367. DEVICE Command:  Drive and Path Parameter 
  13368.  
  13369. Specifies the drive and path of the OS2CDROM.DMD file. 
  13370.  
  13371.  
  13372. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13373.  
  13374. DEVICE Command:  /V Parameter 
  13375.  
  13376. Specifies the Verbose mode.  This parameter displays the product identification 
  13377. and firmware level of the CD-ROM drive during OS/2 initialization. 
  13378.  
  13379.  
  13380. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13381.  
  13382. DEVICE Command:  /Q Parameter 
  13383.  
  13384. Specifies a quiet fail.  This parameter inhibits the display of an error 
  13385. message if OS2CDROM.DMD fails to load during OS/2 initialization. /Q is useful 
  13386. for users who occasionally start the OS/2 operating system with the CD-ROM 
  13387. drive turned off. 
  13388.  
  13389.  
  13390. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13391.  
  13392. DEVICE Command:  Drive and Path Parameters 
  13393.  
  13394. Specifies the drive and directory that contain PMDD.SYS. 
  13395.  
  13396.  
  13397. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13398.  
  13399. DEVICE Command:  Drive and Path Parameters 
  13400.  
  13401. Specifies the drive and directory that contain the POINTDD.SYS file. 
  13402.  
  13403.  
  13404. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13405.  
  13406. DEVICE Command:  Drive and Path Parameters 
  13407.  
  13408. Specifies the drive and directory for the touch device driver file. 
  13409.  
  13410.  
  13411. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13412.  
  13413. DEVICE Command:  Filename Parameter 
  13414.  
  13415. Specifies the complete name of the file, including its extension, that contains 
  13416. the device driver for the touch device. 
  13417.  
  13418.  
  13419. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13420.  
  13421. DEVICE Command:  CODE Parameter 
  13422.  
  13423. Specifies the microcode file to download into the touch device. 
  13424.  
  13425.  
  13426. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13427.  
  13428. DEVICE Command:  INIT Parameter 
  13429.  
  13430. Specifies the parameter file to override the default settings in the device 
  13431. driver for the touch device.  The default file is TOUCH.INI. 
  13432.  
  13433.  
  13434. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13435.  
  13436. DEVICE Command:  Drive and Path Parameter 
  13437.  
  13438. Specifies the drive and directory for the TOUCH.SYS file. 
  13439.  
  13440.  
  13441. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13442.  
  13443. DEVICE Command:  QSIZE Parameter 
  13444.  
  13445. Specifies the length of the queue for events to be used for all OS/2 session 
  13446. tasks.  The valid range is 1 through 100. The default value is 10. 
  13447.  
  13448.  
  13449. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13450.  
  13451. DEVICE Command:  TYPE Parameter 
  13452.  
  13453. Specifies the name of the device driver for the touch device.  The default name 
  13454. is PDITOU$. 
  13455.  
  13456.  
  13457. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13458.  
  13459. DEVICE Command:  Drive and Path Parameters 
  13460.  
  13461. Specifies the drive and directory of the VDISK.SYS file. 
  13462.  
  13463.  
  13464. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13465.  
  13466. DEVICE Command:  Bytes Parameter 
  13467.  
  13468. Specifies the size of the virtual disk in KB. The valid range is 16 through 
  13469. 4096. The default value is 64. 
  13470.  
  13471.  
  13472. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13473.  
  13474. DEVICE Command:  Sectors Parameter 
  13475.  
  13476. Specifies the sector size in bytes.  The values are 128, 256, and 512.  The 
  13477. default value is 512. 
  13478.  
  13479.  
  13480. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13481.  
  13482. DEVICE Command:  Directories Parameter 
  13483.  
  13484. Specifies the number of directory entries. The valid range is 2 through 1024. 
  13485. The default value is 64. 
  13486.  
  13487. The value of directories is rounded up to the nearest sector size boundary. 
  13488. For example, if you give a value of 25, and your sector size is 512 bytes, 25 
  13489. is rounded up to 32, which is the next multiple of 16.  (There are sixteen 
  13490. 32-byte directory entries in 512 bytes.) 
  13491.  
  13492. The file allocation table (FAT) file system cannot support a root directory 
  13493. containing more than 255 sectors. For example, a 64KB disk with 128-byte 
  13494. sectors and 1024 directory entries requires 256 sectors.  Therefore, for 
  13495. 128-byte sectors, the maximum number of root directory entries you should 
  13496. specify is 1020. 
  13497.  
  13498.  
  13499. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13500.  
  13501. DEVICE Command:  Drive and Path Parameters 
  13502.  
  13503. Specifies the drive and directory that contain VEMM.SYS. 
  13504.  
  13505.  
  13506. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13507.  
  13508. DEVICE Command: n Parameter 
  13509.  
  13510. Specifies, in KB, the limit on the amount of Expanded Memory Manager (EMM) 
  13511. memory available to each DOS session.  If more than 32MB is specified, 32MB is 
  13512. used.  Specifying 0 will disable EMM for all DOS sessions unless overridden. 
  13513. The value can be overridden for a DOS session by specifying an EMS memory limit 
  13514. in the DOS Settings section of a DOS command-prompt object on the desktop.  The 
  13515. default is 2048KB (2MB). 
  13516.  
  13517.  
  13518. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13519.  
  13520. DEVICE Command:  Drive and Path Parameters 
  13521.  
  13522. Specifies the drive and directory that contain VXMS.SYS. 
  13523.  
  13524.  
  13525. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13526.  
  13527. DEVICE Command: XMMLIMIT=g,i Parameter 
  13528.  
  13529. Sets the global (system-wide) maximum memory usage of the VXMS driver to g KB, 
  13530. and a per-DOS session maximum of i KB. These values should be large enough to 
  13531. accommodate an automatic 64KB allocation in each DOS session for the High 
  13532. Memory Area (HMA). Values are restricted to the range of 0 to 65535 (64MB). 
  13533. The values of g and i are rounded up to the nearest multiple of 4.  Specifying 
  13534. i=0 suppresses XMS installation in all DOS sessions unless specifically 
  13535. overridden by a DOS= specific configuration string. 
  13536.  
  13537. Default: /XMMLIMIT=4096,1024 
  13538.  
  13539.  
  13540. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13541.  
  13542. DEVICE Command: HMAMIN=d Parameter 
  13543.  
  13544. Sets the minimum request size (in KB) for a High Memory Area (HMA) request to 
  13545. succeed.  Values are restricted to the range of 0 to 63. 
  13546.  
  13547. Default:  /HMAMIN=0 
  13548.  
  13549.  
  13550. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13551.  
  13552. DEVICE Command: NUMHANDLES=n Parameter 
  13553.  
  13554. Sets the number of handles available in each DOS session.  Each handle requires 
  13555. eight bytes of memory. (A handle is a 16-bit binary value created by the system 
  13556. that identifies a drive, directory, and file so that the file can be found and 
  13557. opened). Values are restricted to the range of 0 to 128. 
  13558.  
  13559. Default:  /NUMHANDLES=32 
  13560.  
  13561.  
  13562. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13563.  
  13564. DEVICE Command: UMB Parameter 
  13565.  
  13566. Instructs XMS to create upper memory blocks. 
  13567.  
  13568. Default:  /off 
  13569.  
  13570.  
  13571. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13572.  
  13573. DEVICE Command: NOUMB Parameter 
  13574.  
  13575. Instructs XMS not to create upper memory blocks. 
  13576.  
  13577. Default:  /NOUMB 
  13578.  
  13579.  
  13580. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13581.  
  13582. DEVICEHIGH Command:  Drive and Path Parameter 
  13583.  
  13584. Specifies the drive and directory of the DOS device driver to be loaded in an 
  13585. upper memory block (UMB). 
  13586.  
  13587.  
  13588. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13589.  
  13590. DEVICEHIGH Command:  Filename Parameter 
  13591.  
  13592. Specifies the complete name of the DOS device driver to be loaded into an upper 
  13593. memory block (UMB). 
  13594.  
  13595.  
  13596. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13597.  
  13598. DEVICEHIGH Command:  Arguments Parameter 
  13599.  
  13600. Specifies optional parameters to be passed to the device driver. 
  13601.  
  13602.  
  13603. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13604.  
  13605. DEVICEHIGH Command: SIZE=xx Parameter 
  13606.  
  13607. Specifies the number of hexadecimal bytes of the maximum of the driver's 
  13608. run-time or load-time image.  When loading the device driver, the operating 
  13609. system will look for a UMB whose size is the greater of xx and the device 
  13610. driver's file size.  If a UMB of this size cannot be found, the device driver 
  13611. will be loaded into low memory. 
  13612.  
  13613. Some device drivers will not run properly in a UMB if they rely on having all 
  13614. memory above them available for their use.  The liklihood of having this 
  13615. additional memory, when loaded into a UMB, is less than when loaded into low 
  13616. memory.  If a device driver does not run properly when loaded into a UMB, you 
  13617. can increase the value in the SIZE= parameter by changing the CONFIG.SYS file 
  13618. and restarting the system.  If this does not work, you need to load the device 
  13619. driver into low memory. 
  13620.  
  13621.  
  13622. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13623.  
  13624. DEVINFO Command:  Drive Path Filename Parameters 
  13625.  
  13626. Specifies the drive, directory, and name of the file that contains the device 
  13627. driver. 
  13628.  
  13629.  
  13630. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13631.  
  13632. DEVINFO Command:  Arguments Parameter 
  13633.  
  13634. Specifies the parameters of the identified device. 
  13635.  
  13636.  
  13637. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13638.  
  13639. DEVINFO Command:  Device Parameter 
  13640.  
  13641. Specifies the reserved device name. The allowable device names are: 
  13642.  
  13643. CGA (IBM Color Graphics Adapter) 
  13644. EGA (IBM Enhanced Graphics Adapter) 
  13645. VGA (IBM Personal System/2 Video Graphics Adapter and IBM Personal System/2 
  13646. 8514/A) 
  13647. BGA (IBM Personal System/2 8514/A with memory expansion) 
  13648.  
  13649.  
  13650. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13651.  
  13652. DEVINFO Command:  Drive, Path, and Filename Parameters 
  13653.  
  13654.  Specifies the complete name of the file, which includes its extension, that 
  13655. contains the system code pages for the display. The name of the system file is 
  13656. VIOTBL.DCP, and it can be found in the C:\OS2 subdirectory by entering the PATH 
  13657. statement C:\OS2\VIOTBL.DCP. There is no default. 
  13658.  
  13659.  
  13660. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13661.  
  13662. DEVINFO Command:  Layout Parameter 
  13663.  
  13664. Specifies the keyboard layout.  The values are: 
  13665.  
  13666. AR (Arabic) 
  13667. BE (Belgium) 
  13668. BR (Brazil) 
  13669. CF (Canada, French Speaking) 
  13670. CS (Czechoslovakia) 
  13671. DK (Denmark) 
  13672. SU (Finland) 
  13673. FR (France) 
  13674. FR120 (France, Alternate Keyboard) 
  13675. GR (Germany) 
  13676. HE (Hebrew) 
  13677. HU (Hungary) 
  13678. IS (Iceland) 
  13679. IT (Italy) 
  13680. IT142 (Italy, Alternate Keyboard) 
  13681. LA (Latin America) 
  13682. NL (Netherlands) 
  13683. NO (Norway) 
  13684. PL (Poland) 
  13685. PO (Portugal) 
  13686. SP (Spain) 
  13687. SV (Sweden) 
  13688. SF (Switzerland, French) 
  13689. SG (Switzerland, German) 
  13690. TR (Turkey) 
  13691. TW (Republic of China) 
  13692. UK (United Kingdom) 
  13693. UK168 (United Kingdom, Alternate Keyboard) 
  13694. US (United States) 
  13695. YU (Yugoslavia) 
  13696.  
  13697.  
  13698. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13699.  
  13700. DEVINFO Command:  Drive, Path, Filename Parameters 
  13701.  
  13702. Specifies the complete name of the file, including its extension, that contains 
  13703. the keyboard translation tables. The name of the system file is KEYBOARD.DCP, 
  13704. and it can be found in the C:\OS2 subdirectory by entering the PATH statement 
  13705. C:\OS2\KEYBOARD.DCP. There is no default. 
  13706.  
  13707.  
  13708. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13709.  
  13710. DIR Command:  Drive, Path, Filename Parameters 
  13711.  
  13712. Lists the files in the specified directory or lists files that have a certain 
  13713. name or extension. 
  13714.  
  13715. To list files in a directory named REPORTS on drive B, enter the following: 
  13716.  
  13717. DIR B:\REPORTS
  13718.  
  13719. To list files in the current directory that have the file name LETTER with no 
  13720. extension, enter the following: 
  13721.  
  13722. DIR LETTER
  13723.  
  13724. To list all files in the current directory that have the extension .BAT, enter 
  13725. the following: 
  13726.  
  13727. DIR *.BAT
  13728.  
  13729.  
  13730. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13731.  
  13732. DIR Command:  /P Parameter 
  13733.  
  13734. Pauses the display of directory entries after the screen is filled.  To 
  13735. continue the display of output, press any key. The current directory is 
  13736. displayed in brackets on each screen after the first one. 
  13737.  
  13738. To pause the directory listing for the current directory, enter the following: 
  13739.  
  13740. DIR /P
  13741.  
  13742.  
  13743. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13744.  
  13745. DIR Command:  /W Parameter 
  13746.  
  13747. Selects wide display. Two names are shown for a 40-character-wide display; five 
  13748. names are shown for an 80-character wide-display, and eight names are shown for 
  13749. a 132 character-wide display.  Directory names are displayed enclosed in 
  13750. brackets. 
  13751.  
  13752. To display the current directory listing horizontally on your screen, enter the 
  13753. following: 
  13754.  
  13755. DIR /W
  13756.  
  13757. In OS/2 sessions, /W also selects the wide display mode for files created using 
  13758. a file system other than file allocation table (FAT). The system scans the list 
  13759. of found files to get the longest file name.  Then, it divides the width of the 
  13760. display by the longest file name to determine the number of files displayed per 
  13761. line. 
  13762.  
  13763.  
  13764. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13765.  
  13766. DIR Command:  /N parameter 
  13767.  
  13768. Forces drives that have been formatted with the File Allocation Table (FAT) 
  13769. file system to be displayed in the High Performance File System (HPFS) format. 
  13770.  
  13771. /N displays the following information for files created using the FAT file 
  13772. system: 
  13773.  
  13774. o The date the file was last updated 
  13775. o The time the file was last updated 
  13776. o The size of the file 
  13777. o The size of the file's extended attributes 
  13778. o The unedited file name 
  13779.  
  13780. Extended attribute information is consistently displayed on HPFS regardless of 
  13781. whether you specify the /N parameter. 
  13782.  
  13783.  
  13784. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13785.  
  13786. DIR Command:  /F Parameter 
  13787.  
  13788. Displays the fully qualified file name of each matching file.  No other 
  13789. information is displayed. A fully qualified file name consists of the 
  13790. following: drive letter, directory name, and file name.  The directory entries 
  13791. . and .. will not be displayed.  Do not use the /F parameter with the /W 
  13792. parameter. 
  13793.  
  13794. To display a list of files named REPORT.ABC, enter the following: 
  13795.  
  13796. DIR /F REPORT.ABC*
  13797.  
  13798. The directory listing would show all files that begin with REPORT.ABC 
  13799. regardless of what follows.  The listing would show such files as 
  13800. REPORT.ABC.342, REPORT.ABC.JAN., REPORT.ABC.APR.MAY. 
  13801.  
  13802.  
  13803. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13804.  
  13805. DIR Command:  /A:attributes Parameter 
  13806.  
  13807. Displays only the names of the directories and files with the attributes you 
  13808. specify.  If you use this parameter without specifying specific attributes, the 
  13809. names of all files, including hidden and system files, are displayed.  Use any 
  13810. combination of these values and do not separate the values with spaces.  The 
  13811. following list describes the values you can use for attributes: 
  13812.  
  13813. H         Hidden files 
  13814.  
  13815. -H        Files that are not hidden 
  13816.  
  13817. S         System files 
  13818.  
  13819. -S        Files other than system files 
  13820.  
  13821. D         Directories 
  13822.  
  13823. -D        Files only (not directories) 
  13824.  
  13825. A         Files ready for archiving (backup) 
  13826.  
  13827. -A        Files unchanged since the last backup 
  13828.  
  13829. R         Read-only files 
  13830.  
  13831. -R        Files that are not read-only. 
  13832.  
  13833.  
  13834. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13835.  
  13836. DIR Command:  /B Parameter 
  13837.  
  13838. Lists each directory name or file name without the heading information and 
  13839. summary. 
  13840.  
  13841.  
  13842. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13843.  
  13844. DIR Command:  /O:sortorder Parameter 
  13845.  
  13846. Displays directory and file names in the requested sorted order. If you use 
  13847. this parameter without specifying the sort order, the names of the directories, 
  13848. sorted in alphabetic order, and then the names of files, sorted in alphabetic 
  13849. order, are displayed.  Use any combination of these values and do not separate 
  13850. the values with spaces. The following list describes the values you can use for 
  13851. sortorder: 
  13852.  
  13853. N         Alphabetic order 
  13854.  
  13855. -N        Reverse alphabetic order 
  13856.  
  13857. E         Alphabetic order by extension 
  13858.  
  13859. -E        Reverse alphabetic order by extension 
  13860.  
  13861. D         Date and time, earliest first 
  13862.  
  13863. -D        Date and time, latest first 
  13864.  
  13865. S         Size, smallest first 
  13866.  
  13867. -S        Size, largest first 
  13868.  
  13869. G         Directories grouped before files 
  13870.  
  13871. -G        Directories grouped after files. 
  13872.  
  13873.  
  13874. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13875.  
  13876. DIR Command:  /S Parameter 
  13877.  
  13878. Lists all occurrences of the specified file name in the specified directory and 
  13879. all its subdirectories. 
  13880.  
  13881.  
  13882. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13883.  
  13884. DIR Command:  /L Parameter 
  13885.  
  13886. Lists all directory names and file names in lowercase. 
  13887.  
  13888.  
  13889. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13890.  
  13891. DIR Command:  /R Parameter 
  13892.  
  13893. Displays long file names in file systems (such as FAT) that do not support 
  13894. them.  In the FAT file system, /R displays both the FAT file name and the long 
  13895. file name to the right of the directory listing. 
  13896.  
  13897.  
  13898. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13899.  
  13900. DISKCACHE Command:  n Parameter 
  13901.  
  13902. Specifies a number from 64 through 14400 that indicates the number of 1024-byte 
  13903. blocks of storage to be used for control information and programs in the disk 
  13904. cache buffer.  The default value is 64. 
  13905.  
  13906. To set your disk cache size to 128KB, type the following in the CONFIG.SYS 
  13907. file: 
  13908.  
  13909. DISKCACHE=128
  13910.  
  13911. You can accept the default value of 64 if you install the OS/2 operating system 
  13912. on an IBM Personal System/2 Models 55sx, 65, 70, and 80. 
  13913.  
  13914.  
  13915. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13916.  
  13917. DISKCACHE Command:  ,T Parameter 
  13918.  
  13919. Specifies a number from 4 through 128 that indicates the threshold size for the 
  13920. number of sectors that will be placed into cache.  The default value is 4. 
  13921.  
  13922. To set your disk cache size to 64KB with a threshold of 128 sectors, type the 
  13923. following in the CONFIG.SYS file: 
  13924.  
  13925. DISKCACHE=64,128
  13926.  
  13927.  
  13928. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13929.  
  13930. DISKCACHE Command:  ,LW Parameter 
  13931.  
  13932. Specifies whether the contents of cache memory are written immediately to disk 
  13933. or only during disk idle time.  This parameter pertains only to disks formatted 
  13934. for the FAT file system.  The LW (lazy-write) parameter enables writing of 
  13935. cache memory during disk idle time.  Omitting this parameter specifies 
  13936. immediate writing to disk.  The LW parameter is in the DISKCACHE statement in 
  13937. the CONFIG.SYS file by default. 
  13938.  
  13939.  
  13940. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13941.  
  13942. DISKCACHE Command:  ,AC:x Parameter 
  13943.  
  13944. The AC:x (autocheck) parameter specifies the drives (x) the operating system 
  13945. checks at startup time to determine if the file system associated with a drive 
  13946. is in an inconsistent state.  A file system can be in an inconsistent state 
  13947. when files were left open. This can happen when: 
  13948.  
  13949. o The computer was turned off without selecting the Shut down choice from the 
  13950.   menu of the desktop. 
  13951.  
  13952. o Electrical power to the computer was interrupted. 
  13953.  
  13954. The operating system runs the CHKDSK program with the /F option to correct any 
  13955. problem caused by improper system shutdown. 
  13956.  
  13957.  
  13958. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13959.  
  13960. DISKCOMP Command:  Source and Target Drive Parameters 
  13961.  
  13962. Specifies the drives that contain the files to be compared.  On systems with 
  13963. only one diskette drive, you can use DISKCOMP by inserting the source diskette 
  13964. into drive A when prompted and then inserting the target diskette into drive A 
  13965. when prompted. 
  13966.  
  13967. To compare the complete contents of a diskette in drive B to a diskette in 
  13968. drive A, enter the following: 
  13969.  
  13970. DISKCOMP B: A:
  13971.  
  13972. To compare the complete contents of a diskette in drive A to a diskette to be 
  13973. inserted later into drive A, enter the following: 
  13974.  
  13975. DISKCOMP A: A:
  13976.  
  13977.  
  13978. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13979.  
  13980. DISKCOPY Command:  Source and Target Drive Parameters 
  13981.  
  13982. Specifies the drives that contain the files to be copied.  On systems with only 
  13983. one diskette drive, you can use DISKCOPY by inserting the source diskette into 
  13984. drive A when prompted and then inserting the target diskette into drive A when 
  13985. prompted. 
  13986.  
  13987. To copy the complete contents of a diskette in drive B to a diskette in drive 
  13988. A, enter the following: 
  13989.  
  13990. DISKCOPY B: A:
  13991.  
  13992. To copy the complete contents of a diskette in drive A to a diskette to be 
  13993. inserted later into drive A, enter the following: 
  13994.  
  13995. DISKCOPY A: A:
  13996.  
  13997.  
  13998. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13999.  
  14000. DOSKEY Command: Macroname=text Parameter 
  14001.  
  14002. Creates a macro that processes one or more DOS commands.  Macroname specifies 
  14003. the name you want to assign to the macro.  Text specifies the commands you want 
  14004. to record. 
  14005.  
  14006.  
  14007. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14008.  
  14009. DOSKEY Command: /Reinstall Parameter 
  14010.  
  14011. Installs a new copy of the DOSKEY program, even if one is already installed. 
  14012. When DOSKEY is already installed, using this parameter clears the buffer. 
  14013.  
  14014.  
  14015. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14016.  
  14017. DOSKEY Command: /Bufsize=n Parameter 
  14018.  
  14019. Specifies the size of the buffer in which DOSKEY stores commands and macros. 
  14020. The default size is 512 bytes.  The minimum buffer size is 256 bytes. 
  14021.  
  14022.  
  14023. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14024.  
  14025. DOSKEY Command: /M Parameter 
  14026.  
  14027. Displays a list of all DOSKEY macros.  You can use a redirection symbol (>) 
  14028. with this parameter to redirect the list to a file. 
  14029.  
  14030.  
  14031. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14032.  
  14033. DOSKEY Command: /H Parameter 
  14034.  
  14035. Displays a list of all commands stored in memory.  You can use a redirection 
  14036. symbol (>) with this parameter to redirect the list to a file. 
  14037.  
  14038.  
  14039. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14040.  
  14041. DOSKEY Command: /Insert/Overstrike Parameter 
  14042.  
  14043. Specifies how new text that you type is to be placed.  If you use /insert, new 
  14044. text that you type on a line is inserted into old text.  If you use 
  14045. /overstrike, new text is to replace old text.  The default is /overstrike. 
  14046.  
  14047.  
  14048. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14049.  
  14050. DOS Command: HIGH Parameter 
  14051.  
  14052. Specifies that the DOS kernel should reside in the high memory area (HMA). The 
  14053. high memory area (HMA) refers to space between 1MB and 1MB + 64KB.  When the 
  14054. DOS kernel resides in the high memory area, DOS applications cannot use this 
  14055. area. 
  14056.  
  14057.  
  14058. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14059.  
  14060. DOS Command: LOW Parameter 
  14061.  
  14062. Specifies that the DOS kernel should reside in conventional (low) memory below 
  14063. 640KB.  This means that DOS applications can use the high memory area. The high 
  14064. memory area (HMA) refers to space between 1MB and 1MB + 64KB. 
  14065.  
  14066.  
  14067. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14068.  
  14069. DOS Command: UMB Parameter 
  14070.  
  14071. Specifies that the operating system controls the upper memory blocks (UMBs). 
  14072. This means that DOS applications cannot allocate UMBs but can be loaded there. 
  14073.  
  14074. To specify UMBs to be controlled by the operating system and the DOS kernel to 
  14075. reside in the upper memory area, type the following in the CONFIG.SYS file: 
  14076.  
  14077. DOS=HIGH,UMB
  14078.  
  14079.  
  14080. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14081.  
  14082. DOS Command: NOUMB Parameter 
  14083.  
  14084. Specifies that the operating system does not control the upper memory blocks 
  14085. (UMBs).  This means that DOS applications can allocate UMBs but cannot be 
  14086. loaded there. 
  14087.  
  14088. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  14089. conventional memory (below 640KB), type the following in the CONFIG.SYS file: 
  14090.  
  14091. DOS=LOW,NOUMB
  14092.  
  14093.  
  14094. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14095.  
  14096. DPATH Command:  Drive and Path Parameters 
  14097.  
  14098. Specifies the drive and directories to be searched for data files. When you 
  14099. installed the operating system, the installation program placed a DPATH 
  14100. statement in your CONFIG.SYS file. 
  14101.  
  14102. To specify the current path to data files as a replaceable parameter by 
  14103. appending the paths of the ABC and XYZ subdirectories to the DPATH statement 
  14104. already in effect, enter the following: 
  14105.  
  14106. DPATH %DPATH%;C:\ABC;C:\XYZ;
  14107.  
  14108.  
  14109. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14110.  
  14111. EAUTIL Command:  /S Parameter 
  14112.  
  14113. Splits extended attributes from a data file and places them in a hold file. 
  14114.  
  14115. To place extended attributes from a file named MODULE.TXT into a file named 
  14116. ATTRIB.MOD, enter the following: 
  14117.  
  14118. EAUTIL MODULE.TXT ATTRIB.MOD /S
  14119.  
  14120.  
  14121. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14122.  
  14123. EAUTIL Command:  /R Parameter 
  14124.  
  14125. Replaces the hold file with the current extended attributes contained in the 
  14126. data file. 
  14127.  
  14128. To replace the extended attributes in the ATTRIB.MOD file with the extended 
  14129. attributes of the NEWFILE.EA, enter the following: 
  14130.  
  14131. EAUTIL NEWFILE.EA ATTRIB.MOD /R /S
  14132.  
  14133.  
  14134. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14135.  
  14136. EAUTIL Command:  /P Parameter 
  14137.  
  14138. Preserves extended attributes in the data file after a split operation, or 
  14139. preserves extended attributes in a hold file after a join operation. 
  14140.  
  14141. To preserve extended file attributes in a file named MODULE.TXT and copy that 
  14142. file's extended attributes to a file named ATTRIB.MOD, enter the following: 
  14143.  
  14144. EAUTIL MODULE.TXT ATTRIB.MOD /P /S
  14145.  
  14146.  
  14147. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14148.  
  14149. EAUTIL Command:  /J Parameter 
  14150.  
  14151. Joins the extended attributes stored as data in the hold file to the data file. 
  14152.  
  14153. To join the extended attributes in the ATTRIB.MOD hold file with the MODULE.TXT 
  14154. data file, enter the following: 
  14155.  
  14156. EAUTIL MODULE.TXT ATTRIB.MOD /J
  14157.  
  14158.  
  14159. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14160.  
  14161. EAUTIL Command:  /O Parameter 
  14162.  
  14163. Overwrites (deletes) the extended attributes that are in the data file with the 
  14164. extended attributes that are in the hold file. 
  14165.  
  14166. To overwrite the extended attributes in the MODULE.TXT file with the extended 
  14167. attributes in the NEWFILE.EA hold file, enter the following: 
  14168.  
  14169. EAUTIL MODULE.TXT NEWFILE.EA /O /J
  14170.  
  14171.  
  14172. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14173.  
  14174. EAUTIL Command:  /M Parameter 
  14175.  
  14176. Merges the extended attributes that are in the hold file into the extended 
  14177. attributes that are in the data file. 
  14178.  
  14179. To merge the extended attributes in the NEWFILE.EA hold file into the extended 
  14180. attributes in the MODULE.TXT data file, enter the following: 
  14181.  
  14182. EAUTIL MODULE.TXT NEWFILE.EA /M /J
  14183.  
  14184.  
  14185. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14186.  
  14187. EAUTIL Command:  Datafile Parameter 
  14188.  
  14189. Specifies the name of the file that contains extended attributes that are to be 
  14190. split into a hold file. 
  14191.  
  14192.  
  14193. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14194.  
  14195. EAUTIL Command:  Holdfile Parameter 
  14196.  
  14197. Specifies the name of the file that will be used to store extended attributes 
  14198. as data.  If no file name is specified, EAUTIL creates a hold file with the 
  14199. same name as the data file.  EAUTIL stores the hold file in a directory named 
  14200. EAS with the same parent directory as the data file. 
  14201.  
  14202.  
  14203. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14204.  
  14205. ECHO Command:  Message Parameter 
  14206.  
  14207. Displays a message regardless of the current state (ON or OFF). In this way, 
  14208. you can display specific messages even when ECHO has been turned off. 
  14209.  
  14210. To display the message, PROGRAM FAILED, on your screen, whether ECHO is ON or 
  14211. OFF, enter the following: 
  14212.  
  14213. ECHO PROGRAM FAILED
  14214.  
  14215.  
  14216. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14217.  
  14218. ECHO Command:  ON and OFF Parameters 
  14219.  
  14220. ON displays all commands as they are run.  This is the default value.  OFF 
  14221. stops the display of commands on the screen (including the REM command). 
  14222.  
  14223. To show all commands on your screen as they are processed, enter the following: 
  14224.  
  14225. ECHO ON
  14226.  
  14227.  
  14228. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14229.  
  14230. ERASE Command:  Drive, Path, Filename Parameters 
  14231.  
  14232. Specifies the name of the file or files to be erased.  In DOS sessions, all 
  14233. files must be in the same directory. 
  14234.  
  14235. To erase a file named FRIDAY from the current directory on the current drive, 
  14236. enter the following: 
  14237.  
  14238. ERASE FRIDAY
  14239.  
  14240. To erase all files in the current directory on drive C, enter the following: 
  14241.  
  14242. ERASE C:*.*
  14243.  
  14244. To erase all files in the REPORTS subdirectory on drive C, enter the following: 
  14245.  
  14246. ERASE C:\REPORTS\*.*
  14247.  
  14248. To erase a file named FRIDAY from the REPORTS subdirectory on drive C, enter 
  14249. the following: 
  14250.  
  14251. ERASE C:\REPORTS\FRIDAY
  14252.  
  14253. To erase all files with a .ABC extension from the REPORTS subdirectory in the 
  14254. root directory on drive C, enter the following: 
  14255.  
  14256. ERASE C:\REPORTS\*.ABC
  14257.  
  14258.  
  14259. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14260.  
  14261. ERASE Command:  /P Parameter 
  14262.  
  14263. Specifies that you do not want the system to delete all files.  The system 
  14264. displays each file name, giving you the option to delete it or not delete it. 
  14265. When you use the /P parameter to delete a single file or more than one file, a 
  14266. message is displayed.  For example, if you type the following: 
  14267.  
  14268. ERASE C:\MYDIR\MYFILE /P
  14269.  
  14270. The system displays this message: 
  14271.  
  14272. C:\MYDIR\MYFILE, Delete (Y/N)?
  14273.  
  14274. Type Y to delete the file; otherwise, type N. If you are deleting multiple 
  14275. files in a directory, the system advances to the next file. 
  14276.  
  14277.  
  14278. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14279.  
  14280. ERASE Command:  /N Parameter 
  14281.  
  14282. Specifies that the message Are you sure (Y/N)? is not to be displayed by the 
  14283. operating system when you are deleting the contents of a subdirectory. 
  14284.  
  14285. To delete the contents of the REPORTS subdirectory on drive C and not be 
  14286. prompted Are you sure (Y/N)?, enter the following: 
  14287.  
  14288. ERASE C:\REPORTS /N
  14289.  
  14290.  
  14291. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14292.  
  14293. EXTPROC Command:  Drive, Path, Filename Parameters 
  14294.  
  14295. Specifies the complete name of the file, including its extension, that contains 
  14296. the external batch processor. 
  14297.  
  14298.  
  14299. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14300.  
  14301. EXTPROC Command:  Arguments Parameter 
  14302.  
  14303. Specifies the information passed to the external batch processor. 
  14304.  
  14305.  
  14306. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14307.  
  14308. FCBS Command:  m Parameter 
  14309.  
  14310. Specifies a number from 1 through 255 that indicates the total number of file 
  14311. control blocks (FCBs) that can be open at the same time. 
  14312.  
  14313. To specify the total number of file control blocks that can be open at one time 
  14314. to 7, type the following in the CONFIG.SYS file: 
  14315.  
  14316. FCBS=7
  14317.  
  14318.  
  14319. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14320.  
  14321. FCBS Command:  n Parameter 
  14322.  
  14323. Specifies the number of files opened by FCBs that cannot be closed 
  14324. automatically by the system when a program tries to have more than m files 
  14325. opened by FCBs at one time. The first n files opened by FCBs are thus protected 
  14326. from being closed.  The range of values for n is from 0 through 255.  The value 
  14327. for n must be less than or equal to m. 
  14328.  
  14329. To set the total number of file control block files that can be open at one 
  14330. time to 7, and set the number protected from being closed to 2, type the 
  14331. following in the CONFIG.SYS file. 
  14332.  
  14333. FCBS=7,2
  14334.  
  14335.  
  14336. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14337.  
  14338. FDISK Command:  /QUERY Parameter 
  14339.  
  14340. Displays a list of all partitions and free space on the hard disks of the 
  14341. system.  For example, here is a query that returned information about 4 
  14342. partitions and a free space entry: 
  14343.  
  14344. Name     Partition   Vtype   FStype   Drive   Status   Start   Size
  14345. System 1   C:        01      04       1        1       00     30
  14346. System 2    :        01      01       1        1       30     10
  14347. OS2-HPFS   D:        02      07       2        1       00     60
  14348. data-vol   E:        02      06       1        0       40     70
  14349. 01000061    :        03      00       2        0       60     55
  14350.  
  14351. To display a list of all partitions and free space on the hard disks of the 
  14352. system, type the following: 
  14353.  
  14354. FDISK /QUERY
  14355.  
  14356.  
  14357. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14358.  
  14359. FDISK Command:  /CREATE:name Parameter 
  14360.  
  14361. Creates a primary partition or logical drive in an extended partition.  You can 
  14362. specify an optional name for the created partition. You must specify the type 
  14363. of partition being created by using the /VTYPE:n option where n = 1 for a 
  14364. primary partition and 2 for a logical drive in an extended partition. 
  14365.  
  14366. To create a logical drive in an extended partition on disk 1 with the name 
  14367. OS2FAT, type the following: 
  14368.  
  14369. FDISK /CREATE:OS2FAT /VTYPE:2 /DISK:1
  14370.  
  14371.  
  14372. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14373.  
  14374. FDISK Command:  /DELETE Parameter 
  14375.  
  14376. Deletes a logical drive or primary partition.  This parameter must be used with 
  14377. one or more options.  You can use /DELETE:all to delete all logical drives on a 
  14378. disk.  If you use /DELETE:all, however, you must specify the disk using the 
  14379. /DISK option. 
  14380.  
  14381. To delete a logical drive with the name OS2FAT, type the following: 
  14382.  
  14383. FDISK /DELETE /NAME:OS2FAT
  14384.  
  14385. To delete all logical drives on disk 2, type the following: 
  14386.  
  14387. FDISK /DELETE:all /DISK:2
  14388.  
  14389.  
  14390. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14391.  
  14392. FDISK Command:  /SETNAME:name Parameter 
  14393.  
  14394. Specifies names for primary partitions or logical drives and makes them 
  14395. bootable from the Boot Manager.  If name is left blank, the boot name is 
  14396. removed and the partition will not be bootable from the Boot Manager menu. 
  14397.  
  14398. To specify the name DOS4.0 of a primary partition, type the following: 
  14399.  
  14400. FDISK /SETNAME:DOS4.0
  14401.  
  14402.  
  14403. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14404.  
  14405. FDISK Command:  /SETACCESS Parameter 
  14406.  
  14407. Sets a primary DOS partition as accessible.  Once a primary DOS partition has 
  14408. been set as accessible, all other primary DOS partitions on the same drive are 
  14409. inaccessible. 
  14410.  
  14411. If there are two primary DOS partitions on a hard disk, specifying this 
  14412. parameter with no options makes the previously inaccessible partition 
  14413. accessible and changes the previously accessible partition to inaccessible. 
  14414.  
  14415. To specify a primary DOS partition as accessible, type the following: 
  14416.  
  14417. FDISK /SETACCESS
  14418.  
  14419.  
  14420. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14421.  
  14422. FDISK Command:  /STARTABLE Parameter 
  14423.  
  14424. Specifies a partition as startable. 
  14425.  
  14426. To specify a partition as startable, type the following: 
  14427.  
  14428. FDISK /STARTABLE
  14429.  
  14430.  
  14431. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14432.  
  14433. FDISK Command:  /FILE:filename Parameter 
  14434.  
  14435. Processes all FDISK commands in the specified file allowing the batching of 
  14436. FDISK commands.  You must have commas separating the arguments of each command 
  14437. in the file and the commands are processed just once.  For example, the file, 
  14438. MYFILE, contains the following commands: 
  14439.  
  14440. /query
  14441. /create:OS2,/vtype:1,/disk:1,/name:01000030,/size:20
  14442. /startable,/name:OS2
  14443. /query,/name:OS2
  14444.  
  14445. The processing of these commands is as follows: 
  14446.  
  14447. Command 1       Displays a list of all partitions and unused space on all hard 
  14448.                 disks. 
  14449.  
  14450. Command 2       Creates a primary partition on disk 1 with a size of 20MB in 
  14451.                 the free space alias 01000030 and assigns it a name of OS2. 
  14452.  
  14453. Command 3       Sets the partition named OS2 to be startable on the Boot 
  14454.                 Manager menu. 
  14455.  
  14456. Command 4       Displays the partition information of the partition named OS2. 
  14457.  
  14458. To process FDISK commands in the file MYFILE, type the following: 
  14459.  
  14460. FDISK /FILE:myfile
  14461.  
  14462.  
  14463. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14464.  
  14465. FDISK Command:  /parameter /NAME:name Option 
  14466.  
  14467. Options limit the actions of the FDISK command and parameters.  This option 
  14468. indicates the name of a partition.  A name can be up to eight characters in 
  14469. length and is case-sensitive.  The /NAME option can be used with all FDISK 
  14470. parameters except /FILE. 
  14471.  
  14472. Note:   During a QUERY operation, a temporary name is assigned to every 
  14473.         partition and free space that does not have a boot name assigned.  This 
  14474.         name is not set as the partition name, but is only used as a temporary 
  14475.         identifier for you.  Because you do not have a visual representation of 
  14476.         the Boot Manager menu, these temporary names can be used in place of 
  14477.         real names for the NAME option. 
  14478.  
  14479. To delete a partition named dos, type the following: 
  14480.  
  14481. FDISK /DELETE /NAME:dos
  14482.  
  14483.  
  14484. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14485.  
  14486. FDISK Command:  /parameter /DISK:n Option 
  14487.  
  14488. Options limit the actions of the FDISK command and parameters.  This option 
  14489. specifies the number of the hard disk that you want to work with using the 
  14490. FDISK command and parameters.  The /DISK option can be used with all FDISK 
  14491. parameters except /FILE. 
  14492.  
  14493. To display all partitions on drive 2, type the following: 
  14494.  
  14495. FDISK /QUERY /DISK:2
  14496.  
  14497.  
  14498. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14499.  
  14500. FDISK Command:  /parameter /FSTYPE:x Option 
  14501.  
  14502. Options limit the actions of the FDISK command and parameters.  This option 
  14503. specifies the file system type of the partition.  The Type x = DOS, FAT, IFS, 
  14504. Free, or other.  The /FSTYPE option can be used with all FDISK parameters 
  14505. except /FILE and /SETACCESS. 
  14506.  
  14507. To display a partition with a FAT file system, type the following: 
  14508.  
  14509. FDISK /QUERY /FSTYPE:FAT
  14510.  
  14511.  
  14512. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14513.  
  14514. FDISK Command:  /parameter /START:m Option 
  14515.  
  14516. Options limit the actions of the FDISK command and parameters.  This option 
  14517. specifies the partition starting location.  The m = t or b where t = top of the 
  14518. partition and b = bottom of the partition.  The /START option can be used with 
  14519. all FDISK parameters except /FILE. 
  14520.  
  14521. To create a primary partition starting at the top of the partition, type the 
  14522. following: 
  14523.  
  14524. FDISK /CREATE /START:t
  14525.  
  14526.  
  14527. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14528.  
  14529. FDISK Command:  /parameter /SIZE:m Option 
  14530.  
  14531. Options limit the actions of the FDISK command and parameters.  This option 
  14532. specifies the size of the partition where m is the size in MB.  The /SIZE 
  14533. option can be used with all FDISK parameters except /FILE. 
  14534.  
  14535. To create a primary partition with a size of 8MB, type the following: 
  14536.  
  14537. FDISK /CREATE /SIZE:8
  14538.  
  14539.  
  14540. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14541.  
  14542. FDISK Command:  /parameter /VTYPE:n Option 
  14543.  
  14544. Options limit the actions of the FDISK command and parameters.  This option 
  14545. specifies the type of the partition.  The value of n can be as follows: 
  14546.  
  14547. 0    Space is not usable 
  14548.  
  14549. 1    Primary partition (not shared) 
  14550.  
  14551. 2    Logical drive (shared in an extended partition) 
  14552.  
  14553.      Free space that can be used to create a primary or extended partition. 
  14554.  
  14555. The /VTYPE option can be used with all FDISK parameters except /FILE, 
  14556. /SETACCESS, and /STARTABLE. 
  14557.  
  14558. To display unusable space on a disk, type the following: 
  14559.  
  14560. FDISK /QUERY /VTYPE:0
  14561.  
  14562. To specify a primary partition to be displayed, type the following: 
  14563.  
  14564. FDISK /QUERY /VTYPE:1
  14565.  
  14566. To specify a logical drive in an extended partition to be displayed, type the 
  14567. following: 
  14568.  
  14569. FDISK /QUERY /VTYPE:2
  14570.  
  14571. To display free space that can be used to create a primary or extended 
  14572. partition, type the following: 
  14573.  
  14574. FDISK /QUERY /VTYPE:3
  14575.  
  14576.  
  14577. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14578.  
  14579. FDISK Command:  /parameter /BOOTABLE:s Option 
  14580.  
  14581. Options limit the actions of the FDISK command and parameters.  This option 
  14582. indicates the bootable status of partitions; s is 0 for partitions that are not 
  14583. bootable; s is 1 for partitions that are bootable.  The /BOOTABLE option can be 
  14584. used with all FDISK parameters except /FILE. 
  14585.  
  14586. To display all partitions that are bootable from the Boot Manager menu, type 
  14587. the following: 
  14588.  
  14589. FDISK /QUERY /BOOTABLE:1
  14590.  
  14591.  
  14592. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14593.  
  14594. FDISK Command:  /BOOTMGR Option 
  14595.  
  14596. Options limit the actions of the FDISK command and parameters.  This option 
  14597. specifies an action for the Boot Manager partition. 
  14598.  
  14599. To create the Boot Manager partition, type the following: 
  14600.  
  14601. FDISK  /CREATE /BOOTMGR
  14602.  
  14603.  
  14604. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14605.  
  14606. An allocated space on a hard disk that is defined by size and accessibility. A 
  14607. non-shareable partition is called a primary partition.  A shareable partition 
  14608. is called an extended partition and can contain multiple logical drives, each 
  14609. of which can be assigned different versions of an operating system such as the 
  14610. OS/2 operating system.  All versions of DOS, however, must reside in a primary 
  14611. partition. 
  14612.  
  14613.  
  14614. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14615.  
  14616. FILES Command:  n Parameter 
  14617.  
  14618. Specifies a number from 20 to 255 that indicates the maximum number of files 
  14619. that can be open at the same time.  This means that a DOS session can access 
  14620. the number of files that you specify in the CONFIG.SYS file.  The default value 
  14621. is 20. 
  14622.  
  14623. To specify a maximum of 40 files to be open at the same time in a DOS session, 
  14624. type the following in the CONFIG.SYS file: 
  14625.  
  14626. FILES=40
  14627.  
  14628.  
  14629. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14630.  
  14631. FIND Command:  /V Parameter 
  14632.  
  14633. Displays all lines that do not contain the specified string. 
  14634.  
  14635. To display all lines that do not include the word CHAPTER in a file named 
  14636. BOOK.TXT, enter the following. 
  14637.  
  14638. FIND /V "CHAPTER" BOOK.TXT
  14639.  
  14640.  
  14641. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14642.  
  14643. FIND Command:  /C Parameter 
  14644.  
  14645. Displays the count of lines that contain a match for the string.  If /C is 
  14646. specified with /N, FIND ignores /N. If /C is specified with /V, FIND returns 
  14647. the count of lines that do not contain the string. 
  14648.  
  14649. To display a count of the number of lines in a file named BOOK.TXT that include 
  14650. the word CHAPTER, enter the following: 
  14651.  
  14652. FIND /C "CHAPTER" BOOK.TXT
  14653.  
  14654.  
  14655. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14656.  
  14657. FIND Command:  /N Parameter 
  14658.  
  14659. Puts the relative line number in front of each matching line. 
  14660.  
  14661. To display the line number where each occurrence of CHAPTER is found in the 
  14662. text of the file named BOOK.TXT, enter the following: 
  14663.  
  14664. FIND /N "CHAPTER" BOOK.TXT
  14665.  
  14666.  
  14667. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14668.  
  14669. FIND Command:  /I Parameter 
  14670.  
  14671. Ignores the case of characters when searching for a string in a file. 
  14672.  
  14673. To make a search for the string CHAPTER not case-sensitive in the file 
  14674. BOOK.TXT, enter the following: 
  14675.  
  14676. FIND /I "CHAPTER" BOOK.TXT
  14677.  
  14678.  
  14679. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14680.  
  14681. FIND Command:  "String" Parameter 
  14682.  
  14683. Specifies the string to search for.  Remember to enclose the string in double 
  14684. quotes.  An uppercase string does not match a lowercase string. 
  14685.  
  14686. To display all the lines from files named BOOK1 and BOOK2 (in that order) that 
  14687. contain the word CHAPTER, enter the following: 
  14688.  
  14689. FIND "CHAPTER" BOOK1 BOOK2
  14690.  
  14691.  
  14692. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14693.  
  14694. FIND Command:  Drive, Path, and Filename Parameters 
  14695.  
  14696. Specifies the drive, path, and name of the file to be searched. 
  14697.  
  14698.  
  14699. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14700.  
  14701. FOR Command:  %variable Parameter 
  14702.  
  14703. Specifies any character, including 0 through 9, entered at the command prompt. 
  14704.  
  14705.  
  14706. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14707.  
  14708. FOR Command:  %%c Parameter 
  14709.  
  14710. Specifies any character, including 0 through 9.  Note that this does not 
  14711. conflict with the %0 through %9 batch parameter substitutions because two % 
  14712. symbols (%%) are required when you use FOR loop substitution in batch 
  14713. processing. 
  14714.  
  14715.  
  14716. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14717.  
  14718. FOR Command:  Set Parameter 
  14719.  
  14720. Specifies one or more items to which the % variable parameter or the %%c 
  14721. parameter will be set. 
  14722.  
  14723.  
  14724. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14725.  
  14726. FOR Command:  Command Parameter 
  14727.  
  14728. Specifies the OS/2 command to be run. 
  14729.  
  14730.  
  14731. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14732.  
  14733. FORMAT Command:  Drive Parameter 
  14734.  
  14735. Specifies the drive to be formatted. 
  14736.  
  14737. To format a 5.25-inch high-capacity diskette in high-capacity diskette drive B, 
  14738. enter the following: 
  14739.  
  14740. FORMAT B:
  14741.  
  14742.  
  14743. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14744.  
  14745. FORMAT Command:  /ONCE Parameter 
  14746.  
  14747. Specifies that only one diskette is to be formatted.  You use this parameter 
  14748. when you want to format only one diskette and do not want to be asked by a 
  14749. system message if you want to format another diskette.  After one diskette is 
  14750. formatted, no system message is displayed and you are returned to the command 
  14751. prompt. 
  14752.  
  14753. To format one diskette on drive A, enter the following: 
  14754.  
  14755. FORMAT A: /ONCE
  14756.  
  14757.  
  14758. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14759.  
  14760. FORMAT Command:  /4 Parameter 
  14761.  
  14762. Formats a 360KB diskette in a 1.2MB drive. This parameter is intended to allow 
  14763. use of 360KB diskettes in 1.2MB drives only. Diskettes formatted with this 
  14764. parameter on a 1.2MB drive may not be reliably read or written in a 360KB 
  14765. drive. 
  14766.  
  14767. To format a 360KB diskette in a 1.2MB drive, enter the following: 
  14768.  
  14769. FORMAT A: /4
  14770.  
  14771. You can also type: 
  14772.  
  14773. FORMAT A: /N:9 /T:40
  14774.  
  14775.  
  14776. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14777.  
  14778. FORMAT Command:  /T:tracks and /N:sectors Parameters 
  14779.  
  14780. Formats a diskette to the number of tracks (/T) and number of sectors (/N) 
  14781. specified. If /T is not specified, the default is 80. 
  14782.  
  14783. Use /N to format a 3.5-inch diskette to a specific number of sectors per track. 
  14784. The default depends on the diskette drive being used. However, if the diskette 
  14785. you are formatting has a smaller capacity than the diskette drive, you must 
  14786. specify a value for /N. 
  14787.  
  14788. Use the following values to specify tracks and sectors for the diskette type 
  14789. shown: 
  14790.  
  14791. 360KB (5.25 in.) /T:40 /N:9 
  14792.  
  14793. 720KB (3.5 in.) /T:80 /N:9 
  14794.  
  14795. 1.2MB (5.25 in. /T:80 /N:15 
  14796.  
  14797. 1.44MB (3.5 in.) /T:80 /N:18 
  14798.  
  14799. 2.88MB (3.5 in.) /T:80 /N:36 
  14800.  
  14801. To format a 3.5-inch 720KB diskette in a 1.44MB drive (drive A), enter the 
  14802. following: 
  14803.  
  14804. FORMAT A: /T:80 /N:9
  14805.  
  14806.  
  14807. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14808.  
  14809. FORMAT Command: /L Parameter 
  14810.  
  14811. Specifies the long format procedure used to format and install the file system 
  14812. on an IBM read/write optical disc.  Formatting an optical disc the first time 
  14813. requires about 20 minutes. Reformatting a previously formatted optical disc 
  14814. requires only a few minutes when you do not use the /L parameter. 
  14815.  
  14816. To format and install the file system on a read-write optical disc, enter the 
  14817. following: 
  14818.  
  14819. FORMAT D: /L
  14820.  
  14821. where drive D is designated as the optical disc drive. 
  14822.  
  14823.  
  14824. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14825.  
  14826. FORMAT Command:  /V:label Parameter 
  14827.  
  14828. Specifies the volume label. A volume label can be up to 11 characters long and 
  14829. is used to identify the disk. If you do not specify a volume label, you are 
  14830. prompted to do so after formatting is completed. 
  14831.  
  14832. To format a diskette in drive A and give the diskette a volume label of MYDISK, 
  14833. enter the following: 
  14834.  
  14835. FORMAT A: /V:MYDISK
  14836.  
  14837. To include blanks in a volume label, enclose the volume label in quotation 
  14838. marks.  For example, to label a diskette My Disk, enter the following: 
  14839.  
  14840. FORMAT A:/v:"My Disk"
  14841.  
  14842.  
  14843. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14844.  
  14845. FORMAT Command:  /F:xxxx Parameter 
  14846.  
  14847. Specifies the size to which the diskette is to be formatted. FORMAT prepares 
  14848. the diskette with the appropriate number of tracks and sectors. The values are 
  14849. as follows: 
  14850.  
  14851. 360KB (5.25 in.)         360, 360K, 360KB 
  14852.  
  14853. 720KB (3.5 in.)          720, 720K, 720KB 
  14854.  
  14855. 1.2MB (5.25 in.)         1200, 1200K, 1200KB, 1.2, 1.2M, 1.2MB 
  14856.  
  14857. 1.44MB (3.5 in.)         1440, 1440K, 1440KB, 1.44, 1.44M, 1.44MB 
  14858.  
  14859. 2.88MB (3.5 in.)         2880, 2880K, 2880KB, 2.88, 2.88M, 2.88MB 
  14860.  
  14861. To format a 3.5-inch 720KB diskette in a 1.4MB drive (drive A), enter the 
  14862. following: 
  14863.  
  14864. FORMAT A: /F:720
  14865.  
  14866.  
  14867. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14868.  
  14869. FORMAT Command:  /FS:xxxx Parameter 
  14870.  
  14871. Specifies that FORMAT is to execute another file system's format program. 
  14872.  
  14873. To format a hard disk partition on drive D for the High Performance File 
  14874. System, enter the following: 
  14875.  
  14876. FORMAT D: /FS:HPFS
  14877.  
  14878. To change the HPFS partition on drive D to a FAT type partition, type the 
  14879. following: 
  14880.  
  14881. FORMAT D: /FS:FAT
  14882.  
  14883.  
  14884. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14885.  
  14886. FSACCESS Command: ! (exclamation) Parameter 
  14887.  
  14888. The ! (exclamation) parameter means the following drive letter or sequence 
  14889. should not be mapped to OS/2 drives. 
  14890.  
  14891.  
  14892. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14893.  
  14894. FSACCESS Command: DOSletter Parameter 
  14895.  
  14896. Specifies a local drive letter (a following colon is optional). 
  14897.  
  14898.  
  14899. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14900.  
  14901. FSACCESS Command: DOSletter - DOSletter Parameter 
  14902.  
  14903. The minus sign (-) indicates a sequence of drive letters between the two 
  14904. letters. 
  14905.  
  14906.  
  14907. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14908.  
  14909. FSACCESS Command: DOSletter = OS/2drive Parameter 
  14910.  
  14911. The equals sign (=)  means to map a local DOS drive letter to an OS/2 drive. 
  14912. OS/2drive is an OS/2 drive letter (a following colon is optional). 
  14913.  
  14914.  
  14915. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14916.  
  14917. GOTO Command:  Label Parameter 
  14918.  
  14919. Directs commands to run beginning with the line immediately after label. 
  14920.  
  14921. To go to a section in your batch file that has a label :EXIT, if the error 
  14922. level of the program you are running is 1 or greater, type the following in the 
  14923. batch file: 
  14924.  
  14925. IF ERRORLEVEL 1 GOTO EXIT
  14926.  .
  14927.  .
  14928. :EXIT
  14929.  
  14930. To show an indefinite sequence of "IBM RIBBONS ..." and "GOTO LOOP" messages on 
  14931. your screen, type the following in the batch file: 
  14932.  
  14933. :LOOP
  14934. @ECHO IBM RIBBONS ...
  14935. @ECHO GOTO LOOP
  14936. @GOTO LOOP
  14937.  
  14938. Press Ctrl+Break to stop running the batch file. 
  14939.  
  14940.  
  14941. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14942.  
  14943. GRAFTABL Command:  nnn Parameter 
  14944.  
  14945. Specifies a three-digit number, indicating the graphic code page to be used, 
  14946. which can have a value of: 
  14947.  
  14948. 437   U.S. 
  14949.  
  14950. 850   Multilingual 
  14951.  
  14952. 860   Portuguese 
  14953.  
  14954. 863   Canada (French-speaking) 
  14955.  
  14956. To specify the U.S. 437 graphic code page, enter the following: 
  14957.  
  14958. GRAFTABL 437
  14959.  
  14960.  
  14961. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14962.  
  14963. GRAFTABL Command:  ? Parameter 
  14964.  
  14965. Displays the number of the graphic code page currently being used and a list of 
  14966. code page options. 
  14967.  
  14968. To display the number of the graphic code page currently being used, and a list 
  14969. of graphic code page options, enter the following: 
  14970.  
  14971. GRAFTABL ?
  14972.  
  14973.  
  14974. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14975.  
  14976. GRAFTABL Command:  /STA Parameter 
  14977.  
  14978. Displays the number of the graphic code page currently being used. 
  14979.  
  14980. To display the number of the graphic code page currently being used, enter the 
  14981. following: 
  14982.  
  14983. GRAFTABL /STA
  14984.  
  14985.  
  14986. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14987.  
  14988. HELP Command:  ON and OFF Parameters 
  14989.  
  14990. Turns the help line on or off. 
  14991.  
  14992. To display a help line as a part of the command prompt, reminding you which 
  14993. keys to press to return to the desktop, enter the following: 
  14994.  
  14995. HELP ON
  14996.  
  14997.  
  14998. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14999.  
  15000. HELP Command:  message help Parameter 
  15001.  
  15002. Identifies the system message prefix and number, when necessary, for which 
  15003. additional information is being requested. It is not necessary to type the 
  15004. prefix and leading zeros. 
  15005.  
  15006. To request additional help for error message number SYS0003, type the 
  15007. following: 
  15008.  
  15009. HELP 3
  15010.  
  15011. HELP then displays the original message, followed by an explanation and action 
  15012. statements. 
  15013.  
  15014.  
  15015. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15016.  
  15017. HELP Command:  Book Parameter 
  15018.  
  15019. Identifies the online book (.INF file) to be searched for a specified topic. If 
  15020. you do not specify a book name, HELP searches the OS/2 Command Reference. 
  15021.  
  15022. To view information in the OS/2 Command Reference about the COPY command, enter 
  15023. the following at the OS/2 command prompt: 
  15024.  
  15025. HELP CMDREF COPY
  15026.  
  15027. To view information about functions in the REXX Information, enter the 
  15028. following at the OS/2 command prompt: 
  15029.  
  15030. HELP REXX FUNCTIONS
  15031.  
  15032.  
  15033. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15034.  
  15035. HELP Command:  Topic Parameter 
  15036.  
  15037. Identifies the topic for which additional information is being requested. 
  15038.  
  15039. To view information about the COPY command, enter the following at the OS/2 
  15040. command prompt: 
  15041.  
  15042. HELP COPY
  15043.  
  15044.  
  15045. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15046.  
  15047. IF Command:  NOT Parameter 
  15048.  
  15049. Reverses the truth value of conditional parameters from true to false or false 
  15050. to true. 
  15051.  
  15052.  
  15053. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15054.  
  15055. IF Command: ERRORLEVEL Number Parameter 
  15056.  
  15057. True if the previous program had an exit code of number or higher. The number 
  15058. is specified as a decimal value. 
  15059.  
  15060.  
  15061. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15062.  
  15063. IF Command:  String Parameter 
  15064.  
  15065. True when the first string is identical to the second string. 
  15066.  
  15067. The corresponding characters of each string must both be uppercase or lowercase 
  15068. to be identical. 
  15069.  
  15070. A blank string is not valid syntax. 
  15071.  
  15072.  
  15073. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15074.  
  15075. IF Command:  EXIST Filename Parameter 
  15076.  
  15077. True if the file name is found in the specified directory.  Global file-name 
  15078. characters (? and *) are allowed as a file name. 
  15079.  
  15080.  
  15081. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15082.  
  15083. IF Command:  Command Parameter 
  15084.  
  15085. Specifies the OS/2 command to be run when one of the conditional parameters 
  15086. listed is true. 
  15087.  
  15088.  
  15089. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15090.  
  15091. IFS Command:  Drive, Path, and Filename Parameters 
  15092.  
  15093. Specifies the drive, path, and file name of the file system program. This 
  15094. program contains the parameters needed to work with disks formatted for a 
  15095. particular file system. 
  15096.  
  15097.  
  15098. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15099.  
  15100. IFS Command:  Arguments Parameter 
  15101.  
  15102. Specifies the parameters of the identified file system driver. 
  15103.  
  15104.  
  15105. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15106.  
  15107. IFS Command:  Drive and Path Parameters 
  15108.  
  15109. Specifies the drive and path of the CDFS.IFS program. 
  15110.  
  15111.  
  15112. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15113.  
  15114. IFS Command:  Filename Parameter 
  15115.  
  15116. Specifies the file name of the file system program.  For CD-ROM, the program is 
  15117. CDFS.IFS. 
  15118.  
  15119.  
  15120. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15121.  
  15122. IFS Command:  Arguments Parameter 
  15123.  
  15124. Specifies the parameters of the CDFS.IFS program.  The following list shows the 
  15125. parameters of the CDFS.IFS program and how they are used: 
  15126.  
  15127. /P:         Indicates the debug output port.  The values can be 1 (for COM1) or 
  15128.             2 (for COM2). 
  15129.  
  15130. /K          Indicates the supplemental volume descriptor with KANJI. 
  15131.  
  15132. /C:n        Where n indicates how many 64KB segments to use for the sector 
  15133.             cache.  The default is /C:2. 
  15134.  
  15135. /M:n        Where n indicates the maximum number of file sectors to read at a 
  15136.             time.  The default is /M:8. 
  15137.  
  15138. /Q          Suppresses initialization messages. 
  15139.  
  15140.  
  15141. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15142.  
  15143. IFS Command:  Drive, Path, and Filename Parameters 
  15144.  
  15145. Specifies the drive, path, and file name of the file system program. For HPFS, 
  15146. The program is HPFS.IFS. 
  15147.  
  15148. To install the High Performance File System in a system with 6MB of RAM, the 
  15149. OS/2 Installation program places the following statement in the CONFIG.SYS 
  15150. file: 
  15151.  
  15152. IFS=C:\OS2\HPFS.IFS /CACHE:128 /CRECL:4 /AUTOCHECK:C
  15153.  
  15154.  
  15155. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15156.  
  15157. IFS Command:  /C Parameter 
  15158.  
  15159. Specifies the amount of memory in KB that is used for file system disk caching. 
  15160. If this parameter is omitted, the default value is 10% of the available 
  15161. physical memory. A dash (-) may be used in place of a slash (/) 
  15162.  
  15163. To install the High Performance File System in a system with 6MB of RAM, the 
  15164. OS/2 Installation program places the following statement in the CONFIG.SYS 
  15165. file: 
  15166.  
  15167. IFS=C:\OS2\HPFS.IFS /CACHE:128 /CRECL:4 /AUTOCHECK:C
  15168.  
  15169.  
  15170. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15171.  
  15172. IFS Command:  /AUTOCHECK Parameter 
  15173.  
  15174. Specifies the drives that the operating system checks at startup time to 
  15175. determine if the file system associated with a drive is in an inconsistent 
  15176. state. A file system could be in an inconsistent state when files were left 
  15177. open. This can happen when: 
  15178.  
  15179. o The computer was turned off without selecting the Shut down choice from the 
  15180.   menu of the desktop. 
  15181.  
  15182. o Electrical power to the computer was interrupted. 
  15183.  
  15184. The OS/2 operating system runs the CHKDSK program with the /F option to correct 
  15185. any problem caused by improper system shutdown. Each time you format a drive 
  15186. for the High Performance File System, the operating system updates the IFS 
  15187. statement in the CONFIG.SYS file with the appropriate AUTOCHECK parameter. 
  15188.  
  15189. Assume the following statement appears in the CONFIG.SYS file: 
  15190.  
  15191. IFS=C:\OS2\HPFS.IFS /C:64 /AUTOCHECK:DF
  15192.  
  15193. Each time it starts, the operating system checks drives D and F; if necessary, 
  15194. it runs the CHKDSK program. 
  15195.  
  15196.  
  15197. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15198.  
  15199. IFS Command:  /CRECL:x Parameter 
  15200.  
  15201. Specifies the maximum record size for caching where the maximum record size (x) 
  15202. is a multiple of 2KB.  The smallest maximum record size for caching is 2KB and 
  15203. the largest is 64KB.  The default is 4KB. 
  15204.  
  15205. To set the cache size to 64KB and the maximum record size to 4KB, type the 
  15206. following in the CONFIG.SYS file: 
  15207.  
  15208. IFS=C:\OS2\HPFS.IFS /C:64 /CRECL:4
  15209.  
  15210.  
  15211. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15212.  
  15213. An actual DOS program product that is purchased independently of the OS/2 
  15214. operating system such as IBM DOS Version 5.0.  You can run these programs with 
  15215. the OS/2 operating system by starting a DOS session with a specific DOS 
  15216. version. 
  15217.  
  15218.  
  15219. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15220.  
  15221. IOPL Command:  YES and NO Parameters 
  15222.  
  15223. NO prevents I/O privilege from being granted; YES permits I/O privilege to be 
  15224. granted. 
  15225.  
  15226. To permit I/O privileges to processing programs, type the following in the 
  15227. CONFIG.SYS file: 
  15228.  
  15229. IOPL=YES
  15230.  
  15231.  
  15232. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15233.  
  15234. IOPL Command:  List Parameter 
  15235.  
  15236. Restricts the set of programs with this privilege. These are the names of the 
  15237. programs that require I/O privilege. Use a comma to separate the names of the 
  15238. programs. 
  15239.  
  15240. To allow I/O privileges to be granted to programs named PROC2 and PROC3, type 
  15241. the following in the CONFIG.SYS file: 
  15242.  
  15243. IOPL=PROC2,PROC3
  15244.  
  15245.  
  15246. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15247.  
  15248. JOIN Command:  Drive and Directory Parameters.
  15249.  
  15250. Identifies the drives that are joined.  The first drive is the one you want 
  15251. identified as the path on the second drive. 
  15252.  
  15253. To join drive A to the path C:\DRIVEA and access drive A as the DRIVEA 
  15254. subdirectory on drive C, enter the following: 
  15255.  
  15256. JOIN A: C:\DRIVEA
  15257.  
  15258.  
  15259. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15260.  
  15261. JOIN Command:  /D Parameter 
  15262.  
  15263. Turns off a JOIN action. 
  15264.  
  15265. To turn off the JOIN action on drive A, enter the following: 
  15266.  
  15267. JOIN A: /D
  15268.  
  15269.  
  15270. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15271.  
  15272. KEYB Command:  Layout Parameter 
  15273.  
  15274. Specifies the keyboard layout.  The values are as follows: 
  15275.  
  15276. AR      Arabic 
  15277.  
  15278. BE      Belgium 
  15279.  
  15280. BR      Brazil 
  15281.  
  15282. CF      Canada (French) 
  15283.  
  15284. CS      Czechoslovakia 
  15285.  
  15286. DK      Denmark 
  15287.  
  15288. SU      Finland 
  15289.  
  15290. FR      France 
  15291.  
  15292. GR      Germany 
  15293.  
  15294. HE      Hebrew 
  15295.  
  15296. HU      Hungary 
  15297.  
  15298. IS      Iceland 
  15299.  
  15300. IT      Italy 
  15301.  
  15302. LA      Latin America 
  15303.  
  15304. NL      Netherlands 
  15305.  
  15306. NO      Norway 
  15307.  
  15308. PL      Poland 
  15309.  
  15310. PO      Portugal 
  15311.  
  15312. SP      Spain 
  15313.  
  15314. SV      Sweden 
  15315.  
  15316. SF      Switzerland (French) 
  15317.  
  15318. SG      Switzerland (German) 
  15319.  
  15320. TR      Turkey 
  15321.  
  15322. TW      Republic of China 
  15323.  
  15324. UK      United Kingdom 
  15325.  
  15326. US      United States 
  15327.  
  15328. YU      Yugoslavia 
  15329.  
  15330. To switch to the Portuguese keyboard using the keyboard layout, PO, type the 
  15331. following: 
  15332.  
  15333. KEYB PO
  15334.  
  15335.  
  15336. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15337.  
  15338. KEYB Command:  Subcountry Parameter 
  15339.  
  15340. Specifies a specific keyboard layout for countries that have more than one 
  15341. layout.  The subcountry codes for those countries are as follows: 
  15342.  
  15343. 243, 245       Czechoslovakia 
  15344.  
  15345. 189, 120       France 
  15346.  
  15347. 141, 142       Italy 
  15348.  
  15349. 166, 168       United Kingdom 
  15350.  
  15351. If you do not specify a subcountry code for these countries, the OS/2 operating 
  15352. system uses the first subcountry code listed. 
  15353.  
  15354. To switch to the French keyboard using the French keyboard layout, FR, and the 
  15355. French enhanced keyboard, 120, type the following in the CONFIG.SYS file: 
  15356.  
  15357. KEYB FR 120
  15358.  
  15359.  
  15360. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15361.  
  15362. KEYS Command:  ON and OFF Parameters 
  15363.  
  15364. (ON) Permits previous commands to be retrieved, changed, and reissued. 
  15365.  
  15366. To enable the retrieving, changing and reissuing of commands, enter the 
  15367. following: 
  15368.  
  15369. KEYS ON
  15370.  
  15371. (OFF) Prevents previously issued commands from being retrieved. 
  15372.  
  15373. To stop retrieving commands, enter the following: 
  15374.  
  15375. KEYS OFF
  15376.  
  15377.  
  15378. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15379.  
  15380. KEYS Command:  List Parameter 
  15381.  
  15382. Causes a list of previously issued commands to appear. 
  15383.  
  15384. To display the list of commands in the queue, enter the following: 
  15385.  
  15386. KEYS LIST
  15387.  
  15388. Note:   KEYS LIST only displays commands entered and stored at the command 
  15389.         prompt when KEYS ON is active.  They are stored there until KEYS ON is 
  15390.         issued again. 
  15391.  
  15392.  
  15393. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15394.  
  15395. LABEL Command:  Drive Parameter 
  15396.  
  15397. Specifies the disk to be labeled. 
  15398.  
  15399. To display the volume label of drive A and be prompted by the system for the 
  15400. new label, enter the following: 
  15401.  
  15402. LABEL A:
  15403.  
  15404.  
  15405. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15406.  
  15407. LABEL Command:  Label Parameter 
  15408.  
  15409. Specifies the volume label that identifies the disk.  This can be up to 11 
  15410. characters.  All characters acceptable in file names are acceptable in the 
  15411. volume label.  Unlike file names, however, the volume label does not contain a 
  15412. period between the eighth and ninth characters. 
  15413.  
  15414. To create a volume-label name of FIXEDISKC for your hard disk, drive C, type 
  15415. the following: 
  15416.  
  15417. LABEL C:FIXEDISKC
  15418.  
  15419.  
  15420. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15421.  
  15422. LASTDRIVE Command:  x Parameter 
  15423.  
  15424. Specifies a drive letter from A through Z.  The minimum value for this 
  15425. parameter is the letter that specifies the number of drives installed on your 
  15426. system.  For example, one drive = A, two drives = B, and so on. 
  15427.  
  15428. To set the last drive = to M, giving your system access to 13 logical drives, 
  15429. type the following in the CONFIG.SYS file: 
  15430.  
  15431. LASTDRIVE=M
  15432.  
  15433.  
  15434. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15435.  
  15436. LIBPATH Command:  Drive and Path Parameters 
  15437.  
  15438. Specifies a directory to be searched for dynamic link libraries. You can search 
  15439. for more than one directory by specifying additional paths, separated by 
  15440. semicolons. The paths are searched in the order specified. 
  15441.  
  15442. To specify the LIB subdirectory as the directory to be searched for dynamic 
  15443. link libraries, type the following in the CONFIG.SYS file: 
  15444.  
  15445. LIBPATH=C:\;C:\LIB;
  15446.  
  15447.  
  15448. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15449.  
  15450. LOADHIGH Command:  Drive and Path Parameter 
  15451.  
  15452. Specifies the drive and directory of the DOS TSR program to be loaded into an 
  15453. upper memory block (UMB). 
  15454.  
  15455.  
  15456. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15457.  
  15458. LOADHIGH Command:  Filename Parameters 
  15459.  
  15460. Specifies the complete name of the DOS TSR program to be loaded into an upper 
  15461. memory block (UMB). 
  15462.  
  15463.  
  15464. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15465.  
  15466. LOADHIGH Command:  Arguments Parameter 
  15467.  
  15468. Specifies optional parameters for the TSR program to be run. 
  15469.  
  15470. To load the APPEND program with the parameters C:\OS2 and C:\TOOLS into a UMB, 
  15471. enter the following: 
  15472.  
  15473. LOADHIGH APPEND C:\OS2;C:\TOOLS
  15474.  
  15475.  
  15476. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15477.  
  15478. MAKEINI Command:  User and System Parameters 
  15479.  
  15480. If you receive a message stating that the OS2.INI file is corrupted, the 
  15481. OS2.INI file installed on your system must be replaced by another valid copy of 
  15482. the OS2.INI file. 
  15483.  
  15484. To re-create the user and system OS2SYS.INI files follow the steps listed in 
  15485. the examples push button. 
  15486.  
  15487. To re-create a new user INI file, enter: 
  15488.  
  15489. MAKEINI OS2.INI INI.RC
  15490.  
  15491. To re-create a new system INI file, enter: 
  15492.  
  15493. MAKEINI OS2SYS.INI INISYS.RC
  15494.  
  15495.  
  15496. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15497.  
  15498. MAXWAIT Command:  x Parameter 
  15499.  
  15500. Specifies the number of seconds that must elapse before a regular class thread 
  15501. that is waiting to access the processor receives an increase in priority. 
  15502.  
  15503. You can specify a number from 1 through 255.  The smaller the value, the 
  15504. greater the system overhead. 
  15505.  
  15506. To cause a process to wait up to 15 seconds before it receives a temporary 
  15507. increase in priority, type the following in the CONFIG.SYS file: 
  15508.  
  15509. MAXWAIT=15
  15510.  
  15511.  
  15512. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15513.  
  15514. MEM Command: /P Parameter 
  15515.  
  15516. Displays the status of programs that are currently loaded into memory. 
  15517.  
  15518.  
  15519. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15520.  
  15521. MEM Command: /D Parameter 
  15522.  
  15523. Displays the status of currently loaded programs, internal drivers, and other 
  15524. programming information. 
  15525.  
  15526.  
  15527. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15528.  
  15529. MEM Command: /C Parameter 
  15530.  
  15531. Displays the status of programs loaded into conventional memory and the upper 
  15532. memory area. 
  15533.  
  15534.  
  15535. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15536.  
  15537. MEMMAN Command:  SWAP and NOSWAP Parameters 
  15538.  
  15539. Permits segment swapping (SWAP) or prevents segment swapping (NOSWAP).  If you 
  15540. want to set MEMAN=NOSWAP to disable segment swapping, you must have at least 
  15541. 8MB of real memory.  If other device drivers are installed, you might need more 
  15542. real memory. 
  15543.  
  15544. To permit segment swapping, type the following in the CONFIG.SYS file: 
  15545.  
  15546. MEMMAN=SWAP
  15547.  
  15548. To run a time-dependent application and prevent the OS/2 operating system from 
  15549. swapping the contents of storage to disk, type the following in the CONFIG.SYS 
  15550. file: 
  15551.  
  15552. MEMMAN=NOSWAP
  15553.  
  15554.  
  15555. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15556.  
  15557. MEMMAN Command:  MOVE and NOMOVE Parameters 
  15558.  
  15559. These parameters are provided for OS/2 1.3 compatibility. 
  15560.  
  15561.  
  15562. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15563.  
  15564. MEMMAN Command:  PROTECT Parameter 
  15565.  
  15566. Enables certain APIs to allocate and use protected memory.  This action can 
  15567. also be called protected dynalinks. 
  15568.  
  15569.  
  15570. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15571.  
  15572. MEMMAN Command:  COMMIT Parameter 
  15573.  
  15574. Forces the system to reserve storage on the hard disk in the swap file 
  15575. (SWAPPER.DAT) for all committed memory allocations.  This parameter enables a 
  15576. program to receive an error return code when there is not enough space in the 
  15577. swap file for the program to run. 
  15578.  
  15579. Note:   If you use this parameter, you should increase the initial size of the 
  15580.         swap file by using the INITIAL parameter in the SWAPPATH statement in 
  15581.         your CONFIG.SYS file. 
  15582.  
  15583.  
  15584. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15585.  
  15586. MKDIR Command:  Drive and Path Parameters 
  15587.  
  15588. Specifies the drive and directory name. 
  15589.  
  15590. To make a subdirectory named REPORTS within the root directory on drive C, 
  15591. enter the following: 
  15592.  
  15593. MD C:\REPORTS
  15594.  
  15595. You can also create more than one directory at a time. 
  15596.  
  15597. To make two separate directories named FIRST and SECOND in the root directory 
  15598. on drive C, enter the following: 
  15599.  
  15600. MD C:\FIRST C:\SECOND
  15601.  
  15602.  
  15603. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15604.  
  15605. MODE Command:  Device Parameter 
  15606.  
  15607. Specifies the complete name of the device. 
  15608.  
  15609.  
  15610. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15611.  
  15612. MODE Command:  Arguments Parameter 
  15613.  
  15614. Specifies the parameters of the identified device. 
  15615.  
  15616.  
  15617. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15618.  
  15619. MODE Command:  COM# Parameter 
  15620.  
  15621. Specifies the asynchronous communication port numbers (1 through 4). 
  15622.  
  15623. To query the status of asynchronous COM port 1, type the following: 
  15624.  
  15625. MODE COM1
  15626.  
  15627. You can specify port numbers 1 through 4. 
  15628.  
  15629.  
  15630. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15631.  
  15632. MODE Command:  Colon (:) Parameter 
  15633.  
  15634. The colon is optional. 
  15635.  
  15636.  
  15637. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15638.  
  15639. MODE Command:  Comma (,) Parameter 
  15640.  
  15641. Indicates you can use a comma to separate or replace parameters. 
  15642.  
  15643.  
  15644. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15645.  
  15646. MODE Command:  Baud Parameter 
  15647.  
  15648. Specifies the transmission rate on COM ports.  The transmission rate can be: 
  15649. 110, 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 14400, 19200, 
  15650. 38400, or 57600.  The default is 1200. The availability of this support can be 
  15651. determined by querying the current status of a COM port.  You must specify at 
  15652. least the first two digits of the desired rate. 
  15653.  
  15654. Note:   The Async device driver is designed to handle high baud rates under 
  15655.         optimum conditions.  To achieve successful data transfer operations at 
  15656.         high baud rates, the following conditions should be met: 
  15657.  
  15658. o The connecting cables should be free from electrical noise. 
  15659. o Other programs should not be active on the system because operations at high 
  15660.   baud rates require many processor cycles. 
  15661. o There should be no overflow of the receive buffer of the Async device driver. 
  15662. o Applications should not use the Error or Break Replacement options. 
  15663.  
  15664.  
  15665. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15666.  
  15667. MODE Command:  Parity Parameter 
  15668.  
  15669. Specifies the following values: N (none), O (odd), E (even), M (mark), or S 
  15670. (space).  None means that there is no parity bit. Odd means odd parity; even 
  15671. means even parity. Mark parity means that the parity bit is always 1. Space 
  15672. parity means that the parity bit is always 0. If parity is not specified, the 
  15673. default is E. 
  15674.  
  15675.  
  15676. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15677.  
  15678. Mode Command:  Databits Parameter 
  15679.  
  15680. Specifies the value of data bits. The values are 5, 6, 7, or 8 bits of data, 
  15681. with the default of 7. 
  15682.  
  15683.  
  15684. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15685.  
  15686. MODE Command:  Stopbits Parameter 
  15687.  
  15688. Specifies the value of stop bits.  Values are 1, 1.5, or 2. Either 1 or 1.5 is 
  15689. valid if databits is specified as 5. If stopbits is specified as 1.5, only 5 is 
  15690. valid for databits. The default for this parameter is 2 when the baud rate is 
  15691. 110; otherwise, the default is 1. 
  15692.  
  15693.  
  15694. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15695.  
  15696. MODE Command:  P Parameter 
  15697.  
  15698. In a DOS session, specifies a time-out value of approximately 30 seconds for 
  15699. DOS programs that go directly to the hardware. The P parameter does not provide 
  15700. infinite retries and can be used only in DOS sessions. 
  15701.  
  15702.  
  15703. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15704.  
  15705. MODE Command:  TO Parameter 
  15706.  
  15707. Specifies the type of processing.  ON allows write infinite timeout processing. 
  15708. If OFF is specified, normal timeout processing will occur. The default mode is 
  15709. TO=OFF, which causes a timeout to occur in 60 seconds. 
  15710.  
  15711. To ensure that a printer write timeout never occurs, enter the following: 
  15712.  
  15713. MODE COM1,,,,,TO=ON
  15714.  
  15715.  
  15716. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15717.  
  15718. MODE Command:  XON Parameter 
  15719.  
  15720. Sets automatic transmit flow control. This mode of operation involves receiving 
  15721. special characters in order to control the flow of data. ON allows and OFF 
  15722. prevents automatic transmit flow control.  The default mode is XON=OFF.  If 
  15723. this parameter is not specified, its current value is unchanged. 
  15724.  
  15725. To prevent automatic transmit flow control, enter the following: 
  15726.  
  15727. MODE COM1,,,,,XON=OFF
  15728.  
  15729.  
  15730. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15731.  
  15732. MODE Command:  IDSR Parameter 
  15733.  
  15734. Sets input handshaking using 'data set ready' (DSR).  ON allows and OFF 
  15735. prevents input handshaking using 'data set ready' (DSR).  The default mode is 
  15736. IDSR=OFF.  If this parameter is not specified, its current value is unchanged. 
  15737.  
  15738. To allow input handshaking using DSR, enter the following: 
  15739.  
  15740. MODE COM1,,,,,IDSR=ON
  15741.  
  15742.  
  15743. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15744.  
  15745. MODE Command:  ODSR Parameter 
  15746.  
  15747. Sets output handshaking using 'data set ready' (DSR).  ON allows and OFF 
  15748. prevents output handshaking using 'data set ready' (DSR).  The default mode is 
  15749. ODSR=OFF.  If this parameter is not specified, its current value is unchanged. 
  15750.  
  15751. To allow output handshaking using DSR, enter the following: 
  15752.  
  15753. MODE COM1,,,,,ODSR=ON
  15754.  
  15755.  
  15756. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15757.  
  15758. MODE Command:  OCTS Parameter 
  15759.  
  15760. Sets output handshaking using 'clear to send' (CTS).  ON allows and OFF 
  15761. prevents output handshaking using 'clear to send' (CTS).  The default mode is 
  15762. OCTS=OFF.  If this parameter is not specified, its current value is unchanged. 
  15763.  
  15764. To allow output handshaking using CTS, enter the following: 
  15765.  
  15766. MODE COM1,,,,,OCTS=ON
  15767.  
  15768.  
  15769. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15770.  
  15771. MODE Command:  DTR Parameter 
  15772.  
  15773. Sets 'data terminal ready' (DTR).  ON allows 'data terminal ready' (DTR), OFF 
  15774. prevents DTR, and HS allows input handshaking using DTR.  The default mode is 
  15775. DTR=ON. If this parameter is not specified, its current value is unchanged. 
  15776.  
  15777. To allow data terminal ready, enter the following: 
  15778.  
  15779. MODE COM1,,,,,DTR=ON
  15780.  
  15781.  
  15782. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15783.  
  15784. MODE Command:  RTS Parameter 
  15785.  
  15786. Sets 'request to send' (RTS).  ON allows 'request to send' (RTS), OFF prevents 
  15787. RTS, HS allows input handshaking using RTS, and TOG allows RTS toggling on 
  15788. transmit mode.  The default mode is RTS=ON.  If this parameter is not 
  15789. specified, its current value is unchanged. 
  15790.  
  15791. To allow RTS toggling in transmit mode, enter the following: 
  15792.  
  15793. MODE COM1,,,,,RTS=TOG
  15794.  
  15795.  
  15796. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15797.  
  15798. MODE Command:  BUFFER Parameter 
  15799.  
  15800. Sets extended hardware buffering.  The values are ON, OFF, and AUTO. 
  15801.  
  15802. ON enables extended hardware buffering.  This setting permits maximum device 
  15803. performance but may not be compatible with devices that require strict timing 
  15804. of events. 
  15805.  
  15806. OFF disables extended hardware buffering.  This is the default setting when the 
  15807. MODE command is issued to a serial port that does not support extended hardware 
  15808. buffering. 
  15809.  
  15810. AUTO sets the device driver to run in automatic protocol-override mode. This 
  15811. setting adjusts device-driver parameters, depending on the state of these 
  15812. device-driver protocols: 
  15813.  
  15814. o Output handshaking using CTS (Clear to Send) or DSR (Data Set Ready) 
  15815. o Input sensitivity using DSR 
  15816. o Automatic Transmit Flow Control (XON) 
  15817.  
  15818. To permit maximum device performance, enter the following: 
  15819.  
  15820. MODE COM1:12,,,,BUFFER=AUTO
  15821.  
  15822.  
  15823. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15824.  
  15825. MODE Command:  CONx Parameter 
  15826.  
  15827. Specifies the display number that the current MODE command is being directed 
  15828. towards.  This parameter is designed for use on systems using more than one 
  15829. display.  Once the command has been issued, the CONx parameter does not have to 
  15830. be issued unless the next MODE command is going to address another display.  If 
  15831. your system has only one display, you do not need to use the CONx parameter 
  15832.  
  15833. To set a mode on display number 1: 
  15834.  
  15835. MODE CON1
  15836.  
  15837. To set a mode on display number 2: 
  15838.  
  15839. MODE CON2
  15840.  
  15841. Here are some examples using the CONx parameter: 
  15842.  
  15843. Set a color 80x43 mode on display number 1: 
  15844.  
  15845. MODE CON1 CO80,43
  15846.  
  15847. Set a monochrome mode on display number 2: 
  15848.  
  15849. MODE CON2 MONO
  15850.  
  15851. Set a color 80x50 mode on the first base video handler (BVH) display in the 
  15852. list that it supports: 
  15853.  
  15854. MODE CON0 CO80,50
  15855. or 
  15856.  
  15857. MODE CON CO80,50
  15858.  
  15859. The exception to the rule occurs if the MODE command is entered using the CONx 
  15860. parameter prior to issuing the preceding example.  If that occurs, the MODE 
  15861. command will be targeted to the display the CONx parameter was last directed 
  15862. to. 
  15863.  
  15864. The number used to designate the display number is based upon the order that 
  15865. the BVH displays are specified in the system's CONFIG.SYS file on the SET 
  15866. VIDEO_DEVICES= line. 
  15867.  
  15868. Support for CONx is restricted to OS/2 full-screen sessions only and does not 
  15869. have any effect on DOS or OS/2 window sessions. 
  15870.  
  15871.  
  15872. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15873.  
  15874. MODE Command:  Display Parameter 
  15875.  
  15876. Specifies the display mode.  The options are: 40, 80, 132, BW40, BW80, BW132, 
  15877. CO40, CO80, CO132, or MONO. The values 40, 80, and 132 specify a display width 
  15878. in number of characters per line.  CO and BW refer to a color graphics monitor 
  15879. adapter with color (CO) or without (BW). MONO specifies the monochrome mode, 
  15880. which always has a display of 80 characters per line.  The 132-character width 
  15881. is supported only by monitors with the XGA video adapter. 
  15882.  
  15883. VIO window sessions support only 80-column modes. 
  15884.  
  15885. To switch the active display adapter to the color graphics monitor adapter, 
  15886. enter the following: 
  15887.  
  15888. MODE CO40
  15889.  
  15890.  
  15891. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15892.  
  15893. MODE Command:  Rows Parameter 
  15894.  
  15895. Specifies the number of rows to select.  Valid values are 25, 43, or 50, 
  15896. depending on the display adapter attached.  For example, with an enhanced 
  15897. display adapter, you can specify a 43-line display: 
  15898.  
  15899. MODE CO80,43
  15900.  
  15901. If the rows parameter is not specified, the value does not change.  The initial 
  15902. value for rows is 25. The default is the last value you entered. 
  15903.  
  15904.  
  15905. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15906.  
  15907. MODE Command:  LPT# or PRN Parameter 
  15908.  
  15909. Specifies the printer number.  The pound sign (#) defines printer number 1, 2, 
  15910. or 3. PRN is an acceptable device name for LPT1. 
  15911.  
  15912. If you are using a network printer, the MODE command supports LPT4 through LPT9 
  15913. for printing to a network printer. 
  15914.  
  15915. To set up your printer as LPT1 and accept the system defaults (80 characters 
  15916. per line and 6 lines per vertical inch), enter the following: 
  15917.  
  15918. MODE LPT1 ,,,
  15919.  
  15920.  
  15921. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15922.  
  15923. MODE Command:  Chars Parameter 
  15924.  
  15925. Specifies the characters per line. The value is either 80 or 132. The default 
  15926. is 80. 
  15927.  
  15928. To set up your printer as LPT2 and use 132 characters per line and 8 lines per 
  15929. inch, enter the following: 
  15930.  
  15931. MODE LPT2 132,8,,
  15932.  
  15933.  
  15934. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15935.  
  15936. MODE Command:  Lines Parameter 
  15937.  
  15938. Specifies the lines per inch of vertical spacing. The value is either 6 or 8. 
  15939. The default is 6. 
  15940.  
  15941. To set up your printer as LPT2 and specify 8 lines per inch for vertical 
  15942. spacing, enter the following: 
  15943.  
  15944. MODE LPT2 ,8,,
  15945.  
  15946.  
  15947. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15948.  
  15949. MODE Command:  P Parameter 
  15950.  
  15951. Tells MODE to continuously try to send output to the printer if a timeout error 
  15952. occurs. 
  15953.  
  15954. To set up your printer as LPT2 and specify infinite retry, enter the following: 
  15955.  
  15956. MODE LPT2 ,,P
  15957.  
  15958.  
  15959. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15960.  
  15961. MODE Command:  State Parameter 
  15962.  
  15963. Sets diskette verification ON or OFF.  VER=ON turns on diskette verification; 
  15964. VER=OFF turns off diskette verification. 
  15965.  
  15966.  
  15967. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15968.  
  15969. MOVE Command:  Drive, Path, Filename Parameters 
  15970.  
  15971. The source drive is always the same as the target drive.  If no path is 
  15972. specified for the target file, MOVE uses the current directory. 
  15973.  
  15974. The first file specified is the source file.  The second file is the target 
  15975. file.  If the second parameter is a directory, files are moved into that 
  15976. directory and their names are not changed. 
  15977.  
  15978.  
  15979. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15980.  
  15981. PATCH Command:  Drive, Path, Filename Parameters 
  15982.  
  15983. With no options entered, specifies the name of the file to be patched 
  15984. interactively. 
  15985.  
  15986. With the /A option (applying a patch automatically), specifies the name of the 
  15987. file containing the instructions for patching one or more files. 
  15988.  
  15989.  
  15990. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15991.  
  15992. PATCH Command:  /A Parameter 
  15993.  
  15994. Specifies automatic mode.  In this mode, the filename parameter refers to a 
  15995. file that contains instructions for patching one or more files.  If /A is not 
  15996. specified, interactive mode is assumed. 
  15997.  
  15998.  
  15999. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16000.  
  16001. PATH Command:  Drive and Path Parameters 
  16002.  
  16003. Specifies the drives and directories to be searched. 
  16004.  
  16005. To search the MEMOS subdirectory on drive A and then search the REPORTS 
  16006. directory on drive C, enter the following: 
  16007.  
  16008. PATH A:\MEMOS;C:\REPORTS
  16009.  
  16010. You can use the current path to .CMD or batch files (in OS/2 sessions) as a 
  16011. replaceable parameter.  Assume you want to add the path to the ABC subdirectory 
  16012. on drive A to the existing path known to CMD.EXE.  Enter the following: 
  16013.  
  16014. PATH %PATH%;A:\ABC
  16015.  
  16016.  
  16017. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16018.  
  16019. PAUSE Command:  Comment Parameter 
  16020.  
  16021. Specifies a comment to be displayed during the pause in processing.  It is 
  16022. displayed in a batch file only if ECHO is ON. 
  16023.  
  16024. To suspend processing of your commands in a batch file so that you can change 
  16025. diskettes, type the following in your batch file: 
  16026.  
  16027. ECHO CHANGE DISKETTE IN DRIVE A
  16028. PAUSE
  16029.  
  16030.  
  16031. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16032.  
  16033. PAUSEONERROR Command:  YES and NO Parameters 
  16034.  
  16035. YES causes the system to pause.  If errors have been detected in the CONFIG.SYS 
  16036. file, the system pauses before starting the specified user interface or command 
  16037. processor and displays a prompt. Processing does not continue until you press 
  16038. Enter. 
  16039.  
  16040. NO prevents the system from pausing before starting the user interface or 
  16041. command processor. 
  16042.  
  16043. If if there is not a PAUSEONERROR statement in the CONFIG.SYS file, the default 
  16044. is true, and PAUSEONERROR is equal to YES. 
  16045.  
  16046. To pause the screen and read any error messages generated during the processing 
  16047. of the CONFIG.SYS file, enter the following: 
  16048.  
  16049. PAUSEONERROR=YES
  16050.  
  16051.  
  16052. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16053.  
  16054. PICVIEW Command:  Drive, Path, Filename Parameters 
  16055.  
  16056. Specifies the drive, directory, and name of the picture file to be viewed. 
  16057.  
  16058.  
  16059. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16060.  
  16061. PICVIEW Command:  /P Parameter 
  16062.  
  16063. Sends the specified picture file to be printed. 
  16064.  
  16065.  
  16066. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16067.  
  16068. PICVIEW Command:  /S Parameter 
  16069.  
  16070. Specifies that the Picture Viewer window is to return to the default position 
  16071. on the screen. 
  16072.  
  16073.  
  16074. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16075.  
  16076. PMREXX Command:  Drive, Path, Filename Parameters 
  16077.  
  16078. Specifies the drive, directory, and file name of the .CMD file to be displayed. 
  16079.  
  16080.  
  16081. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16082.  
  16083. PMREXX Command:  Arguments Parameter 
  16084.  
  16085. Specifies the arguments that are indicated in REXX programs, such as other OS/2 
  16086. commands or environment variables to be displayed as output by PMREXX. 
  16087.  
  16088. To display the current PATH and DPATH statements in the CONFIG.SYS file that 
  16089. you have indicated in the REXX program, SAMPLE.CMD, enter the following: 
  16090.  
  16091. PMREXX Sample PATH DPATH
  16092.  
  16093.  
  16094. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16095.  
  16096. PRINT Command:  /D:device Parameter 
  16097.  
  16098. Specifies the print device.  If not specified, the default device is LPT1. The 
  16099. acceptable device names are PRN, LPT1, LPT2, and LPT3. 
  16100.  
  16101. If you are using a network printer, the PRINT command supports LPT4 through 
  16102. LPT9 for printing to a network printer. 
  16103.  
  16104. To print a file named C:\LISTING\REPORT.STA on the LPT2 print device, enter the 
  16105. following: 
  16106.  
  16107. PRINT /D:LPT2 C:\LISTING\REPORT.STA
  16108.  
  16109.  
  16110. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16111.  
  16112. PRINT Command:  /B Parameter 
  16113.  
  16114. Prevents Ctrl+Z characters in the file from being interpreted as end-of-file 
  16115. indicators.  The entire file is printed as is, without end-of-file character 
  16116. (Ctrl+Z) processing. 
  16117.  
  16118. To prevent Ctrl+Z characters from being interpreted as end-of-file characters 
  16119. when a file named LISTING prints, enter the following: 
  16120.  
  16121. PRINT /B LISTING
  16122.  
  16123.  
  16124. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16125.  
  16126. PRINT Command:  Drive, Path, Filename Parameters 
  16127.  
  16128. Specifies the complete name of the file to be printed, including the drive and 
  16129. directory where the file is located. 
  16130.  
  16131. To print a file named REPORTS in the current directory, enter the following: 
  16132.  
  16133. PRINT REPORTS
  16134.  
  16135. A file name is not required when using the /C and /T parameters. 
  16136.  
  16137.  
  16138. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16139.  
  16140. PRINT Command:  /C Parameter 
  16141.  
  16142. Cancels the file that is currently printing if spooling is active for the 
  16143. specified device. The /C parameter works only in OS/2 sessions. 
  16144.  
  16145. To cancel the file that is currently printing on LPT1 (the default print 
  16146. device), enter the following: 
  16147.  
  16148. PRINT /C
  16149.  
  16150.  
  16151. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16152.  
  16153. PRINT Command:  /T Parameter 
  16154.  
  16155. Cancels all files waiting to be printed and the job currently printing if 
  16156. spooling is active for the specified device. The /T parameter works only in 
  16157. OS/2 sessions. 
  16158.  
  16159. To cancel all files in the LPT2 print queue and any file currently printing, 
  16160. enter the following: 
  16161.  
  16162. PRINT /D:LPT2 /T
  16163.  
  16164.  
  16165. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16166.  
  16167. PRINTMONBUFSIZE Command:  x Parameter 
  16168.  
  16169. Specifies the size of the parallel-port device-driver buffer.  Each x 
  16170. corresponds to LPT1, LPT2, and LPT3 character monitor buffer size (in bytes) 
  16171. respectively.  The minimum value permitted is 134 and the maximum value is 
  16172. 2048.  If you specify a value that is outside the valid range, a default value 
  16173. of 134 is used. 
  16174.  
  16175. To set the parallel-port device-driver buffer size for LPT1 as 2048 bytes, for 
  16176. LPT2 as 134 bytes, and for LPT3 as 134 bytes, type the following in the 
  16177. CONFIG.SYS file: 
  16178.  
  16179. PRINTMONBUFSIZE=2048,134,134
  16180.  
  16181.  
  16182. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16183.  
  16184. PRIORITY Command:  ABSOLUTE and DYNAMIC Parameters 
  16185.  
  16186. DYNAMIC performs dynamic calculation of priorities to support a system boost 
  16187. for foreground input/output, that is, system priority for the foreground.  This 
  16188. is the default. 
  16189.  
  16190. ABSOLUTE performs no calculation.  There is no system-applied boost for 
  16191. foreground when this parameter is specified, that is, foreground equals 
  16192. background with no system priority for the foreground.  Only the applicaton can 
  16193. adjust the priority of the threads. 
  16194.  
  16195. To change the PRIORITY statement so the OS/2 operating system varies the 
  16196. priorities of threads as they are running, type the following in the CONFIG.SYS 
  16197. file and restart your system: 
  16198.  
  16199. PRIORITY=DYNAMIC
  16200.  
  16201. To change the PRIORITY statement so the OS/2 operating system does not vary the 
  16202. priorities of threads as they are running, type the following in the CONFIG.SYS 
  16203. file: 
  16204.  
  16205. PRIORITY=ABSOLUTE
  16206.  
  16207.  
  16208. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16209.  
  16210. PRIORITY_DISK_IO Command:  YES and NO Parameters 
  16211.  
  16212. YES specifies that applications running in the foreground are to receive 
  16213. priority for disk access over applications running in the background. 
  16214.  
  16215. NO specifies that all applications (foreground and background) are to be 
  16216. treated equally with regard to disk access.  The default is YES. 
  16217.  
  16218. To specify that applications in the foreground are to receive priority for disk 
  16219. access, type the following in the CONFIG.SYS file: 
  16220.  
  16221. PRIORITY_DISK_IO=YES
  16222.  
  16223. To specify that all applications (foreground and background) are to be treated 
  16224. equally with regard to disk access, type the following in the CONFIG.SYS file: 
  16225.  
  16226. PRIORITY_DISK_IO=NO
  16227.  
  16228.  
  16229. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16230.  
  16231. PROMPT Command:  Text Parameter 
  16232. The system command prompt can contain any of the following special characters. 
  16233. You must precede each character with a dollar sign ($): 
  16234.  
  16235. $     The $ character 
  16236. _     A carriage-return line-feed sequence 
  16237. A     The & character 
  16238. B     The | character 
  16239. C     The ( character 
  16240. D     The current date 
  16241. E     ASCII code 27 (escape) 
  16242. F     The ) character 
  16243. G     The > character 
  16244. H     The backspace symbol 
  16245. I     The help line 
  16246. L     The < character 
  16247. N     The default drive 
  16248. P     The current directory of the default drive 
  16249. Q     The = character 
  16250. R     The return code 
  16251. S     A space character 
  16252. T     The current time 
  16253. V     The version number 
  16254.  
  16255.  
  16256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16257.  
  16258. PROTECTONLY Command:  NO and YES Parameters 
  16259.  
  16260. Selects both DOS and OS/2 operating environments (NO), or selects OS/2 sessions 
  16261. only (YES).  The default is NO. 
  16262.  
  16263. To set up your system for OS/2 sessions only, type the following in the 
  16264. CONFIG.SYS file: 
  16265.  
  16266. PROTECTONLY=YES
  16267.  
  16268. To set up your system for both OS/2 and DOS sessions, type the following in the 
  16269. CONFIG.SYS file: 
  16270.  
  16271. PROTECTONLY=NO
  16272.  
  16273.  
  16274. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16275.  
  16276. PROTSHELL Command:  Drive, Path, Filename Parameters 
  16277.  
  16278. Specifies the drive, directory location, and complete name of the file, 
  16279. including its extension, that contains the user interface. 
  16280.  
  16281.  
  16282. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16283.  
  16284. PROTSHELL Command:  Arguments Parameter 
  16285.  
  16286. Specifies the parameters required by the user interface. The standard OS/2 user 
  16287. interface requires the name of the Presentation Manager* configuration file, 
  16288. the name of the Presentation Manager program file, and the name of the OS/2 
  16289. command processor. 
  16290.  
  16291.  
  16292. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16293.  
  16294. PSTAT Command:  /C Parameter 
  16295.  
  16296. Displays the current process and thread-related information on the system. For 
  16297. each process, displays the following: 
  16298.  
  16299. o Process ID 
  16300. o Parent process ID 
  16301. o Session ID 
  16302. o Process name 
  16303.  
  16304. For each thread, displays the following: 
  16305.  
  16306. o Thread ID 
  16307. o Thread state 
  16308. o Thread priority 
  16309. o Block ID 
  16310.  
  16311.  
  16312. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16313.  
  16314. PSTAT Command:  /S Parameter 
  16315.  
  16316. Displays system-semaphore information for each thread.  For each thread, 
  16317. displays the following: 
  16318.  
  16319. o Process module name 
  16320. o Process ID 
  16321. o Session 
  16322. o Index 
  16323. o Number of references 
  16324. o Number of requests 
  16325. o Flag 
  16326. o Name of the system semaphore 
  16327.  
  16328.  
  16329. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16330.  
  16331. PSTAT Command:  /L Parameter 
  16332.  
  16333. Displays the dynamic-link libraries for each process. 
  16334.  
  16335. o Process module name 
  16336. o Process ID 
  16337. o Session ID 
  16338. o Library list 
  16339.  
  16340.  
  16341. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16342.  
  16343. PSTAT Command:  /M Parameter 
  16344.  
  16345. Displays shared information for each process. 
  16346.  
  16347. o Handle 
  16348. o Selector 
  16349. o Number of references 
  16350. o Name of the shared memory 
  16351.  
  16352.  
  16353. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16354.  
  16355. PSTAT Command:  /P:pid Parameter 
  16356.  
  16357. Displays information related to the ID of the specified process. 
  16358.  
  16359. o Process ID 
  16360. o Parent process ID 
  16361. o Session ID 
  16362. o Process module name 
  16363. o Dynamic-link libraries 
  16364. o Shared memory data 
  16365.  
  16366. For each thread associated with the process, displays the following: 
  16367.  
  16368. o Thread ID 
  16369. o Thread priority 
  16370. o Thread status 
  16371. o Block ID 
  16372. o Semaphore information 
  16373.  
  16374.  
  16375. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16376.  
  16377. RECOVER Command:  Drive, Path, Filename Parameters 
  16378.  
  16379. Specifies the complete name of the file to be recovered.  You can recover one 
  16380. or more files. 
  16381.  
  16382. To recover a file named LETTER.TXT in the root directory of drive A, enter the 
  16383. following: 
  16384.  
  16385. RECOVER A:\LETTER.TXT
  16386.  
  16387. To recover all the files on drive A, enter the following: 
  16388.  
  16389. RECOVER A:
  16390.  
  16391.  
  16392. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16393.  
  16394. REM Command:  Comment Parameter 
  16395.  
  16396. Contains any string of up to 123 characters. 
  16397.  
  16398. To display REM and the remark, THIS IS AN INVENTORY PROGRAM, from within a 
  16399. batch file, type the following: 
  16400.  
  16401. REM THIS IS AN INVENTORY PROGRAM
  16402.  
  16403. To prevent the OS/2 operating system from interpreting the piping symbol (|), 
  16404. enclose it in double quotes. 
  16405.  
  16406. REM USE DOUBLE QUOTES "|" DIR
  16407.  
  16408.  
  16409. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16410.  
  16411. RENAME Command:  Drive, Path, Filename Parameters 
  16412.  
  16413. Specifies the file to be renamed (filename1) and specifies the new filename 
  16414. (filename2).  The filename may also be the name of a directory you want to 
  16415. rename. Specify a path only with the first directory name (filename1 
  16416. parameter). Do not use the global file-name characters (* and ?) when renaming 
  16417. a directory. 
  16418.  
  16419. To change the name of a file from MEMOS to LETTERS in the current directory on 
  16420. the current drive, enter the following: 
  16421.  
  16422. REN MEMOS LETTERS
  16423.  
  16424. To change the extension of all files in the current directory of the current 
  16425. drive from .OLD to .NEW, enter the following: 
  16426.  
  16427. REN *.OLD *.NEW
  16428.  
  16429. To rename a program named MY.COM in the LEVEL1 subdirectory on drive B to 
  16430. YOUR.COM, enter the following: 
  16431.  
  16432. REN B:\LEVEL1\MY.COM YOUR.COM
  16433.  
  16434.  
  16435. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16436.  
  16437. REPLACE Command:  Drive, Path, Filename Parameters 
  16438.  
  16439. Specifies the file from the source drive and directory that is to replace a 
  16440. file on the target drive and directory. 
  16441.  
  16442. To replace the LETTERS file on drive A with the LETTERS file on drive C, enter 
  16443. the following: 
  16444.  
  16445. REPLACE C:LETTERS A:
  16446.  
  16447. You can also use the global characters * and ? when specifying a file name. 
  16448.  
  16449. To replace all files on drive C that have an extension of .EXE with files from 
  16450. drive A that have the same file name and extension, enter the following: 
  16451.  
  16452. REPLACE A:*.EXE C:
  16453.  
  16454.  
  16455. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16456.  
  16457. REPLACE Command:  /A Parameter 
  16458.  
  16459. Copies all files specified by the source that do not exist on the target.  This 
  16460. allows you to add files to the target without overwriting the files that 
  16461. already exist on the target. You cannot use /A and /S together. 
  16462.  
  16463. To copy all files from the current directory on drive C (that do not exist on 
  16464. drive A) to drive A, without overwriting the files that currently exist on 
  16465. drive A, enter the following: 
  16466.  
  16467. REPLACE C:*.* A: /A
  16468.  
  16469.  
  16470. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16471.  
  16472. REPLACE Command:  /S Parameter 
  16473.  
  16474. Searches all directories of the target drive and path for the files matching 
  16475. the file name specified. If only the target drive is specified, the default 
  16476. path is assumed. You cannot use /A and /S together. 
  16477.  
  16478. To replace the files found in all directories of drive C with files matching 
  16479. the source file name of YEARLY in the current directory on drive A, enter the 
  16480. following: 
  16481.  
  16482. REPLACE A:YEARLY C:\ /S
  16483.  
  16484.  
  16485. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16486.  
  16487. REPLACE Command:  /P Parameter 
  16488.  
  16489. Prompts you as each file is encountered on the target. This allows you to 
  16490. selectively replace or add files. 
  16491.  
  16492. To be prompted with (Y/N?) before replacing each file from the root directory 
  16493. on drive C to the root directory on drive A, enter the following: 
  16494.  
  16495. REPLACE C:\*.* A:\ /P
  16496.  
  16497.  
  16498. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16499.  
  16500. REPLACE Command:  /R Parameter 
  16501.  
  16502. Replaces files that are read-only on the target. 
  16503.  
  16504. To replace all files on drive C (including read-only files) with files of the 
  16505. same name from drive A, enter the following: 
  16506.  
  16507. REPLACE A:*.* C: /R
  16508.  
  16509.  
  16510. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16511.  
  16512. REPLACE Command:  /W Parameter 
  16513.  
  16514. Waits for you to insert a diskette before beginning to search for source files. 
  16515.  
  16516. To replace the LETTERS file on drive A with the LETTERS file on drive C, and 
  16517. have the system wait for you to insert a diskette before searching for source 
  16518. files, enter the following: 
  16519.  
  16520. REPLACE C:LETTERS A: /W
  16521.  
  16522.  
  16523. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16524.  
  16525. REPLACE Command:  /U Parameter 
  16526.  
  16527. Updates only those files on the target drive that are older than those on the 
  16528. source drive.  You cannot use the /A and /U parameters together. 
  16529.  
  16530. To replace all files on drive C named LETTER.FMT with a new LETTER.FMT file 
  16531. from drive A, enter the following: 
  16532.  
  16533. REPLACE A:LETTER.FMT C:\ /U  /S
  16534.  
  16535.  
  16536. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16537.  
  16538. REPLACE Command:  /F Parameter 
  16539.  
  16540. Causes REPLACE to fail if the source file contains extended attributes and the 
  16541. destination file system does not support extended attributes. If the /F 
  16542. parameter is not specified, REPLACE will succeed if the source file contains 
  16543. extended attributes and the destination file system does not support them.  The 
  16544. extended attributes are not copied. If the /F parameter is not specified and 
  16545. the source file contains needed extended attributes, REPLACE will fail if the 
  16546. destination file system does not support extended attributes.  In this 
  16547. instance, a message appears. 
  16548.  
  16549. Assume you want to replace a file named REPORTS.TXT to the STATUS directory on 
  16550. drive D.  You also want REPLACE to fail if drive D does not support extended 
  16551. attributes.  Enter the following: 
  16552.  
  16553. REPLACE REPORTS.TXT D:\STATUS /F
  16554.  
  16555.  
  16556. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16557.  
  16558. RESTORE Command:  Drive, Path, Filename Parameters 
  16559.  
  16560. Source drive specifies the drive that contains the files you backed up.  The 
  16561. target drive and path specify the location to which you want the files 
  16562. restored. 
  16563.  
  16564. To restore a file named MONDAY to the REPORTS subdirectory on drive C from the 
  16565. backup diskette in drive A, enter the following: 
  16566.  
  16567. RESTORE A: C:\REPORTS\MONDAY
  16568.  
  16569.  
  16570. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16571.  
  16572. RESTORE Command:  /P Parameter 
  16573.  
  16574. Prompts for permission to restore any files on the target disk that match the 
  16575. file specification and are read-only or that have changed since they were last 
  16576. backed up. 
  16577.  
  16578. In the following example, assume that the backup diskette is in drive A and you 
  16579. are restoring to the current directory in drive C.  To be prompted with (Y/N)? 
  16580. before restoring any read-only file or file changed since the last time you did 
  16581. a backup, enter the following: 
  16582.  
  16583. RESTORE A: C:*.* /P
  16584.  
  16585.  
  16586. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16587.  
  16588. RESTORE Command:  /M Parameter 
  16589.  
  16590. Restores only those files on the target disk that have been modified since the 
  16591. last backup. 
  16592.  
  16593. To restore files that were changed or deleted since they were last backed up, 
  16594. enter the following: 
  16595.  
  16596. RESTORE A: C:*.* /M
  16597.  
  16598.  
  16599. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16600.  
  16601. RESTORE Command:  /B:mm-dd-yy Parameter 
  16602.  
  16603. Restores only those files on the target disk last modified on or before the 
  16604. given date. 
  16605.  
  16606. To restore all files changed on or before November 12, 1988, type the following 
  16607. (using the current date format): 
  16608.  
  16609. RESTORE A: C: /B:11-12-88
  16610.  
  16611.  
  16612. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16613.  
  16614. RESTORE Command:  /A:mm-dd-yy Parameter 
  16615.  
  16616. Restores only those files on the target disk last modified on or after the 
  16617. given date. 
  16618.  
  16619. To restore all files changed on or after November 12, 1988, type the following 
  16620. (using the current date format): 
  16621.  
  16622. RESTORE A: C: /A:11-12-88
  16623.  
  16624.  
  16625. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16626.  
  16627. RESTORE Command:  /E:hh:mm:ss Parameter 
  16628.  
  16629. Restores only those files on the target disk last modified before the given 
  16630. time. 
  16631.  
  16632. To restore only those files that were changed at or earlier than 11:45 a.m., 
  16633. enter the following: 
  16634.  
  16635. RESTORE A: C: /E:11:45:00
  16636.  
  16637.  
  16638. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16639.  
  16640. RESTORE Command:  /L:hh:mm:ss Parameter 
  16641.  
  16642. Restores only those files on the target disk that were last modified at or 
  16643. after the given time. 
  16644.  
  16645. To restore only those files that were changed at or later than 11:45 a.m., 
  16646. enter the following: 
  16647.  
  16648. RESTORE A: C: /L:11:45:00
  16649.  
  16650.  
  16651. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16652.  
  16653. RESTORE Command:  /S Parameter 
  16654.  
  16655. Restores any subdirectories from the backup diskette to the target disk if they 
  16656. do not exist on the target disk. 
  16657.  
  16658. To restore all files (including subdirectories) on the backup diskettes in 
  16659. drive A to drive C, enter the following: 
  16660.  
  16661. RESTORE A: C:\*.* /S
  16662.  
  16663.  
  16664. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16665.  
  16666. RESTORE Command:  /N Parameter 
  16667.  
  16668. Restores any files from the backup diskette to the target disk that do not 
  16669. exist on the target disk. 
  16670.  
  16671. To restore files that no longer exist on the target drive, enter the following: 
  16672.  
  16673. RESTORE A: C: /N
  16674.  
  16675.  
  16676. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16677.  
  16678. RESTORE Command:  /F Parameter 
  16679.  
  16680. Causes RESTORE to fail if the source file contains extended attributes and the 
  16681. destination file system does not support extended attributes. If the /F 
  16682. parameter is not specified, RESTORE will succeed if the source file contains 
  16683. extended attributes and the destination file system does not support them.  The 
  16684. extended attributes are not copied. If the /F parameter is not specified and 
  16685. the source file contains needed extended attributes, RESTORE will fail if the 
  16686. destination file system does not support extended attributes.  In this 
  16687. instance, a message appears. 
  16688.  
  16689. Assume you want to restore a file named REPORTS.TXT to the STATUS directory on 
  16690. drive D.  You also want RESTORE to fail if drive D does not support extended 
  16691. attributes.  Enter the following: 
  16692.  
  16693. RESTORE REPORTS.TXT D:\STATUS /F
  16694.  
  16695.  
  16696. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16697.  
  16698. RESTORE Command:  /D Parameter 
  16699.  
  16700. Displays a list of files on the backup disk that matches the files specified in 
  16701. filename without restoring any files. 
  16702.  
  16703. To display the files on the backup disk that match the files that were backed 
  16704. up by the BACKUP command without restoring them, enter the following: 
  16705.  
  16706. RESTORE /D
  16707.  
  16708.  
  16709. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16710.  
  16711. RD Command:  Drive and Path Parameters 
  16712.  
  16713. Specifies the directory to be removed.  You can: 
  16714.  
  16715. o Remove a subdirectory from a root directory 
  16716. o Remove a subdirectory from within another directory 
  16717. o Remove more than one directory (OS/2 sessions only) 
  16718.  
  16719. To remove a subdirectory named REPORTS from your root directory on the current 
  16720. drive, delete all the files and subdirectories within REPORTS, and enter the 
  16721. following: 
  16722.  
  16723. RD \REPORTS
  16724.  
  16725. To remove a subdirectory named ANNUAL within a subdirectory REPORTS, which is 
  16726. in the root directory on the current drive, enter the following: 
  16727.  
  16728. RD \REPORTS\ANNUAL
  16729.  
  16730. To remove the subdirectory REPORTS from the SALES directory and the 
  16731. subdirectory PROGS from the ACCT directory (OS/2 sessions only), enter the 
  16732. following: 
  16733.  
  16734. RD \SALES\REPORTS \ACCT\PROGS
  16735.  
  16736.  
  16737. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16738.  
  16739. RMSIZE Command:  x Parameter 
  16740.  
  16741. Specifies a number from 0 through 640, representing a multiple of 1024 bytes. 
  16742.  
  16743. To set the size of the DOS environment to 512KB, type the following in the 
  16744. CONFIG.SYS file: 
  16745.  
  16746. RMSIZE=512
  16747.  
  16748.  
  16749. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16750.  
  16751. RUN Command:  Drive, Path, Filename Parameters 
  16752.  
  16753. Specifies the complete name of the file, including its extension, that contains 
  16754. the system program you want to run. 
  16755.  
  16756. To run a system checkout program named MARY.EXE located in the UTILS directory, 
  16757. type the following in the CONFIG.SYS file. 
  16758.  
  16759. RUN=C:\UTILS\MARY.EXE
  16760.  
  16761.  
  16762. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16763.  
  16764. RUN Command:  Arguments Parameter 
  16765.  
  16766. Specifies information that you want to pass to the program. 
  16767.  
  16768.  
  16769. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16770.  
  16771. RUN Command:  Drive and Path Parameter 
  16772.  
  16773. Specifies the drive and path of the LOGDAEM.EXE program. 
  16774.  
  16775. The default drive and path of LOGDAEM.EXE is C:\OS2\SYSTEM. 
  16776.  
  16777.  
  16778. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16779.  
  16780. RUN=LOGDAEM.EXE Command:  /E:filename Parameter 
  16781.  
  16782. Specifies the path and file name of the local error-log file. 
  16783.  
  16784. To specify C:\OS2\SYSTEM as the path for the error-log file LOG0001.DAT, type 
  16785. the following in the CONFIG.SYS file: 
  16786.  
  16787. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT
  16788.  
  16789.  
  16790. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16791.  
  16792. RUN=LOGDAEM.EXE Command:  /W:x Parameter 
  16793.  
  16794. Sets the size of the error logging file to a specified size (x) in KB.  The 
  16795. default is 64KB, the minimum is 4KB.  If an error-log file does not already 
  16796. exist and you do not supply a /W parameter, then an error-log file will be 
  16797. started with a length of 64KB. 
  16798.  
  16799. The error-logging service adds entries to the error-log file until the file is 
  16800. filled.  Any new entries are then added in a circular fashion; that is, the 
  16801. oldest entries are discarded to make room for the new ones. 
  16802.  
  16803. To set the size of the error-log file, LOG0001.DAT, with the path C:\OS2\SYSTEM 
  16804. to 32KB, type the following in the CONFIG.SYS file: 
  16805.  
  16806. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  16807.  
  16808.  
  16809. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16810.  
  16811. SET Command:  String1 Parameter 
  16812.  
  16813. Name of a system variable or replaceable parameter. Do not use any of these 
  16814. characters in string:  =  >   <   | 
  16815.  
  16816.  
  16817. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16818.  
  16819. SET Command:  String2 Parameter 
  16820.  
  16821. Value you want to assign to the system variable or replaceable parameter. Do 
  16822. not use any of these characters in string:  =  >   <   | 
  16823.  
  16824.  
  16825. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16826.  
  16827. SETBOOT Command:  /T:x Parameter 
  16828.  
  16829. Sets the timeout value of the Boot Manager menu timer. 
  16830.  
  16831. The value of x is the time in seconds that the Boot Manager menu will remain 
  16832. displayed before the default system starts. 
  16833.  
  16834. A specified value of 0 seconds bypasses the menu entirely, starting the default 
  16835. system immediately without intervention. 
  16836.  
  16837. To set the Boot Manager selection timer to 15 seconds, type the following: 
  16838.  
  16839. SETBOOT /T:15
  16840.  
  16841.  
  16842. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16843.  
  16844. SETBOOT Command:  /T:NO Parameter 
  16845.  
  16846. Disables the Boot Manager selection timer.  When you specify NO as the timeout 
  16847. value, the timer is disabled leaving the Boot Manager menu displayed until you 
  16848. make a selection. 
  16849.  
  16850. To disable the Boot Manager selection timer, type the following: 
  16851.  
  16852. SETBOOT /T:NO
  16853.  
  16854.  
  16855. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16856.  
  16857. SETBOOT Command:  /M:m Parameter 
  16858.  
  16859. Sets the mode for the Boot Manager menu. 
  16860.  
  16861. m = n  sets normal mode 
  16862. m = a  sets advanced mode 
  16863.  
  16864. :n sets the mode to display only the aliases of the partitions that are able to 
  16865. be selected; :a sets the mode to display additional information that is 
  16866. displayed in the advanced mode of the Boot Manager menu. 
  16867.  
  16868. To set the normal mode for the Boot Manager menu, type the following: 
  16869.  
  16870. SETBOOT /M:n
  16871.  
  16872. To set the Boot Manager menu to advanced mode, type the following: 
  16873.  
  16874. SETBOOT /M:a
  16875.  
  16876.  
  16877. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16878.  
  16879. SETBOOT Command:  /Q Parameter 
  16880.  
  16881. Queries the currently set startup environment.  Returns the default partition 
  16882. alias, timeout value, mode, system index, and alias assigned to each system 
  16883. index.  A system index of 0 indicates attended mode.  Any other system index 
  16884. indicates unattended mode. 
  16885.  
  16886. To query the current startup environment, type the following: 
  16887.  
  16888. SETBOOT /Q
  16889.  
  16890.  
  16891. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16892.  
  16893. SETBOOT Command:  /B Parameter 
  16894.  
  16895. Performs an orderly shutdown of the file system buffers and caches and then 
  16896. restarts the system. 
  16897.  
  16898. To shutdown the file system buffers and caches and then restart the system, 
  16899. type the following: 
  16900.  
  16901. SETBOOT /B
  16902.  
  16903.  
  16904. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16905.  
  16906. SETBOOT Command:  /IBA:n Parameter 
  16907.  
  16908. Enables SETBOOT to perform a shutdown of the file system buffers and caches and 
  16909. then allows your computer to be restarted from the system called n (name).  The 
  16910. Boot Manager menu is bypassed.  To restart your computer from MYOS2, type the 
  16911. following: 
  16912.  
  16913. SETBOOT /IBA:MYOS2
  16914.  
  16915.  
  16916. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16917.  
  16918. SETBOOT Command:  /IBD:d Parameter 
  16919.  
  16920. Enables SETBOOT to perform a shutdown of the file system buffers and caches and 
  16921. then allows your computer to be restarted from the system residing in logical 
  16922. drive d where d is a drive letter.  The Boot Manager menu is bypassed.  To 
  16923. restart your computer from drive F, type the following: 
  16924.  
  16925. SETBOOT /IBD:F
  16926.  
  16927.  
  16928. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16929.  
  16930. SETBOOT Command:  /X:x Parameter 
  16931.  
  16932. Sets the system startup index to indicate the partition to be started.  The 
  16933. value x may be set from 0 to 3. 
  16934.  
  16935. The Boot Manager will start the partition corresponding to the index.  It then 
  16936. decreases this value by 1 while the value is greater than 1.  If you do not set 
  16937. this value before you start the system again, then the Boot Manager will start 
  16938. a different partition. 
  16939.  
  16940. A value of 0 sets the Boot Manager to attended mode and provides for a default 
  16941. system selection. 
  16942.  
  16943. A value of 1 to 3 in this index puts the Boot Manager in unattended mode.  In 
  16944. this case, all attended mode functions are bypassed, including the Boot Manager 
  16945. menu.  This feature is provided as a mechanism that unattended mode can use to 
  16946. implement a fallback startup sequence; that is, if a system fails to get to 
  16947. your program to set the index, the subsequent startup would try to start the 
  16948. next fallback system and so on. 
  16949.  
  16950. To set the startup index to put Boot Manager in attended mode, type the 
  16951. following: 
  16952.  
  16953. SETBOOT /X:0
  16954.  
  16955. To set the startup index to put the Boot Manager in unattended mode, type the 
  16956. following: 
  16957.  
  16958. SETBOOT /X:3
  16959.  
  16960.  
  16961. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16962.  
  16963. SETBOOT Command:  /N:name Parameter 
  16964.  
  16965. Sets the partition or logical drive specified by the alias name and its 
  16966. corresponding index value as the operating system to be started. 
  16967.  
  16968. Up to four pair-combinations can be given, one for each index value, 0 to 3. An 
  16969. alias is case-sensitive, and if it contains blanks, the /N parameter:name pair 
  16970. must be enclosed in quotation marks. 
  16971.  
  16972. The following shows you the number values for N: 
  16973.  
  16974. N = 0 assigns the specified alias as the default operating system. 
  16975. N = 1 to 3 specifies the alias to be started when the corresponding index is 
  16976. chosen to start. 
  16977.  
  16978. To specify the logical drive with the alias MYSYSTEM as the default operating 
  16979. system to be started, type the following: 
  16980.  
  16981. SETBOOT /0:MYSYSTEM
  16982.  
  16983.  
  16984. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16985.  
  16986. SHELL Command:  Drive, Path, Filename Parameters 
  16987.  
  16988. Specifies the complete name of the file, including its extension, that contains 
  16989. the DOS command processor. 
  16990.  
  16991.  
  16992. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16993.  
  16994. SHELL Command:  Arguments Parameter 
  16995.  
  16996. Specifies the parameters of your command processor.  If you are using 
  16997. COMMAND.COM as your command processor, any parameters of COMMAND.COM can be 
  16998. used as SHELL statement arguments. 
  16999.  
  17000. To install COMMAND.COM as the command processor, type the following in the 
  17001. CONFIG.SYS file: 
  17002.  
  17003. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  17004.  
  17005.  
  17006. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17007.  
  17008. SORT Command:  /R Parameter 
  17009.  
  17010. Reverses the sort; that is, sorts from Z through A. 
  17011.  
  17012. To sort a file named BOOK1 in reverse order and write the output to a file 
  17013. named REV, enter the following: 
  17014.  
  17015. SORT /R <BOOK1 >REV
  17016.  
  17017.  
  17018. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17019.  
  17020. SORT Command:  /+n Parameter 
  17021.  
  17022. Sorts starting with column n, where n is some number.  If you do not specify 
  17023. this parameter, SORT begins sorting from column 1. 
  17024.  
  17025. To sort a file named BOOK1 starting at column 1, and send the output to your 
  17026. screen, enter the following: 
  17027.  
  17028. SORT <BOOK1
  17029.  
  17030. To sort a file named CALENDAR.88, starting at column 7, type the following: 
  17031.  
  17032. SORT /+7 <CALENDAR.88
  17033.  
  17034.  
  17035. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17036.  
  17037. SPOOL Command:  /D:device Parameter 
  17038.  
  17039. Specifies the input device. This is the device the application program uses for 
  17040. printing. Acceptable parallel device names are PRN, LPT1, LPT2, and LPT3.  If 
  17041. not specified, the default device is LPT1.  Serial devices cannot be specified 
  17042. as input devices. 
  17043.  
  17044.  
  17045. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17046.  
  17047. SPOOL Command:  /O:device Parameter 
  17048.  
  17049. Specifies the output device. This is the actual device to which output from the 
  17050. application program is to be sent. If this parameter is not specified, the 
  17051. default is the same as the input device. COM1 through COM4 can be specified as 
  17052. output devices when a device is attached to the serial port. Acceptable 
  17053. parallel device names include PRN, LPT1, LPT2, and LPT3. 
  17054.  
  17055.  
  17056. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17057.  
  17058. SPOOL Command:  /Q Parameter 
  17059.  
  17060. Queries existing device redirections.  /Q specifies to display the current 
  17061. device redirection selections.  The default setup, if no previous redirection 
  17062. has been specified, is to have each input device directed to its corresponding 
  17063. output device (that is, LPT1 directed to LPT1, LPT2 directed to LPT2, and so 
  17064. on). 
  17065.  
  17066.  
  17067. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17068.  
  17069. START Command:  "Program Title" Parameter 
  17070.  
  17071. Specifies the title you want for your program, which is displayed in the 
  17072. Startup folder. The program title must be enclosed in double quotation marks 
  17073. and cannot exceed 60 bytes. 
  17074.  
  17075. If you do not specify program title, the file name of your program is displayed 
  17076. in the Startup folder. 
  17077.  
  17078. The use of a double-byte (DBCS) character counts as two bytes. If a title is 
  17079. longer than 60 bytes, it is shortened.  DBCS means a set of characters in which 
  17080. each character is represented by two bytes.  Languages such as Japanese, 
  17081. Chinese, and Korean, which contain more characters than can be represented by 
  17082. 256 code points, require double-byte character sets.  As each character 
  17083. requires two bytes, the entering, displaying, and printing of DBCS characters 
  17084. requires hardware and software that can support DBCS. 
  17085.  
  17086.  
  17087. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17088.  
  17089. START Command:  /K Parameter 
  17090.  
  17091. Indicates to start the program indirectly through the command processor, 
  17092. CMD.EXE, and to keep the session when the program has finished. If the 
  17093. application is a Presentation Manager application, the default is /N; 
  17094. otherwise, the default is /K. 
  17095.  
  17096.  
  17097. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17098.  
  17099. START Command:  /C Parameter 
  17100.  
  17101. Indicates to start the program indirectly through the command processor, 
  17102. CMD.EXE, and end the session when the command is complete.  If the session 
  17103. created by the START command is displayed when the command ends, the system 
  17104. determines which session to display next. 
  17105.  
  17106.  
  17107. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17108.  
  17109. START Command:  /N Parameter 
  17110.  
  17111. Indicates to start the program directly without invoking the command processor, 
  17112. CMD.EXE. Do not enclose the command in quotation marks.  The command you 
  17113. specify cannot be an internal command or a batch file. 
  17114.  
  17115. To start XCOPY directly without invoking the CMD.EXE command processor, copy 
  17116. the complete contents of the root directory on drive C to drive A, and display 
  17117. XCOPY C-A as the program title, type the following: 
  17118.  
  17119. START "XCOPY C-A" /N XCOPY C:\ A:
  17120.  
  17121.  
  17122. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17123.  
  17124. START Command:  /F Parameter 
  17125.  
  17126. Makes the program the foreground session. If this parameter is not specified, 
  17127. the program becomes a background session. If the /FS, /WIN or /PM parameter is 
  17128. specified, the program becomes the foreground session. 
  17129.  
  17130. To run the XCOPY command in the foreground session, enter the following: 
  17131.  
  17132. START "XCOPY C-A" /F XCOPY C:\ A:\
  17133.  
  17134.  
  17135. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17136.  
  17137. The START command:  /PGM parameter. 
  17138.  
  17139. START interprets a quoted string as the name of the program to be executed. 
  17140. For example, assume you use a program named MY EDITOR.  You can start the MY 
  17141. EDITOR program and use the default title, or you can start MY EDITOR and give 
  17142. it a different name. 
  17143.  
  17144. To start MY EDITOR without specifying a title, enter the following: 
  17145.  
  17146. START /PGM "MY EDITOR"
  17147.  
  17148. To start MY EDITOR and give it a title, enter the following: 
  17149.  
  17150. START "MY FAVORITE EDITOR" /PGM "MY EDITOR"
  17151.  
  17152. The name MY FAVORITE EDITOR would appear on the Window List, rather than the 
  17153. name of the program, MY EDITOR. 
  17154.  
  17155. If the /PGM parameter is not used, START interprets the first quoted string as 
  17156. the name of a user-supplied title, and the second quoted string as the command 
  17157. to be passed to another session that is running CMD.EXE. 
  17158.  
  17159.  
  17160. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17161.  
  17162. START Command:  /FS Parameter 
  17163.  
  17164. Indicates that this application is a full-screen DOS or OS/2 application that 
  17165. must run in a separate session independent of Presentation Manager. 
  17166.  
  17167. To start the XCOPY command in a full-screen session and copy the files from 
  17168. drive A to drive B, enter the following: 
  17169.  
  17170. START "XCOPY A-B" /FS XCOPY A:\ B:
  17171.  
  17172.  
  17173. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17174.  
  17175. START Command:  /WIN Parameter 
  17176.  
  17177. Indicates that this is an OS/2 application that runs within an OS/2 or DOS 
  17178. window. 
  17179.  
  17180. To start a batch file named CRAYON.CMD in an OS/2 window session, enter the 
  17181. following: 
  17182.  
  17183. START /WIN CRAYON.CMD
  17184.  
  17185. To start a batch file named MYFILE.BAT in a DOS window session, enter the 
  17186. following: 
  17187.  
  17188. START /WIN MYFILE.BAT
  17189.  
  17190.  
  17191. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17192.  
  17193. START Command:  /PM Parameter 
  17194.  
  17195. Indicates that this application is a Presentation Manager application. 
  17196.  
  17197. To start the CRAYON.EXE program to run as a Presentation Manager program, enter 
  17198. the following: 
  17199.  
  17200. START "CRAYON GAME" /PM CRAYON.EXE
  17201.  
  17202.  
  17203. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17204.  
  17205. START Command:  /DOS Parameter 
  17206.  
  17207. Starts the program as a DOS program. Useful for forcing FAPI or BOUND 
  17208. applications to run in a DOS session.  To start a COMMAND.COM session, enter 
  17209. the following: 
  17210.  
  17211. START /DOS
  17212.  
  17213. To start a COMMAND.COM session in a window, enter the following: 
  17214.  
  17215. START /WIN /DOS
  17216.  
  17217. To start a full-screen COMMAND.COM session, enter the following: 
  17218.  
  17219. START /FS /DOS
  17220.  
  17221.  
  17222. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17223.  
  17224. START Command:  /MAX Parameter 
  17225.  
  17226. Requests that a Presentation Manager (PM) or any window application starts in a 
  17227. maximized state.  It has no effect for full screen.  A PM application may 
  17228. choose not to honor the request. 
  17229.  
  17230. To start a Presentation Manager or any window application in a maximized state, 
  17231. enter the following: 
  17232.  
  17233. START /MAX
  17234.  
  17235.  
  17236. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17237.  
  17238. START Command:  /MIN Parameter 
  17239.  
  17240. Requests that a Presentation Manager (PM) or any window application starts in a 
  17241. minimized (icon) state.  This has no effect for full screen.  A PM application 
  17242. may choose not to honor the request. 
  17243.  
  17244. To start a Presentation Manager or any  window application in a minimized 
  17245. (icon) state, enter the following: 
  17246.  
  17247. START /MIN
  17248.  
  17249.  
  17250. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17251.  
  17252. START Command:  /B Parameter 
  17253.  
  17254. Requests that an application be started in a background session. 
  17255.  
  17256. To start the XCOPY command in a background session, enter the following: 
  17257.  
  17258. START "XCOPY C-A" /B XCOPY C:\ A:\
  17259.  
  17260.  
  17261. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17262.  
  17263. START Command:  /I Parameter 
  17264.  
  17265. Causes the new session to inherit the environment defined by the SET statements 
  17266. in the CONFIG.SYS file instead of the CMD.EXE environment of the current 
  17267. session. 
  17268.  
  17269. To start the ACCT.EXE program to run as a full-screen program and cause the new 
  17270. session to inherit the environment defined by the SET statements in the 
  17271. CONFIG.SYS file, enter the following: 
  17272.  
  17273. START "ACCOUNT" /FS /I ACCT.EXE
  17274.  
  17275.  
  17276. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17277.  
  17278. START Command:  Command and Command Inputs Parameters 
  17279.  
  17280. Specifies an OS/2 internal or external command, a .CMD batch file, or any OS/2 
  17281. program you want to pass to the command processor you are starting. 
  17282.  
  17283. Command inputs are arguments for the command you requested. 
  17284.  
  17285. To start XCOPY in a new OS/2 session, copy the complete contents of the root 
  17286. directory on drive C to the root directory on drive A, and display XCOPY C-A as 
  17287. the program title, enter the following: 
  17288.  
  17289. START "XCOPY C-A" XCOPY C:\ A:\
  17290.  
  17291.  
  17292. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17293.  
  17294. SUBST Command:  Drive and Path Parameters 
  17295.  
  17296. Specifies the drive letter you want to substitute for the drive and path that 
  17297. follow. 
  17298.  
  17299. To substitute the drive letter G for the path C:\OS2\OS2.DTP, enter the 
  17300. following: 
  17301.  
  17302. SUBST G: C:\OS2\OS2.DTP
  17303.  
  17304. You can now enter DIR G: instead of entering DIR C:\OS2\OS2.DTP. 
  17305.  
  17306.  
  17307. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17308.  
  17309. SUBST Command:  /D Parameter 
  17310.  
  17311. Deletes a substituted drive and path. 
  17312.  
  17313. To delete substitutions currently in effect on drive G, enter the following: 
  17314.  
  17315. SUBST G: /D
  17316.  
  17317.  
  17318. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17319.  
  17320. SWAPPATH Command:  Drive and Path Parameter 
  17321.  
  17322. Specifies the location of the swap file. 
  17323.  
  17324. To store the swap file in the C:\OS2\SYSTEM directory, type the following in 
  17325. the CONFIG.SYS file: 
  17326.  
  17327. SWAPPATH=C:\OS2\SYSTEM
  17328.  
  17329.  
  17330. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17331.  
  17332. SWAPPATH Command:  Minfree Parameter 
  17333.  
  17334. Specifies the amount of disk space in KB at which point the system will begin 
  17335. to warn you that the swap file has increased to a size that leaves less than 
  17336. this amount of free space remaining on the disk.  This means that the OS/2 
  17337. operating system will not stop increasing the size of the swap file when the 
  17338. minfree value is reached, but will warn you that you are running out of disk 
  17339. space.  The default value for all systems regardless of the amount of physical 
  17340. memory is 2048KB. 
  17341.  
  17342.  
  17343. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17344.  
  17345. SWAPPATH Command:  Initial Parameter 
  17346.  
  17347. Specifies the size of the swap file initially allocated by the operating system 
  17348. at time of installation.  This value is variable and depends on the amount of 
  17349. physical memory in the system. 
  17350.  
  17351. You can modify the initial size of the swap file up to the size of the free 
  17352. space on the partition containing the swap file.  You must, however, leave 
  17353. space on the partition equal to the minfree value.  For example, to specify 
  17354. 18MB as the initial size of a swap file on a partition with 20MB of free space 
  17355. and a minfree value of 2MB, type the following in the CONFIG.SYS file: 
  17356.  
  17357. SWAPPATH=C:\OS2\SYSTEM 2048 18432
  17358.  
  17359. The following table displays the initial default size of the swap file for 
  17360. systems with the indicated physical memory: 
  17361.  
  17362. Memory              Initial Size 
  17363.  
  17364. 4MB                 6144KB 
  17365.  
  17366. 5MB                 5120KB 
  17367.  
  17368. 6MB                 5120KB 
  17369.  
  17370. 7MB                 4096KB 
  17371.  
  17372. 8MB                 4096KB 
  17373.  
  17374. 9MB                 3072KB 
  17375.  
  17376. 10MB                3072KB 
  17377.  
  17378. 11MB                2048KB 
  17379.  
  17380. 12MB                2048KB 
  17381.  
  17382. Note:   If a system does not have at least 4MB of memory, the size of the swap 
  17383.         file defaults to 1MB and increases as needed. 
  17384.  
  17385. The default statement in the CONFIG.SYS file for the initial size of a swap 
  17386. file on a system with 8MB of physical memory would be: 
  17387.  
  17388. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  17389.  
  17390.  
  17391. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17392.  
  17393. SYSLOG Command:  /S Parameter 
  17394.  
  17395. Suspends error logging of entries into the system. 
  17396.  
  17397. To suspend error logging, type the following: 
  17398.  
  17399. SYSLOG /S
  17400.  
  17401.  
  17402. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17403.  
  17404. SYSLOG Command:  /R Parameter 
  17405.  
  17406. Resumes error logging of entries into the system. 
  17407.  
  17408. To resume error logging, type the following: 
  17409.  
  17410. SYSLOG /R
  17411.  
  17412.  
  17413. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17414.  
  17415. SYSLOG Command:  /P:pathname Parameter 
  17416.  
  17417. Redirects the current error-log file to the file specified in your path 
  17418. statement. 
  17419.  
  17420. To redirect the current error-log file to the file LOG0001.DAT in the path 
  17421. C:\OS2\SYSTEM, type the following: 
  17422.  
  17423. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT
  17424.  
  17425.  
  17426. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17427.  
  17428. SYSLOG Command:  /W:x Parameter 
  17429.  
  17430. Sets the size of the new error-log file to a specified size (x) in KB.  The 
  17431. default is 64KB, the minimum is 4KB.  If an error-log file does not already 
  17432. exist and you do not supply a /W parameter, then a new error-log file will be 
  17433. started with a length of 64KB. 
  17434.  
  17435. You cannot decrease the size of an existing log file or increase the size of a 
  17436. log file that has already wrapped.  You can, however, increase the size of a 
  17437. log file that has not yet wrapped. 
  17438.  
  17439. To set the size of a new error-log file named LOG0001.DAT, with the path 
  17440. C:\OS2\SYSTEM, to 32KB, type the following: 
  17441.  
  17442. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  17443.  
  17444.  
  17445. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17446.  
  17447. THREADS Command:  x Parameter 
  17448.  
  17449. Specifies a number from 64 through 4095.  This is also the minimum number of 
  17450. threads allowed in the system. 
  17451.  
  17452. Because each thread specified uses resident memory, the value of x should be 
  17453. made as small as possible (about 50% larger than the number of threads expected 
  17454. to be used) for small memory configurations.  For example, if you expect to run 
  17455. 50 threads, set this value to 75. 
  17456.  
  17457. To have the system handle up to 512 active threads, type the following in the 
  17458. CONFIG.SYS file: 
  17459.  
  17460. THREADS=512
  17461.  
  17462.  
  17463. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17464.  
  17465. TIME Command:  Hours, Minutes, Seconds Parameters 
  17466.  
  17467. hh    Specifies the hours.  The new hours must be entered using 0 to 23 only. 
  17468.  
  17469. mm    Specifies the minutes. The new minutes must be entered using 0 to 59 
  17470.       only. 
  17471.  
  17472. ss    Specifies the seconds. The new seconds must be entered using 0 to 59 
  17473.       only. 
  17474.  
  17475. cc    Specifies the hundredths of seconds. The new hundredths of seconds must 
  17476.       be entered using 0 to 99 only. 
  17477.  
  17478. To enter or change the time in the system to 8:20 a.m. without being prompted 
  17479. by the system, enter the following: 
  17480.  
  17481. TIME 8:20
  17482.  
  17483.  
  17484. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17485.  
  17486. TIMESLICE Command:  x Parameter 
  17487.  
  17488. Selects the maximum amount of time in milliseconds to be applied for a system 
  17489. boost (for example, for input/output).  This value must be an integer greater 
  17490. than, or equal to, 32.  The value x has no meaning if the PRIORITY=ABSOLUTE 
  17491. statement is specified. 
  17492.  
  17493.  
  17494. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17495.  
  17496. TIMESLICE Command:  y Parameter 
  17497.  
  17498. Selects the maximum TIMESLICE value in milliseconds.  This value must be an 
  17499. integer greater than or equal to the minimum value, and less than 65536. 
  17500.  
  17501.  
  17502. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17503.  
  17504. TRACE Command:  ON and OFF Parameters 
  17505.  
  17506. Controls dynamic and static trace points from the OS/2 command prompt. 
  17507.  
  17508. o If the OFF parameter is used by itself, removes all dynamic and static trace 
  17509.   points. 
  17510.  
  17511. o If the ON parameter is used by itself, turns on all static trace points. 
  17512.  
  17513. To turn on all static trace points, enter the following: 
  17514.  
  17515. TRACE ON
  17516.  
  17517.  
  17518. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17519.  
  17520. TRACE Command:  ON and OFF Parameters 
  17521.  
  17522. Sets up the Trace facility in the CONFIG.SYS file. If you do not specify a 
  17523. TRACE or TRACEBUF statement in the CONFIG.SYS file, there is no trace buffer 
  17524. and tracing is not available. 
  17525.  
  17526. To trace all static system events, type the following in the CONFIG.SYS file: 
  17527.  
  17528. TRACE=ON
  17529.  
  17530.  
  17531. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17532.  
  17533. TRACE Command:  Major Code Spec Parameter 
  17534.  
  17535. Specifies a decimal value between 0 and 255 that represents the major event 
  17536. code to be set for static tracing.  Minor codes associated with major codes can 
  17537. be specified to achieve greater granularity in tracing. 
  17538.  
  17539.  
  17540. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17541.  
  17542. TRACE Command:  Minor Code Spec Parameters, static and dynamic.
  17543.  
  17544. For static trace points, specifies a decimal value between 1 and 255 that 
  17545. represents a static trace event within the specified major code. 
  17546.  
  17547. For dynamic trace points, specifies a decimal value between 1 and 65535 that 
  17548. represents a dynamic trace event within a specified trace definition file. 
  17549.  
  17550. Note:   Static and Dynamic trace points cannot be activated within the same 
  17551.         trace command.  It you want to activate both static and dynamic trace 
  17552.         points you will have to issue two separate commands. 
  17553.  
  17554.  
  17555. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17556.  
  17557. TRACE Command:  Event Type Spec Parameters.
  17558.  
  17559. The event type defined within a TRACE command allows a trace definition to 
  17560. create a subset of events dynamic or static within a module.  The association 
  17561. of groups and types allows for greater granularity of tracing system events. 
  17562.  
  17563.  
  17564. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17565.  
  17566. TRACE Command:  x Parameter 
  17567.  
  17568. Specifies a number from 0 through 255, indicating the major event code to be 
  17569. traced or not to be traced.  A major event code is the number the OS/2 
  17570. operating system assigns to a major system event, such as opening a file, 
  17571. writing to a file, or sending output to the screen.  Your technical coordinator 
  17572. can supply numbers for these codes. 
  17573.  
  17574. To indicate a major event code (15) is to be traced, enter the following: 
  17575.  
  17576. TRACE=ON 15
  17577.  
  17578.  
  17579. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17580.  
  17581. TRACE Command:  TDF Spec Parameter 
  17582.  
  17583. Specifies the name of a trace definition file that contains dynamic trace 
  17584. points for dynamic link libraries. The dynamic trace points are assigned 
  17585. numbers between 1 and 65535. For example, to trace DOSCALL1 (2, 4, 5, 6, 7, and 
  17586. 8), enter the following: 
  17587.  
  17588. TRACE ON DOSCALL1 (2, 4-8)
  17589.  
  17590. This TRACE command remains in effect until one of the following occurs: 
  17591.  
  17592. o The system is powered off. 
  17593.  
  17594. o The operating system removes the dynamic link library. 
  17595.  
  17596. o You enter either of the following commands: 
  17597.  
  17598.     TRACE OFF
  17599.  
  17600.   or 
  17601.  
  17602.     TRACE OFF DOSCALL1
  17603.  
  17604.   Notice that the event list is not specified. 
  17605.  
  17606.  
  17607. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17608.  
  17609. TRACE Command:  TDF Keyword Parameter 
  17610.  
  17611. Specifies the dynamic trace points for the system kernel.  Minor codes, groups, 
  17612. and types can be specified to promote easier recognition in system tracing. 
  17613.  
  17614. To activate all dynamic trace points enter the keyword KERNEL without any minor 
  17615. code specifications as follows: 
  17616.  
  17617. TRACE ON KERNEL
  17618.  
  17619. To trace specific dynamic trace points (5, 7, and 19), enter the following: 
  17620.  
  17621. TRACE ON KERNEL (5, 7, 19)
  17622.  
  17623. To trace on the kernel group keyword MEM, enter the following: 
  17624.  
  17625. TRACE ON KERNEL (MEM)
  17626.  
  17627. To trace on the kernel type keyword API, enter the following: 
  17628.  
  17629. TRACE ON KERNEL (API)
  17630.  
  17631. To enable the association group MEM and types PRE and API, enter the following: 
  17632.  
  17633. TRACE ON KERNEL (MEM=PRE+API)
  17634.  
  17635. The TRACE command remains in effect until one of the following occurs: 
  17636.  
  17637. o The system is powered off. 
  17638.  
  17639. o The operating system removes the dynamic link library. 
  17640.  
  17641. o You enter either of the following commands: 
  17642.  
  17643.   To turn off all tracing, enter the following: 
  17644.  
  17645.     TRACE OFF
  17646.  
  17647.   To turn off all KERNEL tracing, enter the following: 
  17648.  
  17649.     TRACE OFF KERNEL
  17650.  
  17651.   To turn off all tracing associated with the major code 5, enter the 
  17652.   following: 
  17653.  
  17654.     TRACE OFF 5
  17655.  
  17656.   Notice that the event list is not specified. 
  17657.  
  17658.  
  17659. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17660.  
  17661. TRACE Command:  /S Parameter 
  17662.  
  17663. Suspends tracing activity without removing the existing set of trace points. 
  17664.  
  17665.  
  17666. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17667.  
  17668. TRACE Command:  /R Parameter 
  17669.  
  17670. Resumes tracing activity for the currently specified set of trace points. 
  17671.  
  17672.  
  17673. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17674.  
  17675. TRACE Command:  /C Parameter 
  17676.  
  17677. Clears the contents of the trace buffer. 
  17678.  
  17679.  
  17680. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17681.  
  17682. TRACE Command:  /P Parameter 
  17683.  
  17684. Specifies the processes to be traced in the system, either a specific process 
  17685. ID or all future processes. 
  17686.  
  17687. To activate tracing for all current and future processes, enter: 
  17688.  
  17689. /P:ALL.
  17690.  
  17691. To activate tracing for selected processes, specify the process identification 
  17692. (pid). (This number is a hexadecimal value supplied by the PSTAT command) 
  17693.  
  17694. To specify tracing the process ID (pid) of hexadecimal value 0056, enter the 
  17695. following: 
  17696.  
  17697. TRACE ON /P:56
  17698.  
  17699. o Multiple process IDs can be specified. 
  17700. o Trace options of Static and Dynamic cannot be used in the same TRACE command. 
  17701.  
  17702.  
  17703. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17704.  
  17705. TRACEBUF Command:  X Parameter 
  17706.  
  17707. Specifies a number from 1 through 63, representing a multiple of 1024 bytes. 
  17708.  
  17709. To increase the size of the trace buffer to 10KB, type the following in the 
  17710. CONFIG.SYS file: 
  17711.  
  17712. TRACEBUF=10
  17713.  
  17714.  
  17715. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17716.  
  17717. TREE Command:  Drive Parameter 
  17718.  
  17719. Specifies the drive containing the directories to be listed. 
  17720.  
  17721. To list the directory names on drive C, enter the following: 
  17722.  
  17723. TREE C:
  17724.  
  17725.  
  17726. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17727.  
  17728. TREE Command:  /F Parameter 
  17729.  
  17730. Displays the names of files in the root directory and in all the 
  17731. subdirectories. 
  17732.  
  17733. To list the directory paths and the names of all files in the root directory 
  17734. and each subdirectory on drive C, enter the following: 
  17735.  
  17736. TREE C: /F
  17737.  
  17738.  
  17739. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17740.  
  17741. TREE Command:  Print Option 
  17742.  
  17743. To have a directory listing sent to a printer, enter the following: 
  17744.  
  17745. TREE >PRN
  17746.  
  17747.  
  17748. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17749.  
  17750. TREE Command:  Pause Option 
  17751.  
  17752. To display directory names on the screen and pause with the message --More-- 
  17753. after a full screen of information appears, enter the following: 
  17754.  
  17755. TREE | MORE
  17756.  
  17757.  
  17758. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17759.  
  17760. TYPE Command:  Drive, Path, Filename Parameters 
  17761.  
  17762. Specifies the names of the files to be displayed, including the drive and 
  17763. directory location. 
  17764.  
  17765. To display the file FILE1.TXT in the STATUS directory on drive C, enter the 
  17766. following: 
  17767.  
  17768. TYPE C:\STATUS\FILE1.TXT
  17769.  
  17770. You can display the contents of more than one file at a time. To display the 
  17771. files FILE1.TXT in the STATUS directory on drive C and FILE2.TXT on drive A, 
  17772. enter the following: 
  17773.  
  17774. TYPE C:\STATUS\FILE1.TXT A:FILE2.TXT
  17775.  
  17776.  
  17777. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17778.  
  17779. TYPE Command:  Print Option 
  17780.  
  17781. To have the contents of a file named FRIDAY in the current directory sent to a 
  17782. printer, enter the following: 
  17783.  
  17784. TYPE FRIDAY >PRN
  17785.  
  17786.  
  17787. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17788.  
  17789. TYPE Command:  Pause Option 
  17790.  
  17791. To look at a file named FRIDAY in the current directory and have the display 
  17792. pause with the message --More-- after a full screen of information appears, 
  17793. enter the following: 
  17794.  
  17795. TYPE FRIDAY | MORE
  17796.  
  17797.  
  17798. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17799.  
  17800. UNDELETE Command: Drive Path and Filename Parameters 
  17801.  
  17802. Specifies the drive, directory, and name of the file or set of files to 
  17803. recover.  If not specified, all files in the current directory will be 
  17804. restored. 
  17805.  
  17806.  
  17807. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17808.  
  17809. UNDELETE Command: /L Parameter 
  17810.  
  17811. Lists deleted files that are available to be recovered without recovering the 
  17812. files. 
  17813.  
  17814.  
  17815. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17816.  
  17817. UNDELETE Command: /A Parameter 
  17818.  
  17819. Recovers all deleted files if they are still present without prompting for 
  17820. confirmation on each file. 
  17821.  
  17822.  
  17823. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17824.  
  17825. UNDELETE Command: /S Parameter 
  17826.  
  17827. Includes all files in the specified directory and all subdirectories. 
  17828.  
  17829.  
  17830. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17831.  
  17832. UNDELETE Command: /F Parameter 
  17833.  
  17834. Removes files so they cannot be recovered. 
  17835.  
  17836.  
  17837. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17838.  
  17839. UNPACK Command:  Drive, Path, Filename Parameters 
  17840.  
  17841. Specifies the drive, directory location, and name of the file to be unpacked or 
  17842. copied.  A compressed file usually has a @ as the last character of the file 
  17843. name. 
  17844.  
  17845. This file can actually contain many files compressed end to end.  If this is 
  17846. the case, specifying a single source file name may yield several files after 
  17847. decompression.  All of these files may go to different destinations 
  17848. (directories).  Their destinations, however, will be displayed on the screen 
  17849. during decompression.  You must specify the source file name. 
  17850.  
  17851. To unpack a compressed file named FORMAT.CO@ from the current directory on 
  17852. drive A to the OS2 directory on drive C, enter the following: 
  17853.  
  17854. UNPACK A:FORMAT.CO@ C:\OS2
  17855.  
  17856.  
  17857. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17858.  
  17859. UNPACK Command:  Drive and Path Parameters 
  17860.  
  17861. Specifies the drive and directory to which the file should be placed after it 
  17862. is decompressed or copied. 
  17863.  
  17864. If a target drive is specified without a path, the path information stored in 
  17865. the compressed file will be added to the target drive and the files will be 
  17866. unpacked (copied) there.  If both target drive and path are specified, the 
  17867. target drive and path information will override any target path information 
  17868. stored in the compressed file. 
  17869.  
  17870. To unpack a compressed file named FORMAT.CO@ from the current drive and 
  17871. directory to the OS2 subdirectory on drive C, enter the following: 
  17872.  
  17873. UNPACK FORMAT.CO@ C:\OS2
  17874.  
  17875.  
  17876. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17877.  
  17878. UNPACK Command:  /V Parameter 
  17879.  
  17880. Verifies that data written to a disk was written correctly. This option causes 
  17881. UNPACK to run slower because a check is made for each entry recorded on the 
  17882. disk. 
  17883.  
  17884. To verify the compressed files on drive A are correctly unpacked and copied to 
  17885. drive C, enter the following: 
  17886.  
  17887. UNPACK A:\*.* C:\ /V
  17888.  
  17889.  
  17890. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17891.  
  17892. UNPACK Command:  /F Parameter 
  17893.  
  17894. Specifies that files with extended attributes should not be unpacked or copied 
  17895. if the destination file system does not support extended attributes. 
  17896.  
  17897. To specify that extended attributes should not be discarded when unpacking or 
  17898. copying files from drive A to drive C (when drive C does not support extended 
  17899. attributes), enter the following: 
  17900.  
  17901. UNPACK A:\*.* C:\ /F
  17902.  
  17903.  
  17904. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17905.  
  17906. UNPACK Command:  /SHOW Parameter 
  17907.  
  17908. Displays the target path and file name information saved in the packed file for 
  17909. every compressed file contained within the file specified by the source file 
  17910. name.  If /SHOW is specified, the source file name is the only other valid 
  17911. parameter. 
  17912.  
  17913. To display the destination path and file name for every compressed file in the 
  17914. packed file, BUNDLE.DA@, enter the following: 
  17915.  
  17916. UNPACK BUNDLE.DA@ /SHOW
  17917.  
  17918.  
  17919. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17920.  
  17921. UNPACK Command:  /N:filename Parameter 
  17922.  
  17923. Specifies one particular file to extract and decompress from a source file 
  17924. containing multiple files compressed end to end. 
  17925.  
  17926. To specify the file, FORMAT.CO@, to be extracted and decompressed from a packed 
  17927. file, BUNDLE.DA@, containing multiple compressed files, enter the following: 
  17928.  
  17929. UNPACK BUNDLE.DA@ /N:FORMAT.COM
  17930.  
  17931.  
  17932. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17933.  
  17934. VERIFY Command:  ON and OFF Parameters 
  17935.  
  17936. ON verifies that your files are written correctly to the disk. OFF turns 
  17937. verification off.  This is the default value. 
  17938.  
  17939. To verify that your files are written correctly to the disk, enter the 
  17940. following: 
  17941.  
  17942. VERIFY ON
  17943.  
  17944.  
  17945. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17946.  
  17947. VIEW Command:  Drive, Path, Filename Parameters 
  17948.  
  17949. Specifies the drive, directory, and file name of the .INF file to be displayed. 
  17950.  
  17951.  
  17952. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17953.  
  17954. VIEW Command:  Topic Parameter 
  17955.  
  17956. Specifies the topic in the IPF online document that is to be displayed.  This 
  17957. topic must be in the Contents of the IPF document. 
  17958.  
  17959. To display the Functions topic in the REXX.INF file that is located in the 
  17960. OS2\BOOK directory on drive C, enter the following: 
  17961.  
  17962. VIEW C:\OS2\BOOK\REXX FUNCTIONS
  17963.  
  17964.  
  17965. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17966.  
  17967. VMDISK Command: Source Drive Parameter 
  17968.  
  17969. Specifies the source drive, which is the diskette drive where the DOS startup 
  17970. diskette resides.  Supported formats are: 360KB, 720KB, 1.2MB, 1.44MB, and 
  17971. 2.88MB. 
  17972.  
  17973.  
  17974. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17975.  
  17976. VMDISK Command: Target Drive and Path Parameter 
  17977.  
  17978. Specifies the target drive and path for the image file of the DOS startup 
  17979. diskette.  If the target drive and path are omitted, the default is the current 
  17980. drive and path. The target drive must have a greater available capacity than 
  17981. the total capacity of the source drive. 
  17982.  
  17983.  
  17984. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17985.  
  17986. VMDISK Command: Filename Parameter 
  17987.  
  17988. Specifies the file name of the image file of the DOS startup diskette.  This 
  17989. file name must be provided. 
  17990.  
  17991.  
  17992. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17993.  
  17994. VOL Command:  Drive Parameter 
  17995.  
  17996. Specifies the disk volume label to be displayed. 
  17997.  
  17998. To display the volume labels of both drive C and drive D, enter the following: 
  17999.  
  18000. VOL C: D:
  18001.  
  18002.  
  18003. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18004.  
  18005. XCOPY Command:  Source Drive, Path, Filename Parameters 
  18006.  
  18007. Gives the source file name specification.  The source specification can be the 
  18008. name of a directory or file.  If it is a directory, XCOPY copies all files to 
  18009. the target specification.  If it is a file name, XCOPY copies the file to the 
  18010. target specification.  The target specification can be an existing directory or 
  18011. file or the name of the new directory or file you want to create. 
  18012.  
  18013. To copy the files in the MEMOS subdirectory on drive C to a newly created 
  18014. subdirectory named LETTERS on drive A, enter the following: 
  18015.  
  18016. XCOPY C:\MEMOS A:\LETTERS
  18017.  
  18018.  
  18019. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18020.  
  18021. XCOPY Command:  Target Drive, Path, Filename Parameters 
  18022.  
  18023. Gives the target file name specification, which can be the name of a file or 
  18024. directory.  If it is a file name, XCOPY copies the file to the target 
  18025. specification.  The target specification can also be a directory or file or the 
  18026. name of the new directory or file you want to create. 
  18027.  
  18028. To copy the MEMOS subdirectory on drive C, including all subdirectories and 
  18029. files within it, to a newly created subdirectory named LETTERS on drive A, 
  18030. enter the following: 
  18031.  
  18032. XCOPY C:\MEMOS A:\LETTERS
  18033.  
  18034.  
  18035. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18036.  
  18037. XCOPY Command:  /D Parameter 
  18038.  
  18039. Copies files that have been modified on or after the specified date. The date 
  18040. format varies depending on the COUNTRY statement in the CONFIG.SYS file. The 
  18041. date formats are as follows:  /D:mm-dd-yy, /D:dd-mm-yy, and /D:yy-mm-dd. 
  18042.  
  18043. To copy files changed on or after November 12, 1988 in the MEMOS subdirectory 
  18044. to the root directory on drive A, enter the following: 
  18045.  
  18046. XCOPY C:\MEMOS A:\ /D:11-12-88
  18047.  
  18048.  
  18049. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18050.  
  18051. XCOPY Command:  /S Parameter 
  18052.  
  18053. Copies subdirectories. Without this parameter, XCOPY works only within a 
  18054. directory.  This parameter does not create the corresponding directory on the 
  18055. target if no files have been found on the source. 
  18056.  
  18057. To copy the subdirectories and their contents from the root directory on drive 
  18058. C to the root directory on drive A, enter the following: 
  18059.  
  18060. XCOPY C:\ A:\ /S
  18061.  
  18062.  
  18063. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18064.  
  18065. XCOPY Command:  /E Parameter 
  18066.  
  18067. When used with the /S parameter, this copies the entire tree structure while 
  18068. creating corresponding source directories on the target even if no files have 
  18069. been found on those source directories. 
  18070.  
  18071. To copy the REPORTS subdirectory on drive C, including all files and 
  18072. subdirectories within it, to the root directory on drive A, enter the 
  18073. following: 
  18074.  
  18075. XCOPY C:\REPORTS A:\ /S /E
  18076.  
  18077.  
  18078. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18079.  
  18080. XCOPY Command:  /P Parameter 
  18081.  
  18082. Prompts you before performing a physical copy. With this parameter, XCOPY 
  18083. copies on a file-by-file basis. 
  18084.  
  18085. To be prompted with (Y/N?) before each file is copied from the MEMOS 
  18086. subdirectory on drive C to the LETTERS subdirectory on drive A, enter the 
  18087. following: 
  18088.  
  18089. XCOPY C:\MEMOS A:\LETTERS /P
  18090.  
  18091.  
  18092. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18093.  
  18094. XCOPY Command:  /V Parameter 
  18095.  
  18096. Verifies that data written to a disk has been written correctly. This option 
  18097. causes XCOPY to run slower. 
  18098.  
  18099. To verify that the files written from drive C to drive A are recorded properly, 
  18100. enter the following: 
  18101.  
  18102. XCOPY C:\ A:\ /V
  18103.  
  18104.  
  18105. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18106.  
  18107. XCOPY Command:  /A Parameter 
  18108.  
  18109. Copies archived files only.  This parameter does not turn off the archive bit 
  18110. of the source file. 
  18111.  
  18112. To copy only those files that have the archive bit set on without changing the 
  18113. attribute of source drive C when it is copied, type the following: 
  18114.  
  18115. XCOPY C:\ A:\ /A
  18116.  
  18117.  
  18118. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18119.  
  18120. XCOPY Command:  /M Parameter 
  18121.  
  18122. Copies archived files only.  Unlike /A, this parameter turns off the archive 
  18123. bit of the source file.  So when you regularly back up the source disk with 
  18124. XCOPY, using this parameter increases the efficiency of copying.  You should be 
  18125. aware that the BACKUP command also uses the archive bit. If both the /A and /M 
  18126. parameters are specified, the one specified last is the one used. 
  18127.  
  18128. To copy files whose archive bit is set on from the root directory on drive C to 
  18129. the root directory on drive A, then turn the archive bit of the source file 
  18130. off, enter the following: 
  18131.  
  18132. XCOPY C:\ A:\ /M
  18133.  
  18134.  
  18135. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18136.  
  18137. XCOPY Command:  /F Parameter 
  18138.  
  18139. Causes the XCOPY to fail if the source file contains extended attributes and 
  18140. the destination file system does not support extended attributes. If the /F 
  18141. parameter is not specified, the XCOPY will succeed if the source file contains 
  18142. extended attributes and the destination file system does not support them.  The 
  18143. extended attributes are not copied. If the /F parameter is not specified and 
  18144. the source file contains needed extended attributes, the XCOPY will fail if the 
  18145. destination file system does not support extended attributes.  In this 
  18146. instance, a message appears. 
  18147.  
  18148. Assume you want to XCOPY a file named REPORTS.TXT to the STATUS directory on 
  18149. drive D.  You also want the XCOPY to fail if drive D does not support extended 
  18150. attributes.  Enter the following: 
  18151.  
  18152. XCOPY REPORTS.TXT D:\STATUS /F
  18153.  
  18154.  
  18155. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18156.  
  18157. XCOPY Command:  /H Parameter 
  18158.  
  18159. Specifies that, in addition to all normal files, files with a hidden attribute 
  18160. are to be copied from the source location. The files will be copied to the 
  18161. target location and retain the hidden attribute.  This parameter enables 
  18162. subdirectories that are hidden to be processed.  Subdirectories in the target 
  18163. location will have the same attributes as subdirectories in the source 
  18164. location. 
  18165.  
  18166. To copy all files, including all hidden files, from the root directory on drive 
  18167. C to the root directory on drive A, type the following: 
  18168.  
  18169. XCOPY C:\ A:\ /H
  18170.  
  18171.  
  18172. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18173.  
  18174. XCOPY Command:  /T Parameter 
  18175.  
  18176. Specifies that, in addition to all normal files, files with a system attribute 
  18177. are to be copied from the source location. The files will be copied to the 
  18178. target location and retain the system attribute. 
  18179.  
  18180. To copy all files, including all files with a system attribute, from the root 
  18181. directory on drive C to the root directory on drive A, type the following: 
  18182.  
  18183. XCOPY C:\ A:\ /T
  18184.  
  18185.  
  18186. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18187.  
  18188. XCOPY Command:  /R Parameter 
  18189.  
  18190. Specifies that all files in the source location with a read-only attribute will 
  18191. retain the read-only attribute in the target location.  If you do not use this 
  18192. parameter, you can restore the read-only attribute by using the ATTRIB command. 
  18193.  
  18194. To copy all files from the root directory on drive C to the root directory on 
  18195. drive A and have all files with a read-only attribute retain this attribute, 
  18196. type the following: 
  18197.  
  18198. XCOPY C:\ A:\ /R
  18199.  
  18200.  
  18201. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  18202.  
  18203. XCOPY Command:  /O Parameter 
  18204.  
  18205. Specifies that any file in the target location with a read-only, system, or 
  18206. hidden attribute can be overlaid as a result of the copy operation.  If you do 
  18207. not use this parameter, those files will not be replaced. 
  18208.  
  18209. To copy all files from the root directory on drive C to the root directory on 
  18210. drive A and specify that any file with a read-only, system, or hidden attribute 
  18211. can be overlaid, type the following: 
  18212.  
  18213. XCOPY C:\ A:\ /O
  18214.