home *** CD-ROM | disk | FTP | other *** search
/ The Ultimedia Application / IBM_UCD_101.ISO / os2se20 / disk_6 / cmdref / OS2_BOOK_CMDREF.INF (.txt)
Encoding:
OS/2 Help File  |  1992-09-19  |  388.1 KB  |  17,419 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 300 
  188.                          characters (bytes) before you press Enter.  From a DOS 
  189.                          command prompt, you can type up to 128 bytes before 
  190.                          you press Enter. 
  191.  
  192.                          You can process commands from the command prompt of a 
  193.                          window session while running your programs in other 
  194.                          windows. 
  195.  
  196. path and file name       Commands that allow you to enter file names can accept 
  197.                          a path (directory) name before the file name. 
  198.  
  199.                          You can use a period (.) for the current directory or 
  200.                          two periods (..) for the parent directory for any OS/2 
  201.                          command that allows you to enter a path. 
  202.  
  203.                          Do not put a space between the drive, path, file name 
  204.                          and optional extension.  The colon, backslash, and 
  205.                          period already serve as separators. 
  206.  
  207. current directory        The current directory is the directory that the OS/2 
  208.                          operating system searches when a file name is entered 
  209.                          with no path name.  You have a current directory for 
  210.                          every drive in your system. 
  211.  
  212.                          In an OS/2 session, the combined length of a path and 
  213.                          file name can be up to 259 bytes.  No portion is 
  214.                          reserved for the file name.  In a DOS session, the 
  215.                          maximum path length is 64 bytes, ensuring room for an 
  216.                          8.3 file name in the lowest subdirectory. 
  217.  
  218. OS/2 has two types of commands: 
  219.  
  220. internal          Internal commands run without any delay associated with 
  221.                   loading the program from disk.  These commands reside in the 
  222.                   OS/2 command processor.  Their names appear as the first item 
  223.                   in a syntax diagram. 
  224.  
  225. external          External commands are on the disk as program files.  When an 
  226.                   external command is entered, the OS/2 operating system 
  227.                   searches for it in the current directory of the default or 
  228.                   specified drive.  If not found, the operating system 
  229.                   continues searching for it in the directories listed in the 
  230.                   path statement.  Their names are preceded by an optional 
  231.                   drive and path parameter in a syntax diagram. 
  232.  
  233.  
  234. ΓòÉΓòÉΓòÉ 2.1. File and Directory Concepts ΓòÉΓòÉΓòÉ
  235.  
  236. Information on a computer is organized into files and directories.  A file is a 
  237. piece of information, like a document.  It can contain text, graphics, or 
  238. information that starts and runs a program when the file is selected.  Files 
  239. that start programs when entered at the command line or in a batch file are 
  240. called program files.  Program file names usually have extensions of .COM, 
  241. .EXE, .CMD (OS/2 sessions), or .BAT (DOS sessions). 
  242.  
  243. A directory is a group of related files, like a folder containing related 
  244. documents.  A directory that is part of another directory is called a 
  245. subdirectory.  When you installed the OS/2 operating system, some of its files 
  246. were copied from the OS/2 diskettes to the root directory, which is the main 
  247. index for directories and files in the operating system. The directory you are 
  248. currently using is called the current directory.  If you stay in the root 
  249. directory, for instance, then it is also your current directory. 
  250.  
  251. You can give your files and directories any names that conform to either High 
  252. Performance File System (HPFS) or file allocation table (FAT) rules.  For 
  253. details on naming files and directories, select HPFS or FAT. 
  254.  
  255.  
  256. ΓòÉΓòÉΓòÉ <hidden> OS/2 ΓòÉΓòÉΓòÉ
  257.  
  258. Trademark of the IBM Corporation. 
  259.  
  260.  
  261. ΓòÉΓòÉΓòÉ 2.2. How to Read a Syntax Diagram ΓòÉΓòÉΓòÉ
  262.  
  263. The first step in reading a syntax diagram is to determine the environment in 
  264. which the command operates.  Most commands work in both OS/2* and DOS sessions 
  265. although each environment affects the processing of programs and commands 
  266. differently. Commands that provide functions specific to only one environment 
  267. are identified by one of the following symbols: 
  268.  
  269.  OS/2 sessions only 
  270.  
  271.  DOS sessions only 
  272.  
  273. A syntax diagram shows you how to enter a command so that the OS/2 operating 
  274. system can correctly interpret what you type.  When viewing a syntax diagram, 
  275. read from left to right and from top to bottom.  The command name and items 
  276. required to make the command work appear on the baseline; the items below the 
  277. baseline are optional.  A line ending with an arrowhead means that the diagram 
  278. is continued.  A line starting with an arrowhead means that the syntax is 
  279. continued from the previous line.  A vertical bar marks the end of the command 
  280. syntax. 
  281.  
  282. Parameters are classified as keywords, variables, or a combination of both. 
  283. Include all punctuation shown in the diagram, such as colons, semicolons, 
  284. commas, quotation marks, and equal signs. 
  285.  
  286. Specify a Sequence More Than Once:  An arrow below the main path that returns 
  287. to a previous point means the sequence of items included by the arrow can be 
  288. specified more than once. 
  289.  
  290. TYPE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  291.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ                Γöé
  292.            Γöé                                            Γöé
  293.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  294.  
  295. Specify Items Once in Any Order:  A stack of parameters with a return arrow 
  296. above the main path indicates one or more parameters can be specified in any 
  297. order, but each parameter can be specified only once. 
  298.  
  299. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ CHKDSK ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  300.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  301.  
  302.                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  303.                                          Γöé              Γöé
  304. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  305.    ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ     Γö£ΓöÇ /F ΓöÇΓöñ      Γö£ΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  306.                                  ΓööΓöÇ /V ΓöÇΓöÿ      ΓööΓöÇ /F:n ΓöÇΓöÿ
  307.  
  308. Choose One Item from a Stack:  A stack of parameters with no return arrow means 
  309. that you cannot choose more than one from the stack. 
  310.  
  311.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ ANSI ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  312.     ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇ ON  ΓöÇΓöñ
  313.                                               ΓööΓöÇ OFF ΓöÇΓöÿ
  314.  
  315. Choose One Item from within a Stack:  Some diagrams show a stack of parameters 
  316. within another stack.  If the inner stack has no return arrow and the outer 
  317. stack has a return arrow above the main path, you can choose only one parameter 
  318. from the inner stack.  That parameter can be combined (in any order) with any 
  319. of the parameters from the outer stack. 
  320.  
  321.                                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  322.                                                        Γöé
  323. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ PRINT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇ
  324.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇ /D:device ΓöÇΓöñ
  325.                                        ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöÿ
  326.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  327.                                                          Γöé
  328. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  329.    ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             Γöé    Γöé  Γö£ΓöÇ /C ΓöÇΓöñ   Γöé
  330.   Γöé                                   Γöé    Γöé  ΓööΓöÇ /T ΓöÇΓöÿ   Γöé
  331.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇ /D:device ΓöÇΓöÿ
  332.  
  333. In this example, you can specify /D:device and /C once in any order, or you can 
  334. specify /D:device and /T once in any order, but you cannot specify /C and /T 
  335. together. 
  336.  
  337.  
  338. ΓòÉΓòÉΓòÉ 2.3. Using the Command Prompt ΓòÉΓòÉΓòÉ
  339.  
  340. The OS/2 Command Reference describes the purpose and syntax of OS/2* commands 
  341. that can be used at a command prompt. At the command prompt, type the command 
  342. in the same order that it is displayed in the syntax diagram or examples, and 
  343. press Enter to process the command.  The correct order includes one or more of 
  344. the following variables: 
  345.  
  346. command            The name of the OS/2 command you want to process. 
  347.  
  348. drive              The disk drive that stores the file or directory; for 
  349.                    example, A, B, or C. 
  350.  
  351. path               The route of subdirectory names to follow to arrive at the 
  352.                    file you want to access. 
  353.  
  354. filename           The name and optional extension of the file you want to 
  355.                    access. 
  356.  
  357. parameters         The command parameters that change or enhance the original 
  358.                    function of the command. 
  359.  
  360. For example, if you entered: 
  361.  
  362. COPY A:MISC.ABC C:
  363.  
  364. you would copy a file named MISC.ABC from drive A to drive C. 
  365.  
  366.  
  367. ΓòÉΓòÉΓòÉ 3. OS/2 Commands by Task Category ΓòÉΓòÉΓòÉ
  368.  
  369. An overview of OS/2* commands is available to you.  The commands are separated 
  370. into 6 task categories to help you associate groups of related commands and to 
  371. identify particular tasks with their appropriate commands.  More detailed 
  372. information and the syntax for a particular command can be found by selecting 
  373. the highlighted command in the listing.  To view the command categories, press 
  374. the Esc (Escape) key to return to the Contents.  Next, select the plus sign (+) 
  375. or press the + key. 
  376.  
  377. Note:   For information about command diagrams, select How to Read a Syntax 
  378.         Diagram. 
  379.  
  380.  
  381. ΓòÉΓòÉΓòÉ 3.1. File and Directory Management ΓòÉΓòÉΓòÉ
  382.  
  383. The following commands help you work with and maintain your files and 
  384. directories: 
  385.  
  386. ATTRIB              Turns the read-only and archive attributes of a file ON or 
  387.                     OFF. 
  388.  
  389. BACKUP              Saves one or more files from one disk to another. 
  390.  
  391. CD or CHDIR         Changes the current directory or displays its name. 
  392.  
  393. COMP                Compares the contents of the first set of specified files 
  394.                     with the contents of the second set of specified files. 
  395.  
  396. COPY                Copies one or more files and combines files. 
  397.  
  398. DEL or ERASE        Deletes one or more files. 
  399.  
  400. DIR                 Lists the files in a directory. 
  401.  
  402. EAUTIL              Splits and joins extended file attributes. 
  403.  
  404. FIND                Searches a file for a specific string of text. 
  405.  
  406. MD or MKDIR         Creates a new directory. 
  407.  
  408. MORE                Sends output from a file to the screen, one full screen at 
  409.                     a time. 
  410.  
  411. MOVE                Moves one or more files from one directory to another 
  412.                     directory on the same drive. 
  413.  
  414. PICVIEW             Displays a picture file. 
  415.  
  416. PRINT               Prints or cancels printing of one or more files. 
  417.  
  418. RD or RMDIR         Removes a directory. 
  419.  
  420. RECOVER             Recovers files from a disk containing defective sectors. 
  421.  
  422. REN or RENAME       Changes the name of a file. 
  423.  
  424. REPLACE             Selectively replaces files. 
  425.  
  426. RESTORE             Restores one or more backup files from one disk to another. 
  427.  
  428. SORT                Sorts information by letter or number. 
  429.  
  430. TREE                Displays all the directory paths and optionally lists 
  431.                     files. 
  432.  
  433. TYPE                Displays the contents of a file. 
  434.  
  435. UNDELETE            Recovers deleted or erased files. 
  436.  
  437. UNPACK              Decompresses and copies files that have been compressed. 
  438.                     (Compressed files are designated by an @ in the file 
  439.                     extension.) 
  440.  
  441. VIEW                Displays online documents. 
  442.  
  443. XCOPY               Selectively copies groups of files, including those in 
  444.                     subdirectories, from one disk to another. 
  445.  
  446.  
  447. ΓòÉΓòÉΓòÉ 3.2. Program Management ΓòÉΓòÉΓòÉ
  448.  
  449. Programs use varying amounts of resources from the system (memory and storage, 
  450. for example).  Careful planning is required to select the correct system 
  451. configuration and to satisfy short-term and long-term requirements.  The 
  452. following commands help you manage the programs on your system: 
  453.  
  454. APPEND                  Tells the system where to locate data files outside of 
  455.                         the current directory when this command is added to 
  456.                         your AUTOEXEC.BAT file. 
  457.  
  458. DETACH                  Starts a noninteractive program. 
  459.  
  460. DPATH                   Specifies the search path for data files outside a 
  461.                         current directory. 
  462.  
  463. LIBPATH                 Identifies the location of dynamic link libraries. 
  464.  
  465. MAXWAIT                 Sets the amount of time a process waits before the 
  466.                         system assigns it a higher priority. 
  467.  
  468. PRIORITY                Selects priority calculation in scheduling regular 
  469.                         class threads. 
  470.  
  471. PRIORITY_DISK_IO        Sets disk input/output priority for applications in the 
  472.                         foreground. 
  473.  
  474. SET                     Sets one string value in the environment equal to 
  475.                         another string for later use in programs. 
  476.  
  477. START                   Starts another OS/2 program in another session. 
  478.  
  479. THREADS                 Determines the maximum number of independent actions, 
  480.                         known as threads. 
  481.  
  482. TIMESLICE               Sets the amount of processor time the task receives 
  483.                         before it must give up processor resources. 
  484.  
  485.  
  486. ΓòÉΓòÉΓòÉ 3.3. Disk and Diskette Management ΓòÉΓòÉΓòÉ
  487.  
  488. The following commands help you prepare and maintain your disks and diskettes: 
  489.  
  490. ASSIGN              Assigns a drive letter to a different drive. 
  491.  
  492. BUFFERS             Sets the number of disk buffers for the system. 
  493.  
  494. CHKDSK              Scans a disk and checks it for errors. 
  495.  
  496. DISKCACHE           Allocates the amount of storage of an additional hard disk 
  497.                     buffer. 
  498.  
  499. DISKCOMP            Compares the contents of two diskettes. 
  500.  
  501. DISKCOPY            Copies the contents of one diskette to another diskette. 
  502.  
  503. FDISK               Enables you to partition the hard disks on your system. 
  504.  
  505. FDISKPM             Allows you to set up the hard disks on your system. 
  506.  
  507. FORMAT              Prepares a disk to accept OS/2 files. 
  508.  
  509. FSACCESS            Changes file system access from DOS sessions. 
  510.  
  511. IFS                 Installs a file system. 
  512.  
  513. IOPL                Allows input/output privilege to be granted or denied to 
  514.                     requesting processes. 
  515.  
  516. JOIN                Joins a disk drive to a specific path. 
  517.  
  518. LASTDRIVE           Specifies maximum number of accessible drives. 
  519.  
  520. LABEL               Displays the volume serial number and creates or changes 
  521.                     the volume identification label on a disk. 
  522.  
  523. MEM                 Displays used and free memory in DOS sessions. 
  524.  
  525. MEMMAN              Selects storage allocation options for OS/2 sessions. 
  526.  
  527. SUBST               Substitutes a drive letter for another drive and path. 
  528.  
  529. SWAPPATH            Specifies the location of the swap file and the minimum 
  530.                     amount of remaining disk space. 
  531.  
  532. VERIFY              Confirms that data written to a disk has been written 
  533.                     correctly. 
  534.  
  535. VMDISK              Creates an image file of a DOS startup diskette. 
  536.  
  537. VOL                 Displays the disk volume label and serial number. 
  538.  
  539.  
  540. ΓòÉΓòÉΓòÉ 3.4. Problem Determination ΓòÉΓòÉΓòÉ
  541.  
  542. The OS/2 operating system has several utility programs to ensure better 
  543. reliability, availability, and serviceability (RAS).  These tools are provided 
  544. to help in gathering information to isolate and correct system problems.  This 
  545. allows for more productive serviceability for system problems.  These tools are 
  546. intended for use only with help from your technical coordinator. 
  547.  
  548. AUTOFAIL            Displays system error information. 
  549.  
  550. CREATEDD            Creates a dump diskette for use with the Stand-Alone Dump 
  551.                     procedure 
  552.  
  553. MAKEINI             Creates a new OS2.INI file containing default information. 
  554.  
  555. PATCH               Allows you to apply IBM-supplied patches to make repairs to 
  556.                     software. 
  557.  
  558. PSTAT               Displays process status information 
  559.  
  560. SYSLEVEL            Displays operating system service level 
  561.  
  562. SYSLOG              Starts or stops adding system event information to the 
  563.                     System Log file. 
  564.  
  565. TRACE               Sets or selects system trace. 
  566.  
  567. TRACEBUF            Sets the size of the system trace buffer. 
  568.  
  569. TRACEFMT            Displays formatted trace records in reverse time stamp 
  570.                     order. 
  571.  
  572.  
  573. ΓòÉΓòÉΓòÉ 3.5. System Customization and Control ΓòÉΓòÉΓòÉ
  574.  
  575. Use the following commands to set up your system, making choices based on your 
  576. computer type and the tasks you want to perform: 
  577.  
  578. ANSI                 Allows extended keyboard and display support for OS/2 
  579.                      sessions. 
  580.  
  581. BOOT                 Switches operating systems. 
  582.  
  583. CHCP                 Displays or changes the current system code page. 
  584.  
  585. CLS                  Clears the display screen. 
  586.  
  587. CODEPAGE             Identifies the two code pages to be used for code-page 
  588.                      switching.  These code pages must be those supported for 
  589.                      the country specified by the country code in the COUNTRY 
  590.                      statement. 
  591.  
  592. COUNTRY              Specifies the country code and the complete name of the 
  593.                      file that contains a set of country information for each 
  594.                      code page supported for that country. 
  595.  
  596. DATE                 Displays or sets the system date from the command prompt. 
  597.  
  598. DDINSTAL             Provides an automated way to install new device drivers 
  599.                      after the operating system has been installed. 
  600.  
  601. DEVICE               Installs a device driver that is not on the Device Support 
  602.                      diskette. 
  603.  
  604. DEVINFO              Certain statements must be added to your CONFIG.SYS file 
  605.                      to start code page switching.  DEVINFO statements prepare 
  606.                      a device (such as your keyboard, display terminal, and 
  607.                      printer) for code page switching.  Separate DEVINFO 
  608.                      statements are required for each device to be used for 
  609.                      code page switching. 
  610.  
  611. DEVICEHIGH           Loads DOS device drivers into upper memory. 
  612.  
  613. FCBS                 Sets file control block information. 
  614.  
  615. GRAFTABL             Allows the extended code page to be displayed when the 
  616.                      system is using display adapters in graphics mode. 
  617.  
  618. HELP                 Provides a help line as part of the command prompt, a help 
  619.                      screen, and information related to warning and error 
  620.                      messages. 
  621.  
  622. KEYB                 Specifies a special keyboard layout that replaces the 
  623.                      current keyboard layout. 
  624.  
  625. KEYS                 Retrieves previously issued commands for editing or reuse. 
  626.  
  627. MODE                 Sets operation modes for devices.  These operations 
  628.                      include: 
  629.  
  630.    o Setting asynchronous communication modes for devices previously installed 
  631.    o Setting the display modes for switching adapters 
  632.    o Setting parallel printer modes 
  633.    o Setting diskette input/output write verification. 
  634.  
  635. PATH                 Specifies the search path for programs and commands. 
  636.  
  637. PAUSEONERROR         Allows or prevents pausing when errors or warning messages 
  638.                      occur during the processing of the CONFIG.SYS file. 
  639.  
  640. PRINTMONBUFSIZE      Sets the size of the buffer for the parallel port device 
  641.                      driver. 
  642.  
  643. PROMPT               Sets the system prompt. 
  644.  
  645. PROTECTONLY          Specifies an OS/2-only operating environment. 
  646.  
  647. PROTSHELL            Loads the user interface program. 
  648.  
  649. PSTAT                Displays process, thread, shared memory, and dynamic-link 
  650.                      library information. 
  651.  
  652. RMSIZE               Sets the amount of storage used for running DOS programs. 
  653.  
  654. RUN                  Loads and starts a program during system startup. 
  655.  
  656. SET                  Sets one string value in the environment equal to another 
  657.                      string for later use in programs. 
  658.  
  659. SPOOL                Intercepts and separates data from different sources going 
  660.                      to the printer so that printer output is not intermixed. 
  661.  
  662. SYSLOG               Logs system events in the System Log file. 
  663.  
  664. TIME                 Displays or changes the time known to the system and 
  665.                      resets the time of your computer. 
  666.  
  667. TIMESLICE            Sets the minimum and maximum amount of processor time 
  668.                      allocated to processes and programs for both OS/2 and DOS 
  669.                      sessions. 
  670.  
  671. VER                  Displays the OS/2 version number. 
  672.  
  673.  
  674. ΓòÉΓòÉΓòÉ 3.6. Batch File and Command Processing ΓòÉΓòÉΓòÉ
  675.  
  676. The following commands are specifically designed for batch-file and 
  677. command-processing operations: 
  678.  
  679. CALL                Nests a batch file within a batch file. 
  680.  
  681. CMD                 Starts another OS/2 command processor. 
  682.  
  683. COMMAND             Starts another DOS command processor. 
  684.  
  685. ECHO                Allows or prevents the display of OS/2 commands when a 
  686.                     batch file is running. 
  687.  
  688. ENDLOCAL            Restores the drive, directory, and variables that were in 
  689.                     effect before a SETLOCAL command was issued. 
  690.  
  691. EXIT                Ends the current command processor and returns to the 
  692.                     previous one, if one exists. 
  693.  
  694. EXTPROC             Defines an external batch-file processor. 
  695.  
  696. FOR                 Allows repetitive processing of commands within a batch 
  697.                     file. 
  698.  
  699. GOTO                Transfers batch processing to a specified label. 
  700.  
  701. IF                  Allows conditional processing of commands within a batch 
  702.                     file. 
  703.  
  704. PAUSE               Suspends batch-file processing. 
  705.  
  706. PROTSHELL           Specifies the user interface program and the OS/2 command 
  707.                     processor. 
  708.  
  709. REM                 Displays remarks from within a batch file. 
  710.  
  711. SETLOCAL            Sets the drive, directory, and variables that are local to 
  712.                     the current batch file. 
  713.  
  714. SHELL               Specifies the DOS command processor. 
  715.  
  716. SHIFT               Allows more than 10 replaceable parameters to be processed 
  717.                     from a batch file. 
  718.  
  719.  
  720. ΓòÉΓòÉΓòÉ 4. OS/2 Commands by Name ΓòÉΓòÉΓòÉ
  721.  
  722. A description of each OS/2 command is available to you.  Each command includes 
  723. the following information: 
  724.  
  725. o The purpose of the command 
  726.  
  727. o The command syntax diagram and parameter definitions 
  728.  
  729. o The list of related commands 
  730.  
  731. o Information about using the command 
  732.  
  733. o Information concerning return codes that the command has defined. 
  734.  
  735. Note:   For information about command diagrams, select How to Read a Syntax 
  736.         Diagram. 
  737.  
  738. To view the list of OS/2 commands, press the Esc (Escape) key to return to the 
  739. Contents.  Next, select the plus sign (+) or press the + key. 
  740.  
  741.  
  742. ΓòÉΓòÉΓòÉ 4.1. ANSI - Use OS/2 Extended Keyboard and Display Features ΓòÉΓòÉΓòÉ
  743.  
  744. Allows or prevents extended display and keyboard support in the OS/2 
  745. environment. 
  746.  
  747.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ ANSI ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  748.     ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇ ON  ΓöÇΓöñ
  749.                                               ΓööΓöÇ OFF ΓöÇΓöÿ
  750.  
  751. Related Commands:  DEVICE=ANSI.SYS and KEYS 
  752.  
  753. If you enter this command without a parameter, ANSI displays its current 
  754. status. 
  755.  
  756. This command allows or prevents ANSI control sequence processing in OS/2 
  757. sessions.  You use ANSI control sequences to redefine keys, manipulate the 
  758. cursor, and change display color attributes. 
  759.  
  760. When KEYS is ON, ANSI extended keyboard support is disabled. 
  761.  
  762.  
  763. ΓòÉΓòÉΓòÉ <hidden> ANSI Examples ΓòÉΓòÉΓòÉ
  764.  
  765. To display extended display and keyboard support status, type the following: 
  766.  
  767. ANSI
  768.  
  769. To allow extended display and keyboard support, type the following: 
  770.  
  771. ANSI ON
  772.  
  773. To discontinue extended display and keyboard support, type the following: 
  774.  
  775. ANSI OFF
  776.  
  777.  
  778. ΓòÉΓòÉΓòÉ 4.2. APPEND - Set Search Path ΓòÉΓòÉΓòÉ
  779.  
  780. Sets a search path for data files that are outside the current directory. 
  781.  
  782. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ APPEND ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  783.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ /E ΓöÇΓöÿ
  784.  
  785. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  786.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ       Γö£ΓöÇ /PATH:ON  ΓöÇΓöñ
  787.                                 ΓööΓöÇ /PATH:OFF ΓöÇΓöÿ
  788.  
  789. Related Commands:  DPATH, PATH, SET 
  790.  
  791. Enter APPEND without a parameter to display the APPEND statement in your 
  792. AUTOEXEC.BAT file.  This statement can be set by system installation. 
  793.  
  794. Enter APPEND ; to cancel the APPEND command. 
  795.  
  796. The first time you use APPEND, it is an external command, and you might need to 
  797. specify a drive and path to locate it. Once APPEND is loaded, it becomes an 
  798. internal command, and a drive and path are no longer needed. 
  799.  
  800. APPEND is useful when you want to keep an application program and its 
  801. associated data files in one directory and group information by category in 
  802. other directories. If you specify a path with APPEND the first time you use it, 
  803. this path is not stored in the environment, and you can only view or change it 
  804. with the APPEND command.  You can append as many directories as you can specify 
  805. in a total of 128 characters. 
  806.  
  807. The search sequence for a specified file is: 
  808.  
  809.  1. Search the specified directory, or the current directory if you do not 
  810.     specify the directory. 
  811.  2. Search the directories indicated by the current APPEND command. 
  812.  
  813. APPEND is similar to the PATH command, although the PATH command finds only 
  814. startable files.  You can look at or modify APPEND paths in the environment by 
  815. using APPEND, or you can use the SET command. 
  816.  
  817.  
  818. ΓòÉΓòÉΓòÉ <hidden> APPEND Examples ΓòÉΓòÉΓòÉ
  819.  
  820. To query the environment for paths to data files and to find any files that 
  821. have paths in the WORDPROC or CALC subdirectories on drive C, enter the 
  822. following: 
  823.  
  824. PATH C:\WORDPROC;C:\CALC;
  825. APPEND /E
  826. APPEND C:\WORDPROC;C:\CALC;
  827.  
  828. If you want to find any files that have paths in the WORDPROC or CALC 
  829. subdirectories on drive C but do not want to query the environment for paths to 
  830. data files, enter the following: 
  831.  
  832. PATH C:\WORDPROC;C:\CALC;
  833. APPEND C:\WORDPROC;C:\CALC;
  834.  
  835. If you want to access files in the EDITOR directory when you are in another 
  836. directory, enter the following: 
  837.  
  838. APPEND = C:\OS2;C:\OS2\SYSTEM;
  839. C:\EDITOR;
  840.  
  841. If you want to search for a file using only a file name, type the following: 
  842.  
  843. APPEND /PATH:OFF
  844.  
  845. If you want to view a file, you can enter the following: 
  846.  
  847. TYPE MYFILE
  848.  
  849. APPEND searches until it finds the file. 
  850.  
  851.  
  852. ΓòÉΓòÉΓòÉ 4.3. ASSIGN - Assign Drives ΓòÉΓòÉΓòÉ
  853.  
  854. Assigns a drive letter to a different drive. ASSIGN allows you to perform disk 
  855. operations on drives other than A and B for programs that use only those two 
  856. drives. 
  857.  
  858. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ ASSIGN ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöñ
  859.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                   ΓööΓöÇ x = y ΓöÇΓöÿ Γöé
  860.                                           Γöé              Γöé
  861.                                           ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  862.  
  863. Related Commands:  JOIN, SUBST 
  864.  
  865. Enter this command without a parameter to reset all drives to their original 
  866. assignments. 
  867.  
  868. Family API programs cannot be loaded from cross-assigned drives. 
  869.  
  870. ASSIGN hides the true device type from commands that require actual drive 
  871. information.  The following commands do not work in DOS sessions on drives that 
  872. have ASSIGN in effect: 
  873.  
  874. CHKDSK 
  875. DISKCOMP 
  876. DISKCOPY 
  877. FORMAT 
  878. JOIN 
  879. LABEL 
  880. PRINT 
  881. RECOVER 
  882. RESTORE 
  883. SUBST 
  884.  
  885.  
  886. ΓòÉΓòÉΓòÉ <hidden> ASSIGN Examples ΓòÉΓòÉΓòÉ
  887.  
  888. To assign all requests for drive A to drive C, enter the following: 
  889.  
  890. ASSIGN A=C or ASSIGN A C
  891.  
  892. To assign all requests for drives A and B to drive C, enter the following: 
  893.  
  894. ASSIGN A=C B=C
  895.  
  896.  
  897. ΓòÉΓòÉΓòÉ 4.4. ATTRIB - Set File Attributes ΓòÉΓòÉΓòÉ
  898.  
  899. Displays the current file state.  It also turns on or off the read-only 
  900. attribute and the archive bit of a file for selected files in a directory, or 
  901. for all files in a directory level. 
  902.  
  903.                                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  904.                                                          Γöé
  905. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ ATTRIB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇ
  906.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇΓö¼ΓöÇ +R ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  907.                                          Γöé   ΓööΓöÇ -R ΓöÇΓöÿ   Γöé
  908.                                          Γö£ΓöÇΓöÇΓöÇΓö¼ΓöÇ +S ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  909.                                          Γöé   ΓööΓöÇ -S ΓöÇΓöÿ   Γöé
  910.                                          Γö£ΓöÇΓöÇΓöÇΓö¼ΓöÇ +H ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  911.                                          Γöé   ΓööΓöÇ -H ΓöÇΓöÿ   Γöé
  912.                                          ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇ +A ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  913.                                             ΓööΓöÇΓöÇ -A ΓöÇΓöÇΓöÿ
  914.  
  915. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ  filename  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  916.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                       ΓööΓöÇ /S ΓöÇΓöÿ
  917.  
  918. Related Commands: BACKUP, RESTORE, XCOPY 
  919.  
  920. Enter this command along with the name of a file to display the current file 
  921. state.  This command is useful in keeping files from being modified.  When you 
  922. turn on the read-only attribute of a file, you can read it, but you cannot 
  923. write to it or change it. 
  924.  
  925. You can specify the optional +R, -R, +A, -A, +S, -S, +H, or -H parameters 
  926. either before or after the file name. Be sure to use only one read-only 
  927. attribute and one archive attribute per command. 
  928.  
  929. If a file exists in more than one directory, you can use the /S parameter to 
  930. find all occurrences of that file. 
  931.  
  932. Return Codes:  ATTRIB issues a return code of 0 for normal completion. 
  933.  
  934.  
  935. ΓòÉΓòÉΓòÉ <hidden> ATTRIB Examples ΓòÉΓòÉΓòÉ
  936.  
  937. To turn on the read-only attribute of a file named LETTER.TXT, type the 
  938. following: 
  939.  
  940. ATTRIB +R LETTER.TXT
  941.  
  942. To remove the read-only attribute from a file named LETTER.TXT, type the 
  943. following: 
  944.  
  945. ATTRIB -R LETTER.TXT
  946.  
  947. To turn on the archive bit of a file named LETTER.TXT, enter type the 
  948. following: 
  949.  
  950. ATTRIB +A LETTER.TXT
  951.  
  952. To turn off the archive bit and turn on the read-only attribute of a file named 
  953. LETTER.TXT, enter the following. 
  954.  
  955. ATTRIB -A +R LETTER.TXT
  956.  
  957. To turn off the archive bit of the LETTER.TXT file in the REPORTS directory on 
  958. drive D, enter the following: 
  959.  
  960. ATTRIB -A D:\REPORTS\LETTER.TXT
  961.  
  962. To set the file, LETTER.TXT, as a system file, type the following: 
  963.  
  964. ATTRIB +S LETTER.TXT
  965.  
  966. To clear the file, LETTER.TXT, as a system file, type the following: 
  967.  
  968. ATTRIB -S LETTER.TXT
  969.  
  970. To set the file, LETTER.TXT, as a hidden file, type the following: 
  971.  
  972. ATTRIB +H LETTER.TXT
  973.  
  974. To clear the file, LETTER.TXT, as a hidden file, type the following: 
  975.  
  976. ATTRIB -H LETTER.TXT
  977.  
  978. To display the current settings of the archive and read-only bits for all the 
  979. files on drive C, enter the following: 
  980.  
  981. ATTRIB C:\*.* /S
  982.  
  983. To find all occurrences of a file named LETTER.TXT on drive C, enter the 
  984. following: 
  985.  
  986. ATTRIB C:\LETTER.TXT /S
  987.  
  988.  
  989. ΓòÉΓòÉΓòÉ 4.5. AUTOFAIL - Display Error Information ΓòÉΓòÉΓòÉ
  990.  
  991. Enables information about error conditions to be displayed. 
  992.  
  993. AUTOFAIL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  994.                      Γö£ΓöÇΓöÇ NO  ΓöÇΓöÇΓöñ
  995.                      ΓööΓöÇΓöÇ YES ΓöÇΓöÇΓöÿ
  996.  
  997. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  998. command prompt. 
  999.  
  1000. This CONFIG.SYS statement allows the OS/2 operating system to display 
  1001. information about error conditions such as hard errors.  A hard error is an 
  1002. error condition that requires you to reconfigure the system or remove the 
  1003. source of the error before the system can resume reliable operation. 
  1004.  
  1005. The system default is AUTOFAIL=NO, which causes a window to appear that informs 
  1006. you of an error condition.  The YES parameter causes the appropriate error code 
  1007. to appear rather than a window. 
  1008.  
  1009.  
  1010. ΓòÉΓòÉΓòÉ <hidden> AUTOFAIL Examples ΓòÉΓòÉΓòÉ
  1011.  
  1012. The default is NO. To cause a window that informs you of an error condition to 
  1013. appear, add the following statement to the CONFIG.SYS file and restart your 
  1014. system. 
  1015.  
  1016. AUTOFAIL
  1017.  
  1018. or 
  1019.  
  1020. AUTOFAIL=NO
  1021.  
  1022. To cause an error code to appear, add the following statement to the CONFIG.SYS 
  1023. file and restart your system. 
  1024.  
  1025. AUTOFAIL=YES
  1026.  
  1027.  
  1028. ΓòÉΓòÉΓòÉ 4.6. BACKUP - Save Files ΓòÉΓòÉΓòÉ
  1029.  
  1030. Backs up (copies) one or more files from one disk to another. 
  1031.  
  1032. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ BACKUP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1033.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  1034.  
  1035. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ source drive ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1036.                      Γö£ΓöÇΓöÇΓöÇΓöÇ  path  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1037.                      ΓööΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÿ
  1038.                    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1039.        target                                         Γöé
  1040. ΓöÇΓöÇΓöÇΓöÇΓöÇ  drive  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöñ
  1041.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /L:filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1042.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /D:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1043.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /T:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1044.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1045.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1046.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F:xxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1047.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1048.  
  1049. Related Commands:  ATTRIB, RESTORE, XCOPY 
  1050.  
  1051. Note that: 
  1052.  
  1053. o After BACKUP fills a diskette, BACKUP prompts you to insert a new diskette. 
  1054.   Label each diskette in consecutive order, recording the date and diskette 
  1055.   number.  When you restore the files, RESTORE prompts you to insert the backup 
  1056.   diskettes in order. 
  1057.  
  1058. o BACKUP works only within the source directory unless you specify the /S 
  1059.   parameter, which copies files in the source directory and in all directories 
  1060.   below the starting source directory. 
  1061.  
  1062. o BACKUP can back up files on disks of different types. 
  1063.  
  1064. o If the source is a diskette, it should not be write-protected because BACKUP 
  1065.   needs to reset the archive bit on the backed-up files. 
  1066.  
  1067. o BACKUP does not back up the system files (COMMAND.COM and CMD.EXE), hidden 
  1068.   system files, and any open dynamic link library files (.DLL).  BACKUP also 
  1069.   does not back up any files opened with Deny Read/Write.  BACKUP issues a 
  1070.   system message if you try to back up one of these files. 
  1071.  
  1072. o If you are sharing files, you can back up only those files that you have 
  1073.   access to.  If you attempt to access a file that you do not have access to, 
  1074.   BACKUP displays a message stating that it was not able to back up the file. 
  1075.  
  1076. o Files that you back up do not appear in the root directory on the target 
  1077.   diskette.  BACKUP creates two files, called BACKUP.XXX and CONTROL.XXX, in 
  1078.   the root directory on the target diskette.  The BACKUP.XXX file contains all 
  1079.   the files that have been backed up, and the CONTROL.XXX file saves paths, 
  1080.   file names, and other controlling information. 
  1081.  
  1082. Extended Attributes:  The BACKUP command saves the extended attributes 
  1083. associated with a file or directory.  An extended attribute is a special area 
  1084. used for storing data that describes the file or directory to the operating 
  1085. system or to an application. When backing up files or directories that have 
  1086. extended attributes, be sure to use OS/2 Version 1.2 (or later) to ensure all 
  1087. extended file attributes are backed up. 
  1088.  
  1089. Return Codes: 
  1090.  
  1091. 0 -  Normal completion. 
  1092. 1 -  No files were found to back up. 
  1093. 2 -  Some files or directories were not processed because of file errors. 
  1094. 3 -  Ended by user. 
  1095. 4 -  Ended because of error. 
  1096. 5 -  Not defined. 
  1097. 6 -  BACKUP was unable to process the FORMAT command. 
  1098.  
  1099.  
  1100. ΓòÉΓòÉΓòÉ <hidden> BACKUP Examples ΓòÉΓòÉΓòÉ
  1101.  
  1102. To back up a file named ABCD.FIL from the MYFILES directory to drive A, enter 
  1103. the following: 
  1104.  
  1105. BACKUP C:\MYFILES\ABCD.FIL A:
  1106.  
  1107. To back up all of the files on drive C to drive A, enter the following: 
  1108.  
  1109. BACKUP C: A:
  1110.  
  1111. To back up files from the current directory on drive C to drive A and to create 
  1112. a log file named BACKUP.LOG, enter the following: 
  1113.  
  1114. BACKUP C: A: /L
  1115.  
  1116. To back up files changed on or after June 15, 1990 from the current directory 
  1117. on drive C to drive A, enter the following: 
  1118.  
  1119. BACKUP C: A: /D:06-15-90
  1120.  
  1121. To back up files changed on or after 11:45 a.m. from the current directory on 
  1122. drive C to drive A, enter the following: 
  1123.  
  1124. BACKUP C: A: /T:11:45:00
  1125.  
  1126. To back up files in the current directory on drive C that were changed since 
  1127. the last backup to drive A, enter the following: 
  1128.  
  1129. BACKUP C: A: /M
  1130.  
  1131. To add the files on drive B to the backed-up files already on the diskette in 
  1132. drive A, enter the following: 
  1133.  
  1134. BACKUP B: A: /A
  1135.  
  1136. To back up all files from the root directory on drive C to drive A and to 
  1137. format any diskettes to 1.2MB, enter the following: 
  1138.  
  1139. BACKUP C: A: /F:1200
  1140.  
  1141. To back up all of the contents of drive C, including all of the files and all 
  1142. of the subdirectories within drive C, to multiple diskettes on drive A, enter 
  1143. the following: 
  1144.  
  1145. BACKUP C:\*.* A: /S
  1146.  
  1147.  
  1148. ΓòÉΓòÉΓòÉ 4.7. BASEDEV - Install Base Device Drivers ΓòÉΓòÉΓòÉ
  1149.  
  1150. Installs a base device driver by specifying the complete file name of the 
  1151. device driver in your CONFIG.SYS file. 
  1152.  
  1153. BASEDEV=ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  1154.                                         ΓööΓöÇ arguments ΓöÇΓöÿ
  1155.  
  1156. Related Commands:  DEVICE 
  1157.  
  1158. A device driver is a file that contains the code that the OS/2 operating system 
  1159. needs to recognize a device and correctly process information received from or 
  1160. sent to that device.  A base device driver is one that is needed when the OS/2 
  1161. operating system is first started. 
  1162.  
  1163. The BASEDEV statement is used to load base device drivers.  Device support for 
  1164. disks, diskettes, printers connected to the workstation, and other devices, is 
  1165. loaded with the BASEDEV statement. 
  1166.  
  1167. Unlike the DEVICE statement, the BASEDEV statement cannot contain either drive 
  1168. or path information because the OS/2 operating system cannot process such 
  1169. information at the stage of the startup sequence when the BASEDEV statements 
  1170. are processed. The root directory of the startup partition is first searched 
  1171. for the specified file name, then the \OS2 directory of the startup partition. 
  1172. If drive or path information is included in a BASEDEV statement, an error is 
  1173. generated. 
  1174.  
  1175. In addition, BASEDEV statements are not necessarily processed in the order in 
  1176. which they appear in your CONFIG.SYS file.  The extensions of the file names 
  1177. specified in the BASEDEV statements are examined; the statements are then 
  1178. processed in the following order of file name extensions: 
  1179.  
  1180.  .SYS 
  1181.  .BID 
  1182.  .VSD 
  1183.  .TSD 
  1184.  .ADD 
  1185.  .I13 
  1186.  .FLT 
  1187.  .DMD 
  1188.  
  1189. Files with other file-name extensions will not be loaded. 
  1190.  
  1191. If several BASEDEV statements load file names with the same extension, those 
  1192. files will be loaded in the order in which they appear in the CONFIG.SYS file. 
  1193.  
  1194. The following base device drivers are included with your OS/2 diskettes: 
  1195.  
  1196. PRINT01.SYS         Device support for locally attached printers on non-Micro 
  1197.                     Channel workstations. 
  1198.  
  1199. PRINT02.SYS         Device support for locally attached printers on Micro 
  1200.                     Channel* workstations. 
  1201.  
  1202. IBM1FLPY.ADD        Device support for diskette drives on non-Micro Channel 
  1203.                     workstations. 
  1204.  
  1205. IBM2FLPY.ADD        Device support for diskette drives on Micro Channel 
  1206.                     workstations. 
  1207.  
  1208. IBM1S506.ADD        Device support for non-SCSI disk drives on non-Micro 
  1209.                     Channel workstations. 
  1210.  
  1211. IBM2ADSK.ADD        Device support for non-SCSI disk drives on Micro Channel 
  1212.                     workstations. 
  1213.  
  1214. IBM2SCSI.ADD        Device support for Micro Channel SCSI adapters. 
  1215.  
  1216. IBMINT13.I13        General-purpose device support for non-Micro Channel SCSI 
  1217.                     adapters. 
  1218.  
  1219. OS2DASD.DMD         General-purpose device support for disk drives. 
  1220.  
  1221. OS2SCSI.DMD         General-purpose device support for non-disk SCSI devices. 
  1222.  
  1223.  
  1224. ΓòÉΓòÉΓòÉ <hidden> BASEDEV Examples ΓòÉΓòÉΓòÉ
  1225.  
  1226. Suppose you have a base device driver named XYZSCSI.ADD that supports an 
  1227. adapter from a personal computer manufacturer.  Once installed, the following 
  1228. line will appear in your CONFIG.SYS file: 
  1229.  
  1230. BASEDEV=XYZSCSI.ADD
  1231.  
  1232.  
  1233. ΓòÉΓòÉΓòÉ 4.8. BOOT -- Change Operating Systems ΓòÉΓòÉΓòÉ
  1234.  
  1235. Switches between the DOS and OS/2* operating systems that are on the same hard 
  1236. disk (drive C). 
  1237.  
  1238.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ BOOT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ /OS2 ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  1239.     ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓöÿ                ΓööΓöÇ /DOS ΓöÇΓöÿ
  1240.  
  1241. The BOOT command can be run from an OS/2 command prompt or a DOS command prompt 
  1242. as well as from DOS. 
  1243.  
  1244. BOOT is available under the following conditions: 
  1245.  
  1246. o DOS Version 3.2 (or a later version) was installed and operating on drive C 
  1247.   before the OS/2 operating system was installed. (It is recommended that you 
  1248.   use DOS 3.3, DOS 4.0, or DOS 5.0 for greater compatibility with OS/2 2.0.) 
  1249.  
  1250. o Drive C was not formatted during OS/2 installation. 
  1251.  
  1252. o The High Performance File System was not installed on drive C. 
  1253.  
  1254. Before typing the BOOT command, make sure all system operations are complete 
  1255. and all programs are stopped. 
  1256.  
  1257. BOOT verifies that the following files exist: 
  1258.  
  1259. OS/2 files 
  1260.  
  1261.    OS2LDR (hidden file) 
  1262.    OS2KRNL (hidden file) 
  1263.    OS2\SYSTEM\BOOT.OS2 
  1264.    OS2\SYSTEM\CONFIG.OS2 
  1265.  
  1266. DOS files 
  1267.  
  1268.    IBMBIO.COM or MSDOS.SYS (hidden file) 
  1269.    IBMDOS.COM or IO.SYS (hidden file) 
  1270.    OS2\SYSTEM\BOOT.DOS 
  1271.    OS2\SYSTEM\CONFIG.DOS 
  1272.  
  1273. When you use the BOOT command to start DOS from the OS/2 operating system, BOOT 
  1274. renames and stores system startup information as follows: 
  1275.  
  1276.  1. Saves the OS/2 boot record as C:\OS2\SYSTEM\BOOT.OS2 
  1277.  
  1278.  2. Moves the OS/2 AUTOEXEC.BAT file to C:\OS2\SYSTEM\AUTOEXEC.OS2. 
  1279.  
  1280.  3. Moves the OS/2 CONFIG.SYS file to C:\OS2\SYSTEM\CONFIG.OS2. 
  1281.  
  1282.  4. Copies C:\OS2\SYSTEM\BOOT.DOS to the DOS boot record. 
  1283.  
  1284.  5. Moves the DOS AUTOEXEC.BAT file from C:\OS2\SYSTEM\AUTOEXEC.DOS to the root 
  1285.     directory as BOOT moves the OS/2 AUTOEXEC.BAT file. 
  1286.  
  1287.  6. Moves the DOS CONFIG.SYS file from C:\OS2\SYSTEM\CONFIG.DOS to the root 
  1288.     directory as BOOT moves the OS/2 CONFIG.SYS file. 
  1289.  
  1290. BOOT reverses the process when you want to start the OS/2 operating system. 
  1291.  
  1292. Return Codes:  BOOT displays either a return code of 0 for normal completion or 
  1293. the appropriate error message. 
  1294.  
  1295.  
  1296. ΓòÉΓòÉΓòÉ <hidden> BOOT Examples ΓòÉΓòÉΓòÉ
  1297.  
  1298. To start the OS/2 operating system, from a DOS operating system, enter the 
  1299. following: 
  1300.  
  1301. C:\OS2\BOOT /OS2
  1302.  
  1303. Press Enter and respond to the prompt that appears. 
  1304.  
  1305. To start a DOS operating system from the OS/2 operating system, enter the 
  1306. following: 
  1307.  
  1308. BOOT /DOS
  1309.  
  1310. Press Enter and respond to the following message: 
  1311.  
  1312. SYS1714: Warning! Make sure all your programs have completed
  1313. or data will be lost when the system is restarted.
  1314.  
  1315. You requested to start DOS from drive C:
  1316. Your system will be reset. Do you want to continue (Y/N)?
  1317.  
  1318. To create a simple batch file named OS2.BAT to use in DOS (Version 3.2 and 
  1319. later) that will change the operating system to OS/2 2.0, type the following in 
  1320. your OS2.BAT batch file: 
  1321.  
  1322. C:\OS2\BOOT /OS2
  1323.  
  1324. To create batch files named DOS.BAT and DOS.CMD to use in the OS/2 2.0 
  1325. operating system that will change the operating system to your present level of 
  1326. DOS (Version 3.2 and later), type the following in your DOS.BAT or DOS.CMD 
  1327. batch file: 
  1328.  
  1329. C:\OS2\BOOT /DOS
  1330.  
  1331. Note:   To be effective, the preceding batch files must reside within an active 
  1332.         subdirectory in the current path statement. 
  1333.  
  1334.  
  1335. ΓòÉΓòÉΓòÉ 4.9. BREAK - Check for Ctrl+Break ΓòÉΓòÉΓòÉ
  1336.  
  1337. Instructs DOS to check whether the Ctrl and Break keys have been pressed before 
  1338. carrying out a program request. 
  1339.  
  1340. BREAK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1341.                   Γö£ΓöÇΓöÇ ON  ΓöÇΓöÇΓöñ
  1342.                   ΓööΓöÇΓöÇ OFF ΓöÇΓöÇΓöÿ
  1343.  
  1344. Enter the BREAK command at the DOS command prompt to display the current 
  1345. status. 
  1346.  
  1347. BREAK instructs the system to check if you pressed the Ctrl and Break keys 
  1348. together before the system carries out a program request. Pressing and holding 
  1349. the Ctrl and Break keys together stops a command from completing its task. 
  1350.  
  1351. BREAK can be entered in the CONFIG.SYS file, in a batch file, or at the command 
  1352. prompt.  If BREAK is ON, processing might be slower, but the operating system 
  1353. will probably intercept Ctrl+Break faster.  Setting BREAK=ON allows you to 
  1354. leave a program even if it produces few or no standard device operations (such 
  1355. as a compiler).  For example, if a program is being compiled and it meets an 
  1356. error or loop, it is important to have a way to stop compilation. 
  1357.  
  1358. If you accept the system installation default for the BREAK statement, the 
  1359. installation program places the following in your CONFIG.SYS file: 
  1360.  
  1361. BREAK=OFF
  1362.  
  1363.  
  1364. ΓòÉΓòÉΓòÉ <hidden> BREAK Examples ΓòÉΓòÉΓòÉ
  1365.  
  1366. The default is OFF 
  1367.  
  1368. To check whether Ctrl+Break has been pressed only when output is written to 
  1369. your screen or printer, or when input is read from your keyboard, enter the 
  1370. following statement in your CONFIG.SYS file: 
  1371.  
  1372. BREAK=OFF
  1373.  
  1374. To have the system check for Ctrl+Break when you request it, enter the 
  1375. following statement in your CONFIG.SYS file: 
  1376.  
  1377. BREAK=ON
  1378.  
  1379.  
  1380. ΓòÉΓòÉΓòÉ 4.10. BUFFERS - Determine Number of Disk Buffers ΓòÉΓòÉΓòÉ
  1381.  
  1382. Sets the number of disk buffers that the system uses. 
  1383.  
  1384. BUFFERS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1385.  
  1386. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  1387. command prompt. 
  1388.  
  1389. The disk buffer is a 512-byte block of storage the system uses to read and 
  1390. write blocks of data that do not occupy an entire sector.  You can increase the 
  1391. speed of your system by increasing the value specified for BUFFERS.  However, 
  1392. when you increase the number of disk buffers, you decrease your available 
  1393. memory. You might want to experiment with the number of buffers to get maximum 
  1394. performance.  Additional buffers can cause some applications to run more slowly 
  1395. because there is less memory available for the application to keep data.  More 
  1396. frequent read and write requests than are otherwise necessary might then 
  1397. result. 
  1398.  
  1399. Buffering, which is the allocation of storage, is one memory management method. 
  1400.  
  1401. By using the disk buffer, the operating system can read and write blocks of 
  1402. information.  Once the information is read into the buffer, the system is ready 
  1403. to process the information.  While the information is in the buffer or being 
  1404. processed, the input device can begin reading new pieces of information so the 
  1405. processor does not have to wait unnecessarily to process information and 
  1406. program instructions.  The processor can complete its operation, because the 
  1407. next block of information to process is already in the buffer area. 
  1408.  
  1409. Some other situations might also occur.  For example, suppose the processor 
  1410. completes its work and there is no information in the buffer to process.  The 
  1411. processor must wait until the next block of information is read into memory by 
  1412. the input device.  Similarly, if the input device reads information into the 
  1413. buffer before the system has time to process the records, the buffer might 
  1414. reach its capacity and have to wait until the system accepts more information 
  1415. to process. 
  1416.  
  1417. In your CONFIG.SYS file, there is a BUFFERS statement that determines the 
  1418. number of disk buffers that the operating system will keep in memory. 
  1419. Depending on how many programs you work with at a given time, you might want to 
  1420. experiment with this number to maximize performance on your system. 
  1421.  
  1422. If you run many programs in OS/2 sessions, you can increase the speed of your 
  1423. system by increasing the value specified for BUFFERS (for example, BUFFERS=70). 
  1424. However, remember that when you increase the number of disk buffers, you 
  1425. decrease your available memory by 512 bytes for each buffer specified. 
  1426. Additional buffers might cause some programs to run more slowly because there 
  1427. is less memory available for the program to keep information.  This can result 
  1428. in more frequent memory swapping, which will slow down performance. 
  1429.  
  1430.  
  1431. ΓòÉΓòÉΓòÉ <hidden> BUFFERS Examples ΓòÉΓòÉΓòÉ
  1432.  
  1433. To assign the number of buffers to 20, type the following in your CONFIG.SYS 
  1434. file: 
  1435.  
  1436. BUFFERS=20
  1437.  
  1438.  
  1439. ΓòÉΓòÉΓòÉ <hidden> Operating System/2 ΓòÉΓòÉΓòÉ
  1440.  
  1441. Trademark of the IBM Corporation. 
  1442.  
  1443.  
  1444. ΓòÉΓòÉΓòÉ <hidden> Micro Channel ΓòÉΓòÉΓòÉ
  1445.  
  1446. Trademark of the IBM Corporation. 
  1447.  
  1448.  
  1449. ΓòÉΓòÉΓòÉ 4.11. CACHE - Write Contents of Memory to Disk ΓòÉΓòÉΓòÉ
  1450.  
  1451. Specifies the parameters that the High Performance File System (HPFS) uses to 
  1452. write information to a disk.  This command is specified as part of a RUN 
  1453. statement in the CONFIG.SYS file or entered at a command prompt. 
  1454.  
  1455. CACHE   ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1456.            ΓööΓöÇ /LAZY:state ΓöÇΓöÿ    ΓööΓöÇ /MAXAGE:time ΓöÇΓöÿ
  1457.  
  1458. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1459.         ΓööΓöÇ /DISKIDLE:time ΓöÇΓöÿ    ΓööΓöÇ /BUFFERIDLE:time ΓöÇΓöÿ
  1460.  
  1461. Related Commands: IFS, IFS (HPFS.IFS) 
  1462.  
  1463. If you enter this command without a parameter, the operating system displays 
  1464. the current values for CACHE. 
  1465.  
  1466. You can use cache memory if you have: 
  1467.  
  1468. o Formatted the hard-disk partition during OS/2 installation 
  1469. o Selected the High Performance File System 
  1470.  
  1471. The system installation program sets up caching for the primary partition 
  1472. through the OS2.INI file.  The HPFS manages a cache of memory divided into 
  1473. blocks of 2KB.  Data that is read from and written to the disk is transferred 
  1474. through this cache so that it can be used in satisfying future requests.  This 
  1475. cache is separate from that of the BUFFERS and DISKCACHE commands discussed 
  1476. elsewhere in this reference. 
  1477.  
  1478. When a user requests data that is not present in the cache, the HPFS selects 
  1479. the least recently used (LRU) block, writes the data within that block to disk 
  1480. if necessary, and then fills the block with the requested data.  This 
  1481. significantly increases the chances that often-used data will be found in 
  1482. memory, thus saving the expense of a disk-read operation. 
  1483.  
  1484. In addition, the file system takes advantage of its knowledge of cache block 
  1485. contents.  Data, not expected to be reused soon by the file system, is placed 
  1486. in cache blocks marked for immediate reuse.  In most cases, when a write 
  1487. request is received, it is not necessary to write the data immediately to disk. 
  1488. The HPFS takes such data and copies it to the block cache without actually 
  1489. performing the disk-write operation.  Once the data is in the cache, it is 
  1490. written to disk as a background activity. 
  1491.  
  1492. Also, because these lazy-writes are performed during disk idle time, incoming 
  1493. requests need not wait for large disk- write operations to be completed.  This 
  1494. optimizes overall system throughput and response time for all requesting 
  1495. processes. 
  1496.  
  1497. The HPFS also contains additional levels of caching that speed up access to 
  1498. directories.  The HPFS uses this cache to quickly get to the directory on which 
  1499. the request is being made. 
  1500.  
  1501. Note:   If you set the /LAZY parameter to ON, select Shut down from the menu of 
  1502.         the desktop before turning off your system.  Failure to do so will 
  1503.         cause loss of data if the contents of the HPFS cache buffers have not 
  1504.         been erased and written to disk.  For safety, and if performance is not 
  1505.         a concern, use the /LAZY:OFF option, which causes a write through the 
  1506.         cache to the disk. 
  1507.  
  1508.  
  1509. ΓòÉΓòÉΓòÉ <hidden> CACHE Examples ΓòÉΓòÉΓòÉ
  1510.  
  1511. To have data in cache memory immediately written to disk, enter the following 
  1512. at an OS/2 command prompt: 
  1513.  
  1514. CACHE /LAZY:OFF
  1515.  
  1516. To turn lazy-writing back on after you have turned it off, and retain use of 
  1517. the same command prompt session, enter the following at the OS/2 command 
  1518. prompt: 
  1519.  
  1520. DETACH CACHE /LAZY:ON
  1521.  
  1522. To have data in cache memory immediately written to disk and have this 
  1523. lazy-writing state remain as the default, type the following in your 
  1524. STARTUP.CMD file: 
  1525.  
  1526. C:\OS2\CACHE.EXE /LAZY:OFF
  1527.  
  1528. To have data that has been in cache memory longer than 4000 milliseconds 
  1529. written to disk, type the following in the CONFIG.SYS file: 
  1530.  
  1531. RUN=C:\OS2\CACHE.EXE /MAXAGE:4000
  1532.  
  1533. To set the amount of disk idle time to 2000 milliseconds, type the following in 
  1534. the CONFIG.SYS file: 
  1535.  
  1536. RUN=C:\OS2\CACHE.EXE /DISKIDLE:2000
  1537.  
  1538. To set the amount of cache buffer idle time to 1000 milliseconds, type the 
  1539. following in the CONFIG.SYS file: 
  1540.  
  1541. RUN=C:\OS2\CACHE.EXE /BUFFERIDLE:1000
  1542.  
  1543.  
  1544. ΓòÉΓòÉΓòÉ 4.12. CALL - Nest Batch Files ΓòÉΓòÉΓòÉ
  1545.  
  1546. Calls a batch file from within another batch file without ending the first one. 
  1547. A batch file can then be used as commands from within a master batch file. 
  1548.  
  1549. CALL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ batchfile ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1550.                                        ΓööΓöÇ argument ΓöÇΓöÿ
  1551.  
  1552. Related Commands:  ECHO, ENDLOCAL, EXTPROC, FOR, GOTO, IF, PAUSE, REM, 
  1553. SETLOCAL, SHIFT 
  1554.  
  1555. It is important to note that: 
  1556.  
  1557. o Piping and redirection should not be used with the CALL command. 
  1558.  
  1559. o You can use CALL from any line inside a batch file. 
  1560.  
  1561. o The number of batch files is limited only by available memory. In an OS/2 
  1562.   session, a batch file should not call itself. If it does, it runs out of 
  1563.   stack space and ends. In a DOS session, a batch file can call itself, but 
  1564.   make sure that the batch file eventually ends. 
  1565.  
  1566. o CALL causes the data structure and file pointer of the currently running 
  1567.   batch file to be saved, and a new data structure to be created.  When the 
  1568.   called batch file ends, the original batch file continues its processing with 
  1569.   the statement following CALL. 
  1570.  
  1571. o Batch-file parameters can be passed to another batch file with CALL. 
  1572.  
  1573. As an example, assume that you have two batch files.  Your first batch file is 
  1574. named EXAMPLE1.CMD, which contains these commands: 
  1575.  
  1576. ECHO EXAMPLE1.CMD is running ...
  1577. CALL EXAMPLE2
  1578. ECHO EXAMPLE1.CMD is running again ...
  1579.  
  1580. Your second batch file, the one you want to call, is EXAMPLE2.CMD.  It 
  1581. contains: 
  1582.  
  1583. ECHO EXAMPLE2.CMD is running now ...
  1584.  
  1585. If you are in the root directory when you type EXAMPLE1 at the OS/2 command 
  1586. prompt, the following is displayed on your screen: 
  1587.  
  1588. [C:\] ECHO EXAMPLE1.CMD is running ...
  1589. EXAMPLE1.CMD is running ...
  1590.  
  1591. [C:\] ECHO EXAMPLE2.CMD is running now ...
  1592. EXAMPLE2.CMD is running now ...
  1593.  
  1594. [C:\] ECHO EXAMPLE1.CMD is running again ...
  1595. EXAMPLE1.CMD is running again ...
  1596.  
  1597.  
  1598. ΓòÉΓòÉΓòÉ <hidden> CALL Examples ΓòÉΓòÉΓòÉ
  1599.  
  1600. To call two files named ACCOUNT.BAT and MARY.BAT, type the following in your 
  1601. batch file: 
  1602.  
  1603. CALL ACCOUNT
  1604. CALL MARY
  1605.  
  1606. If you want to pass the second and third parameters, along with the value of 
  1607. FILE, to a batch file named MARKET, type the following in your batch file: 
  1608.  
  1609. SET FILE=NEW.TXT
  1610. CALL MARKET %2 %3 %FILE%
  1611.  
  1612.  
  1613. ΓòÉΓòÉΓòÉ 4.13. CHCP - Change Code Page ΓòÉΓòÉΓòÉ
  1614.  
  1615. Allows you to alternate between two code-page character sets that are defined 
  1616. in your CONFIG.SYS file. 
  1617.  
  1618.  
  1619. CHCP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1620.                          ΓööΓöÇ nnn ΓöÇΓöÿ
  1621.  
  1622. Related Commands:  CODEPAGE, COUNTRY, DEVINFO, SPOOL 
  1623.  
  1624. Type this command without a parameter to display the current code page being 
  1625. used or to determine if any are specified. 
  1626.  
  1627. Because CHCP changes the code page for the current session, it is intended to 
  1628. be used at the command prompt.  Any programs started under the primary command 
  1629. processor inherit the command processor's current code page. 
  1630.  
  1631. In the OS/2 environment, CHCP checks that the correct DEVINFO= statement is 
  1632. included in the CONFIG.SYS file for the code page being requested.  If not, a 
  1633. message is displayed. 
  1634.  
  1635. CHCP accepts either one of the two prepared system code pages as correct.  If 
  1636. you enter the number of a code page that has not been prepared for the system, 
  1637. you receive an error message.  If no CODEPAGE= statement is included in the 
  1638. CONFIG.SYS file, CHCP returns the default code page ID of the country. 
  1639.  
  1640. In the OS/2 environment, CHCP checks to see if a DEVINFO= statement is included 
  1641. in the CONFIG.SYS file for LPT1, LPT2, or LPT3.  If there is a DEVINFO= 
  1642. statement, the printer for that device is queried to see if it supports the 
  1643. code page being set.  If it does not support that code page, an informational 
  1644. warning message is displayed. 
  1645.  
  1646. Incorrect, partial, or mismatched setup of statements for code-page selections, 
  1647. country code, keyboard layout, display, or printer can cause ineffective 
  1648. switching between code pages. If your printer is correctly set up for code-page 
  1649. switching, print jobs started in a DOS session or in the current OS/2 session, 
  1650. after a successful CHCP command is issued, will print in the new code page. 
  1651.  
  1652. Note:   To ensure you will be able to access files prepared with another code 
  1653.         page, be sure to use only the characters A-Z and 0-9 when naming files 
  1654.         and directories.  This prevents file access problems when switching 
  1655.         between code pages that have different character capitalization rules. 
  1656.  
  1657.  
  1658. ΓòÉΓòÉΓòÉ <hidden> CHCP Examples ΓòÉΓòÉΓòÉ
  1659.  
  1660. If you want to change to the Multilingual code page (850) and your system has 
  1661. been set up to use code pages 437 and 850, enter the following: 
  1662.  
  1663. CHCP 850
  1664.  
  1665.  
  1666. ΓòÉΓòÉΓòÉ 4.14. CD or CHDIR - Change Current Directory ΓòÉΓòÉΓòÉ
  1667.  
  1668. Changes the current directory or displays its name. 
  1669.  
  1670. CHDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1671. CD      ΓöÇΓöÇΓöÿ         ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ
  1672.  
  1673. Related Commands:  DIR, MD, RD, TREE 
  1674.  
  1675. Type this command without a parameter to display the name of the current 
  1676. directory. For example, typing CD displays the current directory on the default 
  1677. drive. Type this command with a drive letter to display the current directory 
  1678. for that drive.  For example, typing CD C: displays the current directory on 
  1679. drive C. 
  1680.  
  1681. CD or CHDIR can change the current directory, allowing you to access any 
  1682. subdirectory you have created with the MD command.  If the directory you want 
  1683. to change to has a different path from your current directory, you must enter 
  1684. its entire path, including the root directory.  If you do not know the path of 
  1685. the directory you want to change to, use the DIR or TREE commands. 
  1686.  
  1687.  
  1688. ΓòÉΓòÉΓòÉ <hidden> CD or CHDIR Examples ΓòÉΓòÉΓòÉ
  1689.  
  1690. If you want to display the name of the current directory enter the following: 
  1691.  
  1692. CD
  1693.  
  1694. If you want to display the name of the current directory on drive A enter the 
  1695. following: 
  1696.  
  1697. CD A:
  1698.  
  1699. If you want to change from the root directory to the subdirectory, ACCOUNTS, 
  1700. enter the following: 
  1701.  
  1702. CD ACCOUNTS
  1703.  
  1704. If you want to change to another subdirectory named NAMES, which is in the 
  1705. ACCOUNTS subdirectory, enter the following: 
  1706.  
  1707. CD NAMES
  1708.  
  1709. If you want to change from the root directory to the subdirectory, 
  1710. ACCOUNTS\NAMES\MARY, enter the following: 
  1711.  
  1712. CD ACCOUNTS\NAMES\MARY
  1713.  
  1714. If you want to change from the subdirectory ACCOUNTS\NAMES\MARY to the root 
  1715. directory enter the following: 
  1716.  
  1717. CD \
  1718.  
  1719. If you want to change from the subdirectory ACCOUNTS\NAMES\MARY to the 
  1720. ACCOUNTS\NAMES subdirectory enter the following: 
  1721.  
  1722. CD ..
  1723.  
  1724.  
  1725. ΓòÉΓòÉΓòÉ 4.15. CHKDSK - Check Disk ΓòÉΓòÉΓòÉ
  1726.  
  1727. Analyzes directories and files, determines the file system type, and produces a 
  1728. disk status report. CHKDSK also displays the volume label and the volume serial 
  1729. number of the disk. 
  1730.  
  1731. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ CHKDSK ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  1732.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  1733.  
  1734.                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1735.                                          Γöé              Γöé
  1736. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  1737.    ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ     Γö£ΓöÇ /F ΓöÇΓöñ      Γö£ΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  1738.                                  ΓööΓöÇ /V ΓöÇΓöÿ      ΓööΓöÇ /F:n ΓöÇΓöÿ
  1739.  
  1740. The /C and /F:n parameters shown at the end of the CHKDSK command syntax are 
  1741. only used with the High Performance File System. 
  1742.  
  1743. Related Commands:  RECOVER 
  1744.  
  1745. o Type this command at a DOS command prompt to produce a memory storage report. 
  1746.  
  1747. o CHKDSK gives accurate information only when a hard disk is not in use. 
  1748.  
  1749. o CHKDSK does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  1750.   SUBST command in effect.  Also, CHKDSK does not work on network drives. 
  1751.  
  1752. You should run CHKDSK occasionally on each disk to check for errors. If errors 
  1753. are found, CHKDSK displays the error messages and produces a status report.  If 
  1754. you enter a file name after CHKDSK, the OS/2 operating system displays a status 
  1755. report that gives the number of noncontiguous areas occupied by the file. 
  1756. CHKDSK also produces a storage report. 
  1757.  
  1758. CHKDSK can detect lost clusters on your disk.  These are parts of files that 
  1759. the system did not save completely and that take up space on your disk.  If 
  1760. CHKDSK finds these, it prompts you with a message asking if you want to convert 
  1761. lost chains to files.  If you type a Y (yes), CHKDSK converts these parts into 
  1762. files that you can examine and delete to save space on your disk.  If you type 
  1763. an N (no), CHKDSK deletes these parts of files from your disk without warning. 
  1764. The files CHKDSK creates from lost chains follow this naming convention: 
  1765. FILEnnnn.CHK (nnnn is a sequential number starting with 0000). 
  1766.  
  1767. To search for and recover lost file clusters on the drive that is the hard disk 
  1768. from which you normally start the OS/2 operating system, follow these steps: 
  1769.  
  1770.  1. Insert the system installation diskette in diskette drive A. 
  1771.  2. Restart the system.  When the Logo panel appears, remove the installation 
  1772.     diskette and insert diskette 1.  Press Enter to continue. 
  1773.  3. At the first text panel that appears (Welcome to OS/2), press Esc. 
  1774.  4. If the drive to be searched is a drive formatted for HPFS, the file 
  1775.     UHPFS.DLL has to exist on the same diskette as CHKDSK, or UHPFS.DLL has to 
  1776.     exist in a directory in the LIBPATH statement. To display the LIBPATH 
  1777.     statement, enter TYPE \CONFIG.SYS in the drive of the disk that the system 
  1778.     started from. 
  1779.  5. In order for the system to display error messages, the file OSO001.MSG has 
  1780.     to be on the same disk as CHKDSK or it has to exist in a directory in your 
  1781.     DPATH statement.  To display your DPATH statement, enter DPATH at the 
  1782.     command line. 
  1783.  6. Run CHKDSK in drive A, specifying C as the drive to be searched. 
  1784.  
  1785. To recover lost clusters on the drive that contains CHKDSK, copy CHKDSK to 
  1786. another drive and run it from that drive by specifying the drive and path. 
  1787.  
  1788. If the /F parameter is not specified and there are open files, CHKDSK may 
  1789. report lost clusters on the disk.  This happens when open files have been 
  1790. written to but the file allocation table (FAT) is not updated. If many clusters 
  1791. are reported as lost, use the /F parameter to search the disk. 
  1792.  
  1793. Extended Attributes:  CHKDSK will attempt to validate the clusters with files 
  1794. or directories that contain extended attributes. An extended attribute is a 
  1795. special area used for storing data that describes the file or directory to the 
  1796. operating system or to an application. If errors occur in any extended 
  1797. attribute chain on the disk, CHKDSK prompts you to recover that chain into a 
  1798. file that follows this naming format:  EAnnnn.CHK (nnnn is a sequential number 
  1799. starting with 0000).  CHKDSK also recovers the file or directory associated 
  1800. with the extended attribute chain and places it in a file that follows this 
  1801. naming format:  FILEnnnn.CHK. The number in this file name corresponds to the 
  1802. number shown in the EAnnnn.CHK file name. CHKDSK places all files it creates in 
  1803. the root directory of the specified drive. 
  1804.  
  1805. Return Codes: 
  1806.  
  1807. 0 -  Normal completion 
  1808. 1 -  Not defined 
  1809. 2 -  Not defined 
  1810. 3 -  Ended by user 
  1811. 4 -  Ended due to error 
  1812. 5 -  Not defined 
  1813. 6 -  CHKDSK was unable to execute file system's CHKDSK program. 
  1814.  
  1815.  
  1816. ΓòÉΓòÉΓòÉ 4.15.1. High Performance File System Considerations ΓòÉΓòÉΓòÉ
  1817.  
  1818. o When using CHKDSK on a disk formatted for the High Performance File System 
  1819.   (HPFS), it is important to note how CHKDSK processes lost clusters and how 
  1820.   they are recovered. 
  1821.  
  1822.   CHKDSK does not delete lost clusters.  If lost clusters are found and the /F 
  1823.   parameter is specified, CHKDSK recovers lost clusters and does not prompt you 
  1824.   if you want to convert lost chains to files.  Instead, CHKDSK creates a 
  1825.   subdirectory of the root directory named \FOUND.mmm and places recovered 
  1826.   files, directories, and extended attributes there.  The "mmm" in the 
  1827.   directory name represents a three-digit number so that each directory name is 
  1828.   unique. CHKDSK stores recovered files as files with the naming format: 
  1829.   FILEnnnn.CHK.  It stores recovered directories as directories that follow 
  1830.   this naming format: DIRnnnn.CHK. 
  1831.  
  1832. o When using CHKDSK on a disk formatted for the High Performance File System, 
  1833.   you cannot specify a file by using the filename parameter. 
  1834.  
  1835.  
  1836. ΓòÉΓòÉΓòÉ <hidden> CHKDSK Examples ΓòÉΓòÉΓòÉ
  1837.  
  1838. To analyze a file named REPORTS.ABC, enter the following: 
  1839.  
  1840. CHKDSK REPORTS.ABC
  1841.  
  1842. To use global file-name characters to display the status of all files that 
  1843. begin with "REPORT" and contain other characters, enter the following: 
  1844.  
  1845. CHKDSK REPORT*.*
  1846.  
  1847. To fix errors that are found in the file allocation table or directory, enter 
  1848. the following: 
  1849.  
  1850. CHKDSK /F
  1851.  
  1852. To display all files and directories on the current drive, enter the following: 
  1853.  
  1854. CHKDSK /V
  1855.  
  1856. To specify files that will be recovered if the file system was in an 
  1857. inconsistent state when the computer was started, enter the following: 
  1858.  
  1859. CHKDSK /C
  1860.  
  1861. To specify a recovery level, (If no number is specified, CHKDSK assumes 
  1862. recovery level 2) enter the following: 
  1863.  
  1864. CHKDSK /F
  1865.  
  1866. To specify that CHKDSK is to analyze the file system, display information about 
  1867. its state, but not perform any repairs. enter the following: 
  1868.  
  1869. CHKDSK /F:0
  1870.  
  1871. To specify that CHKDSK is to resolve inconsistent file system structures. enter 
  1872. the following: 
  1873.  
  1874. CHKDSK /F:1
  1875.  
  1876. To specify that CHKDSK is to resolve inconsistent file system structures, scan 
  1877. disk space that is in use but not referred to by the file system, and recover 
  1878. recognizable file or directory structures that are found, enter the following: 
  1879.  
  1880. CHKDSK /F:2
  1881.  
  1882. To specify all level 2 recovery and also specify CHKDSK is to scan the entire 
  1883. disk partition for recognizable file system structures. enter the following: 
  1884.  
  1885. CHKDSK /F:3
  1886.  
  1887. Note:   The /C and /F:n parameters are only operable with the High Performance 
  1888.         File System. 
  1889.  
  1890.  
  1891. ΓòÉΓòÉΓòÉ 4.16. CLS - Clear Screen ΓòÉΓòÉΓòÉ
  1892.  
  1893. Clears the window or entire display screen of any information. 
  1894.  
  1895. CLS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1896.  
  1897. To clear the screen, enter the following: 
  1898.  
  1899. CLS
  1900.  
  1901.  
  1902. ΓòÉΓòÉΓòÉ 4.17. CMD - Start an OS/2 Command Processor ΓòÉΓòÉΓòÉ
  1903.  
  1904. Starts the OS/2 command processor, CMD.EXE, found in the C:\OS2 subdirectory. 
  1905. To return to the previous command processor, use the EXIT command. 
  1906.  
  1907. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ CMD ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  1908.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  1909.  
  1910.  
  1911. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1912.       ΓööΓöÇ /Q ΓöÇΓöÿ      ΓööΓöÇ /S ΓöÇΓöÿ      Γö£ΓöÇ /K "string" ΓöÇΓöñ
  1913.                                   ΓööΓöÇ /C "string" ΓöÇΓöÿ
  1914.  
  1915. Related Commands:  COMMAND, EXIT, SET, and START 
  1916.  
  1917. Type this command without a parameter to start another command processor. To 
  1918. return to the previous command processor, use the EXIT command. 
  1919.  
  1920. If you change any environment variables in the current command processor, the 
  1921. change is known only to the current command processor.  For example, suppose 
  1922. you enter CMD to start another command processor.  You then change the prompt 
  1923. to something other than the default and exit back to the previous command 
  1924. processor.  The previous command processor still has the default prompt. 
  1925.  
  1926. Use quotation marks to pass significant characters to the new CMD.EXE. To have 
  1927. a new CMD.EXE process the DIR command and then have the parent CMD.EXE display 
  1928. the word "HELLO," type the following: 
  1929.  
  1930. CMD /C DIR & ECHO HELLO
  1931.  
  1932. To have the new CMD.EXE process the DIR command and display the word "HELLO," 
  1933. type the following: 
  1934.  
  1935. CMD /C "DIR & ECHO HELLO"
  1936.  
  1937.  
  1938. ΓòÉΓòÉΓòÉ <hidden> CMD.EXE Examples ΓòÉΓòÉΓòÉ
  1939.  
  1940. To tell CMD.EXE to set the value of the COMSPEC environment variable to drive 
  1941. C, path ACCOUNTS\NAMES, type the following: 
  1942.  
  1943. CMD C:\ACCOUNTS\NAMES,
  1944.  
  1945. To tell the command processor being started not to install a signal handler 
  1946. normally used for Ctrl+C (end a program), type the following: 
  1947.  
  1948. CMD /S
  1949.  
  1950. To start a secondary command processor and override the default for copying (no 
  1951. echo) the command line to standard output, type the following: 
  1952.  
  1953. CMD /Q
  1954.  
  1955. To start another command processor, process the DIR command on drive A, and 
  1956. retain the current command processor, type the following: 
  1957.  
  1958. CMD /K DIR A:
  1959.  
  1960. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  1961. quotation marks. 
  1962.  
  1963. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  1964. exists on drive C, which is formatted with the HPFS, and retain the current 
  1965. command processor, type the following: 
  1966.  
  1967. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE""
  1968.  
  1969. If the program requires arguments, type them as: 
  1970.  
  1971. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  1972.  
  1973. To start another command processor, process the DIR command on drive A, and 
  1974. automatically return to the previous command processor after DIR is complete, 
  1975. type the following: 
  1976.  
  1977. CMD /C DIR A:
  1978.  
  1979. To have a new CMD.EXE process the DIR command and then have the parent CMD.EXE 
  1980. display the word "HELLO," type the following: 
  1981.  
  1982. CMD /C DIR & ECHO HELLO
  1983.  
  1984. To have the new CMD.EXE process the DIR command and display the word "HELLO," 
  1985. type the following: 
  1986.  
  1987. CMD /C "DIR & ECHO HELLO"
  1988.  
  1989. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  1990. exists on drive C, which is formatted with the HPFS, and return to the previous 
  1991. command processor, type the following: 
  1992.  
  1993. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE""
  1994.  
  1995. If the program requires arguments, type them as: 
  1996.  
  1997. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  1998.  
  1999.  
  2000. ΓòÉΓòÉΓòÉ 4.18. CODEPAGE - Prepare Code Pages ΓòÉΓòÉΓòÉ
  2001.  
  2002. Selects the system code pages (defined character sets) to be prepared by the 
  2003. OS/2 operating system for code-page switching.  You must include the 
  2004. appropriate DEVINFO statements (for keyboard, printer, and video display) for 
  2005. both code pages in the CONFIG.SYS file. 
  2006.  
  2007. CODEPAGE = xxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2008.                             ΓööΓöÇ ,yyy ΓöÇΓöÿ
  2009.  
  2010. Related Commands:  COUNTRY, DEVINFO (Display), DEVINFO (Keyboard), and DEVINFO 
  2011. (Printer). 
  2012.  
  2013. Note that the display and printers each default to a native device character 
  2014. set.  The keyboard and country information default to the national language 
  2015. code page supported by the country code specified in the COUNTRY statement. 
  2016.  
  2017. When your computer displays output, the characters used are defined by a 
  2018. specific code page.  Each code page contains letters, numbers, symbols, and 
  2019. other characters common to a particular country.  Each character has a number 
  2020. (1 to 255) assigned to it. For example, character number 212 might display one 
  2021. character in the U.S. code page (437), but a different one in the Portuguese 
  2022. code page (860). Therefore, you should use your default national-language code 
  2023. page unless you are working with files that were created using another code 
  2024. page or unless you are planning to send files to other countries. 
  2025.  
  2026. When using a file that was created in another code page, you can switch to that 
  2027. code page or to the multilingual code page. We recommend you use the 
  2028. multilingual code page (850) whenever possible because it supports many 
  2029. languages. For example, suppose you create a file using code page 850 and send 
  2030. it to someone in another country.  When that file is viewed or printed using 
  2031. code page 850, it is identical to your copy. If, however, the file you send was 
  2032. not created using the multilingual code page, the receiver will need to switch 
  2033. to the code page that it was created with. Once code pages are defined on your 
  2034. system, you can switch back and forth between the prepared code pages. 
  2035.  
  2036. In the OS/2 operating system, a program or user can change the active code 
  2037. page.  Two pages can be active simultaneously.  Code pages for the keyboard, 
  2038. display, and printer can be set independently; however, code-page switching can 
  2039. take place only in printers and displays that support code-page switching, 
  2040. including the following products: 
  2041.  
  2042. o IBM Enhanced Color Display 
  2043. o IBM Personal System/2* Displays 
  2044. o IBM Enhanced Graphics Adapter 
  2045. o IBM Personal System/2 Video Graphics Array 
  2046. o IBM Personal System/2 Display Adapter 
  2047. o IBM Personal System/2 8514/A 
  2048. o IBM 4201 Proprinters (except Model 001) 
  2049. o IBM 4202 Proprinter* XL 
  2050. o IBM 5202 Quietwriter* III. 
  2051.  
  2052. See your printer information to determine if your printer supports code-page 
  2053. switching. 
  2054.  
  2055. Note:   If you are going to use the IBM 4207 Proprinter X24 and IBM 4208 
  2056.         Proprinter XL24, you must copy a multilingual code page from a National 
  2057.         Language Support (NLS) diskette.  These diskettes are available in 
  2058.         countries outside the United States. 
  2059.  
  2060. If you plan to switch code pages and are using a code page other than 850, we 
  2061. recommend that you do not name your files or subdirectories with accented 
  2062. characters. 
  2063.  
  2064.  
  2065. ΓòÉΓòÉΓòÉ <hidden> CODEPAGE  Examples ΓòÉΓòÉΓòÉ
  2066.  
  2067. To prepare code pages 437 and 850, insert the following statement in the 
  2068. CONFIG.SYS file: 
  2069.  
  2070. CODEPAGE=437,850
  2071.  
  2072. Choose the code pages you want to use from the list below: 
  2073.  
  2074. The OS/2 operating system supports these code pages: 
  2075.  
  2076. 437     U.S. 
  2077.  
  2078. 850     Multilingual 
  2079.  
  2080. 852     Latin 2 (Czechoslovakia, Hungary, Poland, Yugoslavia) 
  2081.  
  2082. 857     Turkish 
  2083.  
  2084. 860     Portuguese 
  2085.  
  2086. 861     Iceland 
  2087.  
  2088. 862     Hebrew-speaking 
  2089.  
  2090. 863     Canada (French-speaking) 
  2091.  
  2092. 864     Arabic-speaking 
  2093.  
  2094. 865     Nordic 
  2095.  
  2096. 932     Japanese 
  2097.  
  2098. 934     Korean 
  2099.  
  2100. 938     Republic of China 
  2101.  
  2102. 942     Japanese  SAA* 
  2103.  
  2104. 944     Korean   SAA 
  2105.  
  2106. 948     Republic of China SAA 
  2107.  
  2108. Note 1    Code pages 862 and 864 are supported with a country supplement 
  2109.           available only in certain countries. 
  2110. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  2111.           the DBCS version of the OS/2 operating system on DBCS hardware. 
  2112.  
  2113.  
  2114. ΓòÉΓòÉΓòÉ 4.19. COMMAND - Start a DOS Command Processor ΓòÉΓòÉΓòÉ
  2115.  
  2116. Starts the DOS command processor, COMMAND.COM, which is located in the 
  2117. C:\OS2\MDOS subdirectory. 
  2118.  
  2119.  
  2120. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ COMMAND ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2121.  ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  2122.  
  2123. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2124.         Γö£ΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöñ       Γö£ΓöÇ /C string ΓöÇΓöñ
  2125.         ΓööΓöÇΓöÇΓöÇ /E:x ΓöÇΓöÇΓöÇΓöÿ       ΓööΓöÇ /K string ΓöÇΓöÿ
  2126.  
  2127. Related Commands:  CMD, EXIT, SET 
  2128.  
  2129. Type this command without a parameter to start another DOS command processor. 
  2130. To return to the previous command processor, use the EXIT command.  If 
  2131. COMMAND.COM is not found in the specified directory, the OS/2 operating system 
  2132. searches the environment for the value of COMSPEC.  This system variable, which 
  2133. is placed in the environment when a DOS session is started, describes the path 
  2134. the system uses to reload the command processor.  You can change the value for 
  2135. COMSPEC with the SET command. 
  2136.  
  2137. If you use the SET command to change any environment variables in the current 
  2138. command processor, the change is known only to the current command processor. 
  2139. Returning to the primary DOS command processor with the EXIT command causes a 
  2140. resumption of the environment that the primary DOS command processor knew 
  2141. before the secondary copy existed. 
  2142.  
  2143.  
  2144. ΓòÉΓòÉΓòÉ <hidden> COMMAND.COM Examples ΓòÉΓòÉΓòÉ
  2145.  
  2146. To start another command processor enter the following: 
  2147.  
  2148. COMMAND
  2149.  
  2150. To pass a command (DIR B:) to a secondary command processor and return to the 
  2151. primary command processor after the command is completed enter the following: 
  2152.  
  2153. COMMAND /C DIR B:
  2154.  
  2155. To retain the DOS processor, enter the following: 
  2156.  
  2157. COMMAND /P
  2158.  
  2159. To specify the size of the environment as 16KB, enter the following: 
  2160.  
  2161. COMMAND /E:16384
  2162.  
  2163. To start another command processor, process the DIR command on drive A, and 
  2164. retain the new command processor, enter the following: 
  2165.  
  2166. COMMAND /K DIR A:
  2167.  
  2168.  
  2169. ΓòÉΓòÉΓòÉ 4.20. COMP - Compare Files ΓòÉΓòÉΓòÉ
  2170.  
  2171. Compares the contents of two files. 
  2172.  
  2173. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ COMP ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2174.  ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  2175.  
  2176. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  2177.   ΓööΓöÇ filename ΓöÇΓöÿ   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ
  2178.  
  2179. Related Commands:  DISKCOMP 
  2180.  
  2181. Type this command without a parameter to start a step-by-step menu to compare 
  2182. files. 
  2183.  
  2184. The files you compare can be on the same or different drives, or in the same or 
  2185. different directories. The two sets of files you want to compare can have the 
  2186. same path and file names, provided they are on different drives.  If you 
  2187. specify only a drive for the second file and do not specify a file name, COMP 
  2188. assumes that the second file name is the same as the first.  If you specify a 
  2189. drive or path with no file name for either the primary or secondary path and 
  2190. file name, COMP assumes a file name of *.. 
  2191.  
  2192. After the comparison of the two files, COMP proceeds with the next pair of 
  2193. files that match the two file names.  When COMP cannot find any more files that 
  2194. match the first parameter, it displays a message asking if you want to compare 
  2195. more files.  Type a Y (Yes) to compare two more files, or end COMP by entering 
  2196. an N (No). 
  2197.  
  2198. If the file sizes are different, COMP displays a message informing you of this 
  2199. and asks if you want to continue.  You now have the option to continue the 
  2200. comparison or end it.  If you choose to continue, COMP processes both files 
  2201. based on the length of the smaller of the two files. 
  2202.  
  2203. During a comparison, an error message appears for any location that contains 
  2204. mismatching information in the two files.  After 10 mismatches, processing 
  2205. ends. 
  2206.  
  2207. COMP does not wait for you to insert a diskette containing a file to be 
  2208. compared.  Therefore, if the file to be compared is on a diskette, enter COMP 
  2209. without a parameter.  COMP then prompts for the file name.  Insert the diskette 
  2210. and enter the name of the file to be compared. 
  2211.  
  2212. Return Codes 
  2213.  
  2214. 0 - Normal completion. 
  2215. 1 - No files were found to compare. 
  2216. 2 - Some files or directories were not processed because of file errors. 
  2217. 3 - Ended by user. 
  2218. 4 - Ended because of error. 
  2219. 5 - Files did not compare O.K. 
  2220.  
  2221.  
  2222. ΓòÉΓòÉΓòÉ <hidden> COMP Examples ΓòÉΓòÉΓòÉ
  2223.  
  2224. To compare all files in the NOTE subdirectory on drive C with the files in the 
  2225. MEMO subdirectory on drive C, type the following: 
  2226.  
  2227. COMP C:\NOTE C:\MEMO
  2228.  
  2229. To compare a file that is not on the same diskette as the COMP command itself, 
  2230. and be prompted for the file names, type the following: 
  2231.  
  2232. COMP
  2233.  
  2234. To compare all files on drive A and drive C that have a .ABC extension, type 
  2235. the following: 
  2236.  
  2237. COMP A:*.ABC C:
  2238.  
  2239. To compare all files on drive A that have a .ALL extension with the files on 
  2240. drive B that have the same name but an extension of .BAK, enter the following: 
  2241.  
  2242. COMP A:*.ALL B:*.BAK
  2243.  
  2244.  
  2245. ΓòÉΓòÉΓòÉ 4.21. COPY - Copy or Combine Files ΓòÉΓòÉΓòÉ
  2246.  
  2247. Copies one or more files.  COPY has these format options: 
  2248.  
  2249. o Append ( + ) files. Use this option when merging multiple files into one 
  2250.   file, or when adding one file to the end of another. 
  2251.  
  2252. o Change the date and time ( + ,, ). Use this option when you want to change 
  2253.   the date and time of a file, or if you want to update the date and time of a 
  2254.   file after it is copied. 
  2255.  
  2256. o Combine ( + ) files. Use the combine mode of copy when you can combine 
  2257.   several other copy functions and there is at least one plus sign, and all of 
  2258.   the file name specifications have a common name that can be substituted by a 
  2259.   global file-name character. 
  2260.  
  2261. o Refer to a device name  Use this option when specifying a device (for 
  2262.   example, printer) during the copy process. 
  2263.  
  2264. COPY ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2265.       ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ     Γö£ΓöÇ /A ΓöÇΓöñ
  2266.                            ΓööΓöÇ filename ΓöÇΓöÿ     ΓööΓöÇ /B ΓöÇΓöÿ
  2267.  
  2268. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2269.                 ΓööΓöÇ + ΓöÇΓöÿ   ΓööΓöÇ ,, ΓöÇΓöÿ
  2270.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2271.                                                          Γöé
  2272. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤Γöñ
  2273.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ filename ΓöÇΓöÿ   Γö£ΓöÇΓöÇΓö¼ΓöÇ /A ΓöÇΓö¼ΓöÇΓöÇΓöñ
  2274.                                            Γöé  ΓööΓöÇ /B ΓöÇΓöÿ  Γöé
  2275.                                            Γö£ΓöÇΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöñ
  2276.                                            ΓööΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÿ
  2277.  
  2278. Related Commands:  DISKCOPY, RENAME, VERIFY, XCOPY 
  2279.  
  2280. You can copy files from one diskette or hard disk to another and you can copy 
  2281. files within directories. If you want to copy one or more files to a 
  2282. subdirectory, make sure that the subdirectory exists.  For example, if you 
  2283. enter: 
  2284.  
  2285. COPY C:\MON C:\REPORTS
  2286.  
  2287. and a REPORTS subdirectory does not exist, the system copies the contents of 
  2288. the MON file to a file named REPORTS.  Also, you cannot copy a file to itself. 
  2289.  
  2290. You can use global file name characters in the source file specification to 
  2291. change the dates and times of a group of files.  If you do not include a target 
  2292. file specification, all files found that match the source file specification 
  2293. remain where they are, but their dates and times are changed. 
  2294.  
  2295. Extended Attributes:  COPY preserves any existing extended attributes when the 
  2296. file is copied (See the /F parameter). An extended attribute is a special area 
  2297. used for storing data that describes the file or directory to the operating 
  2298. system or to an application. When copying files and directories that have 
  2299. extended attributes, be sure to use OS/2 2.0 to ensure all extended file 
  2300. attributes are copied. 
  2301.  
  2302. When combining or merging files, you must specify the file that has extended 
  2303. attributes as the first source file. The first source file cannot be chosen as 
  2304. the target file. 
  2305.  
  2306.  
  2307. ΓòÉΓòÉΓòÉ <hidden> COPY Examples ΓòÉΓòÉΓòÉ
  2308.  
  2309. To combine two ASCII files named MON and TUES, create a new file named DAYS, 
  2310. and add an end-of-file character (Ctrl+Z) as the last character of the file, 
  2311. type the following: 
  2312.  
  2313. COPY MON + TUES /A DAYS
  2314.  
  2315. To combine an ASCII file named TUES with a binary file named WED and create a 
  2316. new file named STATUS, type the following: 
  2317.  
  2318. COPY TUES + WED /B STATUS
  2319.  
  2320. To verify that a file named REPORTS.TXT is copied correctly to a directory 
  2321. named STATUS on drive C, type the following: 
  2322.  
  2323. COPY REPORTS.TXT C:\STATUS /V
  2324.  
  2325. To copy a file named REPORTS.TXT to the STATUS directory on drive D and force 
  2326. the command to fail if drive D does not support extended attributes, type the 
  2327. following: 
  2328.  
  2329. COPY REPORTS.TXT D:\STATUS /F
  2330.  
  2331. To copy a file named MON from the root directory on drive C to a directory 
  2332. named REPORTS on drive C, type the following: 
  2333.  
  2334. COPY C:\MON C:\REPORTS
  2335.  
  2336. To copy all the files in a directory named STATUS on drive A to the REPORTS 
  2337. directory on drive C, type the following: 
  2338.  
  2339. COPY A:\STATUS\*.* C:\REPORTS
  2340.  
  2341. To combine several other copy functions on files where all of the file-name 
  2342. specifications have a common name that can be substituted by a global file-name 
  2343. character, type the following: 
  2344.  
  2345. Copy *.BAT + *.CMD *.ALL
  2346.  
  2347. To copy and combine files named MYPROG.XYZ and FILEA.ABC from the current drive 
  2348. and directory and file FILEB.DEF from drive B and put them into a new file 
  2349. called BIGFILE.TXT in the current directory, type the following: 
  2350.  
  2351. COPY MYPROG.XYZ+FILEA.ABC+B:FILEB.DEF BIGFILE.TXT
  2352.  
  2353. To add files named MYPROG.XYZ, FILEA.ABC, and FILEB.DEF to an existing file 
  2354. named MYPROG.XYZ, type the following: 
  2355.  
  2356. COPY MYPROG.XYZ+FILEA.ABC+FILEB.DEF
  2357.  
  2358. To update the date and time of all files in the current directory to the 
  2359. current date and time, type the following: 
  2360.  
  2361. COPY *.* /B + ,,
  2362.  
  2363. To copy a binary file named MYFILE.BIN and send it to your printer (LPT1), type 
  2364. the following: 
  2365.  
  2366. COPY MYFILE.BIN /B LPT1
  2367.  
  2368. To copy a file named FRIDAY and send it to your plotter (COM1), type the 
  2369. following: 
  2370.  
  2371. COPY FRIDAY COM1
  2372.  
  2373.  
  2374. ΓòÉΓòÉΓòÉ 4.22. COUNTRY - Identify Country Information ΓòÉΓòÉΓòÉ
  2375.  
  2376. Identifies the following information for a country: 
  2377.  
  2378. o Date and time format 
  2379. o Decimal separator 
  2380. o Character-case map table 
  2381. o Collating-sequence table used by SORT 
  2382. o Double-byte character-set (DBCS) environment vector for double-byte 
  2383.   characters. 
  2384.  
  2385. COUNTRY = nnn ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  2386.                ΓööΓöÇ,ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ filename ΓöÇΓöÿ
  2387.                     ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  2388.  
  2389. Related Commands:  CODEPAGE, DATE, DEVINFO (Display), DEVINFO (Keyboard), 
  2390. DEVINFO (Printer), KEYB, SORT, TIME 
  2391.  
  2392. This statement is one of the interrelated CONFIG.SYS statements required for 
  2393. successful code-page switching. 
  2394.  
  2395. The country-dependent information used by the OS/2 operating system is 
  2396. determined by the COUNTRY statement that is active in the system.  This country 
  2397. information is always the same for both operating environments. 
  2398.  
  2399. The following table lists the country code and supported code pages for each 
  2400. country. The first code page listed for each country is the system default when 
  2401. a CODEPAGE statement is not specified in the CONFIG.SYS file.  The CONFIG.SYS 
  2402. file does not change if the country information in the System Setup folder is 
  2403. changed.  If your country is not listed, select the most similar country 
  2404. supported. 
  2405.  
  2406. Arabic-speaking               Country Code:  785  Code Pages:  864 (Note 1), 
  2407.                               437 
  2408.                               Country Code:  785  Code Pages:  864 (Note 1), 
  2409.                               850 
  2410. Asian English                 Country Code:  099  Code Pages:  437, 850 
  2411. Australia                     Country Code:  061  Code Pages:  437, 850 
  2412. Belgium                       Country Code:  032  Code Pages:  437, 850 
  2413. Brazil                        Country Code:  055  Code Pages:  850, 437 
  2414. Canada (French-speaking)      Country Code:  002  Code Pages:  863, 850 
  2415. Czechoslovakia                Country Code:  042  Code Pages:  852, 850 
  2416. Denmark                       Country Code:  045  Code Pages:  865, 850 
  2417. Finland                       Country Code:  358  Code Pages:  437, 850 
  2418. France                        Country Code:  033  Code Pages:  437, 850 
  2419. Germany                       Country Code:  049  Code Pages:  437, 850 
  2420. Hebrew-speaking               Country Code:  972  Code Pages:  862 (Note 1), 
  2421.                               437 
  2422.                               Country Code:  972  Code Pages:  862 (Note 1), 
  2423.                               850 
  2424. Hungary                       Country Code:  036  Code Pages:  852, 850 
  2425. Iceland                       Country Code:  354  Code Pages:  850, 861 
  2426. Italy                         Country Code:  039  Code Pages:  437, 850 
  2427. Japan                         Country Code:  081  Code Pages:  932 (Note 2), 
  2428.                               437, 850 
  2429.                               Country Code:  081  Code Pages:  942 (Note 2), 
  2430.                               437, 850 
  2431. Korea                         Country Code:  082  Code Pages:  934 (Note 2), 
  2432.                               437, 850 
  2433.                               Country Code:  082  Code Pages:  944 (Note 2), 
  2434.                               437, 850 
  2435. Latin America                 Country Code:  003  Code Pages:  437, 850 
  2436. Netherlands                   Country Code:  031  Code Pages:  437, 850 
  2437. Norway                        Country Code:  047  Code Pages:  865, 850 
  2438. Poland                        Country Code:  048  Code Pages:  852, 850 
  2439. Portugal                      Country Code:  351  Code Pages:  860, 850 
  2440. Republic of China             Country Code:  088  Code Pages:  938 (Note 2), 
  2441.                               437, 850 
  2442.                               Country Code:  088  Code Pages:  948 (Note 2), 
  2443.                               437, 850 
  2444. Spain                         Country Code:  034  Code Pages:  437, 850 
  2445. Sweden                        Country Code:  046  Code Pages:  437, 850 
  2446. Switzerland                   Country Code:  041  Code Pages:  437, 850 
  2447. Turkey                        Country Code:  090  Code Pages:  857, 850 
  2448. United Kingdom                Country Code:  044  Code Pages:  437, 850 
  2449. United States                 Country Code:  001  Code Pages:  437, 850 
  2450. Yugoslavia                    Country Code:  038  Code Pages:  852, 850 
  2451.  
  2452. Note 1    Code pages 862 and 864 are supported only with a country supplement 
  2453.           available only in certain countries. 
  2454. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  2455.           the Asian version of the OS/2 operating system on Asian hardware. 
  2456.  
  2457.  
  2458. ΓòÉΓòÉΓòÉ <hidden> COUNTRY Examples ΓòÉΓòÉΓòÉ
  2459.  
  2460. To set the date and time format for Canada (French), use 002 as the country 
  2461. code and 863 as the desired code page.  Specify COUNTRY.SYS as the file 
  2462. containing the country information and type the following statement in your 
  2463. CONFIG.SYS file. 
  2464.  
  2465. COUNTRY=002,C:\OS2\SYSTEM\COUNTRY.SYS
  2466.  
  2467. To specify the drive, directory, and name of the file that contains the country 
  2468. information to be used, type the following statement in your CONFIG.SYS file. 
  2469.  
  2470. C:\OS2\SYSTEM\COUNTRY.SYS.
  2471.  
  2472.  
  2473. ΓòÉΓòÉΓòÉ 4.23. CREATEDD - Create Dump Diskette ΓòÉΓòÉΓòÉ
  2474.  
  2475. Creates a dump diskette for use with the Stand-Alone Dump procedure. 
  2476.  
  2477. This command is intended to be used with the aid of your technical coordinator. 
  2478.  
  2479.  
  2480. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ CREATEDD ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ target ΓöÇΓöÇΓöÇΓöÇΓöñ
  2481.    ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ                   drive
  2482.  
  2483. Related Commands:  TRACE, TRACEBUF, TRACEFMT 
  2484.  
  2485. The CREATEDD utility program prepares a diskette for an OS/2 memory dump. If a 
  2486. dump requires more than one diskette, the first diskette must be prepared with 
  2487. CREATEDD while the rest can be any formatted diskettes. 
  2488.  
  2489. Note:   As with other formatting operations, when you use CREATEDD to format a 
  2490.         diskette that already contains information, all of the information on 
  2491.         the diskette is erased. 
  2492.  
  2493.  
  2494. ΓòÉΓòÉΓòÉ <hidden> Stand-Alone Dump Facility ΓòÉΓòÉΓòÉ
  2495.  
  2496. This procedure is intended to be used with the aid of your technical 
  2497. coordinator. 
  2498.  
  2499. The Stand-Alone Dump facility provides an image of all of the physical memory 
  2500. in the system.  Stand-Alone means when the dump is started, all system 
  2501. activities stop and only the dump process continues. 
  2502.  
  2503. Note:   The Stand-Alone Dump facility is intended for use at the direction of 
  2504.         OS/2 support personnel. A dump is performed when a problem is difficult 
  2505.         to reproduce, or other methods of problem determination do not identify 
  2506.         the problem. The diskettes containing dump information are sent to an 
  2507.         OS/2 support location for analysis and problem determination. 
  2508.  
  2509. There are two procedures that need to be done to use the Stand-Alone Dump 
  2510. facility. They are as follows: 
  2511.  
  2512.  1. Create a dump diskette by using CREATEDD 
  2513.  2. Perform the Stand-Alone Dump procedure 
  2514.  
  2515.  
  2516. ΓòÉΓòÉΓòÉ <hidden> Stand-Alone Dump Procedure ΓòÉΓòÉΓòÉ
  2517.  
  2518. This procedure is intended to be used with the aid of your technical 
  2519. coordinator. 
  2520.  
  2521. Warning:  Performing a stand-alone dump is similar to restarting the system. 
  2522. Use caution when using a stand-alone dump. While dumping is taking place, all 
  2523. system activities in progress in all windows and full screens will stop and 
  2524. modified files might not be saved. 
  2525.  
  2526. Running a Stand-Alone Dump 
  2527.  
  2528.  1. Start the Stand-Alone Dump facility. 
  2529.  
  2530.     The Stand-Alone Dump facility can be started either manually or with the 
  2531.     TRAPDUMP utility program.  The following describes both ways. 
  2532.  
  2533.    o MANUAL: Press and hold down the Ctrl and Alt Keys, and press the Num Lock 
  2534.      key twice. After a few seconds, the screen clears and the following 
  2535.      message is displayed: 
  2536.  
  2537.           Insert the dump diskette created by the CREATEDD utility
  2538.           into drive A and press any key to continue.
  2539.  
  2540.    o TRAPDUMP Utility Program: 
  2541.  
  2542.      Warning:  Enabling TRAPDUMP automatically allows your system to initiate a 
  2543.      stand-alone dump every time an error occurs in the application code.  You 
  2544.      do not want to enable TRAPDUMP unless you really need to troubleshoot your 
  2545.      operating system and have been instructed to do so by your technical 
  2546.      coordinator. 
  2547.  
  2548.      To enable TRAPDUMP, type the following statement in the CONFIG.SYS file: 
  2549.  
  2550.           TRAPDUMP=ON
  2551.  
  2552.      By adding this statement, TRAPDUMP automatically initiates a stand-alone 
  2553.      dump when a trap occurs that normally would force ending the application 
  2554.      (for example, General Protection   Fault - 000D). 
  2555.  
  2556.      When dumping is initiated, the screen clears and the following message is 
  2557.      displayed: 
  2558.  
  2559.           Insert the dump diskette created by the CREATEDD utility into drive A
  2560.           and press any key to continue.
  2561.  
  2562.  2. When instructed, insert the diskette labeled Dump Diskette 1 and press any 
  2563.     key. This action starts the dump process. The following message is 
  2564.     displayed: 
  2565.  
  2566.         The storage dump is being performed...
  2567.  
  2568.  3. When the system dump is complete, or the current dump diskette is full, the 
  2569.     following messages are displayed: 
  2570.  
  2571.         The storage address ranges on this diskette are:
  2572.  
  2573.              beginning - ending memory address on the disk
  2574.  
  2575.         Press any key to continue.
  2576.  
  2577.  4. After you press a key, the following message is displayed: 
  2578.  
  2579.         The diskette is full.
  2580.         Insert another formatted diskette in drive A.
  2581.  
  2582.         Press any key to continue.
  2583.  
  2584.     Insert the next dump diskette into drive A and press any key. This action 
  2585.     continues the dump process and the following message is displayed: 
  2586.  
  2587.              The storage dump is being performed...
  2588.  
  2589.         WARNING: Any data on the dump diskettes will be overwritten by the
  2590.                  Stand-Alone Dump Facility.
  2591.  
  2592.  5. Repeat steps 3 and 4 until the dumping is completed. 
  2593.  
  2594. Ending a Stand-Alone Dump 
  2595.  
  2596. There are two ways to end a stand-alone dump: 
  2597.  
  2598.     1. When the stand-alone dump is complete and more than one diskette has 
  2599.        been used, the following messages are displayed: 
  2600.  
  2601.               Insert storage dump diskette number 1 to complete dump.
  2602.  
  2603.               Press any key to continue.
  2604.  
  2605.        This allows the control program to write the dump summary record and end 
  2606.        the dump process. 
  2607.     2. To end a stand-alone dump before it is completed, re-insert the first 
  2608.        dump diskette when you are prompted to insert another diskette. 
  2609.  
  2610.        This ends the dump, but allows the dump summary record to be written on 
  2611.        the first diskette. 
  2612.  
  2613. After the process has ended, the following messages are displayed: 
  2614.  
  2615. The storage dump has completed. Remove the dump diskette and restart
  2616. the system.
  2617.  
  2618.  
  2619. ΓòÉΓòÉΓòÉ <hidden> CREATEDD Examples ΓòÉΓòÉΓòÉ
  2620.  
  2621. To prepare the diskettes for the Stand-Alone Dump procedure, do the following: 
  2622.  
  2623.  1. Select an OS/2 command prompt. 
  2624.  2. To create a dump diskette in drive A, type the following: 
  2625.  
  2626.         CREATEDD A:
  2627.  
  2628.     Note:   CREATEDD.EXE must be in your current directory or path. 
  2629.  
  2630.  
  2631.  3. The following message is displayed: 
  2632.  
  2633.         Insert a new diskette in drive A:
  2634.         and press Enter when you are ready.
  2635.  
  2636.  4. When you press Enter, the following message is displayed: 
  2637.  
  2638.         Are you using a 1.44 megabyte diskette in drive A: (Y/N)?
  2639.  
  2640.  5. Select Y for yes, or N for no and press Enter. CREATEDD displays the 
  2641.     following message: 
  2642.  
  2643.         The operating system dump diskette
  2644.         is being created.
  2645.  
  2646.  6. After the command prompt reappears, use the FORMAT command to format the 
  2647.     remaining diskettes.  This number will vary with the amount of random 
  2648.     access memory (RAM) in your system.  A minimum of 4 diskettes is suggested. 
  2649.  7. Label the diskette that you created with the CREATEDD command as DUMP 
  2650.     diskette 1. The diskettes that you created using the FORMAT command should 
  2651.     be labeled as DUMP DISKETTE 2 and so on. 
  2652.  
  2653.  
  2654. ΓòÉΓòÉΓòÉ <hidden> SAA ΓòÉΓòÉΓòÉ
  2655.  
  2656. Trademark of the IBM Corporation. 
  2657.  
  2658.  
  2659. ΓòÉΓòÉΓòÉ <hidden> Personal System/2 ΓòÉΓòÉΓòÉ
  2660.  
  2661. Trademark of the IBM Corporation. 
  2662.  
  2663.  
  2664. ΓòÉΓòÉΓòÉ <hidden> Quietwriter ΓòÉΓòÉΓòÉ
  2665.  
  2666. Trademark of the IBM Corporation. 
  2667.  
  2668.  
  2669. ΓòÉΓòÉΓòÉ <hidden> Proprinter ΓòÉΓòÉΓòÉ
  2670.  
  2671. Trademark of the IBM Corporation. 
  2672.  
  2673.  
  2674. ΓòÉΓòÉΓòÉ <hidden> PS/2 ΓòÉΓòÉΓòÉ
  2675.  
  2676. Trademark of the IBM Corporation. 
  2677.  
  2678.  
  2679. ΓòÉΓòÉΓòÉ 4.24. DATE - Set System Date ΓòÉΓòÉΓòÉ
  2680.  
  2681. Displays or changes the date known to the system and resets the date on your 
  2682. computer's clock. This date is recorded in the directory when you create or 
  2683. change a file. 
  2684.  
  2685. DATE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2686.                        Γö£ΓöÇΓöÇΓöÇΓöÇ  mm-dd-yy  ΓöÇΓöÇΓöÇΓöÇΓöñ
  2687.                        Γö£ΓöÇΓöÇΓöÇΓöÇ  dd-mm-yy  ΓöÇΓöÇΓöÇΓöÇΓöñ
  2688.                        ΓööΓöÇΓöÇΓöÇΓöÇ  yy-mm-dd  ΓöÇΓöÇΓöÇΓöÇΓöÿ
  2689.  
  2690. Related Commands:  COUNTRY, TIME 
  2691.  
  2692. The OS/2 operating system accepts a slash (/), a period (.), and a dash (-), as 
  2693. the valid date separator for your country. 
  2694.  
  2695. Enter this command without a parameter to display the system date and be 
  2696. prompted about changing it. 
  2697.  
  2698. It is not necessary to change the date every day because your system hardware 
  2699. is programmed to change months and years correctly, whether the month has 31, 
  2700. 30, 29, or 28 days.  If you must change the date, enter DATE at the command 
  2701. prompt or from a batch file. If you do not want to change the date shown, press 
  2702. Enter. 
  2703.  
  2704. Note that the COUNTRY command in your CONFIG.SYS file allows you to change the 
  2705. format in which the date is displayed and entered. 
  2706.  
  2707.  
  2708. ΓòÉΓòÉΓòÉ <hidden> DATE Examples ΓòÉΓòÉΓòÉ
  2709.  
  2710. To display the system date and be prompted about changing it, enter the 
  2711. following: 
  2712.  
  2713. DATE
  2714.  
  2715. To change the date in the system to June 20 1990 without being prompted by the 
  2716. system, enter the following: 
  2717.  
  2718. DATE 06/20/90
  2719.  
  2720. or 
  2721.  
  2722. DATE 06-20-90
  2723.  
  2724. or 
  2725.  
  2726. DATE 06.20.90
  2727.  
  2728.  
  2729. ΓòÉΓòÉΓòÉ 4.25. DDINSTAL - Install Automated Device Drivers ΓòÉΓòÉΓòÉ
  2730.  
  2731. Provides an automated way to install new device drivers after the operating 
  2732. system has been installed. 
  2733.  
  2734. DDINSTAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2735.                ΓööΓöÇ drive ΓöÇΓöÿ      ΓööΓöÇ path ΓöÇΓöÿ
  2736.  
  2737. Enter this command without a parameter to start a step-by-step procedure with 
  2738. which you install device-driver files. 
  2739.  
  2740. These files are provided on a separate diskette called a Device Support 
  2741. diskette.  This diskette contains an xxx.DDP (device-driver profile) file that 
  2742. controls the installation process.  The DDINSTAL program uses the information 
  2743. from the device-driver profile to add the necessary statements to CONFIG.SYS 
  2744. and to copy all the support files into their appropriate directories on the 
  2745. hard disk. 
  2746.  
  2747. After typing DDINSTAL you are prompted to insert the Device Support diskette in 
  2748. drive A and to press Enter when ready.  If any files are not copied because 
  2749. they would replace open dynamic-link libraries or programs, those files are 
  2750. copied to a temporary subdirectory.  You are then prompted to insert the 
  2751. Installation diskette and restart the system.  After the system restarts, 
  2752. DDINSTAL.EXE automatically continues the device driver installation.  The 
  2753. remaining files in the temporary subdirectory are copied and the CONFIG.SYS 
  2754. statements are added to C:\CONFIG.SYS.  After DDINSTAL has installed the device 
  2755. driver, press Ctrl+Alt+Del to restart the system. 
  2756.  
  2757. If all of the files are copied successfully from the Device Support diskette, 
  2758. the statements in the CONFIG.SYS file are added to C:\CONFIG.SYS.  Press 
  2759. Ctrl+Alt+Del to restart the system. 
  2760.  
  2761.  
  2762. ΓòÉΓòÉΓòÉ <hidden> DDINSTAL Examples ΓòÉΓòÉΓòÉ
  2763.  
  2764. To start a step-by-step procdure with which you install device-driver files, 
  2765. enter the following: 
  2766.  
  2767. DDINSTAL
  2768.  
  2769.  
  2770. ΓòÉΓòÉΓòÉ 4.26. DEBUG - Assist in Testing and Debugging Executable Files ΓòÉΓòÉΓòÉ
  2771.  
  2772. DEBUG Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2773.       ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ filename ΓöÇΓöÇΓöÿ
  2774.  
  2775. Use the DEBUG command without a location and file name to access the DOS DEBUG 
  2776. environment and be able to enter all DEBUG commands in response to the DEBUG 
  2777. prompt, a hyphen (-).  Refer to the documentation that came with your DOS 
  2778. operating system for more information about the DEBUG command. 
  2779.  
  2780. The following is a list of DEBUG commands: 
  2781.  
  2782. ?         Displays a list of the DEBUG commands. 
  2783.  
  2784. A         Assembles 8086/8087/8088 mnemonics. 
  2785.  
  2786. C         Compares two portions of memory. 
  2787.  
  2788. D         Displays the contents of a portion of memory. 
  2789.  
  2790. E         Enters data into memory starting at a specified address. 
  2791.  
  2792. F         Fills a range of memory with specified values. 
  2793.  
  2794. G         Runs the executable file that is in memory. 
  2795.  
  2796. H         Performs hexadecimal arithmetic. 
  2797.  
  2798. I         Displays one byte value from a specified port. 
  2799.  
  2800. L         Loads the contents of a file or disk sectors into memory. 
  2801.  
  2802. M         Copies the contents of a block of memory. 
  2803.  
  2804. N         Specifies a file for an L or W command, or specifies the parameters 
  2805.           for the file you are testing. 
  2806.  
  2807. O         Sends one byte value to an output port. 
  2808.  
  2809. P         Executes a loop, a repeated string instruction, a software interrupt, 
  2810.           or a subroutine. 
  2811.  
  2812. Q         Stops the DEBUG session. 
  2813.  
  2814. R         Displays or alters the contents of one or more registers. 
  2815.  
  2816. S         Searches a portion of memory for a specified pattern of one or more 
  2817.           byte values. 
  2818.  
  2819. T         Processes one instruction and then displays the contents of all 
  2820.           registers, the status of all flags, and the decoded form of the 
  2821.           instruction that DEBUG will process next. 
  2822.  
  2823. U         Disassembles bytes and displays the corresponding source statements. 
  2824.  
  2825. W         Writes the file being tested to a disk. 
  2826.  
  2827. XA        Allocates expanded memory. 
  2828.  
  2829. XD        Deallocates expanded memory. 
  2830.  
  2831. XM        Maps expanded memory pages. 
  2832.  
  2833. XS        Displays the status of expanded memory. 
  2834.  
  2835.  
  2836. ΓòÉΓòÉΓòÉ <hidden> DEBUG Examples ΓòÉΓòÉΓòÉ
  2837.  
  2838. To access the DOS DEBUG environment, type the following: 
  2839.  
  2840. DEBUG
  2841.  
  2842. Refer to the documentation that came with your DOS operating system for more 
  2843. examples using the DEBUG command. 
  2844.  
  2845.  
  2846. ΓòÉΓòÉΓòÉ 4.27. DETACH - Process Programs Noninteractively ΓòÉΓòÉΓòÉ
  2847.  
  2848. Starts and simultaneously detaches an OS/2 program from its command processor. 
  2849.  
  2850. DETACH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2851.  
  2852. Any program that is started with DETACH must be able to process programs 
  2853. independently outside the control of the command processor.  DETACH should not 
  2854. issue any input or output calls to the keyboard, the mouse, or the display. 
  2855.  
  2856. You can detach any program, command, or file that does not require the use of a 
  2857. screen (for example, internal commands and batch (.CMD) files).  The OS/2 
  2858. operating system detaches CMD.EXE when it runs the internal command or batch 
  2859. file. For example, if you type DETACH DIR, it is changed to the equivalent of 
  2860. DETACH CMD.EXE /C DIR. 
  2861.  
  2862. CMD.EXE uses the value of the COMSPEC environment variable to locate the 
  2863. CMD.EXE that should be detached before it runs internal commands and batch 
  2864. files. 
  2865.  
  2866. You can use DETACH with redirection sequences to redirect a program's standard 
  2867. input and output to devices other than the keyboard and the display.  This 
  2868. allows the program to run noninteractively. 
  2869.  
  2870.  
  2871. ΓòÉΓòÉΓòÉ <hidden> DETACH      Examples ΓòÉΓòÉΓòÉ
  2872.  
  2873. To start and detach a batch program named SAMPLE.CMD from its command 
  2874. processor, enter the following: 
  2875.  
  2876. DETACH SAMPLE.CMD
  2877.  
  2878. To detach the CL command for compiling the TEST.C file and redirect the output 
  2879. to LPT1, enter the following: 
  2880.  
  2881. DETACH CL -C TEST.C > LPT1
  2882.  
  2883.  
  2884. ΓòÉΓòÉΓòÉ 4.28. DEVICE - Install Device Drivers ΓòÉΓòÉΓòÉ
  2885.  
  2886. Installs a device driver by specifying the path and complete file name of the 
  2887. device driver in your CONFIG.SYS file. 
  2888.  
  2889. DEVICE=ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  2890.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  2891.  
  2892. Related Commands:  BASEDEV 
  2893.  
  2894. A device driver is a file that contains the code needed so that the OS/2 
  2895. operating system can recognize the device and correctly process information 
  2896. received from or sent to that device. It loads standard default drivers that 
  2897. support standard system display terminals, keyboards, printers, diskette 
  2898. drives, hard disk drives, and serial devices.  You can, however, replace these 
  2899. or add other devices by coding and loading a device driver using DEVICE 
  2900. statements in the CONFIG.SYS file.  DEVICE statements are processed in the 
  2901. order in which they appear in the CONFIG.SYS file. 
  2902.  
  2903. Any time you add or make changes to the CONFIG.SYS file, you must restart the 
  2904. system in order for the new device or change to become effective. Remember, the 
  2905. CONFIG.SYS file is read only during system startup.  Anything added to this 
  2906. file after system initialization does not work until you restart the system. 
  2907.  
  2908. Your OS/2 diskettes contain the following device drivers: 
  2909.  
  2910. ANSI.SYS            Allows extended screen and keyboard support for DOS 
  2911.                     sessions. 
  2912.  
  2913. COM.SYS             Allows OS/2 application programs or system programs, such 
  2914.                     as SPOOL, to use serial devices. 
  2915.  
  2916. EGA.SYS             Allows DOS programs that require Enhanced Graphics Adapter 
  2917.                     support to be run. 
  2918.  
  2919. EXTDSKDD.SYS        Allows access to an external diskette drive referencing a 
  2920.                     logical drive letter. 
  2921.  
  2922. LOG.SYS             Allows system error logging using the SYSLOG utility 
  2923.                     program. 
  2924.  
  2925. MOUSE.SYS           Provides support for pointing devices. 
  2926.  
  2927. PMDD.SYS            Provides pointer draw support for OS/2 sessions 
  2928.  
  2929. POINTDD.SYS         Provides mouse pointer draw support. 
  2930.  
  2931. TOUCH.SYS           Provides support for touch devices. 
  2932.  
  2933. VDISK.SYS           Installs a simulated disk called a virtual disk. 
  2934.  
  2935. VEMM.SYS            Provides DOS Expanded Memory Manager. 
  2936.  
  2937. VXMS.SYS            Provides DOS Extended Memory Specification. 
  2938.  
  2939. The Device Support diskette that comes with the OS/2 operating system contains 
  2940. Printer device drivers.  Refer to the Master Help Index for information about 
  2941. installing these files. 
  2942.  
  2943.  
  2944. ΓòÉΓòÉΓòÉ 4.28.1. Install DOS and OS/2 Device Drivers ΓòÉΓòÉΓòÉ
  2945.  
  2946. Both DOS and OS/2 device drivers can be loaded with the DEVICE statement.  OS/2 
  2947. device drivers are initialized when you start the OS/2 operating system and can 
  2948. process requests from either DOS or OS/2 programs.  DOS device drivers are also 
  2949. initialized when you start the OS/2 operating system but they can only process 
  2950. requests from DOS programs. 
  2951.  
  2952. You can also install a device driver by using one of the following: 
  2953.  
  2954. o OS/2 System Installation program 
  2955. o DDINSTAL command 
  2956. o System Editor 
  2957.  
  2958. OS/2 System Installation is a menu-driven program designed to guide you through 
  2959. the installation process of installing OS/2 2.0 on all systems supported by 
  2960. OS/2 2.0.  It installs the device drivers that are required for your system's 
  2961. operation. It also installs device drivers supplied on separate Device Support 
  2962. diskettes. 
  2963.  
  2964. DDINSTAL provides an automated way to install device drivers after you have 
  2965. installed the OS/2 operating system. Any device that you can add comes with a 
  2966. separate diskette called a Device Support diskette.  That diskette has a device 
  2967. driver profile (a file with a .DDP extension) that controls the installation 
  2968. process. DDINSTAL uses the information from that profile to add the necessary 
  2969. statements to CONFIG.SYS and to copy all the support files into their 
  2970. appropriate directories on the hard disk. 
  2971.  
  2972. Some device drivers are very simple. They do not have, nor do they depend on, 
  2973. other support files to operate.  Because of their simplicity, you can easily 
  2974. install these types of device drivers without much trouble by using an editor 
  2975. such as the System Editor and adding a DEVICE statement in your CONFIG.SYS 
  2976. file. 
  2977.  
  2978.  
  2979. ΓòÉΓòÉΓòÉ <hidden> DEVICE Examples ΓòÉΓòÉΓòÉ
  2980.  
  2981. To specify a device driver named PRINTER.SYS located in the OS2 directory type 
  2982. the following in your CONFIG.SYS file: 
  2983.  
  2984. DEVICE=OS2\PRINTER.SYS
  2985.  
  2986. To specify a device driver named PRINTER.SYS located in the OS2 directory and 
  2987. activate a G switch option, type the following in the CONFIG.SYS file: 
  2988.  
  2989. DEVICE=OS2\PRINTER.SYS /G
  2990.  
  2991.  
  2992. ΓòÉΓòÉΓòÉ 4.29. DEVICE (ANSI.SYS) - Install Extended Display and Keyboard Support ΓòÉΓòÉΓòÉ
  2993.  
  2994. Allows you to use extended keyboard and display support in DOS sessions. This 
  2995. device driver has no effect on OS/2 sessions. 
  2996.  
  2997.                                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2998.                                                            Γöé
  2999. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ ANSI.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  3000.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇΓöÇΓöÇ /X ΓöÇΓöÇΓöÇΓöñ
  3001.                                                Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöñ
  3002.                                                ΓööΓöÇΓöÇΓöÇ /K ΓöÇΓöÇΓöÇΓöÿ
  3003.  
  3004. Related Commands:  ANSI 
  3005.  
  3006. You specify this support by placing this DEVICE statement in your CONFIG.SYS 
  3007. file.  Then, when you start the OS/2 operating system and switch to a DOS 
  3008. session, the standard input and standard output support is replaced with the 
  3009. extended functions. These functions allow you to redefine keys, manipulate the 
  3010. cursor, and change display color attributes. If you no longer want the extended 
  3011. functions for DOS sessions, you can remove the DEVICE=C:\OS2\MDOS\ANSI.SYS 
  3012. statement from your CONFIG.SYS file and restart the system. 
  3013.  
  3014.  
  3015. ΓòÉΓòÉΓòÉ <hidden> ANSI.SYS Examples ΓòÉΓòÉΓòÉ
  3016.  
  3017. To provide extended functions for DOS sessions, type the following statement in 
  3018. your CONFIG.SYS file and restart the system. 
  3019.  
  3020. DEVICE=C:\OS2\MDOS\ANSI.SYS
  3021.  
  3022. To install ANSI.SYS and be able to redefine your extended key values, type the 
  3023. following in the CONFIG.SYS file: 
  3024.  
  3025. DEVICE=C:\OS2\MDOS\ANSI.SYS /X
  3026.  
  3027. To enable ANSI.SYS to retain the number of rows specified by the MODE command, 
  3028. type the following in the CONFIG.SYS file: 
  3029.  
  3030. DEVICE=C:\OS2\MDOS\ANSI.SYS /L
  3031.  
  3032. To allow a system with an enhanced keyboard to be functionally compatible with 
  3033. the conventional keyboard, type the following in the CONFIG.SYS file: 
  3034.  
  3035. DEVICE=C:\OS2\MDOS\ANSI.SYS /K
  3036.  
  3037.  
  3038. ΓòÉΓòÉΓòÉ 4.30. DEVICE (COM.SYS) - Install Serial Device Support ΓòÉΓòÉΓòÉ
  3039.  
  3040. Allows OS/2 application programs or system programs, such as SPOOL, to use 
  3041. serial devices. 
  3042.  
  3043. Device drivers that support serial ports COM1 through COM4 must be listed 
  3044. before the DEVICE=C:\OS2\COM.SYS statement in the CONFIG.SYS file, or the port 
  3045. will be unavailable to COM.SYS. 
  3046.  
  3047. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ COM.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3048.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3049.  
  3050. The COM.SYS and COMDMA.SYS system files support ports COM1, COM2, COM3, and 
  3051. COM4. 
  3052.  
  3053. This device driver supports applications with the following RS-232C (serial 
  3054. device) interface functions: 
  3055.  
  3056. o Duplex communication 
  3057. o Automatic flow control (XON/XOFF) for both transmit and receive 
  3058. o Various modem line handshaking modes 
  3059. o Standard and nonstandard baud rates 
  3060. o Receive data-error character replacement. 
  3061.  
  3062. It also supports these system features: 
  3063.  
  3064. o Multiple active COM ports 
  3065. o Read and write request queueing 
  3066. o Interrupt-driven I/O processing 
  3067. o Internal transmit and receive data buffers 
  3068. o Several device status query functions. 
  3069.  
  3070. COM.SYS does not provide any support for devices that are attached to the COM 
  3071. port.  Instead, it provides enabling support for the asynchronous 
  3072. communications interface itself.  Application programs, subsystems, and system 
  3073. programs must provide the support needed to use devices attached to the COM 
  3074. port. 
  3075.  
  3076. This device driver allows other device drivers that support specific COM ports 
  3077. to be installed, provided that they are listed before COM.SYS in the CONFIG.SYS 
  3078. file.  This allows support for: 
  3079.  
  3080. o A special device for an application program's use that is not adequately 
  3081.   supported by this device driver 
  3082. o Additional COM ports beside COM1 through COM4 
  3083. o Enhanced device driver function for a COM port (which might be required for 
  3084.   certain subsystem support). 
  3085.  
  3086.  
  3087. ΓòÉΓòÉΓòÉ <hidden> COM.SYS Examples ΓòÉΓòÉΓòÉ
  3088.  
  3089. To provide file system support for communications ports COM1 through COM4, 
  3090. ensure the device drivers that support serial ports COM1 COM2, COM3, and COM4 
  3091. are listed before the COM statement as in your CONFIG.SYS file as follows: 
  3092.  
  3093. DEVICE=C:\OS2\printer1.SYS
  3094. DEVICE=C:\OS2\printer2.SYS
  3095. DEVICE=C:\OS2\printer3.SYS
  3096. DEVICE=C:\OS2\printer4.SYS
  3097. DEVICE=C:\OS2\COM.SYS
  3098.  
  3099. To provide file system support for communications ports COM1 through COM4 for 
  3100. PS/2 models 90 and 95, ensure the device drivers that support serial ports 
  3101. COM1, COM2, COM3, and COM4 are listed before the COM statement as in the 
  3102. CONFIG.SYS file as follows: 
  3103.  
  3104. DEVICE=C:\OS2\printer1.SYS
  3105. DEVICE=C:\OS2\printer2.SYS
  3106. DEVICE=C:\OS2\printer3.SYS
  3107. DEVICE=C:\OS2\printer4.SYS
  3108. DEVICE=C:\OS2\COMDMA.SYS
  3109.  
  3110.  
  3111. ΓòÉΓòÉΓòÉ 4.31. DEVICE (EGA.SYS) - Install Enhanced Graphics Support ΓòÉΓòÉΓòÉ
  3112.  
  3113. Supports the EGA register interface. 
  3114.  
  3115. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ EGA.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3116.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3117.  
  3118. The EGA.SYS device driver provides support for the EGA register interface in 
  3119. DOS sessions. EGA.SYS must be installed for those application programs that use 
  3120. the EGA register interface. 
  3121.  
  3122.  
  3123. ΓòÉΓòÉΓòÉ <hidden> EGA.SYS Examples ΓòÉΓòÉΓòÉ
  3124.  
  3125. To provide support for the EGA register interface in DOS sessions, type the 
  3126. following statement in your CONFIG.SYS file: 
  3127.  
  3128. DEVICE=C:\OS2\EGA.SYS
  3129.  
  3130.  
  3131. ΓòÉΓòÉΓòÉ 4.32. DEVICE (EXTDSKDD.SYS) - Assign a Drive Letter to a Diskette Drive ΓòÉΓòÉΓòÉ
  3132.  
  3133. Allows you to access a disk using a logical drive letter. 
  3134.  
  3135. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ EXTDSKDD.SYSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3136.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3137.  
  3138.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3139.                                    Γöé
  3140. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D:d ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3141.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /T:t ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3142.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S:s ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3143.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H:h ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3144.       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F:f ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3145.  
  3146. More than one external device driver can be installed at the same time.  The 
  3147. maximum number is the total number of physical diskette drives installed in 
  3148. your system. Installed virtual disks do not affect the drive letter assignments 
  3149. described here if DEVICE=C:\OS2\VDISK.SYS statements are listed after 
  3150. DEVICE=C:\OS2\EXTDSKDD.SYS statements in the CONFIG.SYS file. 
  3151.  
  3152.  
  3153. ΓòÉΓòÉΓòÉ 4.32.1. Assign Drive Letters ΓòÉΓòÉΓòÉ
  3154.  
  3155. The first physical internal diskette drive is designated drive A. The second 
  3156. internal diskette drive is designated drive B. Other devices or device drivers 
  3157. are assigned letter values (beginning with C) based on the order in which they 
  3158. are encountered.  The existence of internal diskette drives and hard disks is 
  3159. checked first; then the CONFIG.SYS file is checked for device drivers. For the 
  3160. OS/2 operating system to recognize an external physical device, the CONFIG.SYS 
  3161. file must have the correct device driver information. 
  3162.  
  3163. The drive letter B is automatically used, even if there is only one physical 
  3164. drive; thus, a machine with only one diskette drive has two logical diskette 
  3165. drives: A and B. In this case, a specified parameter of /D:1 is an error. The 
  3166. first hard disk or the first block device driver cannot assign a drive letter 
  3167. lower than C. 
  3168.  
  3169.  
  3170. ΓòÉΓòÉΓòÉ <hidden> EXTDSKDD.SYS Examples ΓòÉΓòÉΓòÉ
  3171.  
  3172. To specify the first physical diskette drive, accessed as A: from the command 
  3173. prompt, type the following statement in your CONFIG.SYS file and restart your 
  3174. system: 
  3175.  
  3176. DEVICE=C:\OS2\EXTDSKDD.SYS /D:0
  3177.  
  3178. Physical Diskette Drive Table 
  3179.  
  3180. 0 = accessed as A 
  3181. 1 = accessed as B 
  3182. 2 = accessed as D or E external drives only 
  3183.  
  3184. To specify the number of tracks as 36 per side of the physical diskette 
  3185. accessed from the command prompt, type the following statement in your 
  3186. CONFIG.SYS file and restart your system: 
  3187.  
  3188. DEVICE=C:\OS2\EXTDSKDD.SYS /T:36
  3189.  
  3190. The tracks-per-side default is 80 
  3191. Valid tracks per side are 1 through 99 
  3192.  
  3193. To specify the number of sectors as 20 for the physical diskette accessed from 
  3194. the command prompt, type the following statement in your CONFIG.SYS file and 
  3195. restart your system: 
  3196.  
  3197. DEVICE=C:\OS2\EXTDSKDD.SYS /S:20
  3198.  
  3199. The sectors-per-track default is 80 
  3200. Valid sectors per track are 1 through 99 
  3201.  
  3202. To specify the maximum number of heads as 15 for the physical diskette drive 
  3203. accessed from the command prompt, type the following statement in your 
  3204. CONFIG.SYS file and restart your system: 
  3205.  
  3206. DEVICE=C:\OS2\EXTDSKDD.SYS /H:15
  3207.  
  3208. The heads default is 2 
  3209. Valid number of heads is 1 through 99 
  3210.  
  3211. To specify the device type (form factor) 0 for the physical diskette drive 
  3212. accessed from the command prompt, type the following statement in your 
  3213. CONFIG.SYS file and restart your system: 
  3214.  
  3215. DEVICE=C:\OS2\EXTDSKDD.SYS /F:0
  3216.  
  3217. The device type default is 2 
  3218. 0 = 360KB Diskette Drives 
  3219. 1 = 1.2MB Diskette Drives 
  3220. 2 = 720KB 
  3221.  
  3222. To copy from an internal diskette drive to the same drive, and specify a 1.2MB 
  3223. drive as the first (A) diskette drive, a 320/360KB drive as the second (B) 
  3224. diskette drive, and a hard disk (C), type the following statement in the 
  3225. CONFIG.SYS file: 
  3226.  
  3227. DEVICE=C:\OS2\EXTDSKDD.SYS /D:0 /T:80 /S:15 /H:2 /F:1
  3228.  
  3229. The first physical drive can now be referred to as either A or D. 
  3230.  
  3231.  
  3232. ΓòÉΓòÉΓòÉ 4.33. DEVICE (LOG.SYS) - Install Logging Service Device Driver ΓòÉΓòÉΓòÉ
  3233.  
  3234. Activates the System Logging Service device driver. 
  3235.  
  3236. DEVICE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ LOG.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3237.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3238.  
  3239. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3240.             ΓööΓöÇ /E:x ΓöÇΓöÿ ΓööΓöÇ /A:x ΓöÇΓöÿ  ΓööΓöÇ /OFF ΓöÇΓöÿ
  3241.  
  3242. Related Commands:  SYSLOG, RUN (LOGGING) 
  3243.  
  3244. You must include a RUN=LOGDAEM.EXE command in the CONFIG.SYS file in addition 
  3245. to this DEVICE=LOG.SYS statement.  These two commands and their parameters 
  3246. allow the System Logging Service to retrieve log data and keep the data in 
  3247. specific error-log files.  LOG.SYS is the file name of the System Logging 
  3248. Service device driver. 
  3249.  
  3250.  
  3251. ΓòÉΓòÉΓòÉ <hidden> LOG.SYS Examples ΓòÉΓòÉΓòÉ
  3252.  
  3253. To set the size of the System Logging Service error-log buffer to 32KB, type 
  3254. the following in the CONFIG.SYS file: 
  3255.  
  3256. DEVICE=C:\OS2\LOG.SYS /E:32
  3257.  
  3258. To set the size of the System Logging Service error-log device driver entry 
  3259. alert notification buffer to 64KB, type the following in the CONFIG.SYS file: 
  3260.  
  3261. DEVICE=C:\OS2\LOG.SYS /A:64
  3262.  
  3263. To turn error logging off, type the following in the CONFIG.SYS file: 
  3264.  
  3265. DEVICE=C:\OS2\LOG.SYS /OFF
  3266.  
  3267.  
  3268. ΓòÉΓòÉΓòÉ 4.34. DEVICE (MOUSE) - Install a Mouse Device Driver ΓòÉΓòÉΓòÉ
  3269.  
  3270. Implements support for pointing devices. To effectively use a mouse, you must 
  3271. also load the POINTDD.SYS device driver. In addition, you must include these 
  3272. statements in the CONFIG.SYS file in the following order: 
  3273.  
  3274. o A device-dependent statement that gives the file name containing the 
  3275.   information for the mouse you use, along with its model number and the COM 
  3276.   port to which it is connected 
  3277.  
  3278. o A device-independent statement that identifies the mouse to MOUSE.SYS 
  3279.  
  3280. All statements for serial mouse device drivers must precede any COM.SYS 
  3281. statements in the CONFIG.SYS file so that both device drivers are installed 
  3282. correctly. 
  3283.  
  3284. Device Dependent Statement
  3285.  
  3286. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3287.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3288.  
  3289. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3290.        ΓööΓöÇ SERIAL=COMn  ΓöÇΓöÿ
  3291.  
  3292. Device Independent Statement
  3293.  
  3294. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ MOUSE.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3295.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3296.  
  3297. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3298.        Γö£ΓöÇ  QSIZE=q  ΓöÇΓöñ
  3299.        ΓööΓöÇ TYPE=name ΓöÇΓöÿ
  3300.  
  3301. If you want to install an IBM Personal System/2* Mouse on your computer, type 
  3302. the following in the CONFIG.SYS file: 
  3303.  
  3304. DEVICE=C:\OS2\POINTDD.SYS
  3305. DEVICE=C:\OS2\MOUSE.SYS
  3306.  
  3307. Assume you want to install the PC Mouse System serial mouse on your computer 
  3308. and have it use COM port 2 for all sessions.  You would type the following in 
  3309. the CONFIG.SYS file: 
  3310.  
  3311. DEVICE=C:\OS2\POINTDD.SYS
  3312. DEVICE=C:\OS2\PCLOGIC.SYS SERIAL=COM2
  3313. DEVICE=C:\OS2\MOUSE.SYS TYPE=PCLOGIC$
  3314. DEVICE=C:\OS2\COM.SYS
  3315.  
  3316. Note:   For IBM PS/2* Models 90 and 95, the final DEVICE= statement should be: 
  3317.  
  3318.                 DEVICE=C:\OS2\COMDMA.SYS
  3319.  
  3320. COM.SYS must be loaded after the mouse statements so that the mouse can gain 
  3321. access to the COM port.  For all PS/2 models except Models 90 and 95, the 
  3322. device driver is COM.SYS.  For models 90 and 95, the device driver is 
  3323. COMDMA.SYS. The preceding example dedicates the COM2 port to the mouse. When 
  3324. your system is started, the mouse device driver is loaded and takes the COM2 
  3325. port, leaving the COM1 and COM3 ports available for the COM.SYS device driver 
  3326. to use. You then get a message, as the COM.SYS device driver is being 
  3327. installed, that tells you that the installation on COM2 port was not 
  3328. successful. This message is followed by an additional message: 
  3329.  
  3330. The device adapter could not be located.
  3331.  
  3332. The device adapter is not available because the port has been claimed by the 
  3333. mouse. 
  3334.  
  3335.  
  3336. ΓòÉΓòÉΓòÉ <hidden> MOUSE.SYS Examples ΓòÉΓòÉΓòÉ
  3337.  
  3338. To install an IBM Personal System/2 Mouse on your computer, type the following 
  3339. in the CONFIG.SYS file: 
  3340.  
  3341. DEVICE=C:\OS2\POINTDD.SYS
  3342. DEVICE=C:\OS2\MOUSE.SYS
  3343.  
  3344. To install the PC Mouse System serial mouse on your computer and have it use 
  3345. COM port 2 for all sessions, type the following in the CONFIG.SYS file: 
  3346.  
  3347. DEVICE=C:\OS2\POINTDD.SYS
  3348. DEVICE=C:\OS2\PCLOGIC.SYS SERIAL=COM2
  3349. DEVICE=C:\OS2\MOUSE.SYS TYPE=PCLOGIC$
  3350. DEVICE=C:\OS2\COM.SYS
  3351.  
  3352. For IBM PS/2 Models 90 and 95, the final DEVICE= statement should be: 
  3353.  
  3354. DEVICE=C:\OS2\COMDMA.SYS
  3355.  
  3356.  
  3357. ΓòÉΓòÉΓòÉ 4.35. DEVICE (PMDD.SYS) - Install Presentation Manager Draw Support ΓòÉΓòÉΓòÉ
  3358.  
  3359. Provides pointer draw device-driver support for OS/2 sessions. 
  3360.  
  3361. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ PMDD.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3362.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3363.  
  3364. The DEVICE=PMDD.SYS statement is added to your CONFIG.SYS file when you install 
  3365. the OS/2 operating system. When the system starts, it uses the PMDD.SYS device 
  3366. driver to provide pointer draw support for OS/2 sessions. 
  3367.  
  3368. If the PMDD.SYS device statement is removed from your CONFIG.SYS file, your 
  3369. system will not restart.  If this happens, do the following: 
  3370.  
  3371.  1. Insert the OS/2 Installation Program diskette.  When the logo screen 
  3372.     appears, proceed to the Welcome screen and press Esc. 
  3373.  2. Copy the file, CONFIG.BAK, into the root directory. You now have a generic 
  3374.     backup CONFIG.SYS file that you can rename to be your CONFIG.SYS file. 
  3375.  3. Use the System Editor to edit the CONFIG.SYS file. 
  3376.  4. Restart the system. 
  3377.  
  3378. The following shows the PMDD.SYS statement. 
  3379.  
  3380. DEVICE=C:\OS2\PMDD.SYS
  3381.  
  3382.  
  3383. ΓòÉΓòÉΓòÉ <hidden> PMDD.SYS Examples ΓòÉΓòÉΓòÉ
  3384.  
  3385. To provide pointer draw support for OS/2 sessions, type the following statement 
  3386. in your CONFIG.SYS file: 
  3387.  
  3388. DEVICE=C:\OS2\PMDD.SYS
  3389.  
  3390. Note:   If this statement is not in your CONFIG.SYS file, your system will not 
  3391.         start. 
  3392.  
  3393.  
  3394. ΓòÉΓòÉΓòÉ 4.36. DEVICE (POINTDD.SYS) - Install Mouse Pointer Draw Support ΓòÉΓòÉΓòÉ
  3395.  
  3396. Provides mouse-pointer draw support. To effectively use a mouse, you must load 
  3397. this device driver, in addition to specifying the appropriate mouse 
  3398. device-driver statements in the CONFIG.SYS file. 
  3399.  
  3400. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ POINTDD.SYSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3401.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3402.  
  3403. Related Commands:  DEVICE MOUSE 
  3404.  
  3405. Text modes 0, 1, 2, 3, and 7 are the only modes supported.  For graphic modes 
  3406. D, E, F, and 10, the EGA.SYS device driver must also be installed. 
  3407.  
  3408. POINTDD.SYS provides draw support in all text modes for OS/2 sessions; 
  3409. POINTDD.SYS tracks (provides mode information) for all advanced function modes 
  3410. on the 8514A.  It tracks for CGA, EGA, and VGA graphic modes in OS/2 sessions. 
  3411.  
  3412.  
  3413. ΓòÉΓòÉΓòÉ <hidden> POINTDD.SYS Examples ΓòÉΓòÉΓòÉ
  3414.  
  3415. To provide mouse-pointer draw support in all text modes for OS/2 sessions, type 
  3416. the following statement in your CONFIG.SYS file: 
  3417.  
  3418. DEVICE=C:\OS2\POINTDD.SYS
  3419.  
  3420.  
  3421. ΓòÉΓòÉΓòÉ 4.37. DEVICE (TOUCH.SYS) - Install a Device Driver for Touch Devices ΓòÉΓòÉΓòÉ
  3422.  
  3423. Implements support for touch devices.  For a touch device to be effectively 
  3424. used, the POINTDD.SYS device driver and appropriate mouse device-driver support 
  3425. must be loaded. In addition, these statements must be included in the 
  3426. CONFIG.SYS file in the following order: 
  3427.  
  3428. o A device-dependent statement that gives the name of the file containing the 
  3429.   information for the touch device you use. 
  3430.  
  3431. o A device-independent statement that identifies the touch device to TOUCH.SYS 
  3432.  
  3433. Device Dependent Statement
  3434.  
  3435. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3436.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3437.  
  3438. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇCODEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇINITΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöé
  3439.  
  3440.  
  3441. Device Independent Statement
  3442.  
  3443. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ TOUCH.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3444.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3445.  
  3446. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3447.        Γö£ΓöÇ  QSIZE=q  ΓöÇΓöñ
  3448.        ΓööΓöÇ TYPE=name ΓöÇΓöÿ
  3449.  
  3450. When the OS/2* operating system detects a touch device installed on your 
  3451. computer, the Install program automatically loads the required device-driver 
  3452. support necessary to enable the touch device.  The touch device shares the 
  3453. auxiliary device (mouse) port on the system with the mouse by allowing the 
  3454. mouse to connect to the touch device, which is then connected to the system. 
  3455.  
  3456. The Install program automatically adds the following statements to the 
  3457. CONFIG.SYS file: 
  3458.  
  3459. DEVICE=C:\OS2\PDITOU0x.SYS CODE=C:\OS2TOUCO21.BIN INIT=C:TOUCH.INI
  3460. DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  3461. RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  3462. DEVICE=C:\OS2\MOUSE.SYS TYPE=PDIMOU$
  3463.  
  3464. where x is 1 or 2 depending on the bus architecture of your computer, 
  3465. TOUCO21D.BIN is the touch-device microcode binary file, and TOUCH.INI is a text 
  3466. file containing default parameter settings. 
  3467.  
  3468. The RUN=CALIBRAT.EXE statement is to activate the Calibration program.  This 
  3469. program performs the dual actions of downloading calibration-constant data to 
  3470. the touch device each time the system is started, and enabling recalibration of 
  3471. the touch device at initial setup, and when the device is moved to a new 
  3472. location. 
  3473.  
  3474. To recalibrate the touch device, enter the following at an OS/2 command prompt: 
  3475.  
  3476. C:
  3477. CD \OS2
  3478. CALIBRAT -U
  3479.  
  3480. Note:   The use of the "-U" option updates the existing CALIBRAT.DAT file with 
  3481.         new calibration data. 
  3482.  
  3483.  
  3484. ΓòÉΓòÉΓòÉ <hidden> TOUCH.SYS Examples ΓòÉΓòÉΓòÉ
  3485.  
  3486. The entry in the CONFIG.SYS file for the combined mouse and touch 
  3487. device-dependent driver is as follows: 
  3488.  
  3489. DEVICE=C:\OS2\PDITOU0x.SYS CODE=TOUCO21D.BIN INIT=TOUCH.INI
  3490.  
  3491. where x is 1 or 2 depending on the bus architecture of your computer, 
  3492. TOUCO21D.BIN is the touch-device microcode binary file, and TOUCH.INI is a text 
  3493. file containing default parameter settings. 
  3494.  
  3495. The entry in the CONFIG.SYS file for the touch device-independent driver is as 
  3496. follows: 
  3497.  
  3498. DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  3499.  
  3500.  
  3501. ΓòÉΓòÉΓòÉ 4.38. DEVICE (VDISK.SYS) - Install a Virtual Disk ΓòÉΓòÉΓòÉ
  3502.  
  3503. Installs a virtual disk. 
  3504.  
  3505. Any DEVICE=C:\OS2\VDISK.SYS statements must be listed after any 
  3506. DEVICE=C:\OS2\EXTDSKDD.SYS statements in CONFIG.SYS to avoid affecting logical 
  3507. drive letter assignments. 
  3508.  
  3509. DEVICE= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ VDISK.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇ
  3510.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3511.  
  3512. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  3513.    ΓööΓöÇΓö¼ΓöÇ bytes ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3514.      ΓööΓöÇΓöÇ  , ΓöÇΓöÇΓöÇΓöÿ  ΓööΓö¼ΓöÇ sectors ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3515.                    ΓööΓöÇΓöÇΓöÇΓöÇ  ,  ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓö¼ΓöÇ directories ΓöÇΓö¼ΓöÇΓöÿ
  3516.                                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ  , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3517.  
  3518. The parameters, bytes, sectors, and directories are positional parameters. Use 
  3519. a comma when you do not want to alter the default value of the parameter for 
  3520. which the  comma is being used.  This tells the system to skip past the value 
  3521. it is looking for at this position, insert the default value, and proceed to 
  3522. the next value. 
  3523.  
  3524. The following example shows how to install a 160KB virtual disk with 128-byte 
  3525. sectors and 64 directory entries. Note that all parameters are being specified. 
  3526.  
  3527. DEVICE=C:\OS2\VDISK.SYS 160 128 64
  3528.  
  3529. If you decide to use the default value of any of the parameters, such as the 
  3530. sector size and directory entries, you can enter commas where the values should 
  3531. be. 
  3532.  
  3533. DEVICE=C:\OS2\VDISK.SYS 160,,
  3534.  
  3535. Assume that you want to specify a value for directories and accept the defaults 
  3536. for bytes and sectors. The value for directories should be preceded by two 
  3537. commas, as in this example: 
  3538.  
  3539. DEVICE=C:\OS2\VDISK.SYS ,,32
  3540.  
  3541. However, to indicate only the sectors parameter as the default, you must use 
  3542. two commas as follows: 
  3543.  
  3544. DEVICE=C:\OS2\VDISK.SYS 160,,64
  3545.  
  3546. VDISK displays a message to tell you that it is installed and gives you the 
  3547. drive letter that is assigned to the virtual disk. 
  3548.  
  3549. If the virtual disk size specified is too large to fit in storage, VDISK tries 
  3550. to make a 16KB virtual disk. This may result in a virtual disk with a different 
  3551. number of directory entries than the number you specified with directories. 
  3552.  
  3553.  
  3554. ΓòÉΓòÉΓòÉ <hidden> VDISK.SYS Examples ΓòÉΓòÉΓòÉ
  3555.  
  3556. To install a 160KB virtual disk with 128-byte sectors and 64 directory entries, 
  3557. enter the following in your CONFIG.SYS and restart your system: 
  3558.  
  3559. DEVICE=C:\OS2\VDISK.SYS 160 128 64
  3560.  
  3561. Note:   In the preceding example all parameters are specified in the following 
  3562.         order, bytes, sectors, and directories. 
  3563.  
  3564. You can enter commas for the default values of any of the parameters where the 
  3565. real values should be.  The above example would then be as follows: 
  3566.  
  3567. DEVICE=C:\OS2\VDISK.SYS 160,,
  3568.  
  3569. However, to indicate only the sectors parameter as the default, you must use 
  3570. two commas as follows: 
  3571.  
  3572. DEVICE=C:\OS2\VDISK.SYS 160,,64
  3573.  
  3574. Parameter Default Table 
  3575.  
  3576. Bytes = 64 
  3577.  
  3578. Sectors = 128 
  3579.  
  3580. Directories = 64 
  3581.  
  3582. To specify a value for directories and accept the defaults for bytes. and 
  3583. sectors, enter the following in your CONFIG.SYS file and restart your system: 
  3584.  
  3585. DEVICE=C:\OS2\VDISK.SYS ,,32
  3586.  
  3587.  
  3588. ΓòÉΓòÉΓòÉ <hidden> Non-IBM Trademarks ΓòÉΓòÉΓòÉ
  3589.  
  3590. The following terms, denoted by a double asterisk (**) in this information, are 
  3591. trademarks of other companies as follows: 
  3592.  
  3593. Intel is a trademark of Intel Corporation. 
  3594. Logitech is a trademark of Logitech, Inc. 
  3595. Lotus is a trademark of Lotus Development Corporation. 
  3596. Microsoft is a trademark of Microsoft Corporation. 
  3597. Visi-On is a trademark of Visicorp. 
  3598.  
  3599.  
  3600. ΓòÉΓòÉΓòÉ 4.39. DEVICE (VEMM.SYS) - Provide DOS Expanded Memory Manager ΓòÉΓòÉΓòÉ
  3601.  
  3602. Provides Expanded Memory Manager (EMM) for DOS sessions. 
  3603.  
  3604. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ VEMM.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  3605.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ n ΓöÇΓöÿ
  3606.  
  3607. Related Commands:  PROTECTONLY 
  3608.  
  3609. VEMM.SYS is a virtual device driver that provides the 
  3610. Lotus**/Intel**/Microsoft** (LIM) Version 4.0 Expanded Memory Specification 
  3611. (EMS) emulation to DOS sessions.  VEMM.SYS allows DOS applications to allocate 
  3612. and map expanded memory on the Intel 8086 family of computers. 
  3613.  
  3614. Any DEVICE=C:\OS2\VEMM.SYS n statements must be listed before any 
  3615. DEVICE=C:\OS2\MDOS\VXMS.SYS statements in the CONFIG.SYS file since VEMM 
  3616. searches for unused addresses between 640KB and 1MB. 
  3617.  
  3618. The following example shows the statement you type in the CONFIG.SYS file: 
  3619.  
  3620. DEVICE=C:\OS2\VEMM.SYS n
  3621.  
  3622.  
  3623. ΓòÉΓòÉΓòÉ <hidden> VEMM.SYS Examples ΓòÉΓòÉΓòÉ
  3624.  
  3625. To provide a virtual device driver that provides Lotus**/Intel**/Microsoft** 
  3626. (LIM) Version 4.0 Expanded Memory Specification (EMS) emulation to DOS sessions 
  3627. with an EMM of 10KB, type the following statement in your CONFIG.SYS file and 
  3628. restart your system: 
  3629.  
  3630. DEVICE=C:\OS2\VEMM.SYS 10
  3631.  
  3632. The Default is 4096KB (4MB) 
  3633.  
  3634.  
  3635. ΓòÉΓòÉΓòÉ 4.40. DEVICE (VXMS.SYS) - Provide DOS Extended Memory Specification ΓòÉΓòÉΓòÉ
  3636.  
  3637. Provides Extended Memory Specification (XMS) for DOS sessions. 
  3638.  
  3639. DEVICE= ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ VXMS.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  3640.           ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇ XMMLIMIT=g,i ΓöÇΓöñ
  3641.                                               Γö£ΓöÇΓöÇΓöÇ HMAMIN=d ΓöÇΓöÇΓöÇΓöñ
  3642.                                               Γö£ΓöÇ NUMHANDLES=n ΓöÇΓöñ
  3643.                                               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ UMB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3644.                                               ΓööΓöÇΓöÇΓöÇΓöÇ NOUMB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3645.  
  3646. VXMS.SYS is a virtual device driver that provides Extended Memory Specification 
  3647. (XMS) emulation to DOS sessions.  XMS allows DOS applications to access more 
  3648. than 1MB of memory, under XMS control. 
  3649.  
  3650. If multiple DOS session support is requested during Installation, the system 
  3651. places the following statements in the CONFIG.SYS file to provide the XMS, VDD, 
  3652. and Load DOS High support to DOS sessions. 
  3653.  
  3654. DOS=HIGH,UMB
  3655. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  3656.  
  3657. Any DEVICE=C:\OS2\MDOS\VXMS.SYS statements must be listed after 
  3658. DEVICE=C:\OS2\VEMM.SYS statements in the CONFIG.SYS file because VXMS reserves 
  3659. all available addresses between 640KB and 1MB for use as upper memory blocks 
  3660. (UMBs).  VXMS will not be installed if some other device driver has already 
  3661. reserved the region from 1MB to 1MB+64KB. 
  3662.  
  3663.  
  3664. ΓòÉΓòÉΓòÉ <hidden> VXMS.SYS Examples ΓòÉΓòÉΓòÉ
  3665.  
  3666. To provide Extended Memory Specification (XMS) emulation to allow DOS 
  3667. applications access to greater than 1MB of memory, under XMS control, type the 
  3668. following statement in your CONFIG.SYS file: 
  3669.  
  3670. DEVICE=C:\OS2\MDOS\VXMS.SYS
  3671.  
  3672. To set the global (system-wide) maximum memory usage of the VXMS driver to g 
  3673. KB, and a DOS session maximum of i KB, type the following in your CONFIG.SYS 
  3674. file and restart your system: 
  3675.  
  3676. DEVICE=C:\OS2\MDOS\VXMS.SYS /XMMLIMIT=g,i
  3677.  
  3678. The default is /XMMLIMIT=4096,1024 
  3679.  
  3680. To set the minimum request size (in KB) for a High Memory Area (HMA) request to 
  3681. succeed, type the following in your CONFIG.SYS file and restart your system. 
  3682. Values are restricted to the range of 0 to 63. 
  3683.  
  3684. DEVICE=C:\OS2\MDOS\VXMS.SYS /HMAMIN=d
  3685.  
  3686. The default is /HMAMIN=0 
  3687.  
  3688. To set the number of handles available in each DOS session, type the following 
  3689. in your CONFIG.SYS file and restart your system.  Values are restricted to the 
  3690. range of 0 to 128. 
  3691.  
  3692. DEVICE=C:\OS2\MDOS\VXMS.SYS /NUMHANDLES=n
  3693.  
  3694. The default is /NUMHANDLES=32 
  3695.  
  3696. To instruct XMS to create upper memory blocks, type the following in your 
  3697. CONFIG.SYS file and restart your system: 
  3698.  
  3699. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  3700.  
  3701. The default is  /off 
  3702.  
  3703. To instruct XMS not to create upper memory blocks, type the following in your 
  3704. CONFIG.SYS file and restart your system: 
  3705.  
  3706. DEVICE=C:\OS2\MDOS\VXMS.SYS /NOUMB
  3707.  
  3708. The default is  /NOUMB 
  3709.  
  3710.  
  3711. ΓòÉΓòÉΓòÉ 4.41. DEVICEHIGH - Load DOS Device Driver into Upper Memory ΓòÉΓòÉΓòÉ
  3712.  
  3713. Loads a specified DOS device driver into an available upper memory block (UMB) 
  3714. for a DOS session. 
  3715.  
  3716. DEVICEHIGH= Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  3717.             ΓööΓöÇ SIZE=xx ΓöÇΓöÿΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  3718.  
  3719. Related Commands:  LOADHIGH, DOS (UMB/NOUMB) 
  3720.  
  3721. DOS device drivers are normally loaded into low memory (below 640KB) in DOS 
  3722. sessions.  However, when you type the DEVICEHIGH= statement into your 
  3723. CONFIG.SYS file, the operating system will attempt to load the specified DOS 
  3724. device driver into an available upper memory block (UMB).  If a UMB is not 
  3725. available, the device driver will be loaded into low memory as is done for a 
  3726. DEVICE= statement.  To enable UMBs, type the DOS=UMB statement in the 
  3727. CONFIG.SYS file. 
  3728.  
  3729.  
  3730. ΓòÉΓòÉΓòÉ <hidden> DEVICEHIGH Examples ΓòÉΓòÉΓòÉ
  3731.  
  3732. To load the ANSI.SYS device driver into an upper memory block (UMB), type the 
  3733. following in the CONFIG.SYS file: 
  3734.  
  3735. DEVICEHIGH=C:\OS2\MDOS\ANSI.SYS
  3736.  
  3737.  
  3738. ΓòÉΓòÉΓòÉ 4.42. DEVINFO - Prepare Devices for Code-Page Switching ΓòÉΓòÉΓòÉ
  3739.  
  3740. DEVINFO statements prepare a device (such as your keyboard, display terminal, 
  3741. and printer) for code-page switching.  Separate DEVINFO statements are required 
  3742. for each device to be used for code-page switching. 
  3743.  
  3744. DEVINFOΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  3745.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  3746.  
  3747. There are three different DEVINFO statements you can use: 
  3748.  
  3749. KBD               Prepares a keyboard for code-page switching.  The keyboard 
  3750.                   statement specifies your keyboard layout ID (keyboard country 
  3751.                   and subcountry codes) and a file named KEYBOARD.DCP that 
  3752.                   contains a keyboard layout table for translating keystrokes 
  3753.                   into the characters of each code page supported by the OS/2 
  3754.                   operating system.  Refer to the KEYB command for a table 
  3755.                   containing the keyboard country and subcountry codes. 
  3756.  
  3757. SCR               Prepares a display screen for code page switching.  The 
  3758.                   display statement specifies your display name and a file 
  3759.                   named VIOTBL.DCP that contains a video font table for 
  3760.                   displaying characters in each of the code pages supported by 
  3761.                   the OS/2 operating system. 
  3762.  
  3763. LPT#              Prepares a printer for code page switching.  The printer 
  3764.                   statement specifies your printer name and a file with a .DCP 
  3765.                   extension that contains a printer font table for each code 
  3766.                   page supported by the OS/2 operating system. 
  3767.  
  3768.  
  3769. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Device Examples ΓòÉΓòÉΓòÉ
  3770.  
  3771. Keyboard Examples 
  3772.  
  3773. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  3774. the CONFIG.SYS file: 
  3775.  
  3776. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  3777.  
  3778. To prepare the enhanced French keyboard 120, type the following in the 
  3779. CONFIG.SYS file: 
  3780.  
  3781. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  3782.  
  3783. Display Examples 
  3784.  
  3785. To prepare a CGA display, type the following in the CONFIG.SYS file: 
  3786.  
  3787. DEVINFO=SCR,CGA,C:\OS2\VIOTBL.DCP
  3788.  
  3789. To prepare an EGA display, type the following in the CONFIG.SYS file: 
  3790.  
  3791. DEVINFO=SCR,EGA,C:\OS2\VIOTBL.DCP
  3792.  
  3793. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  3794.  
  3795. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  3796.  
  3797. To prepare a BGA display, type the following in the CONFIG.SYS file: 
  3798.  
  3799. DEVINFO=SCR,BGA,C:\OS2\VIOTBL.DCP
  3800.  
  3801. Printers Examples 
  3802.  
  3803. To prepare a Proprinter* Model II as your first parallel printer, type the 
  3804. following statement in the CONFIG.SYS file: 
  3805.  
  3806. DEVINFO=LPT1,4201,C:\OS2\4201.DCP,ROM=(437,0)
  3807.  
  3808. To set up an IBM Quietwriter* III and use code page 850 and 860, in addition to 
  3809. 437, enter: 
  3810.  
  3811. DEVINFO=LPT1,5202,C:\OS2\5202.DCP,ROM=(437,011),
  3812. (437,085),(437,254),
  3813. (437,159),(850,254),(850,159),
  3814. (860,011),(860,085)
  3815.  
  3816. Note:   The above statement must appear as one line in your CONFIG.SYS file. 
  3817.  
  3818.  
  3819. ΓòÉΓòÉΓòÉ 4.43. DEVINFO (Display) - Prepare a Display for Code-Page Switching ΓòÉΓòÉΓòÉ
  3820.  
  3821. Prepares a display for system code-page switching. 
  3822.  
  3823. DEVINFO = SCR ΓöÇΓöÇ ,device, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  3824.                            ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  3825.  
  3826. This statement is one of the interrelated CONFIG.SYS statements required for 
  3827. successful code-page switching. The other statements are: CODEPAGE and COUNTRY 
  3828.  
  3829. The display statement specifies your display name and a file named VIOTBL.DCP 
  3830. that contains a video font table for displaying characters in each of the code 
  3831. pages supported by the system. 
  3832.  
  3833. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  3834.  
  3835. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  3836.  
  3837.  
  3838. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Display Examples ΓòÉΓòÉΓòÉ
  3839.  
  3840. To prepare a CGA display, type the following in the CONFIG.SYS file: 
  3841.  
  3842. DEVINFO=SCR,CGA,C:\OS2\VIOTBL.DCP
  3843.  
  3844. To prepare a EGA display, type the following in the CONFIG.SYS file: 
  3845.  
  3846. DEVINFO=SCR,EGA,C:\OS2\VIOTBL.DCP
  3847.  
  3848. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  3849.  
  3850. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  3851.  
  3852. To prepare a BGA display, type the following in the CONFIG.SYS file: 
  3853.  
  3854. DEVINFO=SCR,BGA,C:\OS2\VIOTBL.DCP
  3855.  
  3856.  
  3857. ΓòÉΓòÉΓòÉ 4.44. DEVINFO (Keyboard) - Prepare Keyboard for Code-Page Switching ΓòÉΓòÉΓòÉ
  3858.  
  3859. Prepares a keyboard for system code-page switching. 
  3860.  
  3861. DEVINFO = KBDΓöÇΓöÇΓöÇ ,layout, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  3862.                            ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  3863.  
  3864. This statement is one of the interrelated CONFIG.SYS statements required for 
  3865. successful code-page switching. The other statements are: CODEPAGE and COUNTRY 
  3866.  
  3867. The DEVINFO=KBD statement specifies your keyboard layout and a file named 
  3868. KEYBOARD.DCP that contains a keyboard layout table for translating keystrokes 
  3869. into the characters of each code page supported by the system. 
  3870.  
  3871. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  3872. the CONFIG.SYS file: 
  3873.  
  3874. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  3875.  
  3876. Remember the following if you want to prepare an enhanced keyboard.  All 
  3877. countries have at least one Sub-Country code supported by the OS/2 operating 
  3878. system.  Several countries such as France, Italy, and the United Kingdom have 
  3879. two.  Because these countries have more than one keyboard layout, the 
  3880. subcountry code allows you to select the keyboard you want.  If you do not 
  3881. specify a subcountry code for these countries, DEVINFO uses the default 
  3882. subcountry codes: FR189 (for France), IT141 (for Italy), and UK166 (for the 
  3883. United Kingdom). 
  3884.  
  3885. To prepare the enhanced French keyboard 120, type the following in the 
  3886. CONFIG.SYS file: 
  3887.  
  3888. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  3889.  
  3890.  
  3891. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Keyboard Examples ΓòÉΓòÉΓòÉ
  3892.  
  3893. To specify the name of the file KEYBOARD.DCP, that contains the keyboard 
  3894. layouts, found in the C:\OS2 subdirectory, type the following in the 
  3895. CONFIG.SYS: 
  3896.  
  3897. DEVINFO=KBD,layout C:\OS2\KEYBOARD.DCP.
  3898.  
  3899. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  3900. the CONFIG.SYS file: 
  3901.  
  3902. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  3903.  
  3904. To prepare the enhanced French keyboard 120, type the following in the 
  3905. CONFIG.SYS file: 
  3906.  
  3907. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  3908.  
  3909.  
  3910. ΓòÉΓòÉΓòÉ 4.45. DEVINFO (Printer) - Prepare a Printer for Code-Page Switching ΓòÉΓòÉΓòÉ
  3911.  
  3912. Prepares a parallel printer for system code-page switching. 
  3913.  
  3914. DEVINFO = PRN ΓöÇΓö¼ΓöÇ,device, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇ
  3915.          LPT# ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  3916.  
  3917. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3918.      ΓööΓöÇ ,ROM= ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ nnn ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  3919.                 Γöé             Γöé     Γöé
  3920.                 Γöé     ΓööΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÿ     Γöé
  3921.                 ΓööΓöÇΓöÇΓöÇ (nnn,fontid) ΓöÇΓö¼ΓöÇΓöÿ
  3922.                                   Γöé
  3923.                    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3924.  
  3925. This statement is one of the interrelated CONFIG.SYS statements required for 
  3926. successful code-page switching. The other statements are: CODEPAGE and COUNTRY. 
  3927.  
  3928. This DEVINFO statement specifies your printer name and a file with a .DCP 
  3929. extension that contains a printer font table for each code page supported by 
  3930. the system. 
  3931.  
  3932. If you want to prepare a Proprinter Model II as your first parallel printer, 
  3933. type the following statement in the CONFIG.SYS file: 
  3934.  
  3935. DEVINFO=LPT1,4201,C:\OS2\4201.DCP,ROM=(437,0)
  3936.  
  3937. If you want to use fonts other than the defaults, include the code page and 
  3938. font combinations on the ROM parameter in the correct order (imbedded fonts 
  3939. first). For example, if you want to set up an IBM Quietwriter III and use code 
  3940. page 850 and 860, in addition to 437, enter: 
  3941.  
  3942. DEVINFO=LPT1,5202,C:\OS2\5202.DCP,ROM=(437,011),
  3943. (437,085),(437,254),
  3944. (437,159),(850,254),(850,159),
  3945. (860,011),(860,085)
  3946.  
  3947. This statement must appear as one line in your CONFIG.SYS file. 
  3948.  
  3949. If you do not correctly specify the required file names, or if you specify 
  3950. incorrect code pages in your CODEPAGE statement (those other than the two 
  3951. supported by the country code in your COUNTRY statement), the device is not 
  3952. prepared for code page switching.  If a drive and path are not specified, the 
  3953. operating system looks for the file in the root directory of the default drive. 
  3954.  
  3955. Also, remember that the keyword ROM is significant only for printers.  Each ROM 
  3956. specification can be a pair of values enclosed in parentheses, where the first 
  3957. value is the system code page, and the second value is the number of a font 
  3958. that is in read-only storage or in a cartridge installed in the printer.  If 
  3959. multiple fonts are not used, specify only the system code pages, separated by 
  3960. commas and without the parentheses. 
  3961.  
  3962.  
  3963. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Printer Examples ΓòÉΓòÉΓòÉ
  3964.  
  3965. To prepare a Proprinter Model II as your first parallel printer, type the 
  3966. following statement in the CONFIG.SYS file: 
  3967.  
  3968. DEVINFO=LPT1,4201,C:\OS2\4201.DCP,ROM=(437,0)
  3969.  
  3970. To set up an IBM Quietwriter III and use code page 850 and 860, in addition to 
  3971. 437, type the following statements in your CONFIG.SYS file: 
  3972.  
  3973. DEVINFO=LPT1,5202,C:\OS2\5202.DCP,ROM=(437,011),
  3974. (437,085),(437,254),
  3975. (437,159),(850,254),(850,159),
  3976. (860,011),(860,085)
  3977.  
  3978. NOTE: The above statement must appear as one line in your CONFIG.SYS file. 
  3979.  
  3980.  
  3981. ΓòÉΓòÉΓòÉ 4.46. DIR - Display Files in a Directory ΓòÉΓòÉΓòÉ
  3982.  
  3983. Lists the files and subdirectories in a directory. 
  3984.  
  3985. DIR ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3986.       ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ  Γöé
  3987.      Γöé                                        Γöé
  3988.      ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3989.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3990.                                Γöé
  3991. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3992.          Γöé  Γö£ΓöÇΓöÇ/W ΓöÇΓöñ  Γöé
  3993.          Γöé  ΓööΓöÇ /F ΓöÇΓöÿ  Γöé
  3994.          Γö£ΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöñ
  3995.          Γö£ΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöñ
  3996.          Γö£ΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöñ
  3997.          Γö£ΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöñ
  3998.          Γö£ΓöÇΓöÇΓöÇΓöÇ /O ΓöÇΓöÇΓöÇΓöÇΓöñ
  3999.          Γö£ΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöñ
  4000.          Γö£ΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöñ
  4001.          ΓööΓöÇΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4002.  
  4003. Related Commands:  CHDIR, MKDIR, RMDIR, TREE. 
  4004.  
  4005. Typing DIR, without a parameter, lists the files in the current directory. You 
  4006. can also: 
  4007.  
  4008. o List the files in the parent directory of the current directory by typing DIR 
  4009.   .. 
  4010. o Send the directory listing to your printer by typing DIR >PRN 
  4011.  
  4012. The system displays the name, size (in bytes), and the date and time you placed 
  4013. the information in the file. DIR also displays the disk volume label and volume 
  4014. serial number.  It also gives the total number of files, the number of bytes 
  4015. used in the files displayed, and the amount of free space (in bytes) remaining 
  4016. on the disk. 
  4017.  
  4018. Note that directory entries for hidden system files are not listed, even if 
  4019. they are present.  Also, if you do not specify a file name extension, the 
  4020. default is *, which indicates that all files with that file name (regardless of 
  4021. the extension) should be displayed. DIR displays files consecutively on the 
  4022. screen if you specify multiple file names. You can include a drive and path 
  4023. when specifying multiple file names and may also use the global file-name 
  4024. characters * and ? in the file name you specify. 
  4025.  
  4026.  
  4027. ΓòÉΓòÉΓòÉ <hidden> DIR Examples ΓòÉΓòÉΓòÉ
  4028.  
  4029. To list files in a directory named REPORTS on drive B, enter the following: 
  4030.  
  4031. DIR B:\REPORTS
  4032.  
  4033. To list files in the current directory that have the file name LETTER with any 
  4034. extension, enter the following: 
  4035.  
  4036. DIR LETTER
  4037.  
  4038. To list all files in the current directory that have the extension .BAT, enter 
  4039. the following: 
  4040.  
  4041. DIR *.BAT
  4042.  
  4043. To pause the directory listing for the current directory, enter the following: 
  4044.  
  4045. DIR /P
  4046.  
  4047. To display the current directory listing horizontally on your screen, enter the 
  4048. following: 
  4049.  
  4050. DIR /W
  4051.  
  4052. To display the contents of the current directory in alphabetic order, and then 
  4053. the contents of all its subdirectories, type the following: 
  4054.  
  4055. DIR /S/O
  4056.  
  4057. To display the files but not the directories in the current directory and all 
  4058. its subdirectories, type the following: 
  4059.  
  4060. DIR /S/A:-D
  4061.  
  4062. To display files and directories by date and time, with the earliest first, and 
  4063. in alphabetic order if the dates are identical, type the following: 
  4064.  
  4065. DIR /O:DN
  4066.  
  4067. To display all files by size, largest first, but omit directory names, type the 
  4068. following: 
  4069.  
  4070. DIR /S /A:-D /O:-S
  4071.  
  4072. To select wide display mode for files created using a file system other than 
  4073. File Allocation Table (FAT) on a FAT file system drive, enter the following: 
  4074.  
  4075. DIR /N /W
  4076.  
  4077. To force drives formatted with the FAT file system to be displayed in the HPFS 
  4078. (High Performance File System) format, enter the following: 
  4079.  
  4080. DIR /N
  4081.  
  4082. To display both FAT file names and long file names in the subdirectory OS2.DTP, 
  4083. enter the following: 
  4084.  
  4085. DIR C:\OS2\OS2.DTP /R
  4086.  
  4087. To send a list of fully qualified file names (path and file name) beginning 
  4088. with REPORT.A to the file FILES.DAT, enter the following: 
  4089.  
  4090. DIR /F REPORT.A >FILES.DAT
  4091.  
  4092.  
  4093. ΓòÉΓòÉΓòÉ 4.47. DISKCACHE - Allocate Storage Blocks ΓòÉΓòÉΓòÉ
  4094.  
  4095. Specifies the number of blocks of storage to allocate for control information 
  4096. and for use by the disk cache. 
  4097.  
  4098.  
  4099. DISKCACHE = ΓöÇΓöÇΓöÇΓöÇ n ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4100.                      ΓööΓöÇ ,LW ΓöÇΓöÿ ΓööΓöÇ ,T ΓöÇΓöÿ ΓööΓöÇ ,AC:x ΓöÇΓöÿ
  4101.  
  4102. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  4103. command prompt. 
  4104.  
  4105. The disk cache allows a portion of the system storage to be used as an 
  4106. additional hard disk buffer.  DISKCACHE speeds up application programs that 
  4107. read hard disks by keeping hard disk data frequently accessed in a cache 
  4108. buffer. When an application program requests hard disk data that is already in 
  4109. the cache buffer, the disk cache sends the data directly to the application 
  4110. program.  This method of accessing data is much faster than if the data had to 
  4111. be read from the disk each time. 
  4112.  
  4113. Specifying this statement increases the speed of your system.  However, when 
  4114. you increase the size of your disk cache you also decrease the size of 
  4115. available storage.  For this reason, you may want to experiment with the number 
  4116. of blocks you specify to get maximum performance. The recommended disk cache 
  4117. sizes should be based on the amount of memory that is available in the system, 
  4118. not the disk size. 
  4119.  
  4120. Note:   You need to select Shut down from the menu of the desktop before 
  4121.         turning off your system.  Failure to do so can cause loss of data if 
  4122.         the contents of the cache buffers have not been erased and written to 
  4123.         disk. 
  4124.  
  4125. General DISKCACHE parameters size guidelines are as follows: 
  4126.  
  4127. o Systems with up to 5MB of physical memory should use a disk cache size of 
  4128.   64KB. 
  4129. o Systems with 6MB or more of physical memory should use a disk cache size of 
  4130.   256KB. 
  4131. o In most situations a threshold size of 32 is recommended 
  4132.  
  4133. The amount of storage required for control information is determined by the 
  4134. total size of one or more hard disks.  When the amount of storage you specify 
  4135. in the DISKCACHE statement is not available, the system displays an error 
  4136. message.  When the amount of storage you specify in the DISKCACHE statement is 
  4137. not sufficient to support the total hard disk size, the disk cache does not 
  4138. work.  The disk cache is allocated at system startup, and there is no dynamic 
  4139. adjustment of its size. 
  4140.  
  4141. It is recommended that the threshold size be set at 32 unless the software 
  4142. product you are using is disk intensive and the manufacturer supplies 
  4143. information on the block size required.  If the block size is defined in terms 
  4144. of byte count, divide the byte count by 512 and round up the quotient to the 
  4145. nearest whole number to determine the threshold value. 
  4146.  
  4147. The disk device driver for the Personal System/2 Models 55sx, 65, 70, 80, 90, 
  4148. and 95 provides direct-access storage disk-cache support for use with hard 
  4149. disks.  This device driver controls operation of the cache, which is allocated 
  4150. by the system and taken out of storage above 1MB.  The cache is run as a 
  4151. write-through cache to maintain data integrity.  Sectors passed to the disk 
  4152. device driver for writing on the disk are guaranteed to be written out to the 
  4153. disk on successful return from the device driver. 
  4154.  
  4155.  
  4156. ΓòÉΓòÉΓòÉ <hidden> DISKCACHE Examples ΓòÉΓòÉΓòÉ
  4157.  
  4158. To set your disk cache size to 64KB with the default threshold of 4 and 
  4159. lazy-write as the default, type the following statement in the CONFIG.SYS file: 
  4160.  
  4161. DISKCACHE=64,LW
  4162.  
  4163. To set the recommended disk cache size of 64KB with a threshold size of 32, for 
  4164. a 2MB to 3MB system, type the following statement in the CONFIG.SYS file: 
  4165.  
  4166. DISKCACHE=64,32
  4167.  
  4168. To set the recommended disk cache size to 64, with the default threshold of 4, 
  4169. with lazy-write on, and have AUTOCHECK check the FAT partition, drive D, for 
  4170. data consistency, type the following in the CONFIG.SYS file: 
  4171.  
  4172. DISKCACHE=64,LW,4,AC:D
  4173.  
  4174. To set the recommended disk cache size of 192KB with a threshold size of 32, 
  4175. for a 4 to 5MB system, type the following statement in the CONFIG.SYS file: 
  4176.  
  4177. DISKCACHE=192,32
  4178.  
  4179. To set the recommended disk cache size of 256KB with a threshold size of 32, 
  4180. for a 6MB or greater system type the following statement in the CONFIG.SYS 
  4181. file: 
  4182.  
  4183. DISKCACHE=256,32
  4184.  
  4185. Disk Cache Table: 
  4186.  
  4187. Disk cache block size values are 64 to 7200. 
  4188. Disk cache block size default value is 64. 
  4189. Disk cache threshold number of sectors values are 4 to 128. 
  4190. Disk cache threshold number of sectors default value is 4. 
  4191.  
  4192.  
  4193. ΓòÉΓòÉΓòÉ 4.48. DISKCOMP - Compare Diskettes ΓòÉΓòÉΓòÉ
  4194.  
  4195. Compares the contents of the diskette in the source drive to the contents of 
  4196. the diskette in the target drive. 
  4197.  
  4198. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DISKCOMP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4199.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4200.  
  4201. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4202.    ΓööΓöÇ source drive ΓöÇΓöÿ    ΓööΓöÇ target drive ΓöÇΓöÿ
  4203.  
  4204. Related Commands:  DISKCOPY 
  4205.  
  4206. Enter this command without a parameter to start a step-by-step procedure to 
  4207. compare the contents of diskettes in different diskette drives. 
  4208.  
  4209. DISKCOMP does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  4210. SUBST command in effect. Also, DISKCOMP does not work on network drives. 
  4211.  
  4212. Observe these restrictions when using DISKCOMP: 
  4213.  
  4214. o Use DISKCOMP only between diskettes of the same size and storage capacity. 
  4215. o Do not use DISKCOMP to compare information between 5.25-inch and 3.5-inch 
  4216.   diskettes. 
  4217. o Follow the examples under the COMP command to compare files between 5.25-inch 
  4218.   and 3.5-inch media. 
  4219.  
  4220. Return Codes  DISKCOMP issues a return code of 0 for normal completion or 
  4221. displays the appropriate error message. 
  4222.  
  4223.  
  4224. ΓòÉΓòÉΓòÉ <hidden> DISKCOMP Examples ΓòÉΓòÉΓòÉ
  4225.  
  4226. To compare the complete contents of a diskette in drive B to a diskette in 
  4227. drive A, enter the following: 
  4228.  
  4229. DISKCOMP B: A:
  4230.  
  4231.  
  4232. ΓòÉΓòÉΓòÉ 4.49. DISKCOPY - Copy Diskettes ΓòÉΓòÉΓòÉ
  4233.  
  4234. Copies the contents of the diskette in the source drive to the diskette in the 
  4235. target drive.  If necessary, the target diskette is formatted during the copy. 
  4236. Neither the source nor the target drive can be a hard disk or a virtual drive. 
  4237. DISKCOPY also displays the volume serial number of the target diskette. 
  4238.  
  4239. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DISKCOPY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4240.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4241.  
  4242. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4243.    ΓööΓöÇ source drive ΓöÇΓöÿ    ΓööΓöÇ target drive ΓöÇΓöÿ
  4244.  
  4245. Related Commands:  DISKCOMP 
  4246.  
  4247. DISKCOPY does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  4248. SUBST command in effect. 
  4249.  
  4250. It is important to note that DISKCOPY automatically formats (prepares) the 
  4251. target diskette with the same number of sides and sectors per track as the 
  4252. source diskette before copying the contents of the source diskette to it. 
  4253.  
  4254. Observe these restrictions when using DISKCOPY: 
  4255.  
  4256. o Use DISKCOPY only between diskettes of the same size and storage capacity. 
  4257. o Do not use DISKCOPY to copy information between 5.25-inch and 3.5-inch 
  4258.   diskettes.  Follow the examples under the COPY command to copy files between 
  4259.   5.25-inch and 3.5-inch diskettes. 
  4260.  
  4261. Because of the OS/2 multitasking operating environment, DISKCOPY locks the 
  4262. diskettes to prevent any other program from reading or writing to the diskettes 
  4263. while copying is being performed.  If errors are detected on either diskette 
  4264. during the copy operation, DISKCOPY shows the drive, track, and side where it 
  4265. found the error, and proceeds with the copying. 
  4266.  
  4267. Return Codes:  DISKCOPY issues a return code of 0 for normal completion or 
  4268. displays the appropriate error message. 
  4269.  
  4270.  
  4271. ΓòÉΓòÉΓòÉ <hidden> DISKCOPY Examples ΓòÉΓòÉΓòÉ
  4272.  
  4273. To copy the complete contents of a diskette in drive B to a diskette in drive 
  4274. A, enter the following: 
  4275.  
  4276. DISKCOPY B: A:
  4277.  
  4278.  
  4279. ΓòÉΓòÉΓòÉ 4.50. DOSKEY - Recall DOS Commands ΓòÉΓòÉΓòÉ
  4280.  
  4281. Recalls DOS commands, edits command lines, and creates macros. 
  4282.  
  4283. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ DOSKEY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4284.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  4285.  
  4286.      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4287.                          Γöé
  4288. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4289.         Γö£ΓöÇ /REINSTALL ΓöÇΓöÇΓöñ   Γöö Macroname=text Γöÿ
  4290.         Γö£ΓöÇ /BUFSIZE=n ΓöÇΓöÇΓöñ
  4291.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4292.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4293.         ΓööΓö¼ΓöÇ/OVERSTRIKEΓöÇΓö¼Γöÿ
  4294.          ΓööΓöÇΓöÇ /INSERT ΓöÇΓöÇΓöÿ
  4295.  
  4296. Recalling a Command 
  4297.  
  4298. To recall a command, use the following keys: 
  4299.  
  4300. Up Arrow            Recalls the DOS command you used before the one displayed. 
  4301.  
  4302. Down Arrow          Recalls the DOS command you used after the one displayed. 
  4303.  
  4304. Page Up             Recalls the first DOS command you used in the current 
  4305.                     session. 
  4306.  
  4307. Page Down           Recalls the most recent DOS command you used. 
  4308.  
  4309. Editing the Command Line 
  4310.  
  4311. To edit the current command line, use the following DOSKEY editing keys: 
  4312.  
  4313. Left Arrow               Moves the cursor back one character. 
  4314.  
  4315. Right Arrow              Moves the cursor forward one character. 
  4316.  
  4317. Ctrl+Left Arrow          Moves the cursor back one word. 
  4318.  
  4319. Ctrl+Right Arrow         Moves the cursor forward one word. 
  4320.  
  4321. Home                     Moves the cursor to the beginning of the line. 
  4322.  
  4323. End                      Moves the cursor to the end of the line. 
  4324.  
  4325. Esc                      Clears the command from the screen. 
  4326.  
  4327. F1                       Copies one character from the template to the DOS 
  4328.                          command line. 
  4329.  
  4330. F2                       Searches forward in the template for the next key you 
  4331.                          type after pressing F2.  DOSKEY inserts the text from 
  4332.                          the template up to but not including the character you 
  4333.                          specify. 
  4334.  
  4335. F3                       Copies the remainder of the template to the command 
  4336.                          line.  DOSKEY begins copying characters from the 
  4337.                          position in the template that corresponds to the 
  4338.                          position indicated by the cursor on the command line. 
  4339.  
  4340. F4                       Deletes characters, beginning with the first character 
  4341.                          in the template, up to a character you specify. 
  4342.  
  4343. F5                       Copies the current command into the template and 
  4344.                          clears the command line. 
  4345.  
  4346. F6                       Places an end-of-file character (Ctrl+Z) at the end of 
  4347.                          the current command line. 
  4348.  
  4349. F7                       Displays all commands stored in memory with their 
  4350.                          associated numbers.  These numbers are assigned in 
  4351.                          order from the first command to the most recent. 
  4352.  
  4353. Alt+F7                   Deletes all commands stored in memory. 
  4354.  
  4355. F8                       Searches memory for a command that you want DOSKEY to 
  4356.                          display.  To use this editing key, type the first few 
  4357.                          characters of the command you want to find and press 
  4358.                          F8.  The commands that start with the characters you 
  4359.                          specified are displayed beginning with the most recent 
  4360.                          as you repeat pressing F8. 
  4361.  
  4362. F9                       Prompts you for a command number and displays the 
  4363.                          command associated with the number you specify. 
  4364.  
  4365. Alt+F10                  Deletes all macro definitions. 
  4366.  
  4367. Creating a Macro 
  4368.  
  4369. To create macros that process one or more DOS commands, use the following 
  4370. special characters to control command operations: 
  4371.  
  4372. $G or $g            Redirects output.  Use these special characters to send 
  4373.                     output to a device or a file instead of to the screen. 
  4374.                     These characters are equivalent to the output redirection 
  4375.                     symbol (>). 
  4376.  
  4377. $G$G or $g$g        Appends output to the end of a file rather than replacing 
  4378.                     the data in the file.  These double characters are 
  4379.                     equivalent to the (>>) symbols for appending redirected 
  4380.                     output. 
  4381.  
  4382. $L or $l            Redirects input.  Use these special characters to read 
  4383.                     input from a device or a file instead of from the keyboard. 
  4384.                     These characters are equivalent to the redirection symbol 
  4385.                     for input (<). 
  4386.  
  4387. $B or $b            Sends macro output to a command.  These characters are 
  4388.                     equivalent to the pipe (|). 
  4389.  
  4390. $T or $t            Separates commands.  Use these special characters to 
  4391.                     separate commands when you are creating macros or typing 
  4392.                     commands at a DOS command prompt. 
  4393.  
  4394. $$                  Specifies the dollar-sign character ($). 
  4395.  
  4396. $1 through $9       Represents any command-line information you want to specify 
  4397.                     when you run a macro.  These special characters are batch 
  4398.                     parameters that enable you to use different data on the 
  4399.                     command line each time you run a macro.  The $1 character 
  4400.                     in a DOSKEY command is similar to the %1 character in a 
  4401.                     batch program. 
  4402.  
  4403. $*                  Represents all the command-line information you want to 
  4404.                     specify when you run a macro.  Everything you type on the 
  4405.                     command line after a macro name is substituted for the $* 
  4406.                     in the macro. 
  4407.  
  4408. Running a Macro 
  4409.  
  4410. To run a macro, type the macro name starting at the first position on the 
  4411. command line.  If the macro was defined with $* or any of the batch parameters 
  4412. $1 through $9, use a space to separate parameters. 
  4413.  
  4414. Creating a Macro with the Same Name as a DOS Command 
  4415.  
  4416. You might want to create a macro with the same name as a DOS command.  This can 
  4417. be useful, for example, if you always use a certain command with specific 
  4418. parameters.  To specify whether you want to run the macro or the DOS command, 
  4419. follow these guidelines: 
  4420.  
  4421. o To run the macro, begin typing the macro name immediately after the command 
  4422.   prompt, with no space between the prompt and the command name. 
  4423. o To process the command, insert one or more spaces between the command prompt 
  4424.   and the command name. 
  4425.  
  4426.  
  4427. ΓòÉΓòÉΓòÉ <hidden> DOSKEY Examples ΓòÉΓòÉΓòÉ
  4428.  
  4429. To create a macro that searches for a file in the current directory and all 
  4430. sub-directories, type the following: 
  4431.  
  4432. DOSKEY FILEFIND=DIR/S/F/A$*
  4433.  
  4434. You can use the DOSKEY command in a batch program to create a macro. 
  4435.  
  4436. To run the FILEFIND macro to find all files with a file name of COMMAND and any 
  4437. extension on drive C, type the following: 
  4438.  
  4439. FILEFIND C:\COMMAND.*
  4440.  
  4441. You cannot run a macro from a batch program. 
  4442.  
  4443. To delete a macro, type the following: 
  4444.  
  4445. DOSKEY macroname=
  4446.  
  4447. The /M (macro) and /H (history) parameters are useful for creating batch 
  4448. programs to save macros and commands.  To create a batch program named 
  4449. MACINIT.BAT that includes all DOSKEY macros, type the following: 
  4450.  
  4451. DOSKEY /M > MACINIT.BAT
  4452.  
  4453. To use the MACINIT.BAT file, edit it to include the DOSKEY command at the 
  4454. beginning of each macro line. 
  4455.  
  4456. To create a batch program named TMP.BAT that contains recently used commands, 
  4457. type the following: 
  4458.  
  4459. DOSKEY /H > TMP.BAT
  4460.  
  4461. To define a macro with multiple commands, type $t to separate commands as in 
  4462. the following: 
  4463.  
  4464. DOSKEY tx=cd\TEMP$tDIR/W *
  4465.  
  4466. In the above example, the tx macro changes the current directory to TEMP and 
  4467. then displays a directory listing, using the wide display format.  You can use 
  4468. $* at the end of the macro to append other parameters to the DIR command when 
  4469. you run tx. 
  4470.  
  4471. The following macro uses a batch parameter for a new directory name.  The macro 
  4472. first creates a new directory and then changes to it from the current 
  4473. directory. 
  4474.  
  4475. DOSKEY mc=md $1$tcd 1
  4476.  
  4477. To use the preceding macro to create and change to a directory named BOOKS, 
  4478. type the following: 
  4479.  
  4480. mc BOOKS
  4481.  
  4482. To  create a macro that uses batch parameters for moving a file or group of 
  4483. files, type the following: 
  4484.  
  4485. DOSKEY mv=COPY $1 $2 $t DEL $1
  4486.  
  4487.  
  4488. ΓòÉΓòÉΓòÉ 4.51. DOS (UMB/NOUMB) - Specify Upper Memory Block Availability ΓòÉΓòÉΓòÉ
  4489.  
  4490. Specifies whether the DOS kernel will reside in the high memory area (HMA) and 
  4491. whether the operating system or DOS applications will control upper memory 
  4492. blocks (UMBs). 
  4493.  
  4494. DOS=ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ HIGH ΓöÇΓö¼ΓöÇΓöÇ,ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ UMB ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4495.          ΓööΓöÇ LOW ΓöÇΓöÇΓöÿ      ΓööΓöÇ NOUMB ΓöÇΓöÿ
  4496.  
  4497. Related Commands:  DEVICEHIGH, LOADHIGH 
  4498.  
  4499. You need to have a DOS=HIGH/LOW,UMB/NOUMB statement in the CONFIG.SYS file to 
  4500. determine if the DOS kernel resides in high or low memory and to determine the 
  4501. control of upper memory blocks (UMBs). Upper memory blocks are provided by the 
  4502. XMS device driver.  Therefore, you must have a VXMS.SYS statement in your 
  4503. CONFIG.SYS file to have upper memory blocks available. 
  4504.  
  4505. Note:   The high memory area (HMA) refers to space between 1MB and 1MB + 64KB. 
  4506.         Upper memory blocks (UMBs) are between 640KB and 1MB. 
  4507.  
  4508. If DOS=HIGH/LOW,UMB is in the CONFIG.SYS file, the operating system controls 
  4509. the upper memory blocks.  This means that DOS applications can be loaded into 
  4510. upper memory but cannot allocate UMBs. 
  4511.  
  4512. If DOS=HIGH/LOW,NOUMB is in the CONFIG.SYS file, the operating system will not 
  4513. control any UMBs and DOS applications can allocate UMBs but cannot be loaded 
  4514. there.  DOS=HIGH/LOW,NOUMB must be specified in the CONFIG.SYS file for a DOS 
  4515. application to allocate UMBs. 
  4516.  
  4517.  
  4518. ΓòÉΓòÉΓòÉ <hidden> DOS=UMB/NOUMB Examples ΓòÉΓòÉΓòÉ
  4519.  
  4520. To specify DOS applications to be loaded into UMBs and the DOS kernel to reside 
  4521. in the high memory area, type the following in the CONFIG.SYS file: 
  4522.  
  4523. DOS=HIGH,UMB
  4524.  
  4525. To specify DOS applications to be loaded into UMBs and the DOS kernel to reside 
  4526. in conventional memory, type the following in the CONFIG.SYS file: 
  4527.  
  4528. DOS=LOW,UMB
  4529.  
  4530. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  4531. the high memory area, type the following in the CONFIG.SYS file: 
  4532.  
  4533. DOS=HIGH,NOUMB
  4534.  
  4535. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  4536. conventional memory, type the following in the CONFIG.SYS file: 
  4537.  
  4538. DOS=LOW,NOUMB
  4539.  
  4540.  
  4541. ΓòÉΓòÉΓòÉ 4.52. DPATH - Set Search Path ΓòÉΓòÉΓòÉ
  4542.  
  4543. Gives application programs the search path to data files that are outside the 
  4544. current directory. The DPATH environment variable can only be set using the SET 
  4545. command in OS/2 sessions. 
  4546.  
  4547. DPATH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4548.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  4549.            Γöé                                Γöé
  4550.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4551.  
  4552. Related Commands:  APPEND, PATH, and SET. 
  4553.  
  4554. Typing DPATH without a parameter displays the current value of the DPATH 
  4555. environment variable. Typing DPATH ; clears the DPATH environment variable. 
  4556. DPATH indicates what directories applications should search for their data 
  4557. files (if an application program uses the DPATH directory list). 
  4558.  
  4559. DPATH is a system environment variable, which means that application programs 
  4560. can query the environment for its value, and, depending on what they find, 
  4561. change their behavior. 
  4562.  
  4563. Like the PATH command, the number of directories you can specify with DPATH is 
  4564. limited only by the length of the command line.  The length of a DPATH command 
  4565. can be up to six characters less that the maximum number of characters allowed 
  4566. on the command line.  Once you set a search path for data files with DPATH, the 
  4567. path remains in effect for the current command processor until you replace it 
  4568. with another DPATH command. 
  4569.  
  4570. DPATH differs from the APPEND command in how it operates. DPATH tells 
  4571. applications what directories it should search in order to find data files, and 
  4572. it is up to the applications to recognize DPATH.  With the APPEND command, 
  4573. however, application programs are able to find files without recognizing that 
  4574. the APPEND command is in effect. 
  4575.  
  4576.  
  4577. ΓòÉΓòÉΓòÉ <hidden> DPATH Examples ΓòÉΓòÉΓòÉ
  4578.  
  4579. To display the current value of the DPATH environment variable, enter the 
  4580. following: 
  4581.  
  4582. DPATH
  4583.  
  4584. To clear the DPATH environment variable enter the following:. 
  4585.  
  4586. DPATH ;
  4587.  
  4588. To set a DPATH statement to indicate to applications to search for data files 
  4589. in the TOOLS, UTILS, and DATA directories, type this statement in your 
  4590. CONFIG.SYS file: 
  4591.  
  4592. DPATH=C:\TOOLS;C:\UTILS;C:\DATA;
  4593.  
  4594. To specify the current path to data files as a replaceable parameter by 
  4595. appending the paths of the ABC and XYZ subdirectories to the DPATH statement 
  4596. already in effect, type the following in your CONFIG,SYS file: 
  4597.  
  4598. DPATH %DPATH%;C:\ABC;C:\XYZ;
  4599.  
  4600.  
  4601. ΓòÉΓòÉΓòÉ <hidden> Template ΓòÉΓòÉΓòÉ
  4602.  
  4603. The template is a memory buffer that holds the last command you typed. 
  4604.  
  4605.  
  4606. ΓòÉΓòÉΓòÉ 4.53. EAUTIL - Split and Join Extended File Attributes ΓòÉΓòÉΓòÉ
  4607.  
  4608. Allows you to split (save) extended attributes from a file and then rejoin the 
  4609. extended attributes to the file. 
  4610.  
  4611. EAUTIL ΓöÇΓöÇΓöÇ datafile ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  4612.                       ΓööΓöÇ holdfile ΓöÇΓöÿ   Γö£ΓöÇ /S ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  4613.                                        Γöé      ΓööΓöÇ /R ΓöÇΓöÿ Γöé
  4614.                                        ΓööΓöÇ /J ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  4615.                                               Γö£ΓöÇ /O ΓöÇΓöñ
  4616.                                               ΓööΓöÇ /M ΓöÇΓöÿ
  4617. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4618.            ΓööΓöÇ /P ΓöÇΓöÿ
  4619.  
  4620. Related Commands:  IFS 
  4621.  
  4622. An extended attribute is a mechanism that allows an application to attach 
  4623. information to a file or directory (file system object). Extended attributes 
  4624. are used to describe the object to another application, to the operating 
  4625. system, or to the file system program that manages the file or directory. 
  4626.  
  4627. EAUTIL allows you to split extended attributes from a data file or program file 
  4628. and place them in a hold file as data.  After you do this, you can use the file 
  4629. with other applications or file systems that do not recognize or are not able 
  4630. to process extended attributes. By saving extended attributes to a hold file, 
  4631. you prevent them from being erased or lost. The command also allows you to join 
  4632. extended attributes contained in the hold file to the data file. 
  4633.  
  4634. Return Codes: 
  4635.  
  4636. 0 - Normal completion 
  4637. 1 - File not found 
  4638. 4 - Ended due to error 
  4639.  
  4640.  
  4641. ΓòÉΓòÉΓòÉ <hidden> EAUTIL Examples ΓòÉΓòÉΓòÉ
  4642.  
  4643. To place extended attributes from a file named MODULE.TXT into a file named 
  4644. ATTRIB.MOD, enter the following: 
  4645.  
  4646. EAUTIL MODULE.TXT ATTRIB.MOD /S
  4647.  
  4648. To replace the extended attributes in the ATTRIB.MOD file with the extended 
  4649. attributes of the NEWFILE.EA, enter the following: 
  4650.  
  4651. EAUTIL NEWFILE.EA ATTRIB.MOD /R /S
  4652.  
  4653. To preserve extended file attributes in a file named MODULE.TXT and copy that 
  4654. file's extended attributes to a file named ATTRIB.MOD, enter the following: 
  4655.  
  4656. EAUTIL MODULE.TXT ATTRIB.MOD /P /S
  4657.  
  4658. To join the extended attributes in the ATTRIB.MOD hold file with the MODULE.TXT 
  4659. data file, enter the following: 
  4660.  
  4661. EAUTIL MODULE.TXT ATTRIB.MOD /J
  4662.  
  4663. To overwrite the extended attributes in the MODULE.TXT file with the extended 
  4664. attributes in the NEWFILE.EA hold file, enter the following: 
  4665.  
  4666. EAUTIL MODULE.TXT NEWFILE.EA /O /J
  4667.  
  4668. To merge the extended attributes in the NEWFILE.EA hold file into the extended 
  4669. attributes in the MODULE.TXT data file, enter the following: 
  4670.  
  4671. EAUTIL MODULE.TXT NEWFILE.EA /M /J
  4672.  
  4673.  
  4674. ΓòÉΓòÉΓòÉ 4.54. ECHO - Display Commands as They Process ΓòÉΓòÉΓòÉ
  4675.  
  4676. Allows or prevents the screen display of OS/2 commands as they are run from a 
  4677. batch file. ECHO does not interfere with messages produced while commands are 
  4678. running. 
  4679.  
  4680. ECHO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4681.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4682.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4683.                       ΓööΓöÇΓöÇΓöÇΓöÇ message ΓöÇΓöÇΓöÇΓöÿ
  4684.  
  4685. Related Commands:  PAUSE and REM 
  4686.  
  4687. Enter this command without a parameter to display the current ECHO state. 
  4688.  
  4689. You can control (|) and redirect (>) output from a batch file. 
  4690.  
  4691. To prevent DOS from interpreting the | and > symbols, enclose them in double 
  4692. quotes. 
  4693.  
  4694. ECHO OFF
  4695. ECHO PIPING "|"
  4696. ECHO REDIRECTION ">"
  4697.  
  4698. To prevent the OS/2 operating system from interpreting the | and > symbols, 
  4699. precede them with a ^ symbol. The ^ symbol tells the system to interpret the 
  4700. next character input, but not to display it. 
  4701.  
  4702. ECHO OFF
  4703. ECHO PIPING ^|
  4704. ECHO REDIRECTION ^>
  4705.  
  4706. You can also control how batch-file lines or command lines are displayed. To 
  4707. prevent the system from displaying a batch-file line, place an @ before the 
  4708. command. 
  4709.  
  4710. @ECHO ON
  4711. @REM THIS LINE IS NOT DISPLAYED
  4712. REM THIS LINE IS DISPLAYED
  4713. @FILE1
  4714.  
  4715. To display lines of text in a batch file, but prevent the display of command 
  4716. lines, follow this example: 
  4717.  
  4718. @ECHO OFF
  4719. REM THIS LINE WILL NOT BE DISPLAYED
  4720. ECHO THIS LINE WILL BE DISPLAYED
  4721.  
  4722. In the following example, the system first displays ECHO OFF but does not 
  4723. display the REM or first DIR C:\OS2\SAMPLE.ABC commands because ECHO is OFF. 
  4724. However, the system still displays the output of the DIR command.  Next, ECHO 
  4725. ON is processed and the system displays the DIR C:\OS2\SAMPLE.ABC command with 
  4726. the DIR output. 
  4727.  
  4728. ECHO OFF
  4729. REM **** COMMAND DISPLAY IS NOW OFF
  4730. DIR C:\OS2\SAMPLE.ABC
  4731. ECHO ON
  4732. DIR C:\OS2\SAMPLE.ABC
  4733.  
  4734. When the above batch file is run, the following is displayed: 
  4735.  
  4736. ECHO OFF
  4737.  
  4738. The volume label in drive C is OS2.
  4739. Directory of C:\
  4740.  
  4741. SAMPLE.ABC        1234   7-17-88   12:14p
  4742.           1 File(s)   141312 bytes free
  4743.  
  4744. DIR C:\OS2\SAMPLE.ABC
  4745.  
  4746. The volume label in drive C is OS2.
  4747. Directory of C:\
  4748.  
  4749. SAMPLE.ABC        1234   7-17-88   12:14p
  4750.           1 Files(s)  141312 bytes free
  4751.  
  4752.  
  4753. ΓòÉΓòÉΓòÉ <hidden> ECHO Examples ΓòÉΓòÉΓòÉ
  4754.  
  4755. To show all commands on your screen as they are processed, enter the following: 
  4756.  
  4757. ECHO ON
  4758.  
  4759. To display the message, PROGRAM FAILED, on your screen, whether ECHO is ON or 
  4760. OFF, enter the following: 
  4761.  
  4762. ECHO PROGRAM FAILED
  4763.  
  4764. To prevent DOS from interpreting the | and > symbols, enclose them in double 
  4765. quotes. 
  4766.  
  4767. ECHO OFF
  4768. ECHO PIPING "|"
  4769. ECHO REDIRECTION ">"
  4770.  
  4771. To prevent the OS/2 operating system from interpreting the | and > symbols, 
  4772. precede them with a ^ symbol. The ^ symbol tells the system to interpret the 
  4773. next character input, but not to display it. 
  4774.  
  4775. ECHO OFF
  4776. ECHO PIPING ^|
  4777. ECHO REDIRECTION ^>
  4778.  
  4779. To prevent DOS from displaying a batch-file line, place an @ before the 
  4780. command. 
  4781.  
  4782. @ECHO ON
  4783. @REM THIS LINE IS NOT DISPLAYED
  4784. REM THIS LINE IS DISPLAYED
  4785. @FILE1
  4786.  
  4787. To display lines of text in a batch file, but prevent the display of command 
  4788. lines, follow this example: 
  4789.  
  4790. @ECHO OFF
  4791. REM THIS LINE WILL NOT BE DISPLAYED
  4792. ECHO THIS LINE WILL BE DISPLAYED
  4793.  
  4794.  
  4795. ΓòÉΓòÉΓòÉ 4.55. ENDLOCAL - Restore Environment Variables ΓòÉΓòÉΓòÉ
  4796.  
  4797. Restores the drive, directory, and environment variables that were in effect 
  4798. before the SETLOCAL command was processed. 
  4799.  
  4800.  
  4801. ENDLOCAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4802.  
  4803. Related Commands:  SETLOCAL 
  4804.  
  4805. This command ends the SETLOCAL command, restoring the previous drive, 
  4806. directory, and environment settings.  You can issue an ENDLOCAL command even if 
  4807. no SETLOCAL command is running. 
  4808.  
  4809. If you want to insert the ENDLOCAL command within a batch file to restore the 
  4810. drive, directory, and environmental variables, follow this example: 
  4811.  
  4812. PATH
  4813. SETLOCAL
  4814. A:
  4815. CD \XYZ
  4816. PATH A:\;A:\MISCPGM
  4817. PATH
  4818. ENDLOCAL
  4819. PATH
  4820.  
  4821. Note that the PATH command with no parameters displays the current value for 
  4822. PATH.  You can see that the original current drive, directory, and environment 
  4823. value for PATH are saved when SETLOCAL is issued, and restored when ENDLOCAL is 
  4824. issued. 
  4825.  
  4826.  
  4827. ΓòÉΓòÉΓòÉ <hidden> ENDLOCAL Examples ΓòÉΓòÉΓòÉ
  4828.  
  4829. To insert the ENDLOCAL command within a batch file to restore the drive, 
  4830. directory, and environmental variables, follow this example: 
  4831.  
  4832. PATH
  4833. SETLOCAL
  4834. A:
  4835. CD \XYZ
  4836. PATH A:\;A:\TOOLS
  4837. PATH
  4838. DPATH A:\UTILS;A:\DATA
  4839. DPATH
  4840. ENDLOCAL
  4841. PATH
  4842.  
  4843.  
  4844. ΓòÉΓòÉΓòÉ 4.56. ERASE or DEL - Delete Files ΓòÉΓòÉΓòÉ
  4845.  
  4846. Deletes one or more files.  Use ERASE or DEL interchangeably. 
  4847.  
  4848.  
  4849. ERASE ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  filename ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  4850.        Γöé ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ Γöé  Γö£ΓöÇ /P ΓöÇΓöñ
  4851. DEL ΓöÇΓöÇΓöÇΓöÿ Γöé                      ΓööΓöÇ filename ΓöÇΓöÿ Γöé  ΓööΓöÇ /N ΓöÇΓöÿ
  4852.          ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4853.  
  4854. Do not use ERASE or DEL to delete a subdirectory name; use the remove directory 
  4855. (RD/RMDIR) command.  You can use ERASE or DEL to delete the contents of a 
  4856. subdirectory.  In addition, read-only and hidden files, such as the operating 
  4857. system files of IBMBIO.COM and IBMDOS.COM, cannot be deleted. 
  4858.  
  4859. When erasing all files in a directory, the system displays the name of the 
  4860. directory, along with the message: 
  4861.  
  4862. Are you sure (Y/N)?
  4863.  
  4864. Enter a Y (yes) to erase all the files in the directory or enter an N (no) to 
  4865. end the DEL or ERASE command. 
  4866.  
  4867.  
  4868. ΓòÉΓòÉΓòÉ <hidden> ERASE or DEL Examples ΓòÉΓòÉΓòÉ
  4869.  
  4870. To erase a file named MONDAY from the current directory on the current drive, 
  4871. enter the following: 
  4872.  
  4873. ERASE MONDAY
  4874.  
  4875. To erase all files in the current directory on drive C, enter the following: 
  4876.  
  4877. ERASE C:*.*
  4878.  
  4879. To erase all files in the REPORTS subdirectory on drive C, enter the following: 
  4880.  
  4881. ERASE C:\REPORTS\*.*
  4882.  
  4883. To erase a file named FRIDAY from the REPORTS subdirectory on drive C, enter 
  4884. the following: 
  4885.  
  4886. ERASE C:\REPORTS\FRIDAY
  4887.  
  4888. To erase all files with a .ABC extension from the REPORTS subdirectory in the 
  4889. root directory on drive C, enter the following: 
  4890.  
  4891. ERASE C:\REPORTS\*.ABC
  4892.  
  4893. To review before erasing all files in the MYDIR directory and display each file 
  4894. name, giving you the option to erase it or not erase it, enter the following: 
  4895.  
  4896. ERASE C:\MYDIR\*.* /P
  4897.  
  4898. To delete the contents of the REPORTS subdirectory on drive C and not be 
  4899. prompted Are you sure (Y/N)?, enter the following: 
  4900.  
  4901. ERASE C:\REPORTS /N
  4902.  
  4903.  
  4904. ΓòÉΓòÉΓòÉ 4.57. EXIT - End a Command Processor ΓòÉΓòÉΓòÉ
  4905.  
  4906. Ends or closes the current command processor (CMD.EXE or COMMAND.COM) and 
  4907. returns to the previous one, or to the desktop if no previous session exists. 
  4908.  
  4909.  
  4910. EXIT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4911.  
  4912. Related Commands:  CMD and COMMAND 
  4913.  
  4914. To close the current command processor and return to the previous command 
  4915. processor, or the desktop, enter EXIT. 
  4916.  
  4917. If you are running a program, you must first end the program before typing 
  4918. EXIT.  If no previous command processor exists, typing EXIT returns you to the 
  4919. desktop. 
  4920.  
  4921.  
  4922. ΓòÉΓòÉΓòÉ <hidden> EXIT Examples ΓòÉΓòÉΓòÉ
  4923.  
  4924. To return to the previous command processor or the desktop after you have 
  4925. finished running your program, enter the following: 
  4926.  
  4927. EXIT
  4928.  
  4929.  
  4930. ΓòÉΓòÉΓòÉ 4.58. EXTPROC - Define an External Batch Processor ΓòÉΓòÉΓòÉ
  4931.  
  4932. Defines an external batch processor for a batch file. 
  4933.  
  4934. EXTPROC Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  4935.         ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  4936.  
  4937. This command is useful if you have your own batch processor and want to 
  4938. substitute it for the OS/2 batch processor. 
  4939.  
  4940. You must include the EXTPROC command as the first statement in any batch file 
  4941. you want processed by your batch processor. CMD.EXE calls your batch processor 
  4942. to process your batch-file statements. 
  4943.  
  4944. For example, if you wanted to use a batch processor called MYBATCH.EXE, located 
  4945. in the C:\BATCH directory, to run some of your batch files, type the following 
  4946. in your batch file: 
  4947.  
  4948. EXTPROC C:\BATCH\MYBATCH.EXE
  4949.  
  4950.  
  4951. ΓòÉΓòÉΓòÉ <hidden> EXTPROC Examples ΓòÉΓòÉΓòÉ
  4952.  
  4953. To use a batch processor called MYBATCH.EXE, located in the C:\BATCH directory, 
  4954. to run some of your batch files, type the following in your batch file: 
  4955.  
  4956. EXTPROC C:\BATCH\MYBATCH.EXE
  4957.  
  4958.  
  4959. ΓòÉΓòÉΓòÉ 4.59. FCBS - Use File Control Blocks ΓòÉΓòÉΓòÉ
  4960.  
  4961. Determines file-control-block (FCB) management information for DOS sessions. 
  4962.  
  4963. This statement has no effect in OS/2 sessions. 
  4964.  
  4965.  
  4966. FCBS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ m ,n ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4967.  
  4968. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  4969. prompt. 
  4970.  
  4971. A file control block (FCB) is a record that contains all of the information 
  4972. about a file (for example, its structure, length, and name).  If a program 
  4973. tries to open more than the number of files specified in the FCBS statement, 
  4974. the system closes the least-recently used file control block and opens the new 
  4975. file. 
  4976.  
  4977. Some application programs use file control blocks to create, open, delete, 
  4978. read, and write to files.  New programs written for the operating system 
  4979. usually use internal file IDs (handles) for file input/output. 
  4980.  
  4981. If a program tries to open more than the number of file control blocks 
  4982. specified in the FCBS statement, the system closes the least-recently used FCB 
  4983. and opens a new file.  The files that are protected from being closed are not 
  4984. included in the list of least-recently used FCBs.  If a program tries to read 
  4985. or write to a file that has been closed because it is the least-recently used 
  4986. FCB, the system displays an error message. 
  4987.  
  4988. In addition, the value of the first number must be greater than or equal to the 
  4989. value of the second number.  If you set the two values equal to each other in 
  4990. the FCBS statement and a program tries to open more than the total number of 
  4991. file control blocks you specified, no files can be closed.  If a program tries 
  4992. to open more than the number of file control blocks you specified, no new files 
  4993. are opened. 
  4994.  
  4995.  
  4996. ΓòÉΓòÉΓòÉ <hidden> FCBS Examples ΓòÉΓòÉΓòÉ
  4997.  
  4998. To specify the total number of file control blocks that can be open at one time 
  4999. to 15, type the following in the CONFIG.SYS file: 
  5000.  
  5001. FCBS=15
  5002.  
  5003. To set the total number of file control block files that can be open at one 
  5004. time to 10, and set the number protected from being closed to 3, type the 
  5005. following in the CONFIG.SYS file. 
  5006.  
  5007. FCBS=10,3
  5008.  
  5009.  
  5010. ΓòÉΓòÉΓòÉ 4.60. FDISK - Partition Hard Disks ΓòÉΓòÉΓòÉ
  5011.  
  5012. Allows you to create or delete a primary partition or a logical drive in an 
  5013. extended partition. 
  5014.  
  5015.  
  5016. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5017.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5018.  
  5019. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5020.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5021.  
  5022.                                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5023.                                                            Γöé
  5024. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /QUERY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  5025.               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /CREATE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇ /NAME:name  ΓöÇΓöÇΓöÇΓöñ
  5026.               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /DELETE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /DISK:n ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5027.               Γö£ΓöÇΓöÇ /SETNAME:name  ΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /FSTYPE:x ΓöÇΓöÇΓöÇΓöñ
  5028.               Γö£ΓöÇ /SETACCESS        ΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /START:m ΓöÇΓöÇΓöÇΓöÇΓöñ
  5029.               Γö£ΓöÇΓöÇΓöÇΓöÇ /STARTABLE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /SIZE:m ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5030.               ΓööΓöÇΓöÇ /FILE:filename ΓöÇΓöÇΓöÇΓöÿ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /VTYPE:n ΓöÇΓöÇΓöÇΓöÇΓöñ
  5031.                                        Γö£ΓöÇΓöÇΓöÇ /BOOTABLE:s ΓöÇΓöÇΓöÇΓöñ
  5032.                                        ΓööΓöÇΓöÇΓöÇ /BOOTMGR ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5033.  
  5034. Related Commands: FDISKPM, SETBOOT 
  5035.  
  5036. Related Information: Hard Disk Information 
  5037.  
  5038. o The Fixed Disk Utility (FDISK) - Full-screen 
  5039.  
  5040.   The full-screen version of FDISK is used during installation of the operating 
  5041.   system.  It provides users with the same functions as the FDISKPM version. 
  5042.   The full-screen version supports windows and looks and acts much the same as 
  5043.   FDISKPM but it does not support a mouse. 
  5044.  
  5045. o The Fixed Disk Utility (FDISK) - Command Line 
  5046.  
  5047.   Use the FDISK command at the command prompt to establish or change partition 
  5048.   values.  Use the parameters and options with the FDISK command to specify and 
  5049.   limit the values and characteristics of the partitions. 
  5050.  
  5051. The following syntax shows how to use the FDISK command to take advantage of 
  5052. the Boot Manager for unattended environments: 
  5053.  
  5054. FDISK /parameter:value /option:value
  5055.  
  5056. The Boot Manager allows you to create up to four primary partitions on a hard 
  5057. disk.  A primary partition is an area on the hard disk that cannot be shared. A 
  5058. partition that cannot be shared means that only one entity can reside there and 
  5059. only one primary partition can be active at one time.  The data of an operating 
  5060. system in a primary partition cannot be accessed by an operating system in 
  5061. another primary partition but it can be accessed by a logical drive in an 
  5062. extended partition. 
  5063.  
  5064. You can create an extended partition in place of one of the four primary 
  5065. partitions. This partition can be subdivided into multiple logical drives.  You 
  5066. can install a different operating system on each of the logical drives.  These 
  5067. logical drives are shareable; any data installed on these logical drives can be 
  5068. used by an operating system running from any other logical drive on your 
  5069. system, if the file systems are compatible. 
  5070.  
  5071. Note:   All versions of DOS must be in a primary partition.  Other operating 
  5072.         systems can be installed on logical drives in an extended partition. 
  5073.  
  5074. Return codes:  FDISK issues a return code of 0 for normal completion or the 
  5075. appropriate error message. 
  5076.  
  5077.  
  5078. ΓòÉΓòÉΓòÉ <hidden> FDISK Examples ΓòÉΓòÉΓòÉ
  5079.  
  5080. The /QUERY parameter displays a list of all partitions and free space on the 
  5081. hard disks of the system.  For example, here is a query that returned 
  5082. information about 4 partitions and a free space entry: 
  5083.  
  5084. Name     Partition   Vtype   FStype   Drive   Status   Start  Size
  5085.  
  5086. System 1   C:        01      04       1        1       00     30
  5087. System 2    :        01      01       1        1       30     10
  5088. OS2-HPFS   D:        02      07       2        1       00     60
  5089. data-vol   E:        02      06       1        0       40     70
  5090. 01000061    :        03      00       2        0       60     55
  5091.  
  5092. To display a list of all partitions and free space on your system, type the 
  5093. following: 
  5094.  
  5095. FDISK /QUERY
  5096.  
  5097. To create a logical drive in an extended partition on disk 1 with the name 
  5098. OS2FAT, type the following: 
  5099.  
  5100. FDISK /CREATE:OS2FAT /VTYPE:2 /DISK:1
  5101.  
  5102. To delete a logical drive with the name OS2FAT, type the following: 
  5103.  
  5104. FDISK /DELETE /NAME:OS2FAT
  5105.  
  5106. To specify the name DOS4.0 of a partition, type the following: 
  5107.  
  5108. FDISK /SETNAME:DOS4.0
  5109.  
  5110. To specify a partition as accessible, type the following: 
  5111.  
  5112. FDISK /SETACCESS
  5113.  
  5114. To specify a partition as startable, type the following: 
  5115.  
  5116. FDISK /STARTABLE
  5117.  
  5118. To process FDISK commands in the file MYFILE, type the following: 
  5119.  
  5120. FDISK /FILE:myfile
  5121.  
  5122. You can create a file to process FDISK commands.  You must have commas 
  5123. separating the arguments of each command in the file and the commands are 
  5124. processed just once. For example, the file, MYFILE, contains the following 
  5125. commands: 
  5126.  
  5127. /query
  5128. /create:OS2,/vtype:1,/disk:1,/name:01000030,/size:20
  5129. /startable,/name:OS2
  5130. /query,/name:OS2
  5131.  
  5132. The processing of these commands is as follows: 
  5133.  
  5134. Command 1       Displays a list of all partitions and unused space on all hard 
  5135.                 disks. 
  5136.  
  5137. Command 2       Creates a primary partition on disk 1 with a size of 20MB in 
  5138.                 the free space name 01000030 and assigns it a name of OS2. 
  5139.  
  5140. Command 3       Sets the partition named OS2 to be startable on the Boot 
  5141.                 Manager menu. 
  5142.  
  5143. Command 4       Displays the partition information of the partition named OS2. 
  5144.  
  5145. Options limit the actions of the FDISK command and parameters. 
  5146.  
  5147. To delete a partition named dos, type the following: 
  5148.  
  5149. FDISK /DELETE /NAME:dos
  5150.  
  5151. To display all partitions on drive 2, type the following: 
  5152.  
  5153. FDISK /QUERY /DISK:2
  5154.  
  5155. To display a partition with a FAT file system, type the following: 
  5156.  
  5157. FDISK /QUERY /FSTYPE:FAT
  5158.  
  5159. To create a primary partition starting at the top of the partition, type the 
  5160. following: 
  5161.  
  5162. FDISK /CREATE /START:t
  5163.  
  5164. To create a primary partition with a size of 8MB, type the following: 
  5165.  
  5166. FDISK /CREATE /SIZE:8
  5167.  
  5168. To display unusable space on a disk, type the following: 
  5169.  
  5170. FDISK /QUERY /VTYPE:0
  5171.  
  5172. To specify a primary partition to be displayed, type the following: 
  5173.  
  5174. FDISK /QUERY /VTYPE:1
  5175.  
  5176. To specify a logical drive in an extended partition to be displayed, type the 
  5177. following: 
  5178.  
  5179. FDISK /QUERY /VTYPE:2
  5180.  
  5181. To display free space that can be used to create a primary or extended 
  5182. partition, type the following: 
  5183.  
  5184. FDISK /QUERY /VTYPE:3
  5185.  
  5186. To display all partitions that are bootable from the Boot Manager menu, type 
  5187. the following: 
  5188.  
  5189. FDISK /QUERY /BOOTABLE:1
  5190.  
  5191. To create the Boot Manager partition, type the following: 
  5192.  
  5193. FDISK  /CREATE /BOOTMGR
  5194.  
  5195.  
  5196. ΓòÉΓòÉΓòÉ 4.61. FDISKPM - Partition Hard Disks ΓòÉΓòÉΓòÉ
  5197.  
  5198. Allows you to create or delete a primary partition or a logical drive in an 
  5199. extended partition. 
  5200.  
  5201. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISKPM ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5202.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5203.  
  5204. Related Commands: FDISK  Related Information: Hard Disk Information 
  5205.  
  5206. FDISKPM presents menus and displays to guide you through the tasks necessary to 
  5207. set up your hard disks. Help is available for all selectable items and entry 
  5208. fields within FDISKPM. 
  5209.  
  5210. You can use the choices on the Options menu to: 
  5211.  
  5212. o Install the Boot Manager partition. 
  5213. o Create a primary partition or logical drive. 
  5214. o Add a partition to the Boot Manager menu. 
  5215. o Change the partition name. 
  5216. o Assign the accessibility of primary partitions. 
  5217. o Specify startup values such as a default partition, startup selection time, 
  5218.   or mode for the Boot Manager menu. 
  5219. o Remove a partition from the Boot Manager menu. 
  5220. o Delete a primary partition or logical drive. 
  5221. o Set a primary partition as installable. 
  5222. o Specify a primary partition as being startable. 
  5223. o Exit FDISKPM. 
  5224.  
  5225.  
  5226. ΓòÉΓòÉΓòÉ <hidden> FDISKPM Examples ΓòÉΓòÉΓòÉ
  5227.  
  5228. To start FDISKPM to set up the hard disks on your system, enter the following: 
  5229.  
  5230. FDISKPM
  5231.  
  5232.  
  5233. ΓòÉΓòÉΓòÉ 4.62. FILES - Set Maximum Number of Files ΓòÉΓòÉΓòÉ
  5234.  
  5235. Determines the maximum number of files available in DOS sessions. 
  5236.  
  5237. This statement has no effect in OS/2 sessions. 
  5238.  
  5239. FILES = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ nΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5240.  
  5241. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  5242. prompt. 
  5243.  
  5244. When a DOS session is started, 20 files are available to be used by all 
  5245. programs running in that DOS session.  A file is in use when a program is 
  5246. processing some kind of operation in it.  When a program is using a file for 
  5247. its operation, that file is unavailable to another program.  The file is 
  5248. returned to availability when the program has finished its operation and the 
  5249. file is closed. 
  5250.  
  5251. Regardless of the FILES= setting, all DOS programs are initialized to a maximum 
  5252. of 20 files.  It is the responsibility of an application to increase the number 
  5253. of files up to the maximum set by the FILES= statement. 
  5254.  
  5255. Placing a FILES= statement in the CONFIG.SYS file increases the default value 
  5256. for all DOS sessions.  Each session can also be customized by changing the 
  5257. appropriate DOS setting. 
  5258.  
  5259.  
  5260. ΓòÉΓòÉΓòÉ <hidden> FILES Examples ΓòÉΓòÉΓòÉ
  5261.  
  5262. To specify a maximum of 40 files to be open at the same time in a DOS session, 
  5263. type the following in the CONFIG.SYS file: 
  5264.  
  5265. FILES=40
  5266.  
  5267.  
  5268. ΓòÉΓòÉΓòÉ 4.63. FIND - Search Files for Strings of Text ΓòÉΓòÉΓòÉ
  5269.  
  5270. Searches for a specific string of text in a file or files and sends the 
  5271. specified lines to your output device. 
  5272.  
  5273.                                   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5274.                                                         Γöé
  5275. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ FIND ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇ
  5276.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            Γö£ΓöÇΓö¼ΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5277.                                     Γöé ΓööΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ Γöé
  5278.                                     Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /I ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5279.                                     ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5280.  
  5281. ΓöÇΓöÇ "string" ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  5282.                ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 Γöé
  5283.               Γöé                                        Γöé
  5284.               ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5285.  
  5286. It is important to note: 
  5287.  
  5288. o You must type the phrase or word in quotation marks in the exact format 
  5289.   (uppercase or lowercase) in which it is written in the text. Two single 
  5290.   quotes in succession are not equivalent to quotation marks. 
  5291. o When searching for strings that contain quotation marks, an extra set of 
  5292.   quotation marks must be entered both before and after the string.  For 
  5293.   example, to find the string "Quotation Marks" in a file named PUNCTUATION, 
  5294.   enter the following: 
  5295.  
  5296.     FIND ""Quotation Marks"" PUNCTUATION
  5297.  
  5298. o You must specify the specific file name you want the FIND command to search. 
  5299.   Global characters such as the asterisk (*) or question mark (?) do not work. 
  5300. o You can specify parameter /V together with /C or /N, but parameter /N cannot 
  5301.   be used with /C. 
  5302. o Within a search string containing quotation marks, you can represent 
  5303.   quotation marks by preceding the double quotation mark character with a 
  5304.   backslash (\).  For example: 
  5305.  
  5306.     FIND "SAY \"Hello\"" FILE1
  5307.  
  5308. Return Codes:  FIND issues a return code of 0 for normal completion. 
  5309.  
  5310.  
  5311. ΓòÉΓòÉΓòÉ <hidden> FIND Examples ΓòÉΓòÉΓòÉ
  5312.  
  5313. To display all lines that do not include the word CHAPTER in a file named 
  5314. BOOK.TXT, enter the following. 
  5315.  
  5316. FIND /V "CHAPTER" BOOK.TXT
  5317.  
  5318. To display a count of the number of lines in a file named BOOK.TXT that include 
  5319. the word CHAPTER, enter the following: 
  5320.  
  5321. FIND /C "CHAPTER" BOOK.TXT
  5322.  
  5323. To display the line number where each occurrence of CHAPTER is found in the 
  5324. text of the file named BOOK.TXT, enter the following: 
  5325.  
  5326. FIND /N "CHAPTER" BOOK.TXT
  5327.  
  5328. To make a search for the string CHAPTER not case-sensitive in the file 
  5329. BOOK.TXT, enter the following: 
  5330.  
  5331. FIND /I "CHAPTER" BOOK.TXT
  5332.  
  5333. To display all the lines from files named BOOK1 and BOOK2 (in that order) that 
  5334. contain the word CHAPTER, enter the following: 
  5335.  
  5336. FIND "CHAPTER" BOOK1 BOOK2
  5337.  
  5338. To find a string that has quotation marks such as "Boca Raton, FL." in a file 
  5339. named CITIES, enter the following: 
  5340.  
  5341. FIND ""Boca Raton, FL."" CITIES
  5342.  
  5343.  
  5344. ΓòÉΓòÉΓòÉ 4.64. FOR - Process Commands Repetitively ΓòÉΓòÉΓòÉ
  5345.  
  5346. Allows repetitive running of OS/2 commands. 
  5347.  
  5348. To use FOR from the OS/2 command prompt: 
  5349.  
  5350.  
  5351. FOR ΓöÇΓöÇΓöÇ % variable ΓöÇΓöÇΓöÇ IN ΓöÇΓöÇΓöÇ (set) ΓöÇΓöÇΓöÇ DO ΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓöñ
  5352.  
  5353. To use FOR from a batch file: 
  5354.  
  5355.  
  5356. FOR ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ %%c ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ IN ΓöÇΓöÇΓöÇΓöÇ (set) ΓöÇΓöÇΓöÇΓöÇ DO ΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöñ
  5357.  
  5358. It is important to note that: 
  5359.  
  5360. o The items in parentheses specify the "set," which can include file and path 
  5361.   names. 
  5362.  
  5363. o An item in the set can contain the global file-name characters * or ?. 
  5364.  
  5365. o Use only one percent sign ( % ) before the variable if you are processing 
  5366.   from the command prompt; use two percent signs ( %% ) if you are using the 
  5367.   variable in a batch file. 
  5368.  
  5369. o For OS/2 sessions, piping and redirection can be used with the FOR command. 
  5370.  
  5371.   The following example shows three C-language program files being compiled and 
  5372.   compiler messages being saved in three files that have a .OUT extension. 
  5373.  
  5374.     FOR %1 IN ( FILE1 FILE2 FILE3 ) DO CL /C %1.C > %1.OUT 2>&1
  5375.  
  5376.   For DOS sessions, piping and redirection are not used with the FOR command. 
  5377.  
  5378. o For OS/2 sessions, you can specify more than one FOR command at a command 
  5379.   prompt. 
  5380.  
  5381.   For example, type the following in order to print these files: FILE1.C, 
  5382.   FILE1.LST, FILE2.C, FILE2.LST, FILE3.C, FILE3.LST: 
  5383.  
  5384.     FOR %1 IN ( FILE1 FILE2 FILE3 ) DO FOR %J IN ( C LST ) DO PRINT %1.%J
  5385.  
  5386. In the following example, FOR sequentially sets the %%D parameter to each item 
  5387. in the set and then evaluates the command you want to run (TYPE). 
  5388.  
  5389. Assume you want a batch file to process the commands, TYPE FILE1 and TYPE 
  5390. FILE2, and have the result be the same as if you typed both commands from the 
  5391. command prompt: 
  5392.  
  5393. FOR %%D IN (FILE1 FILE2) DO TYPE %%D
  5394.  
  5395. Assume you want to process the commands TYPE FILE1 and TYPE FILE2 from the 
  5396. command prompt: 
  5397.  
  5398. FOR %H IN (FILE1 FILE2) DO TYPE %H
  5399.  
  5400.  
  5401. ΓòÉΓòÉΓòÉ <hidden> FOR Examples ΓòÉΓòÉΓòÉ
  5402.  
  5403. To compile three C-language program files and save the compiler messages in 
  5404. three files that have a .OUT extension, enter the following: 
  5405.  
  5406. FOR %1 IN ( FILE1 FILE2 FILE3 ) DO CL /C %1.C > %1.OUT 2>&1
  5407.  
  5408. Piping and redirection are not available for DOS sessions. 
  5409.  
  5410. To specify more than one FOR command for OS/2 sessions at a command prompt and 
  5411. print the files FILE1.C, FILE1.LST, FILE2.C, FILE2.LST, FILE3.C, and FILE3.LST, 
  5412. enter the following: 
  5413.  
  5414. FOR %1 IN ( FILE1 FILE2 FILE3 ) DO FOR %J IN ( C LST ) DO PRINT %1.%J
  5415.  
  5416. To process the commands, TYPE FILE1 and TYPE FILE2, and have the result be the 
  5417. same as if you typed both commands from the command prompt enter the following: 
  5418.  
  5419. FOR %%D IN (FILE1 FILE2) DO TYPE %%D
  5420.  
  5421. To process the commands TYPE FILE1 and TYPE FILE2 from the command prompt enter 
  5422. the following: 
  5423.  
  5424. FOR %H IN (FILE1 FILE2) DO TYPE %H
  5425.  
  5426.  
  5427. ΓòÉΓòÉΓòÉ 4.65. FORMAT - Prepare a Disk for Use ΓòÉΓòÉΓòÉ
  5428.  
  5429. Formats a disk in the specified drive to accept OS/2 files by marking the 
  5430. directory and file allocation tables on the disk. FORMAT also checks the disk 
  5431. for defects. 
  5432.  
  5433. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ FORMAT ΓöÇΓöÇΓöÇΓöÇ drive ΓöÇΓöÇΓöÇΓöÇΓöÇ
  5434.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  5435.  
  5436.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5437.                                      Γöé
  5438. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5439.                Γö£ΓöÇΓöÇΓöÇ /ONCE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5440.                Γö£ΓöÇΓöÇΓöÇ /4 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5441.                Γö£ΓöÇΓöÇΓöÇ /T:tracks ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5442.                Γö£ΓöÇΓöÇΓöÇ /N:sectors ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5443.                Γö£ΓöÇΓöÇΓöÇ /F:xxxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5444.                Γö£ΓöÇΓöÇΓöÇ /FS:xxxxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5445.                Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5446.                ΓööΓöÇΓöÇΓöÇ /V ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  5447.                         ΓööΓöÇ :label ΓöÇΓöÿ
  5448.  
  5449. Related Commands:  IFS, LABEL, and VOL 
  5450.  
  5451. If you format a drive for the High Performance File System, FORMAT checks the 
  5452. IFS statement in the CONFIG.SYS file to determine if the drive is listed with 
  5453. the /AUTOCHECK parameter. If the drive is listed, FORMAT does not update the 
  5454. IFS statement. If the drive is not listed, FORMAT adds the drive letter. 
  5455.  
  5456. If you format a diskette or hard disk that already contains information, all 
  5457. the information is erased.  Also, be sure to specify a drive letter, followed 
  5458. by a colon (for example, A:); otherwise, the system displays an error message 
  5459. that you have not specified a target drive. 
  5460.  
  5461. Be sure to set up an OS/2 partition on all hard disks before formatting them. 
  5462. FORMAT does not recognize a hard disk as being an OS/2 disk if an OS/2 or a DOS 
  5463. partition does not exist.  When FORMAT finds such a disk, it skips to the next 
  5464. disk and begins formatting it. 
  5465.  
  5466. Do not attempt to format a diskette to an incorrect capacity, because such a 
  5467. diskette will not store your data reliably. 
  5468.  
  5469. By default, the FORMAT command attempts to format the media to the maximum 
  5470. capacity of the diskette drive.  The /F:xxxx parameter allows you to format 
  5471. 3.5-inch diskettes to less than the maximum capacity of the diskette drive. 
  5472.  
  5473. FORMAT does not work on drives that have an ASSIGN, JOIN, or SUBST command in 
  5474. effect. Also, FORMAT does not work on network drives. 
  5475.  
  5476. FORMAT does work on the IBM read/write optical disc drive.  To format and 
  5477. install the file system on an optical disc the first time requires about 20 
  5478. minutes using the /L parameter.  Reformatting a previously formatted optical 
  5479. disc requires only a few minutes when you do not use the /L parameter. 
  5480.  
  5481. Return Codes: 
  5482.  
  5483. 0 - Normal completion 
  5484.  
  5485. 3 - Ended by user 
  5486.  
  5487. 4 - Ended due to error 
  5488.  
  5489. 5 - Ended due to NO response when user was prompted to format a hard disk 
  5490.  
  5491. 6 - FORMAT was unable to process another file system's format program 
  5492.  
  5493. 7 - Volume not supported by another file system's format program. 
  5494.  
  5495.  
  5496. ΓòÉΓòÉΓòÉ <hidden> FORMAT Examples ΓòÉΓòÉΓòÉ
  5497.  
  5498. To format a 5.25-inch high-capacity diskette in high-capacity diskette drive B, 
  5499. enter the following: 
  5500.  
  5501. FORMAT B:
  5502.  
  5503. To format one diskette on drive A, enter the following: 
  5504.  
  5505. FORMAT A: /ONCE
  5506.  
  5507. To format a 360KB diskette in a 1.2MB drive, enter the following: 
  5508.  
  5509. FORMAT B: /4
  5510.  
  5511. You can also enter: 
  5512.  
  5513. FORMAT B: /N:9 /T:40
  5514.  
  5515. To format a 3.5-inch 720KB diskette in a 1.44MB drive (drive A), enter the 
  5516. following: 
  5517.  
  5518. FORMAT A: /T:80 /N:9
  5519.  
  5520. To format a diskette in drive A and give the diskette a volume label of MYDISK, 
  5521. enter the following: 
  5522.  
  5523. FORMAT A: /V:MYDISK
  5524.  
  5525. To label a diskette using blanks as in the label My Disk, enter the following: 
  5526.  
  5527. FORMAT A:/v:"My Disk"
  5528.  
  5529. To format a 3.5-inch 720KB diskette in a 1.4MB drive (drive A), enter the 
  5530. following: 
  5531.  
  5532. FORMAT A: /F:720
  5533.  
  5534. To format a hard disk partition on drive D for the High Performance File 
  5535. System, enter the following: 
  5536.  
  5537. FORMAT D: /FS:HPFS
  5538.  
  5539. To change the HPFS partition on drive D to a FAT partition, enter the 
  5540. following: 
  5541.  
  5542. FORMAT D: /FS:FAT
  5543.  
  5544. To format and install the file system on a read/write optical disc, enter the 
  5545. following: 
  5546.  
  5547. FORMAT D: /L
  5548.  
  5549. where drive D is designated as the optical disc drive. 
  5550.  
  5551.  
  5552. ΓòÉΓòÉΓòÉ 4.66. FSACCESS - Change Access to the OS/2 File System from DOS Sessions ΓòÉΓòÉΓòÉ
  5553.  
  5554.            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5555.                                                  Γöé
  5556. FSACCESS ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöñ
  5557.              ΓööΓöÇ ! ΓöÇΓöÿ Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DOSletter ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5558.                      Γö£ΓöÇ DOSletter - DOSletter ΓöÇΓöñ
  5559.                      ΓööΓöÇΓöÇ DOSletter = OS2drive ΓöÇΓöÿ
  5560.  
  5561. Related Commands: FSFILTER, VMDISK 
  5562.  
  5563. Related Information: Starting a Specific Version of DOS 
  5564.  
  5565. FSACCESS can be called multiple times to re-assign drive letters, make new 
  5566. drives accessible, or remove access to drives.  Drives cannot be in use (the 
  5567. current drive) when remapped. 
  5568.  
  5569. When a specific version of DOS is started from an image file, references to 
  5570. drive A in that session access the image file.  The use of the physical 
  5571. diskette drive A is not available. 
  5572.  
  5573. The command 
  5574.  
  5575. FSACCESS A:
  5576.  
  5577. closes the image file and maps drive letter A to the physical diskette drive A. 
  5578.  
  5579. Note:   Specifying no parameters displays the current drive mappings. 
  5580.  
  5581.  
  5582. ΓòÉΓòÉΓòÉ <hidden> FSACCESS Examples ΓòÉΓòÉΓòÉ
  5583.  
  5584. FSACCESS            Displays which DOS drive letters are mapped to OS/2 drives. 
  5585.                     The format will be: 
  5586.  
  5587.                     Local DOSletter is mapped to OS/2drive 
  5588.  
  5589.                                         Local C: is mapped to OS/2 C:
  5590.                                         Local D: is mapped to OS/2 D:
  5591.                                         Local E: is mapped to OS/2 E:
  5592.  
  5593. FSACCESS K          Registers DOS drive letter K.  All references for K will 
  5594.                     now be sent to the OS/2 file system. (Allows DOS drive 
  5595.                     letter K to access an OS/2 file system). 
  5596.  
  5597. FSACCESS !E         Removes access of DOS drive letter E to the OS/2 file 
  5598.                     system. 
  5599.  
  5600. FSACCESS !E-H       Removes access of DOS drive letters E, F, G, and H to the 
  5601.                     OS/2 file system. 
  5602.  
  5603. FSACCESS M=C        Causes functions specifying DOS drive letter M to be routed 
  5604.                     to the OS/2 file system as function requests for drive C. 
  5605.  
  5606.  
  5607. ΓòÉΓòÉΓòÉ 4.67. FSFILTER -  Access the OS/2 File System from DOS Sessions ΓòÉΓòÉΓòÉ
  5608.  
  5609. DEVICE= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FSFILTER.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5610.  
  5611. Related Commands: FSACCESS, VMDISK 
  5612.  
  5613. Related Information: Starting a Specific Version of DOS 
  5614.  
  5615. FSFILTER is a DOS device driver that provides access to OS/2 disk partitions 
  5616. when running a specific version of DOS.  This device driver is provided in the 
  5617. OS2\MDOS directory, and must be loaded by the CONFIG.SYS file that is processed 
  5618. by the specific version of DOS. 
  5619.  
  5620. Do this by copying FSFILTER.SYS to the diskette or disk partition that will be 
  5621. started, and add the following statement to the CONFIG.SYS file of the diskette 
  5622. or disk partition from which the DOS session will be started. 
  5623.  
  5624. DEVICE=FSFILTER.SYS
  5625.  
  5626. The FSFILTER statement must be the first DEVICE= statement in the CONFIG.SYS 
  5627. file.  In addition, it must precede any statement with a reference to a file 
  5628. stored in an HPFS partition. 
  5629.  
  5630.  
  5631. ΓòÉΓòÉΓòÉ <hidden> FSFILTER Examples ΓòÉΓòÉΓòÉ
  5632.  
  5633. To be able to access the OS/2 file system from a specific version of DOS 
  5634. running in a disk partition or from a diskette, type the following in the 
  5635. CONFIG.SYS file of the disk partition or the diskette: 
  5636.  
  5637. DEVICE=FSFILTER.SYS
  5638.  
  5639.  
  5640. ΓòÉΓòÉΓòÉ <hidden> Hard Disk Information ΓòÉΓòÉΓòÉ
  5641.  
  5642. The following is a brief description of the hard disk architecture in the OS/2 
  5643. 2.0 operating system to help you plan ahead and be able to use the Boot 
  5644. Manager. 
  5645.  
  5646. A hard disk is divided into partitions.  A partition defines the area of the 
  5647. hard disk that belongs to a particular operating system. 
  5648.  
  5649. Although each hard disk can be divided into multiple primary partitions and/or 
  5650. one extended partition, the first hard disk must have a primary partition. 
  5651. Each extended partition can be further divided into one or more logical drives. 
  5652.  
  5653. The assignment of drive letters is done by the operating system's volume 
  5654. manager at start time.  The first hard disk is searched for an active primary 
  5655. OS2/DOS partition and the letters starting with "C" are sequentially assigned. 
  5656. After all volumes in primary partitions have been assigned, the logical drives 
  5657. in extended partitions are assigned drive letters sequentially. 
  5658.  
  5659. Important facts to remember are: 
  5660.  
  5661. o An operating system only assigns drive letters to file system types it 
  5662.   supports.  For example, DOS would not assign a drive letter to an HPFS 
  5663.   partition. 
  5664. o Only one primary partition per drive is accessible at a time. 
  5665. o All logical drives in an extended partition are accessible if their file 
  5666.   systems are recognizable by the operating system in use. 
  5667.  
  5668. You can assign names to logical drives to simplify their identity. These names 
  5669. are important especially in the event of a hardware reconfiguration such as 
  5670. adding other hard disks to the system.  The logical drive names assigned to the 
  5671. original hard disk will not change and still identify the same area on the 
  5672. disk, unlike the drive letters which could change because of the 
  5673. reconfiguration. 
  5674.  
  5675. You select the logical drive when you start the system. You will see a menu, 
  5676. and you can either select an operating system to start or let the default 
  5677. operating system start. 
  5678.  
  5679.  
  5680. ΓòÉΓòÉΓòÉ <hidden> Presentation Manager ΓòÉΓòÉΓòÉ
  5681.  
  5682. Trademark of the IBM Corporation. 
  5683.  
  5684.  
  5685. ΓòÉΓòÉΓòÉ 4.68. GOTO - Transfer Processing to a Specified Label ΓòÉΓòÉΓòÉ
  5686.  
  5687. Transfers control to the line that follows the one containing the appropriate 
  5688. label. 
  5689.  
  5690.  
  5691. GOTO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ label ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5692.  
  5693. Related Commands:  IF 
  5694.  
  5695. It is important to note that: 
  5696.  
  5697. o A label is a set of characters within your batch file that indicates what 
  5698.   action the operating system is to take.  It can be a name or a string of 
  5699.   characters, the first eight characters being significant (making it 
  5700.   different). 
  5701.  
  5702. o A label is indicated by a colon (:), followed by the label name. If you 
  5703.   specify a label that is not defined in the batch file, the current processing 
  5704.   of the batch file ends. 
  5705.  
  5706. o A label cannot contain a period (.). 
  5707.  
  5708. o The operating system does not display labels within a batch file while it 
  5709.   processes the batch file.  Therefore, nonreferenced labels provide a 
  5710.   convenient way for placing comments (within your batch file) that the 
  5711.   operating system does not display when it processes the file. 
  5712.  
  5713.  
  5714. ΓòÉΓòÉΓòÉ <hidden> GOTO Examples ΓòÉΓòÉΓòÉ
  5715.  
  5716. To go to a section in your batch file that has a label of WXYZ, if the error 
  5717. level of the program you are running is 1 or greater, type the following in 
  5718. your batch file: 
  5719.  
  5720. IF ERRORLEVEL 1 GOTO WXYZ
  5721.  .
  5722.  .
  5723. :WXYZ
  5724.  
  5725. To show an indefinite sequence of the message "Be Prepared !" on your screen, 
  5726. type the following in the batch file: 
  5727.  
  5728. :LOOP
  5729. @ECHO Be Prepared !
  5730. @GOTO LOOP
  5731.  
  5732. This file will continue to run until you press Ctrl+Break. 
  5733.  
  5734.  
  5735. ΓòÉΓòÉΓòÉ 4.69. GRAFTABL - Display Extended Character Sets ΓòÉΓòÉΓòÉ
  5736.  
  5737. Loads a table of additional characters into memory for graphics mode. Because 
  5738. GRAFTABL is a DOS command, it has no effect on OS/2 sessions. 
  5739.  
  5740.  
  5741. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ GRAFTABL ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5742.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇΓöÇ nnn ΓöÇΓöÇΓöÇΓöñ
  5743.                                         Γö£ΓöÇΓöÇΓöÇΓöÇ ? ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5744.                                         ΓööΓöÇΓöÇΓöÇ /STA ΓöÇΓöÇΓöÇΓöÿ
  5745.  
  5746. Enter this command without a parameter to display the current graphics 
  5747. code-page table that is loaded. 
  5748.  
  5749. GRAFTABL allows the ASCII extended character set to be displayed when display 
  5750. adapters are being used for graphics. GRAFTABL works only for modes 4, 5, and 6 
  5751. of the Color Graphics Adapter, Enhanced Graphics Adapter, and Video Graphics 
  5752. Array. 
  5753.  
  5754. Return Codes: 
  5755.  
  5756. 0 - No previously loaded character table exists and a code page is now 
  5757. resident. 
  5758. 1 - A previously loaded character table exists.  If a new table was requested, 
  5759. it replaces the previous table at its original location. 
  5760. 2 - No previously loaded character table exists and no new table is loaded. 
  5761. 3 - Incorrect parameter 
  5762. 4 - Incorrect DOS version 
  5763.  
  5764.  
  5765. ΓòÉΓòÉΓòÉ <hidden> GRAFTABL Examples ΓòÉΓòÉΓòÉ
  5766.  
  5767. To specify the Multilingual 850 graphic code page, enter the following: 
  5768.  
  5769. GRAFTABL 850
  5770.  
  5771. To display the number of the graphic code page currently being used, and a list 
  5772. of graphic code-page options, enter the following: 
  5773.  
  5774. GRAFTABL ?
  5775.  
  5776. To display the number of the graphic code page currently being used, enter the 
  5777. following: 
  5778.  
  5779. GRAFTABL /STA
  5780.  
  5781.  
  5782. ΓòÉΓòÉΓòÉ 4.70. HELP - Provide System Help ΓòÉΓòÉΓòÉ
  5783.  
  5784. Provides a help line as part of the command prompt, displays help information 
  5785. for warning and error messages, or displays a specific topic within a book. 
  5786.  
  5787. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ HELP ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5788.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5789.                                      Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5790.                                      Γö£ΓöÇΓöÇΓöÇ message help ΓöÇΓöÇΓöñ
  5791.                                      ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ topic ΓöÇΓöÿ
  5792.                                       ΓööΓöÇ book ΓöÇΓöÿ
  5793.  
  5794. Enter this command without a parameter to display the HELP options available 
  5795. for the current mode of operation. These options allow you to: 
  5796.  
  5797. o Return to the desktop. 
  5798. o Switch to the next session 
  5799. o Exit the current OS/2 session 
  5800. o Get additional help on error and warning messages. 
  5801.  
  5802. If you are writing an application program or working with unfamiliar software, 
  5803. it is advisable to specify HELP OFF, or messages from your program might not 
  5804. appear on the display screen. 
  5805.  
  5806. If you specify HELP ON, the value of the PROMPT environment is overwritten 
  5807. until you specify HELP OFF.  Specifying HELP OFF resets the prompt back to the 
  5808. default system prompts for DOS and OS/2 sessions. 
  5809.  
  5810.  
  5811. ΓòÉΓòÉΓòÉ 4.70.1. Obtain Help on System Messages ΓòÉΓòÉΓòÉ
  5812.  
  5813. To request help for a message, enter HELP with the message number. HELP then 
  5814. displays the original message, which is usually followed by explanation and 
  5815. action statements. If the original message contains variable data, such as the 
  5816. name of a file, HELP substitutes three asterisks (***) for the variable data 
  5817. when it responds to your help request. In addition, if you enter an incorrect 
  5818. message ID, you get a message stating "No help is available for the message ID 
  5819. number requested." 
  5820.  
  5821. If HELP is unable to find the help message file (OSO001H.MSG) in the current 
  5822. directory, it searches for the file in the directories contained in the DPATH 
  5823. and APPEND statements. 
  5824.  
  5825.  
  5826. ΓòÉΓòÉΓòÉ <hidden> HELP Examples ΓòÉΓòÉΓòÉ
  5827.  
  5828. To display the HELP options available for the current operating environment, 
  5829. enter the following: 
  5830.  
  5831. HELP
  5832.  
  5833. To display a help line as a part of the command prompt, reminding you which 
  5834. keys to press to return to the desktop, enter the following: 
  5835.  
  5836. HELP ON
  5837.  
  5838. To request additional help for error message number SYS0003, enter the 
  5839. following: 
  5840.  
  5841. HELP 3
  5842.  
  5843. To view information in the OS/2 Command Reference about the COPY command, enter 
  5844. the following at the OS/2 command prompt: 
  5845.  
  5846. HELP CMDREF COPY
  5847.  
  5848. To view information about functions in the REXX Information, enter the 
  5849. following at the OS/2 command prompt: 
  5850.  
  5851. HELP REXX FUNCTIONS
  5852.  
  5853. To view information about the COPY command, enter the following at the OS/2 
  5854. command prompt: 
  5855.  
  5856. HELP COPY
  5857.  
  5858.  
  5859. ΓòÉΓòÉΓòÉ 4.71. IF - Process Commands Conditionally ΓòÉΓòÉΓòÉ
  5860.  
  5861. Allows conditional processing of OS/2 commands.  When the condition is true, 
  5862. the operating system processes the command; otherwise, it skips the command and 
  5863. processes the next command in the file. 
  5864.  
  5865. Piping and redirection should not be specified on the IF command line. 
  5866.  
  5867. IF ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇ ERRORLEVEL ΓöÇΓöÇΓöÇ number ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5868.      ΓööΓöÇ NOT ΓöÇΓöÿ  ΓööΓöÇ string1==string2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5869.  
  5870. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  5871.      ΓööΓöÇ EXIST ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓöÿ
  5872.                 ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  5873.  
  5874. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  command  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5875.  
  5876. For readability, the file name parameters are shown on a separate line in this 
  5877. diagram.  When you type the IF command, you can specify either an error level, 
  5878. string, or a file name. 
  5879.  
  5880. Related Commands:  GOTO 
  5881.  
  5882.  
  5883. ΓòÉΓòÉΓòÉ <hidden> IF Examples ΓòÉΓòÉΓòÉ
  5884.  
  5885. To reverse the truth value of conditional parameters from true to false or 
  5886. false to true, type the following statements in your batch file. 
  5887.  
  5888. COPY MARY\*.* NAMES\*.*
  5889. IF NOT ERRORLEVEL 1 GOTO STEP2
  5890. ECHO COPY FAILED
  5891. PAUSE
  5892. GOTO END
  5893. :STEP2
  5894. ECHO COPY PROCEDURE COMPLETED SUCCESSFULLY
  5895. :END
  5896.  
  5897. To test the system to see if the DPATH statement is defined, and to define it 
  5898. as C:\OS2, and then test to see that it was set, type the following statements 
  5899. in your batch file. 
  5900.  
  5901. IF "%DPATH%" == "" DPATH C:\OS2;
  5902. IF "%DPATH%" == "" GOTO LABEL
  5903. :LABEL
  5904. ECHO DPATH SET
  5905. DPATH
  5906.  
  5907. To provide the true status of your STATUS files when the first string is 
  5908. identical to the second string, type the following in your batch file: 
  5909.  
  5910. IF EXIST C:\STATUS\*.STS ECHO I have status files
  5911. IF NOT EXIST C:\STATUS\*.STS ECHO I do not have status files
  5912.  
  5913. To test if a program ended because of an error and, if so, to display "FAILED" 
  5914. on your screen, type the following in your batch file: 
  5915.  
  5916. PROGRAM.ONE C:\*.* A: /S
  5917. IF ERRORLEVEL 4 ECHO FAILED
  5918.  
  5919. To test if the %1 parameter is equal to HELP and, if so, to display "PROG1 
  5920. FAILED" on the screen, type the following in the batch file: 
  5921.  
  5922. IF %1 == HELP ECHO PROG1 FAILED
  5923.  
  5924. To test if the %1. parameter is equal to HELP. and, if so, display "PROG1 
  5925. FAILED" on the screen, type the following in the batch file: 
  5926.  
  5927. IF %1. == HELP. ECHO PROG1 FAILED
  5928.  
  5929. Notice the same character (.) added in each string.  This example avoids the 
  5930. error of using a blank in the first string. 
  5931.  
  5932. To test if FILE1 is in the current directory on the default drive and, if so, 
  5933. to process the GOTO command, type the following in the batch file: 
  5934.  
  5935. IF EXIST FILE1 GOTO END
  5936.   .
  5937.   .
  5938.   .
  5939. :END
  5940.  
  5941. To test if the file A:\%1 exists (where %1 is a replaceable parameter), type 
  5942. the following in the batch file: 
  5943.  
  5944. IF NOT EXIST A:\%1 COPY B:\%1 A:
  5945.  
  5946. If the file exists on drive A, processing continues.  If the file does not 
  5947. exist, the COPY command is processed. 
  5948.  
  5949. To test the value of the environment variable path, type the following in the 
  5950. batch file: 
  5951.  
  5952. IF "%PATH%" == "" ECHO NO PATH
  5953.  
  5954.  
  5955. ΓòÉΓòÉΓòÉ 4.72. IFS (Installable File System) - Install a File System ΓòÉΓòÉΓòÉ
  5956.  
  5957. Installs a file system (IFS) by specifying the path and complete file name of 
  5958. the file system driver in your CONFIG.SYS file. 
  5959.  
  5960. IFS =  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  5961.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  5962.  
  5963. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  5964. command prompt. 
  5965.  
  5966. Related Commands: CACHE, CHKDSK,  FORMAT, IFS (HPFS.IFS) 
  5967.  
  5968. A file system driver is a file that contains code needed to manage disks and 
  5969. diskettes formatted for file systems other than the file allocation table 
  5970. (FAT). 
  5971.  
  5972. Any time you add or make changes to the CONFIG.SYS file, you must restart the 
  5973. system in order for the new file system or change to become effective. 
  5974. Remember, the CONFIG.SYS file is read only during system startup.  Anything 
  5975. added to this file after system initialization does not work until you restart 
  5976. the system. 
  5977.  
  5978. Use this command to replace the FAT file system with a file system of your 
  5979. choice.  This enables you to: 
  5980.  
  5981. o Use large disks more efficiently 
  5982. o Have greater file flexibility 
  5983. o Increase system performance 
  5984. o Have more than one active file system. 
  5985.  
  5986. An example of an IFS driver is HPFS.IFS 
  5987.  
  5988.  
  5989. ΓòÉΓòÉΓòÉ <hidden> IFS Examples ΓòÉΓòÉΓòÉ
  5990.  
  5991. To install the High Performance File System, the OS/2 Installation program 
  5992. places the following statement in the CONFIG.SYS file: 
  5993.  
  5994. IFS=C:\OS2\HPFS.IFS /C:64
  5995.  
  5996.  
  5997. ΓòÉΓòÉΓòÉ 4.73. IFS (HPFS.IFS) - Install the High Performance File System (HPFS) ΓòÉΓòÉΓòÉ
  5998.  
  5999. Specifies the file system program for loading the High Performance File System 
  6000. (HPFS). 
  6001.  
  6002. IFS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  6003.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ /C:nnnn ΓöÇΓöÿ
  6004.  
  6005. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6006.            ΓööΓöÇ /AUTOCHECK:xxx ΓöÇΓöÿ   ΓööΓöÇ /CRECL:x ΓöÇΓöÿ
  6007.  
  6008. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6009. command prompt. 
  6010.  
  6011. Related Commands: CACHE, CHKDSK, FORMAT, IFS 
  6012.  
  6013. Use this command to replace the FAT file system with a file system of your 
  6014. choice such as HPFS.  This enables you to: 
  6015.  
  6016. o Use large disks more efficiently 
  6017. o Have greater file flexibility 
  6018. o Increase system performance 
  6019. o Have more than one active file system. 
  6020.  
  6021. During OS/2 installation, you were given the option of installing the High 
  6022. Performance File System (HPFS). The features of this file system include the 
  6023. following: 
  6024.  
  6025. o Cache Memory Access 
  6026.  
  6027.   The High Performance File System uses a high-speed buffer storage, known as a 
  6028.   cache, to access programs and data.  Often-used programs and data can be 
  6029.   found in memory, thereby reducing the number of times the operating system 
  6030.   must read a disk.  The maximum amount of memory that can be used as a cache 
  6031.   is 2MB regardless of how much memory is available. 
  6032.  
  6033. o Long File Names 
  6034.  
  6035.   HPFS accepts file names of up to 254 characters in length.  It also accepts 
  6036.   any number of separators (.) as part of the file name.  You can include 
  6037.   blanks in the names of files or directories.  You must, however, include 
  6038.   double quotation marks around the name of the directory or file if it 
  6039.   contains blanks.  For example, to change directory to the OS/2 2.0 Desktop 
  6040.   directory, type: 
  6041.  
  6042.     CD "OS!2 2.0 DESKTOP"
  6043.  
  6044. o File Allocation 
  6045.  
  6046.   HPFS attempts to keep disk allocation for a file in contiguous sectors. 
  6047.   Because most files will be located in adjacent sectors, the number of 
  6048.   operations needed to access the file is reduced. 
  6049.  
  6050. o Extended Attributes 
  6051.  
  6052.   HPFS supports extended directory information about files and directories. 
  6053.   This information is called an extended attribute.  Through extended 
  6054.   attributes, an application can attach information to a file or directory. 
  6055.  
  6056. o "Lazy" Writing 
  6057.  
  6058.   HPFS copies data to an area in cache memory before writing data to a disk 
  6059.   according to the IFS statement specified in a CONFIG.SYS file. During OS/2 
  6060.   installation, the following IFS statement was added to the CONFIG.SYS file if 
  6061.   you selected the High Performance File System: 
  6062.  
  6063.     IFS=C:\OS2\HPFS.IFS /C:64
  6064.  
  6065. o Balanced Directory Tree 
  6066.  
  6067.   HPFS keeps track of files through a structure known as a balanced directory 
  6068.   tree.  To locate a file, HPFS reads this structure rather than reading the 
  6069.   full directory list. 
  6070.  
  6071. HPFS is an installable file system (IFS) designed to provide better performance 
  6072. than the existing file allocation table (FAT) based file system.  HPFS is 
  6073. designed to provide extremely fast access to very large disk volumes.  The OS/2 
  6074. operating system also supports the coexistence of multiple, active file systems 
  6075. on a single personal computer system, with the capability of multiple and 
  6076. different storage devices. 
  6077.  
  6078. If you select HPFS as your standard file system, the OS/2 installation 
  6079. procedure inserts an IFS statement as the first entry in the CONFIG.SYS file. 
  6080.  
  6081. System installation automatically sets up the HPFS cache for you if you format 
  6082. the primary partition with HPFS (using the OS2.INI file).  If you format the 
  6083. primary partition for FAT instead, and then later want to format another 
  6084. partition with HPFS, you need to add an IFS statement to the CONFIG.SYS file. 
  6085.  
  6086. Keep in mind that these statements are device-dependent and must be included 
  6087. before any DEVICE statements. 
  6088.  
  6089. Note:   Refer to the individual commands for further information on IFS, 
  6090.         CACHE, and RUN statements. 
  6091.  
  6092. If you start DOS (from outside the OS/2 operating system, that is, from a DOS 
  6093. partition or diskette), files on HPFS partitions are not accessible.  If you 
  6094. start a Specific Version of DOS from within the OS/2 operating system (that is, 
  6095. a version of DOS running in a DOS sesssion), then files on HPFS partitions are 
  6096. accessible. 
  6097.  
  6098. Both the FAT-based file system and installable file systems support standard 
  6099. naming conventions and the existing logical file and directory structure. 
  6100. Features of HPFS include: 
  6101.  
  6102. o File names up to 254 characters in length 
  6103. o Fast access to very large disk volumes 
  6104. o Strategic allocation of directory structures 
  6105. o Extended attribute support 
  6106. o Caching of directories, data, and file system structures 
  6107. o Processing of metacharacters that are generally used for displaying and 
  6108.   printing graphics. 
  6109. o Large file support. 
  6110.  
  6111.  
  6112. ΓòÉΓòÉΓòÉ <hidden> IFS Examples ΓòÉΓòÉΓòÉ
  6113.  
  6114. To install the High Performance File System, the OS/2 Installation program 
  6115. places the following statement in the CONFIG.SYS file: 
  6116.  
  6117. IFS=C:\OS2\HPFS.IFS /C:64
  6118.  
  6119. To indicate to the operating system to check drives D and F before it runs the 
  6120. CHKDSK program, type the following in your CONFIG.SYS file and restart your 
  6121. system: 
  6122.  
  6123. IFS=C:\OS2\HPFS.IFS /C:64 /AUTOCHECK:DF
  6124.  
  6125. To set the cache size to 64KB and the maximum record size to 4KB, type the 
  6126. following in the CONFIG.SYS file: 
  6127.  
  6128. IFS=C:\OS2\HPFS.IFS /C:64 /CRECL:4
  6129.  
  6130.  
  6131. ΓòÉΓòÉΓòÉ 4.74. IOPL - Allow Input/Output Privilege ΓòÉΓòÉΓòÉ
  6132.  
  6133. Allows I/O privilege to be granted to requesting processes in OS/2 sessions. 
  6134.  
  6135.  
  6136. IOPL = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ NO ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6137.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ YES ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6138.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ list ΓöÇΓöÇΓö¼ΓöÇΓöÿ
  6139.                                     Γöé
  6140.                          ΓööΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6141.  
  6142. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6143. command prompt. 
  6144.  
  6145. The privilege level assigned to a program determines what code segments and 
  6146. data segments it can access.  The privilege level also limits the machine 
  6147. instructions a program can process. 
  6148.  
  6149. Application programs are usually assigned privilege level 3.  This means that 
  6150. they can call routines that run at any other privilege level. However, they can 
  6151. access only their own data segments and cannot issue any I/O instructions. 
  6152.  
  6153. Programs that are granted I/O privilege run at privilege level 2.  When IOPL is 
  6154. YES, a program assigned privilege level 2, such as a subsystem that needs to 
  6155. communicate directly with a specific device, is then permitted to send or 
  6156. receive instructions to or from that device. 
  6157.  
  6158.  
  6159. ΓòÉΓòÉΓòÉ <hidden> IOPL Examples ΓòÉΓòÉΓòÉ
  6160.  
  6161. To permit I/O privileges to processing programs, type the following in the 
  6162. CONFIG.SYS file and restart your system: 
  6163.  
  6164. IOPL=YES
  6165.  
  6166. To prevent I/O privileges from processing programs, type the following in the 
  6167. CONFIG.SYS file and restart your system: 
  6168.  
  6169. IOPL=NO
  6170.  
  6171. To allow I/O privileges to be granted to programs named PROC2 and PROC3, type 
  6172. the following in the CONFIG.SYS file and restart your system: 
  6173.  
  6174. IOPL=PROC2,PROC3
  6175.  
  6176.  
  6177. ΓòÉΓòÉΓòÉ 4.75. JOIN - Join Drives ΓòÉΓòÉΓòÉ
  6178.  
  6179. Logically connects a drive to a directory on another drive. Therefore, you can 
  6180. access a drive by a directory name instead of a drive letter. You can join a 
  6181. drive only at the root directory. 
  6182.  
  6183. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ JOIN ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ drive ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6184.  ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  6185.  
  6186. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ drive\directory ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6187.                                  ΓööΓöÇ /D ΓöÇΓöÿ
  6188.  
  6189. Related Commands:  ASSIGN, SUBST 
  6190.  
  6191. Enter this command without a parameter to display the names of the drives 
  6192. currently joined. 
  6193.  
  6194. If the directory name does not exist, the OS/2 operating system creates a 
  6195. directory on the drive you specify.  A directory that already exists must be 
  6196. empty for the JOIN to work.  Also, after you issue the JOIN command, the first 
  6197. drive name is no longer correct, and if you try to use it, the operating system 
  6198. displays an error message. 
  6199.  
  6200. Note that the following commands do not work in DOS sessions on drives that 
  6201. have a JOIN command in effect: 
  6202.  
  6203. CHKDSK 
  6204. DISKCOMP 
  6205. DISKCOPY 
  6206. FORMAT 
  6207. LABEL 
  6208. RECOVER 
  6209. RESTORE 
  6210.  
  6211.  
  6212. ΓòÉΓòÉΓòÉ <hidden> JOIN Examples ΓòÉΓòÉΓòÉ
  6213.  
  6214. To join drive A to the path C:\DRIVEA and access drive A as the DRIVEA 
  6215. subdirectory on drive C, enter the following: 
  6216.  
  6217. JOIN A: C:\DRIVEA
  6218.  
  6219. To turn off the JOIN action on drive A, enter the following: 
  6220.  
  6221. JOIN A: /D
  6222.  
  6223.  
  6224. ΓòÉΓòÉΓòÉ 4.76. KEYB - Select a Keyboard Layout ΓòÉΓòÉΓòÉ
  6225.  
  6226. Selects a keyboard layout to replace the current keyboard layout for all OS/2 
  6227. and DOS sessions. 
  6228.  
  6229. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ KEYB ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6230.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ layout ΓöÇΓöÿ
  6231.  
  6232. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6233.             ΓööΓöÇ subcountry ΓöÇΓöÿ
  6234.  
  6235. Related Commands:  CODEPAGE, COUNTRY, and DEVINFO 
  6236.  
  6237. If your CONFIG.SYS file contains a keyboard DEVINFO statement, then you have 
  6238. the ability to switch keyboard layouts using KEYB.  If there is no keyboard 
  6239. DEVINFO statement in the CONFIG.SYS file, typing KEYB with any layout returns 
  6240. an error message.  Typing KEYB without a layout parameter, whether there is a 
  6241. DEVINFO statement or not in your CONFIG.SYS file, causes the current keyboard 
  6242. code-page information to be displayed. 
  6243.  
  6244. KEYB is useful for quickly accessing the keyboard characters of another 
  6245. keyboard layout. KEYB must be run only from an OS/2 full-screen command prompt. 
  6246. Running KEYB from a command prompt of an OS/2 window creates unexpected 
  6247. results. 
  6248.  
  6249. KEYB prepares the keyboard in the selected layout for the system code pages.  A 
  6250. message is displayed when the code pages that are set in the CODEPAGE statement 
  6251. in the CONFIG.SYS file do not match the code pages associated with the layout 
  6252. that is being processed by KEYB. Enter a Y (yes) to load the default layout or 
  6253. an N (no) to end the KEYB command without loading the requested keyboard 
  6254. layout. Loading the default layout for a keyboard that does not match the 
  6255. country physical keyboard layout is recommended only for users who understand 
  6256. the implications for character mismatch.  If you choose to load the default 
  6257. layout, certain characters typed at the keyboard and read by a program may not 
  6258. match the characters shown on the keytops. Also, characters entered from the 
  6259. keyboard could be displayed incorrectly on the screen. 
  6260.  
  6261. If you use KEYB to switch to a keyboard layout where the keyboard code page 
  6262. does not match the system code pages, and you decide that the potential 
  6263. problems with using the default layout are too great, you must change the 
  6264. CODEPAGE statement in the CONFIG.SYS file to match the keyboard code page 
  6265. associated with the keyboard layout that you are trying to load. 
  6266.  
  6267. If you want characters displayed in the same default code page for the layout 
  6268. you specified using KEYB, change the CODEPAGE statement in the CONFIG.SYS file. 
  6269.  
  6270. The DEVINFO statement specifies the keyboard layout that the system is to start 
  6271. in, if all other required CONFIG.SYS parameters are correct.  If you do not 
  6272. specify a DEVINFO statement in your CONFIG.SYS file, the U.S. keyboard layout 
  6273. (US) is the default.  You cannot, however, use the KEYB command if no DEVINFO 
  6274. statement is given.  Only one DEVINFO is required (for the starting keyboard 
  6275. layout).  KEYB can be issued for any valid country layout, provided code-page 
  6276. support for that country has been prepared. 
  6277.  
  6278.  
  6279. ΓòÉΓòÉΓòÉ <hidden> KEYB  Examples ΓòÉΓòÉΓòÉ
  6280.  
  6281. To switch to the German keyboard using the keyboard layout, GR enter the 
  6282. following: 
  6283.  
  6284. KEYB GR
  6285.  
  6286. See the table below for the keyboard layout parameter for the country you wish 
  6287. to use. 
  6288.  
  6289. Keyboard Layout Table: 
  6290.  
  6291.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  6292.  Γòæ  AR  Arabic          Γòæ  HU  Hungary       Γòæ  SP  Spain                Γòæ
  6293.  Γòæ  BE  Belgium         Γòæ  IS  Iceland       Γòæ  SV  Sweden               Γòæ
  6294.  Γòæ  BR  Brazil          Γòæ  IT  Italy         Γòæ  SF  Switzerland (French) Γòæ
  6295.  Γòæ  CF  Canada (French) Γòæ  JP  Japan         Γòæ  SG  Switzerland (German) Γòæ
  6296.  Γòæ  CS  Czechoslovakia  Γòæ  KR  Rep. of Korea Γòæ  TR  Turkey               Γòæ
  6297.  Γòæ  DK  Denmark         Γòæ  LA  Latin America Γòæ  TW  Rep. of China        Γòæ
  6298.  Γòæ  SU  Finland         Γòæ  NL  Netherlands   Γòæ  UK  United Kingdom       Γòæ
  6299.  Γòæ  FR  France          Γòæ  NO  Norway        Γòæ  US  United States        Γòæ
  6300.  Γòæ  GR  Germany         Γòæ  PL  Poland        Γòæ  YU  Yugoslavia           Γòæ
  6301.  Γòæ  HE  Hebrew          Γòæ  PO  Portugal      Γòæ                           Γòæ
  6302.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  6303.  
  6304. To switch to the Czechoslovakian keyboard using the Czechoslovakian keyboard 
  6305. layout, CS, and the Czechoslovakian enhanced keyboard, 245, type the following 
  6306. at the command prompt of a full-screen OS/2 session. 
  6307.  
  6308. KEYB CS 245
  6309.  
  6310. For the subcountry keyboard code for the country you wish to use, select from 
  6311. the subcountry codes table below: 
  6312.  
  6313. Enhanced keyboard Table: 
  6314.  
  6315.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  6316.  Γòæ   Default    Alternate  Countries with more than one keyboard layout  Γòæ
  6317.  Γòæ                                                                       Γòæ
  6318.  Γòæ   243        245        Czechoslovakia                                Γòæ
  6319.  Γòæ   189        120        France                                        Γòæ
  6320.  Γòæ   141        142        Italy                                         Γòæ
  6321.  Γòæ   166        168        United Kingdom                                Γòæ
  6322.  Γòæ                                                                       Γòæ
  6323.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  6324.  
  6325. If you do not specify a subcountry code for these countries, the OS/2 operating 
  6326. system uses the first subcountry code listed. 
  6327.  
  6328.  
  6329. ΓòÉΓòÉΓòÉ 4.77. KEYS - Retrieve Commands ΓòÉΓòÉΓòÉ
  6330.  
  6331. Permits previously issued commands to be retrieved and edited. 
  6332.  
  6333.  
  6334. KEYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6335.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6336.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6337.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ list ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6338.  
  6339. Enter this command without a parameter to display the status of the KEYS 
  6340. command. 
  6341.  
  6342. Entering KEYS ON disables ANSI extended keyboard support in OS/2 sessions. 
  6343.  
  6344. The amount of memory for the command queue cannot exceed 64KB.  When the queue 
  6345. is full, the oldest command is discarded as new commands are entered from the 
  6346. keyboard. 
  6347.  
  6348. Entering KEYS ON or KEYS OFF at the command prompt, sets an environment 
  6349. variable named KEYS with a value of ON or OFF.  CMD.EXE checks the KEYS 
  6350. environment variable when it starts and determines if KEYS is set to ON.  If 
  6351. so, CMD.EXE acts as an implicit KEYS ON command. 
  6352.  
  6353. KEYS ON Editing 
  6354.  
  6355. KEYS OFF Editing 
  6356.  
  6357.  
  6358. ΓòÉΓòÉΓòÉ <hidden> KEYS ON Editing Commands ΓòÉΓòÉΓòÉ
  6359.  
  6360. Use the following keys for editing commands when KEYS is set to ON: 
  6361.  
  6362. Esc                   Clears the command line and returns the cursor to the 
  6363.                       first position following the command prompt 
  6364.  
  6365. Home                  Moves the cursor to the first character in the command 
  6366.                       line 
  6367.  
  6368. End                   Moves the cursor to the last character in the command 
  6369.                       line 
  6370.  
  6371. Ins                   Inserts characters 
  6372.  
  6373. Del                   Deletes characters 
  6374.  
  6375. Left Arrow            Moves the cursor one position to the left 
  6376.  
  6377. Right Arrow           Moves the cursor one position to the right 
  6378.  
  6379. Up Arrow              Displays the previous command in the queue 
  6380.  
  6381. Down Arrow            Displays the next command in the queue 
  6382.  
  6383. Ctrl+Left Arrow       Moves the cursor to the first character of a word 
  6384.  
  6385. Ctrl+Right Arrow      Moves the cursor to the first character of the next word 
  6386.  
  6387. Ctrl+End              Deletes any character from the cursor position to the end 
  6388.                       of the line 
  6389.  
  6390. Ctrl+Home             Deletes any character from the beginning of the line to 
  6391.                       the left of the cursor position 
  6392.  
  6393. Enter                 Submits the command for processing 
  6394.  
  6395.  
  6396. ΓòÉΓòÉΓòÉ <hidden> KEYS OFF Editing Commands ΓòÉΓòÉΓòÉ
  6397.  
  6398. Use the following keys for editing command-prompt commands when KEYS is set to 
  6399. OFF: 
  6400.  
  6401. Esc                   Cancels the currently displayed command at the command 
  6402.                       prompt. 
  6403.  
  6404. Enter                 Places the command entered at the command prompt into the 
  6405.                       computer and enters it into the memory of the command 
  6406.                       queue. 
  6407.  
  6408. F1                    Displays the last command entered at the command prompt 
  6409.                       one character at a time as the F1 key is pressed and held 
  6410.                       in the down position. 
  6411.  
  6412. F2                    Displays all of the characters in the previous command up 
  6413.                       to, but not including the character you enter, for 
  6414.                       example: 
  6415.  
  6416.                       Assume you have three files named FILE1, FILE2, and FILE3 
  6417.                       on three different diskettes that you want to copy to 
  6418.                       your B drive.  One way to do this with KEYS OFF is as in 
  6419.                       the example that follows: 
  6420.  
  6421.                       1. At the [B:\] command prompt, Type COPY A:FILE1 and 
  6422.                       press Enter. 
  6423.  
  6424.                       2. The command entered into your system and stored in the 
  6425.                       command-prompt memory buffer is COPY A:FILE1. 
  6426.  
  6427.                       3. Press F2 and enter the last character number 1. 
  6428.  
  6429.                       4. As the 1 key is pressed, the previous command, COPY 
  6430.                       A:FILE1, is retrieved but the number 1 has been dropped 
  6431.                       as follows: 
  6432.  
  6433.                                             COPY A:FILE
  6434.  
  6435.                       5. The cursor is held in the last position where the 
  6436.                       number 2 can now be entered to copy the next file from 
  6437.                       the second diskette and so on, returning to step 1 and 
  6438.                       repeating until the copy process has been completed. 
  6439.  
  6440. F3                    Displays the entire command previously entered at the 
  6441.                       command prompt. 
  6442.  
  6443. F4                    Deletes all of the characters in the previous command up 
  6444.                       to, but not including, the selected character you enter; 
  6445.                       for example: 
  6446.  
  6447.                       The previous command entered is COPY FILENAME. Press F4 
  6448.                       and enter the letter F. Press F3 and the previous command 
  6449.                       FILENAME is retrieved as follows: 
  6450.  
  6451.                                             FILENAME
  6452.  
  6453. F5                    Accepts the command that is present, or has been edited 
  6454.                       at the command prompt as the current command and enters 
  6455.                       it into the command-prompt queue. 
  6456.  
  6457.  
  6458. ΓòÉΓòÉΓòÉ <hidden> KEYS Examples ΓòÉΓòÉΓòÉ
  6459.  
  6460. To enable retrieving commands, enter the following: 
  6461.  
  6462. KEYS ON
  6463.  
  6464. KEYS ON Editing 
  6465.  
  6466. To stop retrieving commands, enter the following: 
  6467.  
  6468. KEYS OFF
  6469.  
  6470. KEYS OFF Editing 
  6471.  
  6472. To display the list of commands in the queue, enter the following: 
  6473.  
  6474. KEYS LIST
  6475.  
  6476. To set a KEYS statement in the CONFIG.SYS file, type the following in your 
  6477. CONFIG.SYS file and restart your system.: 
  6478.  
  6479. SET KEYS=ON
  6480.  
  6481.  
  6482. ΓòÉΓòÉΓòÉ 4.78. LABEL - Create or Change Volume Label ΓòÉΓòÉΓòÉ
  6483.  
  6484. Creates or changes the volume identification label on a disk. 
  6485.  
  6486. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ LABEL ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  6487.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ label ΓöÇΓöÿ
  6488.  
  6489. Related Commands: VOL 
  6490.  
  6491. Enter this command without a parameter to display the current label and volume 
  6492. serial number.  LABEL prompts you if you want to change it.  Type a volume 
  6493. label up to 11 characters long and press Enter.  If you press Enter without 
  6494. entering a label, the volume label remains unchanged. 
  6495.  
  6496. Any leading blanks entered before a volume label are removed from the label, 
  6497. and the first letter of the label is automatically positioned at the first 
  6498. digit space allowed for the label. 
  6499.  
  6500. LABEL does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  6501. SUBST command in effect. Also, LABEL does not work on network drives. 
  6502.  
  6503. Return Codes: The LABEL command issues a return code of 0 for normal 
  6504. completion. 
  6505.  
  6506.  
  6507. ΓòÉΓòÉΓòÉ <hidden> LABEL Examples ΓòÉΓòÉΓòÉ
  6508.  
  6509. To display the volume label of drive A and be prompted by the system for the 
  6510. new label, enter the following: 
  6511.  
  6512. LABEL A:
  6513.  
  6514. To create a volume-label name of FIXEDISKC for your hard disk, drive C, type 
  6515. the following: 
  6516.  
  6517. LABEL C:FIXEDISKC
  6518.  
  6519.  
  6520. ΓòÉΓòÉΓòÉ 4.79. LASTDRIVE - Number of Accessible Drives ΓòÉΓòÉΓòÉ
  6521.  
  6522. Specifies the maximum number of drives that are accessible. 
  6523.  
  6524. This statement has no effect in OS/2 sessions. 
  6525.  
  6526. LASTDRIVE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ xΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6527.  
  6528. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  6529. prompt. 
  6530.  
  6531. The value you specify with this command represents the last valid drive that is 
  6532. recognized. 
  6533.  
  6534.  
  6535. ΓòÉΓòÉΓòÉ <hidden> LASTDRIVE Examples ΓòÉΓòÉΓòÉ
  6536.  
  6537. To set the last drive = to M, giving your system access to 13 logical disks, 
  6538. type the following in the CONFIG.SYS file: 
  6539.  
  6540. LASTDRIVE=M
  6541.  
  6542.  
  6543. ΓòÉΓòÉΓòÉ 4.80. LIBPATH - Identify Dynamic Link Libraries ΓòÉΓòÉΓòÉ
  6544.  
  6545. Identifies the locations of dynamic link libraries for OS/2 programs. 
  6546.  
  6547.  
  6548. LIBPATH = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6549.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  6550.            Γöé                                Γöé
  6551.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6552.  
  6553. LIBPATH is used to identify a set of directories to be searched when the OS/2 
  6554. operating system loads dynamic link libraries. Because dynamic link library 
  6555. modules are shared globally, this command allows path searching to be defined 
  6556. globally rather than on a per-process basis (as done by the PATH command). 
  6557.  
  6558. LIBPATH is not a part of the environment and therefore cannot be viewed with 
  6559. the SET command.  Also, unlike the PATH environment variable, the current 
  6560. directory is not searched first. 
  6561.  
  6562. The installation program places this statement in your CONFIG.SYS file: 
  6563.  
  6564. LIBPATH=C:\OS2\DLL;C:\OS2\MDOS;C:\;
  6565.  
  6566.  
  6567. ΓòÉΓòÉΓòÉ <hidden> LIBPATH Examples ΓòÉΓòÉΓòÉ
  6568.  
  6569. To specify the LIB subdirectory as the directory to be searched for dynamic 
  6570. link libraries, type the following in the CONFIG.SYS file and restart your 
  6571. system: 
  6572.  
  6573. LIBPATH=C:\;C:\LIB;
  6574.  
  6575. To reset the LIBPATH statement in your CONFIG.SYS file to what is set by the 
  6576. installation program, type the following in your CONFIG.SYS file and restart 
  6577. your system: 
  6578.  
  6579. LIBPATH=C:\OS2\DLL;C:\OS2\MDOS;C:\;
  6580.  
  6581.  
  6582. ΓòÉΓòÉΓòÉ 4.81. LH or LOADHIGH - Load DOS TSR Programs into Upper Memory ΓòÉΓòÉΓòÉ
  6583.  
  6584. Loads Terminate and Stay Resident (TSR) DOS programs into an available upper 
  6585. memory block (UMB) for a DOS session. 
  6586.  
  6587. LOADHIGH ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  6588. LH         ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  6589.  
  6590. Related Commands:  DEVICEHIGH, DOS (UMB/NOUMB) 
  6591.  
  6592. You can load a DOS TSR program into an upper memory block (UMB) by typing the 
  6593. LH or LOADHIGH command at the DOS command prompt.  If no UMB is available, the 
  6594. TSR program will be loaded into low memory (below 640KB).  To enable UMBs, type 
  6595. the DOS=UMB statement in the CONFIG.SYS file. 
  6596.  
  6597.  
  6598. ΓòÉΓòÉΓòÉ <hidden> LOADHIGH Examples ΓòÉΓòÉΓòÉ
  6599.  
  6600. To load the APPEND program with the parameters C:\OS2 and C:\TOOLS into a UMB, 
  6601. enter the following: 
  6602.  
  6603. LOADHIGH APPEND C:\OS2;C:\TOOLS
  6604.  
  6605.  
  6606. ΓòÉΓòÉΓòÉ 4.82. MAKEINI - Recover User and System INI Files ΓòÉΓòÉΓòÉ
  6607.  
  6608. System settings, such as application defaults, display options, and file 
  6609. options, are contained in the OS2.INI startup file located in the C:\OS2 
  6610. directory of your hard disk.  There is also a system file called OS2SYS.INI, 
  6611. which contains information about installed fonts and printer drivers. 
  6612.  
  6613.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ MAKEINI ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  6614.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇΓöÇ user ΓöÇΓöÇΓöñ
  6615.                                             ΓööΓöÇ system ΓöÇΓöÿ
  6616.  
  6617. If you receive a message stating that the OS2.INI file is corrupted, the 
  6618. OS2.INI file installed on your system must be replaced by another valid copy of 
  6619. the OS2.INI file. 
  6620.  
  6621. To accomplish this, use the MAKEINI program from your command prompt. 
  6622.  
  6623. Added to your system during the installation process, the MAKEINI.EXE file 
  6624. creates a new OS2.INI file containing default information.  You should 
  6625. re-create both the user and system INI files using MAKEINI (located in the 
  6626. C:\OS2 directory of your hard disk). 
  6627.  
  6628. Note:   You can rename the OS2.INI and OS2SYS.INI files to names of your choice 
  6629.         as long as the same file names are reflected in the PROTSHELL statement 
  6630.         in the CONFIG.SYS file. 
  6631.  
  6632.  
  6633. ΓòÉΓòÉΓòÉ <hidden> MAKEINI Examples ΓòÉΓòÉΓòÉ
  6634.  
  6635. Creating New INI Files 
  6636.  
  6637. Note:   The following procedure assumes that you have the OS/2 2.0 operating 
  6638.         system installed on drive C of your system.  If you have installed OS/2 
  6639.         2.0 on another drive, you must use that drive instead of drive C to do 
  6640.         the procedure. 
  6641.  
  6642. To create new user and system INI files, follow these steps: 
  6643.  
  6644.  1. Insert the Installation diskette in drive A; then, press and hold the Ctrl, 
  6645.     Alt, and Del keys together to restart the system. 
  6646.  
  6647.  2. When the screen displaying the logo appears, remove the Installation 
  6648.     diskette and insert diskette 1 into drive A. 
  6649.  
  6650.  3. Press Enter to continue. 
  6651.  
  6652.  4. Press Esc when the screen, "Welcome to OS/2," appears. 
  6653.  
  6654.  5. To change to drive C, enter: 
  6655.  
  6656.         C:
  6657.  
  6658.  6. To change to the OS2 subdirectory, enter: 
  6659.  
  6660.         CD \OS2
  6661.  
  6662.  7. To erase the current OS2.INI file, enter: 
  6663.  
  6664.         ERASE OS2.INI
  6665.  
  6666.  8. To erase the current OS2SYS.INI file, enter: 
  6667.  
  6668.         ERASE OS2SYS.INI
  6669.  
  6670.  9. To re-create a new user INI file, enter: 
  6671.  
  6672.         MAKEINI OS2.INI INI.RC
  6673.  
  6674. 10. To re-create a new system INI file, enter: 
  6675.  
  6676.         MAKEINI OS2SYS.INI INISYS.RC
  6677.  
  6678. 11. Remove diskette 1 from drive A. 
  6679.  
  6680. 12. Restart the system by pressing the Ctrl, Alt, and Del keys together. 
  6681.  
  6682.  
  6683. ΓòÉΓòÉΓòÉ 4.83. MAXWAIT - Set Maximum Wait ΓòÉΓòÉΓòÉ
  6684.  
  6685. Sets the amount of time a process waits before the system assigns it a higher 
  6686. priority. 
  6687.  
  6688. When a regular-class thread is denied the processor for a defined number of 
  6689. seconds, it receives a temporary increase in priority for a minimum time slice. 
  6690.  
  6691. MAXWAIT = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6692.  
  6693. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6694. command prompt. 
  6695.  
  6696. Related Commands:  PRIORITY, THREADS, TIMESLICE 
  6697.  
  6698. The system limits the time that a regular-class thread waits to be processed. 
  6699. When the time limit is reached, the system raises the priority of the thread to 
  6700. give it a chance to be processed. 
  6701.  
  6702. The most appropriate amount of time to set depends on the number of 
  6703. applications that must run concurrently and the kinds of activities the 
  6704. applications perform (the system default is three seconds). Experiment with 
  6705. this time to improve overall system performance. 
  6706.  
  6707.  
  6708. ΓòÉΓòÉΓòÉ <hidden> MAXWAIT Examples ΓòÉΓòÉΓòÉ
  6709.  
  6710. To cause a process to wait up to 20 seconds before it receives a temporary 
  6711. increase in priority, type the following in the CONFIG.SYS file: 
  6712.  
  6713. MAXWAIT=20
  6714.  
  6715. You can specify a number from 1 through 255. 
  6716.  
  6717.  
  6718. ΓòÉΓòÉΓòÉ 4.84. MEM - Display Used and Free Memory in DOS Environment ΓòÉΓòÉΓòÉ
  6719.  
  6720. Displays the amount of used and free memory in the DOS environment. 
  6721.  
  6722.  
  6723. MEM  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6724.                        Γö£ΓöÇ /P ΓöÇΓöñ
  6725.                        Γö£ΓöÇ /D ΓöÇΓöñ
  6726.                        ΓööΓöÇ /C ΓöÇΓöÿ
  6727.  
  6728. Related Commands: CHKDSK 
  6729.  
  6730. Use the MEM command to display information about allocated memory areas, free 
  6731. memory areas, and programs that are currently loaded into memory. 
  6732.  
  6733.  
  6734. ΓòÉΓòÉΓòÉ <hidden> MEM Examples ΓòÉΓòÉΓòÉ
  6735.  
  6736. To display the status of the total memory available in the DOS environment, 
  6737. that is, conventional, expanded, and extended, and to display a list of 
  6738. programs currently loaded into memory, type the following: 
  6739.  
  6740. MEM /P
  6741.  
  6742.  
  6743. ΓòÉΓòÉΓòÉ 4.85. MEMMAN - Select Storage Allocation ΓòÉΓòÉΓòÉ
  6744.  
  6745. Selects storage allocation options for the OS/2 environment. 
  6746.  
  6747.                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6748.                                           Γöé
  6749. MEMMAN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇ SWAP ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6750.                        Γöé  ΓööΓöÇ NOSWAP ΓöÇΓöÿ   Γöé
  6751.                        Γö£ΓöÇΓöÇΓö¼ΓöÇΓöÇ MOVE ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  6752.                        Γöé  ΓööΓöÇ NOMOVE ΓöÇΓöÿ   Γöé
  6753.                        ΓööΓöÇΓöÇΓöÇΓöÇ PROTECT ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6754.  
  6755. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6756. command prompt. 
  6757.  
  6758. Related Commands:  SWAPPATH 
  6759.  
  6760. Applications consist of groups of segments that can be either loaded into 
  6761. physical memory at the same time or called when needed.  If not enough memory 
  6762. is available to satisfy a request, the system attempts to provide more memory 
  6763. by writing the least frequently used data segments to a temporary file on a 
  6764. disk.  This file is called a swap file. 
  6765.  
  6766. Segments in the swap file are brought back into memory only as needed. 
  6767. Swapping makes it possible for applications to overcommit the amount of 
  6768. physical memory in the system. 
  6769.  
  6770. If the system is started from a hard disk, swapping (SWAP) is the system 
  6771. default; from a diskette, the default is no swapping (NOSWAP). 
  6772.  
  6773.  
  6774. ΓòÉΓòÉΓòÉ <hidden> MEMMAN Examples ΓòÉΓòÉΓòÉ
  6775.  
  6776. To permit segment swapping, type the following in the CONFIG.SYS file: 
  6777.  
  6778. MEMMAN=SWAP
  6779.  
  6780. To run a time-dependent application and prevent the OS/2 operating system from 
  6781. swapping the contents of storage to disk, type the following in the CONFIG.SYS 
  6782. file: 
  6783.  
  6784. MEMMAN=NOSWAP
  6785.  
  6786. The default is SWAP. 
  6787.  
  6788. To permit segment swapping and enable APIs to allocate and use protected 
  6789. memory, type the following in the CONFIG.SYS file: 
  6790.  
  6791. MEMMAN=SWAP,PROTECT
  6792.  
  6793. The command can be typed with a comma or a space as a separator. 
  6794.  
  6795.  
  6796. ΓòÉΓòÉΓòÉ 4.86. MD or MKDIR - Make Directory ΓòÉΓòÉΓòÉ
  6797.  
  6798. Makes new subdirectories within the root directory (the directory you are in 
  6799. when the OS/2 operating system starts) or within another subdirectory. MKDIR 
  6800. creates a multilevel directory structure, which is helpful in keeping related 
  6801. program or data files together. 
  6802.  
  6803.  
  6804. MKDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6805. MD      ΓöÇΓöÇΓöÿ        ΓööΓöÇ drive ΓöÇΓöÿ                Γöé
  6806.                 Γöé                              Γöé
  6807.                 ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6808.  
  6809. Related Commands:  CD, DIR, RD, and TREE 
  6810.  
  6811. Enter this command with a directory name to create a subdirectory within the 
  6812. current directory. Do not use the backslash (\) symbol if you have changed 
  6813. directories and you want to create a subdirectory in your current directory. 
  6814. If you use the backslash symbol, the subdirectory is created within the root 
  6815. directory. 
  6816.  
  6817. Each directory can contain file and directory names that also appear in other 
  6818. directories.  In other words, two or more files or directories can have the 
  6819. same name, if you define them in separate directories. 
  6820.  
  6821.  
  6822. ΓòÉΓòÉΓòÉ <hidden> MD or MKDIR Examples ΓòÉΓòÉΓòÉ
  6823.  
  6824. To make a subdirectory named LEDGERS within the root directory on drive C, 
  6825. enter the following: 
  6826.  
  6827. MD C:\LEDGERS
  6828.  
  6829. You can also create more than one directory at a time. 
  6830.  
  6831. To make two separate directories named ACCOUNTS and LEDGERS in the root 
  6832. directory on drive C, enter the following: 
  6833.  
  6834. MD C:\ACCOUNTS C:\LEDGERS
  6835.  
  6836.  
  6837. ΓòÉΓòÉΓòÉ 4.87. MODE - Set Operation Modes for Devices ΓòÉΓòÉΓòÉ
  6838.  
  6839. Sets operation modes for devices. 
  6840.  
  6841. MODEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ device ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6842.                                       ΓööΓöÇ arguments ΓöÇΓöÿ
  6843.  
  6844. There are four different MODE commands you can use: 
  6845.  
  6846. COM#              Sets asynchronous communications modes. 
  6847.  
  6848. Display           Sets the display modes for video adapters. 
  6849.  
  6850. LPT#              Sets parallel printer modes. 
  6851.  
  6852. DSKT              Sets diskette input/output write verification. 
  6853.  
  6854.  
  6855. ΓòÉΓòÉΓòÉ <hidden> MODE (COM#) - Set Communication Modes ΓòÉΓòÉΓòÉ
  6856.  
  6857. Sets asynchronous communications modes for both OS/2 and DOS sessions. 
  6858.  
  6859. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇ  COM#: ΓöÇΓöÇΓöÇΓöÇ baud ΓöÇΓöÇΓöÇ
  6860.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  6861.  
  6862. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6863.   ΓööΓöÇ ,parity ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6864.               ΓööΓöÇ ,databits ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6865.                             ΓööΓöÇΓöÇ ,stopbits ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6866.                                            ΓööΓöÇ ,P ΓöÇΓöÇΓöÿ
  6867.  
  6868.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6869.                                        Γöé
  6870. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6871.                Γö£ΓöÇΓöÇΓöÇ ,TO = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6872.                Γö£ΓöÇΓöÇΓöÇ ,XON = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6873.                Γö£ΓöÇΓöÇΓöÇ ,IDSR = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  6874.                Γö£ΓöÇΓöÇΓöÇ ,ODSR = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  6875.                Γö£ΓöÇΓöÇΓöÇ ,OCTS = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  6876.                Γö£ΓöÇΓöÇΓöÇ ,DTR = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6877.                Γö£ΓöÇΓöÇΓöÇ ,RTS = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6878.                Γö£ΓöÇΓöÇΓöÇ ,BUFFER = state ΓöÇΓöÇΓöñ
  6879.                Γö£ΓöÇΓöÇΓöÇ ,ENHANCED = state Γöñ
  6880.                Γö£ΓöÇΓöÇΓöÇ ,RXDMA = state ΓöÇΓöÇΓöÇΓöñ
  6881.                ΓööΓöÇΓöÇΓöÇ ,TXDMA = state ΓöÇΓöÇΓöÇΓöÿ
  6882.  
  6883. Before using MODE to set up communications port modes, be sure the Base 
  6884. Asynchronous Communication Device Driver (COM.SYS or COMDMA.SYS) is installed. 
  6885.  
  6886. Related Commands: 
  6887.  
  6888. MODE (LPT#) - Sets parallel printer modes 
  6889.  
  6890. MODE (Display) - Sets video modes 
  6891.  
  6892. MODE (DSKT) - Sets diskette I/O write verification 
  6893.  
  6894. The parity, databits, stopbits, and P parameters are positional.  If you omit a 
  6895. positional parameter but include a parameter that follows it, you must enter a 
  6896. comma to designate the position of the omitted parameter. For example, to 
  6897. accept the defaults for the parity, stopbits, and databits parameters and 
  6898. specify the P parameter, enter the following: 
  6899.  
  6900. MODE COM1:2400,,,,P
  6901.  
  6902. Note that the P parameter can be used only in DOS sessions; baud, parity, 
  6903. databits, and stopbits can be used in either DOS or OS/2 sessions. 
  6904.  
  6905. When a positional parameter is omitted or designated only with a comma, the 
  6906. parameter returns to the original system default.  If a keyword parameter is 
  6907. omitted, the current setting of that parameter is unchanged. 
  6908.  
  6909. To set asynchronous communication modes, you can issue the command at either a 
  6910. DOS or OS/2 command prompt.  This means you can set asynchronous communication 
  6911. modes in DOS or OS/2 sessions.  You can also query the status of communications 
  6912. ports in both sessions.  The output of a MODE COMx query can be redirected, 
  6913. modified, and used as input to another MODE command. 
  6914.  
  6915. Redirection of parallel-printer output to a serial device is not supported by 
  6916. the MODE command.  However, this function is supported by the SPOOL command. 
  6917.  
  6918. The following asynchronous-communication device-driver parameters are reset by 
  6919. MODE every time it sets COM parameters when processing in OS/2 sessions. 
  6920.  
  6921. o Output handshaking using DCD (data carrier detect) is prevented. 
  6922. o Automatic receive flow control (XON or XOFF) is prevented. 
  6923.  
  6924. For DOS sessions, the states of these parameters remain unchanged. 
  6925.  
  6926.  
  6927. ΓòÉΓòÉΓòÉ <hidden> MODE COM#: Examples ΓòÉΓòÉΓòÉ
  6928.  
  6929. To query the status of asynchronous COM port 1, enter the following: 
  6930.  
  6931. MODE COM1
  6932.  
  6933. To select a baud rate of 2400, enter the following: 
  6934.  
  6935. MODE COM1:2400
  6936.  
  6937. Baud Transmission Rate Facts: 
  6938.  
  6939. o You must specify at least the first two digits of the desired rate. 
  6940. o Valid Baud Rates 
  6941.  
  6942.    110, 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400, 
  6943.    or 57600. 
  6944.  
  6945. o The default is 1200. 
  6946.  
  6947. To specify odd parity bits enter the following: 
  6948.  
  6949. MODE COM1:,O
  6950.  
  6951. Parity Values Table 
  6952.  
  6953. N (none), means that there is no parity bit. 
  6954. O (odd), means odd parity. 
  6955. E (even), even means even parity. 
  6956. M (mark), means that the parity bit is always 1. 
  6957. S (space), means that the parity bit is always 0. 
  6958. The default is E. 
  6959.  
  6960. To specify 8 data bits of data, enter the following: 
  6961.  
  6962. MODE COM1:,,8
  6963.  
  6964. The values are 5, 6, 7, or 8 bits of data, 
  6965. The default is 7. 
  6966.  
  6967. To specify 1 stop bit of data, enter the following: 
  6968.  
  6969. MODE COM1:,,,1
  6970.  
  6971. Stop-bit Value Facts. 
  6972.  
  6973. Values are 1, 1.5, or 2. 
  6974. Only 1 or 1.5 is valid if databits is specified as 5. 
  6975. If stopbits is specified as 1.5, only 5 is valid for databits. 
  6976. The default is 2 when the baud rate is 110; otherwise, the default is 1. 
  6977.  
  6978. To specify a timeout value of approximately 30 seconds, enter the following: 
  6979.  
  6980. MODE COM1:,,,,P
  6981.  
  6982. The previous 5 examples normally would be entered together on the command 
  6983. prompt or typed in a batch file as follows: 
  6984.  
  6985. MODE COM1:2400,N,8,1,P
  6986.  
  6987. To accept the defaults for the parity, stopbits, and databits parameters and 
  6988. specify the P parameter, enter the following: 
  6989.  
  6990. MODE COM1:2400,,,,P
  6991.  
  6992. To ensure that a printer write timeout never occurs, enter the following: 
  6993.  
  6994. MODE COM1:12,,,,TO=ON
  6995.  
  6996. To prevent automatic transmit flow control, enter the following: 
  6997.  
  6998. MODE COM1:12,,,,XON=OFF
  6999.  
  7000. To allow input handshaking using DSR, enter the following: 
  7001.  
  7002. MODE COM1:12,,,,IDSR=ON
  7003.  
  7004. To allow output handshaking using DSR, enter the following: 
  7005.  
  7006. MODE COM1:12,,,,ODSR=ON
  7007.  
  7008. To allow output handshaking using CTS, enter the following: 
  7009.  
  7010. MODE COM1:12,,,,OCTS=OFF
  7011.  
  7012. To allow data terminal ready, enter the following: 
  7013.  
  7014. MODE COM1:12,,,,DTR=ON
  7015.  
  7016. To allow RTS toggling in transmit mode, enter the following: 
  7017.  
  7018. MODE COM1:12,,,,RTS=TOG
  7019.  
  7020. To permit maximum device performance, enter the following: 
  7021.  
  7022. MODE COM1:12,,,,BUFFER=AUTO
  7023.  
  7024. To turn enhanced mode on, enter the following: 
  7025.  
  7026. MODE COM1:12,,,,ENHANCED=ON
  7027.  
  7028. To turn on DMA receive operations, enter the following: 
  7029.  
  7030. MODE COM1:12,,,,RXDMA=ON
  7031.  
  7032. To turn on DMA transmit operations, enter the following: 
  7033.  
  7034. MODE COM1:12,,,,TXDMA=ON
  7035.  
  7036.  
  7037. ΓòÉΓòÉΓòÉ <hidden> MODE (Display) - Set Video Modes ΓòÉΓòÉΓòÉ
  7038.  
  7039. Sets display modes for switching display adapters, sets the display mode of the 
  7040. color graphics monitor adapter, and allows you to specify the number of 
  7041. character lines on the screen. 
  7042.  
  7043. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  7044.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ CONx ΓöÇΓöÿ
  7045.  
  7046. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ display ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7047.                                  ΓööΓöÇ ,rows ΓöÇΓöÿ
  7048.  
  7049. Related Commands: 
  7050.  
  7051. MODE (COM#) - Sets communications modes 
  7052.  
  7053. MODE (LPT#) - Sets parallel-printer modes 
  7054.  
  7055. MODE (DSKT) - Sets diskette I/O write verification 
  7056.  
  7057. The display mode that is set with the MODE command affects only the current 
  7058. session in which MODE is issued.  This includes any programs or command 
  7059. processors running in this session. 
  7060.  
  7061.  
  7062. ΓòÉΓòÉΓòÉ <hidden> MODE (Display) Examples ΓòÉΓòÉΓòÉ
  7063.  
  7064. To set a mode on display number 1: 
  7065.  
  7066. MODE CON1
  7067.  
  7068. To set a mode on display number 2: 
  7069.  
  7070. MODE CON2
  7071.  
  7072. Examples using the CONx parameter: 
  7073.  
  7074. To set a color 80x43 mode on display number 1: 
  7075.  
  7076. MODE CON1 CO80,43
  7077.  
  7078. To set a monochrome mode on display number 2: 
  7079.  
  7080. MODE CON2 MONO
  7081.  
  7082. To set a color 80x50 mode on the first BVH display in the list that it 
  7083. supports: 
  7084.  
  7085. MODE CON0 CO80,50
  7086. or 
  7087.  
  7088. MODE CON CO80,50
  7089.  
  7090. To switch the active display adapter to the color graphics monitor adapter, 
  7091. enter the following: 
  7092.  
  7093. MODE CO40
  7094.  
  7095. The valid options are: 
  7096.  
  7097. 40, 80, 132, BW40, BW80, BW132, CO40, CO80, CO132, or MONO. 
  7098.  
  7099. To specify a 50-line display enter the following: the number of rows 
  7100.  
  7101. MODE CO80,50
  7102.  
  7103. Valid rows are 25, 43, or 50, depending on the display adapter 
  7104.  
  7105.  
  7106. ΓòÉΓòÉΓòÉ <hidden> MODE (LPT#) - Set Parallel Printer Modes ΓòÉΓòÉΓòÉ
  7107.  
  7108. Sets parallel-printer modes. 
  7109.  
  7110. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ LPT# ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  7111.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ                ΓööΓöÇΓöÇΓöÇ PRN ΓöÇΓöÇΓöÇΓöÿ
  7112.  
  7113. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7114.    ΓööΓöÇ chars ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7115.               ΓööΓöÇ ,lines ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7116.                             ΓööΓöÇ ,P ΓöÇΓöÇΓöÿ
  7117.  
  7118. Related Commands: 
  7119.  
  7120. MODE (COM#) - Sets communications modes 
  7121.  
  7122. MODE (Display) - Sets video modes 
  7123.  
  7124. MODE (DSKT) - Sets diskette I/O write verification 
  7125.  
  7126. The chars, lines, and P parameters are positional.  When a positional parameter 
  7127. is omitted, but the one that follows it is specified, its position must be 
  7128. designated by a comma. Once you have issued the MODE command and specified 
  7129. values for the chars or lines parameters (or both), those values become the 
  7130. default values. 
  7131.  
  7132. Note:   The spooler ignores all mode commands for setting printer parameters 
  7133.         while the spooler is active. 
  7134.  
  7135.  
  7136. ΓòÉΓòÉΓòÉ <hidden> MODE (LPT#) Examples ΓòÉΓòÉΓòÉ
  7137.  
  7138. To set up your printer as LPT1 and accept the system defaults (80 characters 
  7139. per line and 6 lines per vertical inch), enter the following: 
  7140.  
  7141. MODE LPT1 ,,,
  7142.  
  7143. o Specifies the printer number.  The pound sign (#) defines printer number 1, 
  7144.   2, or 3. 
  7145.  
  7146. o If you are using a network printer, the MODE command supports LPT4 through 
  7147.   LPT9 for printing to a network printer. 
  7148.  
  7149. To set up your printer as LPT2 and use 132 characters per line and 8 lines per 
  7150. inch, enter the following: 
  7151.  
  7152. MODE LPT2 132,8,,
  7153.  
  7154. o The value is either 80 or 132. 
  7155.  
  7156. o The default is 80. 
  7157.  
  7158. To set up your printer as LPT3 and specify 8 lines per inch for vertical 
  7159. spacing, enter the following: 
  7160.  
  7161. MODE LPT3 ,8,,
  7162.  
  7163. o The value is either 6 or 8. 
  7164.  
  7165. o The default is 6. 
  7166.  
  7167. To set up your printer as LPT2 and specify infinite retry, enter the following: 
  7168.  
  7169. MODE LPT2 ,,P
  7170.  
  7171.  
  7172. ΓòÉΓòÉΓòÉ <hidden> MODE (DSKT) - Set Diskette I/O Write Verification ΓòÉΓòÉΓòÉ
  7173.  
  7174. Sets diskette I/O write verification. 
  7175.  
  7176. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ MODE ΓöÇΓöÇ DSKT ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7177.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                  ΓööΓöÇ VER=state ΓöÇΓöÿ
  7178.  
  7179. Related Commands: 
  7180.  
  7181. MODE (COM#) - Sets communications modes 
  7182.  
  7183. MODE (LPT#) - Sets parallel-printer modes 
  7184.  
  7185. MODE (Display) - Sets video modes 
  7186.  
  7187. This function of MODE is different from the function offered by the VERIFY 
  7188. internal command, which verifies file-system I/O write operations for each 
  7189. session. 
  7190.  
  7191. If you do not have a hard disk, a diskette (any diskette) must be present in 
  7192. drive A before the MODE command can turn diskette verification on or off. 
  7193.  
  7194.  
  7195. ΓòÉΓòÉΓòÉ <hidden> MODE (DSKT) Examples ΓòÉΓòÉΓòÉ
  7196.  
  7197. To set diskette verification to ON, enter the following: 
  7198.  
  7199. MODE VER=ON
  7200.  
  7201. To set diskette verification to OFF, enter the following:
  7202.  
  7203. MODE VER=OFF
  7204.  
  7205.  
  7206. ΓòÉΓòÉΓòÉ 4.88. MORE - Display Output One Screen at a Time ΓòÉΓòÉΓòÉ
  7207.  
  7208. Reads data from the standard input device and sends data to the standard output 
  7209. device (usually the display) one full screen at a time. After each screen, the 
  7210. OS/2 operating system pauses with the message --More-- until you press any key 
  7211. to continue. 
  7212.  
  7213. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ MORE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7214.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  7215.  
  7216. Related Commands:  FIND, SORT 
  7217.  
  7218. "One screen at a time" does not imply one physical window's worth of 
  7219. information at a time when used in a window session. 
  7220.  
  7221. MORE is useful for viewing long files or directories.  To view the next screen, 
  7222. press any key.  However, if you do not want to continue, press the Ctrl and 
  7223. Break keys together. 
  7224.  
  7225. Return Codes:  The MORE command issues a return code of 0 for normal 
  7226. completion. 
  7227.  
  7228.  
  7229. ΓòÉΓòÉΓòÉ <hidden> MORE Examples ΓòÉΓòÉΓòÉ
  7230.  
  7231. To display the large subdirectory C:\MYDIR one screen at a time, using the | 
  7232. symbol, enter the following: 
  7233.  
  7234. DIR C:\MYDIR | MORE
  7235.  
  7236. To display the contents of a file named MYFILES.NEW one screen at a time, using 
  7237. the redirection symbol (<), enter the following: 
  7238.  
  7239. MORE <MYFILES.NEW
  7240.  
  7241.  
  7242. ΓòÉΓòÉΓòÉ 4.89. MOVE - Move Files to Another Directory ΓòÉΓòÉΓòÉ
  7243.  
  7244. Moves one or more files from one directory to another directory on the same 
  7245. drive. 
  7246.  
  7247. MOVE ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7248.          ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7249.                                   ΓööΓöÇ filename ΓöÇΓöÿ
  7250. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7251.             ΓööΓöÇ path ΓöÇΓöÿ   ΓööΓöÇ filename ΓöÇΓöÿ
  7252.  
  7253. You can use the global file-name characters ? and * in the filename parameter 
  7254. of both the source and target files.  If you type global characters in the 
  7255. source file name, the names of the files will be displayed as the files are 
  7256. being moved. 
  7257.  
  7258.  
  7259. ΓòÉΓòÉΓòÉ <hidden> MOVE Examples ΓòÉΓòÉΓòÉ
  7260.  
  7261. To move a file named FRIDAY to a directory named WEEKLY and rename the file 
  7262. DAILY, enter the following: 
  7263.  
  7264. MOVE FRIDAY \WEEKLY\DAILY
  7265.  
  7266. To move all files in the current directory with an extension of .STA to the 
  7267. STATUS directory, enter the following: 
  7268.  
  7269. MOVE *.STA \STATUS
  7270.  
  7271.  
  7272. ΓòÉΓòÉΓòÉ 4.90. PATCH - Apply Software Repairs ΓòÉΓòÉΓòÉ
  7273.  
  7274. Allows you to apply IBM-supplied patches to make repairs to software. 
  7275.  
  7276. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ PATCH ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  7277.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  7278.  
  7279. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename.ext ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7280.    ΓööΓöÇ path ΓöÇΓöÿ                       ΓööΓöÇ /A ΓöÇΓöÿ
  7281.  
  7282. PATCH should be used only by those who understand the need for a patch, how to 
  7283. make a patch, and the effect the patch has on the operation of a program. PATCH 
  7284. has prompts that guide you through inserting changes to the operating system's 
  7285. software. 
  7286.  
  7287. If you select the /A option to automatically apply patches shipped by IBM to 
  7288. make fixes to IBM-supplied code, verification is performed before the patch is 
  7289. applied.  Verification might not be done on non-IBM-supplied patches. 
  7290.  
  7291. If you decide to manually apply a patch by entering the command without any 
  7292. options, you are asked to supply an offset to indicate where the patch is to be 
  7293. made. PATCH displays the contents of the location specified by the offset and 
  7294. allows you to enter the patch.  You must enter both the offset and the patch 
  7295. contents in hexadecimal notation. 
  7296.  
  7297. When you supply a hexadecimal offset, the operating system displays the 16 
  7298. bytes at that offset and you can change any or all 16 bytes or quit without 
  7299. making any changes. The cursor is initially positioned on the first byte.  You 
  7300. can type one or two hexadecimal digits to change this byte or press the 
  7301. Spacebar to leave the byte unchanged and move to the next byte.  You can press 
  7302. Backspace to move the cursor to the previous byte if you make a mistake.  You 
  7303. can continue changing bytes until you press Enter.  If you move the cursor past 
  7304. the 16th byte, the operating system displays the next 16 bytes, allowing you to 
  7305. also change those bytes. 
  7306.  
  7307. After you press Enter, the patch information is saved in memory and the 
  7308. following message is displayed: 
  7309.  
  7310. Do you want to continue patching filename (Y/N)?
  7311.  
  7312. If you enter Y (yes), PATCH prompts for an offset. PATCH also saves any more 
  7313. patch requests in memory.  When you have entered all patches, the operating 
  7314. system displays them on your screen and asks you to verify that they should be 
  7315. applied.  If you respond with a Y, all the saved patch requests are written to 
  7316. the disk in the same order in which you entered them. 
  7317.  
  7318. If you specify automatic mode (/A), PATCH gets the information needed from a 
  7319. patch information file received from IBM. 
  7320.  
  7321. Return Codes:  PATCH issues a return code of 0 for normal completion. 
  7322.  
  7323.  
  7324. ΓòÉΓòÉΓòÉ <hidden> PATCH Examples ΓòÉΓòÉΓòÉ
  7325.  
  7326. Note:   All patches are addressed in hexadecimal. 
  7327.  
  7328. To manually PATCH an information file you created named MYFILE.EXE, enter the 
  7329. following: 
  7330.  
  7331. PATCH MYFILE.EXE
  7332.  
  7333. Note:   The /A parameter for automatic mode is designed for IBM applied 
  7334.         patches.  The following is only an example. 
  7335.  
  7336. To specify automatic mode from a PATCH information file named DATA.DAT, that 
  7337. looks like this: 
  7338.  
  7339. 123456
  7340.  
  7341. Type the following in a patch file called REPAIR.FIL: 
  7342.  
  7343. FILE DATA.DAT
  7344. VER 0 313233
  7345. CHA 0 343536
  7346.  
  7347. To start the patch process on the file DATA.DAT enter the following: 
  7348.  
  7349. PATCH REPAIR.FIL /A
  7350.  
  7351. The result of the patch would be: 
  7352.  
  7353. 456456
  7354.  
  7355. Note:   The preceding example for patching an ASCII text file and this utility 
  7356.         program would be used on an executable file. You can use the PATCH 
  7357.         command on any .EXE file as long as you understand what you want to do 
  7358.         and where the information is located within the file. 
  7359.  
  7360.  
  7361. ΓòÉΓòÉΓòÉ 4.91. PATH - Set Search Path ΓòÉΓòÉΓòÉ
  7362.  
  7363. Sets a search path for commands and programs. 
  7364.  
  7365. PATH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7366.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  7367.            Γöé                                Γöé
  7368.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7369.  
  7370. Related Commands:  APPEND, DPATH, and SET 
  7371.  
  7372. Enter this command without a parameter to display the paths currently in 
  7373. effect.  To delete the use of the PATH command, enter the command followed by a 
  7374. semicolon (;). 
  7375.  
  7376. Setting the PATH in the CONFIG.SYS and AUTOEXEC.BAT files lets you avoid having 
  7377. to set PATH from the command prompt each time you turn on your system. 
  7378.  
  7379. As you create your own subdirectories, you can change the PATH statement in 
  7380. your CONFIG.SYS to reflect your new directory structure. For DOS sessions, you 
  7381. update the PATH statement in your AUTOEXEC.BAT file. 
  7382.  
  7383. PATH searches specified directories for commands or batch files that the system 
  7384. did not find when it searched the current directory. PATH only finds files that 
  7385. can be run, such as files with the following extensions: .COM, .EXE, and .BAT 
  7386. (for DOS sessions), or .CMD (for OS/2 sessions). 
  7387.  
  7388. PATH is a system environment variable.  If the system cannot find an external 
  7389. command or program in your current directory, it queries the environment for a 
  7390. value for PATH. Application programs can also query the environment for the 
  7391. value of PATH and, depending on what they find, change their behavior. 
  7392.  
  7393. If you enter a command that is not found in the current directory, the system 
  7394. searches the named directories in the order in which you entered them.  The 
  7395. length of a path can be up to five characters less than the number of 
  7396. characters allowed on the command line. 
  7397.  
  7398. When you install the OS/2 operating system, the installation program places the 
  7399. following PATH statement in your CONFIG.SYS file: 
  7400.  
  7401. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS;C:\OS2\INSTALL;C:\;
  7402.  
  7403. System installation also creates the following PATH statement in your 
  7404. AUTOEXEC.BAT file for use with DOS sessions: 
  7405.  
  7406. PATH C:\OS2;C:\OS2\MDOS;C:\;
  7407.  
  7408.  
  7409. ΓòÉΓòÉΓòÉ <hidden> PATH Examples ΓòÉΓòÉΓòÉ
  7410.  
  7411. To determine the current active PATH environment, enter the following: 
  7412.  
  7413. PATH
  7414.  
  7415. To delete the current PATH environment, enter the following: 
  7416.  
  7417. PATH ;
  7418.  
  7419. To search the MEMOS subdirectory on drive A and then search the REPORTS 
  7420. directory on drive C, enter the following: 
  7421.  
  7422. PATH A:\MEMOS;C:\REPORTS
  7423.  
  7424. To add the path to the ABC subdirectory on drive A to the existing path known 
  7425. to CMD.EXE., enter the following: 
  7426.  
  7427. PATH %PATH%;A:\ABC
  7428.  
  7429.  
  7430. ΓòÉΓòÉΓòÉ 4.92. PAUSE - Suspend Batch Operation ΓòÉΓòÉΓòÉ
  7431.  
  7432. Suspends processing of the batch file and displays the following message: 
  7433.  
  7434. Press any key when ready . . .
  7435.  
  7436. PAUSE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7437.                   ΓööΓöÇ comment ΓöÇΓöÿ
  7438.  
  7439. Related Commands:  ECHO, REM 
  7440.  
  7441. Enter this command to display the message: 
  7442.  
  7443. Press any key when ready....
  7444.  
  7445. You can control how much of a batch file you want to process by placing PAUSE 
  7446. commands at strategic points in the file.  At each PAUSE statement, the system 
  7447. stops and gives you time to decide whether to stop the processing.  Press and 
  7448. hold Ctrl+Break, and type Y to stop a batch file from processing.  In a DOS 
  7449. session, press any key to continue processing.  In an OS/2 session, you cannot 
  7450. continue processing. 
  7451.  
  7452.  
  7453. ΓòÉΓòÉΓòÉ <hidden> PAUSE Examples ΓòÉΓòÉΓòÉ
  7454.  
  7455. To pause batch processing and display the message, "Press any key when 
  7456. ready...", type the following in your batch file: 
  7457.  
  7458. PAUSE
  7459.  
  7460. To suspend processing of your commands in a batch file so that you can change 
  7461. diskettes, type a statement like the following in your batch file: 
  7462.  
  7463. @ECHO INSERT COPY DISKETTE #2 IN DRIVE A
  7464. @PAUSE
  7465.  
  7466. or 
  7467.  
  7468. PAUSE INSERT COPY DISKETTE #2 IN DRIVE A
  7469.  
  7470.  
  7471. ΓòÉΓòÉΓòÉ 4.93. PAUSEONERROR - Pause CONFIG.SYS Messages ΓòÉΓòÉΓòÉ
  7472.  
  7473. Allows or prevents pausing when error messages are issued during the processing 
  7474. of the CONFIG.SYS file. 
  7475.  
  7476. PAUSEONERROR = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ YES ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7477.                        ΓööΓöÇ  NO   ΓöÇΓöÿ
  7478.  
  7479.  
  7480. ΓòÉΓòÉΓòÉ <hidden> PAUSEONERROR Examples ΓòÉΓòÉΓòÉ
  7481.  
  7482. To prevent the system from pausing before starting the user interface or 
  7483. command processor during the processing of the CONFIG.SYS file, enter the 
  7484. following: 
  7485.  
  7486. PAUSEONERROR=NO
  7487.  
  7488. To pause the screen and read any error messages generated during the processing 
  7489. of the CONFIG.SYS file, enter the following: 
  7490.  
  7491. PAUSEONERROR=YES
  7492.  
  7493. If if there is not a PAUSEONERROR statement in the CONFIG.SYS file, the default 
  7494. is true, and PAUSEONERROR is equal to YES. 
  7495.  
  7496.  
  7497. ΓòÉΓòÉΓòÉ 4.94. PICVIEW - Display a Picture File ΓòÉΓòÉΓòÉ
  7498.  
  7499. Displays a picture file. 
  7500.  
  7501. PICVIEW ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7502.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            Γö£ΓöÇ /P ΓöÇΓöñ
  7503.                                            ΓööΓöÇ /S ΓöÇΓöÿ                              ΓöÇΓöÿ
  7504.  
  7505. You can select Picture Viewer from the Productivity folder or issue a PICVIEW 
  7506. command at an OS/2 command prompt. 
  7507.  
  7508. If you enter PICVIEW without a parameter at the OS/2 command prompt, the 
  7509. Picture Viewer window appears.  If you type PICVIEW with a file name, PICVIEW 
  7510. starts displaying the picture file immediately.  If you do not specify a file 
  7511. name, you can select the files to be displayed from the Picture Viewer window. 
  7512.  
  7513.  
  7514. ΓòÉΓòÉΓòÉ <hidden> PICVIEW Examples ΓòÉΓòÉΓòÉ
  7515.  
  7516. To view a metafile named AIRPLANE, enter the following: 
  7517.  
  7518. PICVIEW AIRPLANE.MET
  7519.  
  7520. To view a picture interchange format (PIF) file named TRADSHOW, enter the 
  7521. following: 
  7522.  
  7523. PICVIEW TRADSHOW.PIF
  7524.  
  7525. To send a metafile named AIRPLANE to be printed, enter the following: 
  7526.  
  7527. PICVIEW AIRPLANE.MET /P
  7528.  
  7529. To view a metafile named SHIP and then return the Picture Viewer window to the 
  7530. default position on the screen, enter the following: 
  7531.  
  7532. PICVIEW SHIP.MET /S
  7533.  
  7534.  
  7535. ΓòÉΓòÉΓòÉ 4.95. PMREXX - Display Output from REXX Procedures ΓòÉΓòÉΓòÉ
  7536.  
  7537. Displays output from REXX procedures and provides an input field for them. 
  7538.  
  7539. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ PMREXXΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7540.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  7541.  
  7542. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  7543.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ arguments ΓöÇΓöÿ
  7544.  
  7545. PMREXX is a Presentation Manager* window application that enables you to browse 
  7546. the output of your REXX procedures. 
  7547.  
  7548. You start the PMREXX program and a REXX procedure from an OS/2 command prompt. 
  7549. You do this by typing PMREXX and a target procedure name that generates an 
  7550. output or input function, as follows: 
  7551.  
  7552. PMREXX  filename.CMD arguments
  7553.  
  7554. where the arguments and .CMD extension are optional. 
  7555.  
  7556. By using PMREXX, you add the following features to REXX: 
  7557.  
  7558. o A window for the display of the output of a REXX procedure, such as: 
  7559.  
  7560.    - The SAY instruction output 
  7561.    - The STDOUT and STDERR outputs from secondary processes started from a REXX 
  7562.      procedures file 
  7563.    - The REXX TRACE output (not to be confused with OS/2 tracing). 
  7564.  
  7565. o An input window for: 
  7566.  
  7567.    - The PULL instruction in all of its forms 
  7568.    - The STDIN data for secondary processes started from a REXX procedures 
  7569.      file. 
  7570.  
  7571. o A browsing, scrolling, and clipboard capability for REXX output. 
  7572. o A selection of fonts for the output window. 
  7573. o A simple environment for experimenting with REXX instructions through the use 
  7574.   of the REXXTRY.CMD program.  REXXTRY interactively interprets REXX 
  7575.   instructions and can be started from an OS/2 command prompt. 
  7576.  
  7577. For more information about REXX and PMREXX, select REXX Information in the 
  7578. Information folder. 
  7579.  
  7580.  
  7581. ΓòÉΓòÉΓòÉ <hidden> PMREXX Examples ΓòÉΓòÉΓòÉ
  7582.  
  7583. To display the current PATH and DPATH statements in the CONFIG.SYS file that 
  7584. you have indicated in the REXX program, SAMPLE.CMD, enter the following: 
  7585.  
  7586. PMREXX Sample PATH DPATH
  7587.  
  7588.  
  7589. ΓòÉΓòÉΓòÉ 4.96. PRINT - Print Information ΓòÉΓòÉΓòÉ
  7590.  
  7591. Prints or cancels printing of one or more files. 
  7592.  
  7593.                                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  7594.                                                        Γöé
  7595. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ PRINT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇ
  7596.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇ /D:device ΓöÇΓöñ
  7597.                                        ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7598.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  7599.                                                          Γöé
  7600. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  7601.    ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             Γöé    Γöé  Γö£ΓöÇ /C ΓöÇΓöñ   Γöé
  7602.   Γöé                                   Γöé    Γöé  ΓööΓöÇ /T ΓöÇΓöÿ   Γöé
  7603.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇ /D:device ΓöÇΓöÿ
  7604.  
  7605. Related Commands:  SPOOL 
  7606.  
  7607. It is important to note that: 
  7608.  
  7609. o The /C and /T parameters are valid for OS/2 sessions only. 
  7610.  
  7611. o The /C or /T parameter cannot be used with the /B parameter. 
  7612.  
  7613. o The /C and /T parameters cannot be used together. 
  7614.  
  7615. o A file name cannot be specified with the /C or /T parameter. 
  7616.  
  7617. You can enter more than one file name (along with its appropriate parameters) 
  7618. at the command prompt.  The global file-name characters (* and ?) are allowed. 
  7619. Also, the files are queued for printing in the order in which you enter them. 
  7620.  
  7621.  
  7622. ΓòÉΓòÉΓòÉ <hidden> PRINT Examples ΓòÉΓòÉΓòÉ
  7623.  
  7624. To print a file named C:\LISTING\REPORT.STA on the LPT2 print device, enter the 
  7625. following: 
  7626.  
  7627. PRINT /D:LPT2 C:\LISTING\REPORT.STA
  7628.  
  7629. To prevent Ctrl+Z characters from being interpreted as end-of-file characters 
  7630. when a file named LISTING prints, enter the following: 
  7631.  
  7632. PRINT /B LISTING
  7633.  
  7634. To print a file named REPORTS in the current directory, enter the following: 
  7635.  
  7636. PRINT REPORTS
  7637.  
  7638. To cancel the file that is currently printing on LPT1 (the default print 
  7639. device), enter the following: 
  7640.  
  7641. PRINT /C
  7642.  
  7643. To cancel all files in the LPT2 print queue and any file currently printing, 
  7644. enter the following: 
  7645.  
  7646. PRINT /D:LPT2 /T
  7647.  
  7648.  
  7649. ΓòÉΓòÉΓòÉ 4.97. PRINTMONBUFSIZE - Set Parallel-Port Device-Driver Buffer Size ΓòÉΓòÉΓòÉ
  7650.  
  7651. Sets parallel-port device-driver buffer size. 
  7652.  
  7653. PRINTMONBUFSIZE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x,ΓöÇΓöÇ x,ΓöÇΓöÇ xΓöÇΓöÇΓöñ
  7654.  
  7655. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  7656. prompt. 
  7657.  
  7658. The PRINTMONBUFSIZE= statement enables you to increase the size of the 
  7659. parallel-port device-driver buffer and thereby increase performance of data 
  7660. transfer to devices connected to the parallel port.  The parallel port device 
  7661. driver will allocate and register its monitor chain buffer based upon the value 
  7662. specified. 
  7663.  
  7664. The parallel port device driver is loaded automatically at startup by the 
  7665. operating system.  It does not require a DEVICE= statement in the CONFIG.SYS 
  7666. file and, therefore, must have a separate statement to specify the buffer size 
  7667. for LPT1, LPT2, and LPT3. 
  7668.  
  7669.  
  7670. ΓòÉΓòÉΓòÉ <hidden> PRINTMONBUFSIZE Examples ΓòÉΓòÉΓòÉ
  7671.  
  7672. To set the parallel-port device-driver buffer size for LPT1 as 2048 bytes, for 
  7673. LPT2 as 134 bytes, and for LPT3 as 134 bytes, type the following in the 
  7674. CONFIG.SYS file: 
  7675.  
  7676. PRINTMONBUFSIZE=2048,134,134
  7677.  
  7678.  
  7679. ΓòÉΓòÉΓòÉ 4.98. PRIORITY - Schedule Threads ΓòÉΓòÉΓòÉ
  7680.  
  7681. Selects priority calculation in scheduling regular-class threads. 
  7682.  
  7683. PRIORITY = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ DYNAMIC ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7684.                       ΓööΓöÇΓöÇ ABSOLUTE ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7685.  
  7686. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  7687. command prompt. 
  7688.  
  7689. Related Commands:  MAXWAIT, TIMESLICE, THREADS 
  7690.  
  7691. The system assigns a regular-class thread to any of 32 priority levels and 
  7692. dispatches it based on its display status (background or foreground), recent 
  7693. input and output activity, and frequency of processor use.  Most threads are 
  7694. assigned regular priority. 
  7695.  
  7696. Applications can adjust priorities, but the system has a built-in method of 
  7697. handling access to the processor.  The default method is Dynamic.  Changing 
  7698. this to Absolute can help achieve predictable results by determining the order 
  7699. of priority strictly on the basis of class and level. 
  7700.  
  7701.  
  7702. ΓòÉΓòÉΓòÉ <hidden> PRIORITY Examples ΓòÉΓòÉΓòÉ
  7703.  
  7704. To change the PRIORITY statement so the OS/2 operating system varies the 
  7705. priorities of threads as they are running, type the following in the CONFIG.SYS 
  7706. file and restart your system: 
  7707.  
  7708. PRIORITY=DYNAMIC
  7709.  
  7710. To change the PRIORITY statement so the OS/2 operating system does not vary the 
  7711. priorities of threads as they are running, type the following in the CONFIG.SYS 
  7712. file and restart your system: 
  7713.  
  7714. PRIORITY=ABSOLUTE
  7715.  
  7716.  
  7717. ΓòÉΓòÉΓòÉ 4.99. PRIORITY_DISK_IO - Set Disk Input/Output Priority ΓòÉΓòÉΓòÉ
  7718.  
  7719. Specifies disk input/output priority for applications running in the 
  7720. foreground. 
  7721.  
  7722. PRIORITY_DISK_IO = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ   YES   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7723.                       ΓööΓöÇΓöÇ    NO    ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7724.  
  7725. Type this command in the CONFIG.SYS file; do not enter the command at a DOS or 
  7726. OS/2 command prompt. 
  7727.  
  7728. When PRIORITY_DISK_IO=YES is specified in the CONFIG.SYS file, an application 
  7729. running in the foreground will receive disk I/O priority over applications 
  7730. running in the background.  This means that the application in the forground 
  7731. will have a better response time than applications running in the background. 
  7732.  
  7733.  
  7734. ΓòÉΓòÉΓòÉ <hidden> PRIORITY_DISK_IO Examples ΓòÉΓòÉΓòÉ
  7735.  
  7736. To specify that applications in the foreground are to receive priority for disk 
  7737. access, type the following in the CONFIG.SYS file: 
  7738.  
  7739. PRIORITY_DISK_IO=YES
  7740.  
  7741. To specify that all applications (foreground and background) are to be treated 
  7742. equally with regard to disk access, type the following in the CONFIG.SYS file: 
  7743.  
  7744. PRIORITY_DISK_IO=NO
  7745.  
  7746.  
  7747. ΓòÉΓòÉΓòÉ 4.100. PROMPT - Change System Command Prompt ΓòÉΓòÉΓòÉ
  7748.  
  7749. Changes the system command prompt. 
  7750.  
  7751. PROMPT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7752.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ text ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7753.  
  7754. Related Commands: DATE, HELP, SET, TIME, and VER 
  7755.  
  7756. Typing this command without a parameter resets the system prompt to the system 
  7757. default. PROMPT can be specified with the SET command. You can also set the 
  7758. PROMPT command in the CONFIG.SYS file. 
  7759.  
  7760. In DOS sessions, the default system prompt is the default drive letter followed 
  7761. by the > symbol.  If you are in the root directory of the default drive, your 
  7762. DOS command prompt looks like this: 
  7763.  
  7764. C>
  7765.  
  7766. The default OS/2 system prompt is the current directory of the default drive 
  7767. enclosed within bracket symbols. If you are in the \OS2 directory of the 
  7768. default drive, your OS/2 command prompt looks like this: 
  7769.  
  7770. [C:\OS2]
  7771.  
  7772.  
  7773. ΓòÉΓòÉΓòÉ <hidden> PROMPT Examples ΓòÉΓòÉΓòÉ
  7774.  
  7775. To set the command prompt to show special text, for example, GOOD MORNING, type 
  7776. the following in the CONFIG.SYS file: 
  7777.  
  7778. SET PROMPT=GOOD MORNING
  7779.  
  7780. To set the command prompt to display the current drive and directory plus the > 
  7781. character (OS/2 sessions), type the following in the CONFIG.SYS file: 
  7782.  
  7783. SET PROMPT=$P$G
  7784.  
  7785. To set the prompt to display the default drive plus the > character (DOS 
  7786. sessions), type 
  7787.  
  7788. PROMPT
  7789.  
  7790. To set the command prompt to display the date and time in OS/2 sessions, type 
  7791. the following in the CONFIG.SYS file: 
  7792.  
  7793. SET PROMPT=TIME = $T$_DATE = $D
  7794.  
  7795. If you have allowed extended keyboard and display support, you can use escape 
  7796. sequences in your prompts.  The following example sets the prompt to show help 
  7797. on the first line, the date and time on the second line, and [drive\path] on 
  7798. the current line. 
  7799.  
  7800. SET PROMPT=$i[$p]$e[s$e[2;1H$e[34;47m$d$_$t$e[0m$e[u
  7801.  
  7802. Note:   Issuing the HELP ON or HELP OFF commands will overwrite any previous 
  7803.         value you have set your prompt to. 
  7804.  
  7805.  
  7806. ΓòÉΓòÉΓòÉ 4.101. PROTECTONLY - Select Operating Environments ΓòÉΓòÉΓòÉ
  7807.  
  7808. Selects one or two operating environments. 
  7809.  
  7810. PROTECTONLY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ NO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7811.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ YES ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7812.  
  7813. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  7814. command prompt. 
  7815.  
  7816. Related Commands:  PROTSHELL, RMSIZE, and SHELL 
  7817.  
  7818. The OS/2 operating system requires this statement in the CONFIG.SYS file.  The 
  7819. PROTECTONLY=YES statement allows memory under 640KB, which is normally used for 
  7820. DOS programs, to be available for OS/2 programs.  When PROTECTONLY=YES, you 
  7821. cannot run programs in DOS sessions. If you later decide that you want to run 
  7822. DOS programs in the lower 640KB of memory, specify PROTECTONLY=NO.  This allows 
  7823. you to use both DOS and OS/2 programs. 
  7824.  
  7825.  
  7826. ΓòÉΓòÉΓòÉ <hidden> PROTECTONLY Examples ΓòÉΓòÉΓòÉ
  7827.  
  7828. To set up your system for OS/2 sessions only, type the following in the 
  7829. CONFIG.SYS file: 
  7830.  
  7831. PROTECTONLY=YES
  7832.  
  7833. To set up your system for both OS/2 and DOS sessions, type the following in the 
  7834. CONFIG.SYS file: 
  7835.  
  7836. PROTECTONLY=NO
  7837.  
  7838.  
  7839. ΓòÉΓòÉΓòÉ 4.102. PROTSHELL - Load a User Interface Program ΓòÉΓòÉΓòÉ
  7840.  
  7841. Loads the user interface program and OS/2 command processor. PROTSHELL also 
  7842. replaces the default OS/2 command processor, CMD.EXE, with another command 
  7843. processor. 
  7844.  
  7845. PROTSHELL = ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7846.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  7847.  
  7848. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7849.             ΓööΓöÇ arguments ΓöÇΓöÿ
  7850.  
  7851. Related Commands: CMD, PROTECTONLY, RMSIZE, and SHELL 
  7852.  
  7853. If you do not specify PROTSHELL in your CONFIG.SYS file, the default user 
  7854. interface for OS/2 2.0 is loaded and started with an argument of CMD.EXE. 
  7855.  
  7856. For a system that is set up for both OS/2 and DOS sessions, the user interface 
  7857. is started and automatically displayed.  The DOS command processor also is 
  7858. started but does not begin running until the DOS command prompt is selected 
  7859. from the Command Prompts folder. 
  7860.  
  7861.  
  7862. ΓòÉΓòÉΓòÉ <hidden> PROTSHELL Examples ΓòÉΓòÉΓòÉ
  7863.  
  7864. If you accept the system installation default for the PROTSHELL statement, the 
  7865. installation program places the following default statement in your CONFIG.SYS 
  7866. file: 
  7867.  
  7868. PROTSHELL=C:\OS2\PMSHELL.EXE
  7869. SET USER_INI=C:\OS2\OS2.INI
  7870. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  7871. SET OS2_SHELL=C:\OS2\CMD.EXE
  7872. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  7873.  
  7874. If you want to run the Presentation Manager* program AIRLINE.EXE instead of the 
  7875. default PMSHELL.EXE, type the following in your CONFIG.SYS file: 
  7876.  
  7877. PROTSHELL=C:\AIRLINE.EXE
  7878. SET USER_INI=C:\OS2\OS2.INI
  7879. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  7880. SET OS2_SHELL=C:\OS2\CMD.EXE
  7881.  
  7882. Note:   You should also delete the SET AUTOSTART= line from the CONFIG.SYS file 
  7883.         to disable the OS/2 Workplace Shell. 
  7884.  
  7885. If you want to pass a default batch file to CMD.EXE to establish an 
  7886. environment, type the following in your CONFIG.SYS file: 
  7887.  
  7888. PROTSHELL=C:\OS2\PMSHELL.EXE
  7889. SET USER_INI=C:\OS2\OS2.INI
  7890. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  7891. SET OS2_SHELL=C:\OS2\CMD.EXE /K INIT.CMD
  7892.  
  7893.  
  7894. ΓòÉΓòÉΓòÉ 4.103. PSTAT - Display Process Status Information ΓòÉΓòÉΓòÉ
  7895.  
  7896. Displays process, thread, system-semaphore, shared-memory, and dynamic-link 
  7897. library information. 
  7898.  
  7899. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ PSTAT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7900.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  7901.                                              Γö£ΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöñ
  7902.                                              Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöñ
  7903.                                              Γö£ΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöñ
  7904.                                              ΓööΓöÇ /P:pid ΓöÇΓöÿ
  7905.  
  7906. Enter this command without a parameter to display information about the 
  7907. following: 
  7908.  
  7909. o Current processes and threads 
  7910. o System semaphores 
  7911. o Shared memory for each process 
  7912. o Dynamic-link libraries 
  7913.  
  7914. PSTAT displays process status information, such as current processes and 
  7915. threads, system- semaphores, dynamic-link libraries, and shared memory.  PSTAT 
  7916. helps you determine which threads are running in the system, along with their 
  7917. current status and current priorities. 
  7918.  
  7919. This command also aids you in determining why a given thread is blocked 
  7920. (waiting for a system event), or why the thread's performance is slow (low 
  7921. priority compared to other threads.)  Moreover, it displays the process ID that 
  7922. has been assigned from each process.  The process ID can then be used as input 
  7923. to the TRACE utility program for tracing on a per-process basis. 
  7924.  
  7925.  
  7926. ΓòÉΓòÉΓòÉ <hidden> PSTAT Examples ΓòÉΓòÉΓòÉ
  7927.  
  7928. To display the current process and thread-related information on the system 
  7929. for: 
  7930.  
  7931. o Process ID 
  7932. o Parent process ID 
  7933. o Session ID 
  7934. o Process name 
  7935.  
  7936. and display values for: 
  7937.  
  7938. o Thread ID 
  7939. o Thread state 
  7940. o Thread priority 
  7941. o Block ID 
  7942.  
  7943. enter the following: 
  7944.  
  7945. PSTAT /C
  7946.  
  7947. To display system-semaphore information for each thread and display: 
  7948.  
  7949. o Process module name 
  7950. o Process ID 
  7951. o Session 
  7952. o Index 
  7953. o Number of references 
  7954. o Number of requests 
  7955. o Flag 
  7956. o Name of the system semaphore 
  7957.  
  7958. enter the following: 
  7959.  
  7960. PSTAT /S
  7961.  
  7962. To display the dynamic-link libraries for: 
  7963.  
  7964. o Process module name 
  7965. o Process ID 
  7966. o Session ID 
  7967. o Library list 
  7968.  
  7969. enter the following: 
  7970.  
  7971. PSTAT /L
  7972.  
  7973. To display the shared information for each process: 
  7974.  
  7975. o Handle 
  7976. o Selector 
  7977. o Number of references 
  7978. o Name of the shared memory 
  7979.  
  7980. enter the following: 
  7981.  
  7982. PSTAT /M
  7983.  
  7984. To display the related information on the process ID 0002. 
  7985.  
  7986. o Process ID 
  7987. o Parent process ID 
  7988. o Session ID 
  7989. o Process module name 
  7990. o Dynamic-link libraries 
  7991. o Shared memory data 
  7992.  
  7993. and display: 
  7994.  
  7995. o Thread ID 
  7996. o Thread priority 
  7997. o Thread status 
  7998. o Block ID 
  7999. o Semaphore information 
  8000.  
  8001. enter the following: 
  8002.  
  8003. PSTAT /P:2
  8004.  
  8005.  
  8006. ΓòÉΓòÉΓòÉ 4.104. RECOVER - Recover Files ΓòÉΓòÉΓòÉ
  8007.  
  8008. Recovers files from a disk that contains defective sectors. 
  8009.  
  8010. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ RECOVER ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8011.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8012.  
  8013. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8014.    Γö£ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöñ
  8015.    Γöé  ΓööΓöÇ drive ΓöÇΓöÿ                              Γöé
  8016.    Γöé                                           Γöé
  8017.    ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8018.       ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  8019.  
  8020. Related Commands:  CHKDSK 
  8021.  
  8022. OS/2 2.0 reads the specified disk, sector by sector.  If RECOVER finds a bad 
  8023. portion, the sector is marked and data is no longer allocated to it.  All the 
  8024. files on the disk can be recovered if the directory has been damaged. 
  8025.  
  8026. RECOVER cannot recover files on the disk that contains the RECOVER.EXE file or 
  8027. the disk used to start the OS/2 operating system.  RECOVER locks the drive to 
  8028. be recovered so that no other applications or processes are allowed to access 
  8029. the drive. 
  8030.  
  8031. The OS/2 message file, C:\OS2\SYSTEM\OSO001.MSG, must not be on the disk to be 
  8032. recovered.  To be sure it is not, do the following: 
  8033.  
  8034. o Copy the following files to a blank, formatted diskette; C:\OS2\RECOVER.COM, 
  8035.   C:\OS2\SYSTEM\OSO001.MSG 
  8036. o Delete these files from the disk to be recovered. 
  8037. o Start the system from the OS/2 Install Diskette. 
  8038. o At the A: prompt, type: 
  8039.  
  8040.     SETDPATH=A:\
  8041.     SETPATH=A:\
  8042.  
  8043. o Put the diskette prepared earlier into drive A and type: 
  8044.  
  8045.     RECOVER C:filenames
  8046.  
  8047. RECOVER does not work on drives that have an ASSIGN, JOIN, or SUBST command in 
  8048. effect. Also, RECOVER does not work on network drives. 
  8049.  
  8050. Note:   Use RECOVER with a specific file name or group of file names to ensure 
  8051.         that only the specified files are recovered and that other files on the 
  8052.         target disk will maintain their integrity. 
  8053.  
  8054. Extended Attributes:  RECOVER will attempt to recover the clusters that contain 
  8055. the extended attributes of a file. An extended attribute is a special area used 
  8056. for storing data that describes the file to the system or to an application. If 
  8057. errors occur in any extended attribute chain, RECOVER writes extended attribute 
  8058. information into a file that follows this naming format:  EAnnnn.REC (nnnn is a 
  8059. sequential number starting with 0000). The data from any bad sector appears in 
  8060. the file as zeroes; the original recovered file no longer contains extended 
  8061. attributes. RECOVER also recovers the file or directory associated with the 
  8062. extended attribute chain and places it in a file that follows this naming 
  8063. format:  FILEnnnn.REC.  The number in this file name corresponds to the number 
  8064. shown in the EAnnnn.REC file name. 
  8065.  
  8066. When recovering files or directories that have extended attributes, be sure to 
  8067. use OS/2 2.0 to ensure all extended file attributes are recovered. 
  8068.  
  8069.  
  8070. ΓòÉΓòÉΓòÉ 4.104.1. High Performance File System Considerations ΓòÉΓòÉΓòÉ
  8071.  
  8072. When using RECOVER on a disk formatted for the High Performance File System 
  8073. (HPFS), it is important to note the following: 
  8074.  
  8075. o RECOVER does not recover an entire disk; only individual files are recovered. 
  8076.  
  8077. o RECOVER uses the original file name.  If the old file cannot be recovered, 
  8078.   RECOVER creates a file that follows this naming format: FILEnnnn.REC and 
  8079.   places that file in the same directory as the original file. 
  8080.  
  8081. o If a sector in the damaged file cannot be recovered, RECOVER fills the area 
  8082.   occupied by the sector with zeroes in the new file, preserving the original 
  8083.   file size. 
  8084.  
  8085. Return Codes: 
  8086.  
  8087. 0 - Normal completion 
  8088. 1 - Undefined 
  8089. 2 - Undefined 
  8090. 3 - Ended by user 
  8091. 4 - Ended due to error 
  8092. 5 - Unable to read or write to one of the file allocation tables 
  8093. 6 - Unable to execute another file system's recover program 
  8094.  
  8095.  
  8096. ΓòÉΓòÉΓòÉ <hidden> RECOVER Examples ΓòÉΓòÉΓòÉ
  8097.  
  8098. To recover a file named ADDRESS.FIL in the root directory of drive A, enter the 
  8099. following: 
  8100.  
  8101. RECOVER A:\ADDRESS.FIL
  8102.  
  8103. To recover all the files on drive A, enter the following: 
  8104.  
  8105. RECOVER A:
  8106.  
  8107. To recover files on a drive that is the hard disk from which you normally start 
  8108. the operating system, follow these steps: 
  8109.  
  8110.  1. Insert the system installation diskette in diskette drive A. 
  8111.  2. Restart the system.  At the Logo panel, remove the installation diskette 
  8112.     and insert diskette 1.  Press Enter to continue. 
  8113.  3. At the first text panel that appears (Welcome to OS/2), press Esc. 
  8114.  4. If the drive containing the files to be recovered is a drive formatted for 
  8115.     HPFS, the file UHPFS.DLL has to exist on the same diskette as CHKDSK, or 
  8116.     UHPFS.DLL has to exist in a directory in the LIBPATH statement. To display 
  8117.     the LIBPATH statement, enter TYPE \CONFIG.SYS in the drive of the disk that 
  8118.     the system started from. 
  8119.  5. In order for the system to display error messages, the file OSO001.MSG has 
  8120.     to be on the same disk as CHKDSK or it has to exist in a directory in your 
  8121.     DPATH statement.  To display your DPATH statement, enter DPATH at the 
  8122.     command line. 
  8123.  6. Run CHKDSK in drive A, while specifying the letter of the drive containing 
  8124.     the files to be recovered. 
  8125.  
  8126.  
  8127. ΓòÉΓòÉΓòÉ 4.105. REM - Display Remarks ΓòÉΓòÉΓòÉ
  8128.  
  8129. Adds comments or line spacing in a batch file or a CONFIG.SYS file. 
  8130.  
  8131. REM ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8132.                   ΓööΓöÇ comment ΓöÇΓöÿ
  8133.  
  8134.  When adding remarks or line spacing in a batch file, it is important to note 
  8135. that: 
  8136.  
  8137. o The OS/2 operating system displays the remark when batch processing reaches 
  8138.   the REM command.  If ECHO is OFF, the system does not display the remarks. 
  8139. o You can use REM by itself to improve the readability of your batch file. 
  8140.  
  8141. The OS/2 operating system treats the preceding REM commands as comments only 
  8142. and does not attempt to act on the comments. 
  8143.  
  8144. You can use the REM command to add remarks or line spacing to your CONFIG.SYS 
  8145. file. Any lines of text added using REM are ignored by the system during 
  8146. CONFIG.SYS processing and are not displayed on your display terminal. 
  8147.  
  8148.  
  8149. ΓòÉΓòÉΓòÉ <hidden> REM Examples ΓòÉΓòÉΓòÉ
  8150.  
  8151. To display REM and the remark, THIS IS A BATCH FILE from within a batch file, 
  8152. type the following: 
  8153.  
  8154. REM THIS IS A BATCH FILE
  8155.  
  8156. To prevent REM from displaying the remark THIS IS A BATCHFILE from within a 
  8157. batch file, type the following: 
  8158.  
  8159. @REM THIS IS A BATCHFILE
  8160.  
  8161. To prevent the operating system from interpreting the piping symbol (|), 
  8162. enclose it in double quotes. 
  8163.  
  8164. REM USE DOUBLE QUOTES "|" DIR
  8165.  
  8166. To add a line of text to explain the use of your device commands or as a 
  8167. reminder for future reference, follow this example. 
  8168.  
  8169. REM
  8170. REM These four lines I added
  8171. REM so that I can use the
  8172. REM mouse I borrowed
  8173. REM from Marion. They should
  8174. REM be deleted when I return
  8175. REM Marion's mouse.
  8176. REM
  8177. DEVICE=C:\OS2\POINTDD.SYS
  8178. DEVICE=MSSER01.SYS SERIAL=COM2 MODEL=199
  8179. DEVICE=MOUSE.SYS TYPE=MSSER$ MODE=P QSIZE=15
  8180. DEVICE=C:\OS2\COM02.SYS
  8181. REM
  8182.  
  8183. To add a line to explain system configuration and improve readability, follow 
  8184. this example: 
  8185.  
  8186. REM
  8187. REM The following statement
  8188. REM sets the size of DOS environment
  8189. REM to 512KB.
  8190. REM
  8191. RMSIZE=512
  8192. REM
  8193. REM This allows Ctrl+Break
  8194. REM in DOS environment
  8195. REM
  8196. BREAK=ON
  8197. REM
  8198.  
  8199.  
  8200. ΓòÉΓòÉΓòÉ 4.106. RENAME - Rename Files ΓòÉΓòÉΓòÉ
  8201.  
  8202. Changes a file name or extension without changing the contents of the file. 
  8203. You can use RENAME or REN interchangeably. In OS/2 sessions, you can also 
  8204. change the name of a directory. 
  8205.  
  8206. RENAME ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename1 ΓöÇΓöÇ filename2 ΓöÇΓöñ
  8207.         Γöé ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8208. REN ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8209.  
  8210. Related Commands:  COPY, MOVE 
  8211.  
  8212. You cannot specify a drive and path in the second file name; therefore, the 
  8213. file stays in the same directory after you rename it. 
  8214.  
  8215. You can use global file name characters (* or ?) in either file name.  All 
  8216. files matching the first file name are renamed.  If global file-name characters 
  8217. appear in the second file name, the corresponding character positions are not 
  8218. changed. 
  8219.  
  8220.  
  8221. ΓòÉΓòÉΓòÉ <hidden> RENAME Examples ΓòÉΓòÉΓòÉ
  8222.  
  8223. To change the name of a file from MEMOS to LETTERS in the current directory on 
  8224. the current drive, enter the following: 
  8225.  
  8226. REN MEMOS LETTERS
  8227.  
  8228. To change the extension of all files in the current directory of the current 
  8229. drive from .OLD to .NEW, enter the following: 
  8230.  
  8231. REN *.OLD *.NEW
  8232.  
  8233. To rename a program named MY.COM in the LEVEL1 subdirectory on drive B to 
  8234. YOUR.COM, enter the following: 
  8235.  
  8236. REN B:\LEVEL1\MY.COM YOUR.COM
  8237.  
  8238.  
  8239. ΓòÉΓòÉΓòÉ 4.107. REPLACE - Replace Files ΓòÉΓòÉΓòÉ
  8240.  
  8241. Selectively replaces files on the target drive with files of the same name from 
  8242. the source drive.  Also, it selectively adds files from the source drive to the 
  8243. target drive. 
  8244.  
  8245. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ REPLACE ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  8246.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               ΓööΓöÇ source drive ΓöÇΓöÿ
  8247.  
  8248.  
  8249. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇ target drive ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  8250.   ΓööΓöÇ path ΓöÇΓöÿ                                  ΓööΓöÇ path ΓöÇΓöÿ
  8251.  
  8252.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8253.                                 Γöé
  8254. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8255.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ /A ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8256.         Γöé     ΓööΓöÇΓöÇ /S ΓöÇΓöÇΓöÿ      Γöé
  8257.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8258.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8259.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /W ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8260.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /U ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8261.         ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8262.  
  8263. Hidden and system files are not found on the source and are not replaced on the 
  8264. target.  Also, if you use the /A parameter with the /S parameter, the system 
  8265. displays an error message. 
  8266.  
  8267. Extended Attributes:  REPLACE will copy the source file's extended attributes 
  8268. to the target file (See the /F parameter). When replacing files that have 
  8269. extended attributes, be sure to use OS/2 2.0 to ensure all extended file 
  8270. attributes are replaced. 
  8271.  
  8272. Return Codes: 
  8273.  
  8274. 0 - Normal completion 
  8275. 1 - No files were found to replace 
  8276. 2 - Some files not replaced (or added) due to file errors 
  8277. 4 - Ended due to error 
  8278.  
  8279.  
  8280. ΓòÉΓòÉΓòÉ <hidden> REPLACE Examples ΓòÉΓòÉΓòÉ
  8281.  
  8282. To replace the LETTERS file on drive A with the LETTERS file on drive C, enter 
  8283. the following: 
  8284.  
  8285. REPLACE C:LETTERS A:
  8286.  
  8287. You can also use the global characters * and ? when specifying a file name. 
  8288.  
  8289. To replace all files on drive C that have an extension of .EXE with files from 
  8290. drive A that have the same file name and extension, enter the following: 
  8291.  
  8292. REPLACE A:*.EXE C:
  8293.  
  8294. To copy all files from the current directory on drive C (that do not exist on 
  8295. drive A) to drive A, without overwriting the files that currently exist on 
  8296. drive A, enter the following: 
  8297.  
  8298. REPLACE C:*.* A: /A
  8299.  
  8300. To replace the files found in all directories of drive C with files matching 
  8301. the source file name of YEARLY in the current directory on drive A, enter the 
  8302. following: 
  8303.  
  8304. REPLACE A:YEARLY C:\ /S
  8305.  
  8306. To be prompted with (Y/N?) before replacing each file from the root directory 
  8307. on drive C to the root directory on drive A, enter the following: 
  8308.  
  8309. REPLACE C:\*.* A:\ /P
  8310.  
  8311. To replace all files on drive C (including read-only files) with files of the 
  8312. same name from drive A, enter the following: 
  8313.  
  8314. REPLACE A:*.* C: /R
  8315.  
  8316. To replace the LETTERS file on drive A with the LETTERS file on drive C, and 
  8317. have the system wait for you to insert a diskette before searching for source 
  8318. files, enter the following: 
  8319.  
  8320. REPLACE C:LETTERS A: /W
  8321.  
  8322. To replace all files on drive C named LETTER.FMT with a new LETTER.FMT file 
  8323. from drive A, enter the following: 
  8324.  
  8325. REPLACE A:LETTER.FMT C:\ /U  /S
  8326.  
  8327. To replace a file named REPORTS.TXT to the STATUS directory on drive D and have 
  8328. REPLACE fail if drive D does not support extended attributes, enter the 
  8329. following: 
  8330.  
  8331. REPLACE REPORTS.TXT D:\STATUS /F
  8332.  
  8333. To update the file RAYS.PRO that you just revised in your C:\PROFILES.DIR 
  8334. subdirectory and replace all of the other copies of RAYS.PRO on your C drive 
  8335. except those with extended attributes, enter the following: 
  8336.  
  8337. REPLACE C:PROFILES.DIR\RAYS.PRO C:\ /S /P /F
  8338.  
  8339.  
  8340. ΓòÉΓòÉΓòÉ 4.108. RESTORE - Restore Backed-Up Files ΓòÉΓòÉΓòÉ
  8341.  
  8342. Restores one or more backed-up files from one disk to another. 
  8343.  
  8344. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ RESTORE  ΓöÇΓöÇΓöÇ source drive ΓöÇΓöÇΓöÇ
  8345.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  8346.  
  8347. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8348.    ΓööΓöÇ target drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ    ΓööΓöÇ filename ΓöÇΓöÿ
  8349.  
  8350.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8351.                                       Γöé
  8352. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8353.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8354.                Γö£ΓöÇΓöÇΓöÇΓöÇ /B:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöñ
  8355.                Γö£ΓöÇΓöÇΓöÇΓöÇ /A:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöñ
  8356.                Γö£ΓöÇΓöÇΓöÇΓöÇ /E:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöñ
  8357.                Γö£ΓöÇΓöÇΓöÇΓöÇ /L:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöñ
  8358.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8359.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8360.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8361.                ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8362.  
  8363. Related Commands:  ATTRIB, BACKUP 
  8364.  
  8365. You must have used the BACKUP command to place the files you want restored on 
  8366. the source.  Note that: 
  8367.  
  8368. o RESTORE works only within the source directory unless you specify the /S 
  8369.   parameter, which copies files in the source directory and in all directories 
  8370.   below the starting source directory. 
  8371.  
  8372. o When RESTORE prompts you to insert the source diskette, make sure that you 
  8373.   insert the correct backup diskette. When you restore all your files, RESTORE 
  8374.   prompts you to insert the backup diskettes in order. 
  8375.  
  8376. o RESTORE can restore files from disks of different types. 
  8377.  
  8378. o The RESTORE command does not restore COMMAND.COM, CMD.EXE, or the hidden OS/2 
  8379.   and DOS system files on the root directory.  Therefore, you cannot use 
  8380.   RESTORE to create a startable disk or diskette. 
  8381.  
  8382. o You must restore files to the same directory they were in when BACKUP copied 
  8383.   them.  If you try to restore them to a different directory, the system 
  8384.   displays an error message. 
  8385.  
  8386. o If you use global file-name characters, RESTORE prompts you to insert the 
  8387.   next diskette after it has restored all files on the backup diskette that 
  8388.   match the specified file name. 
  8389.  
  8390. o If you are sharing files, you can restore only files that you have access to. 
  8391.   If you attempt to access a file that you do not have access to, the system 
  8392.   displays an error message. 
  8393.  
  8394. Extended Attributes:  RESTORE will copy the extended attributes of a backed-up 
  8395. source file or directory to the target (See the /F parameter). An extended 
  8396. attribute is a special area used for storing data that describes the file to 
  8397. the system or to an application. 
  8398.  
  8399. When restoring files that have extended attributes, be sure to use OS/2 2.0 to 
  8400. ensure all extended file and directory attributes are restored. Extended 
  8401. attributes of a backed-up source subdirectory will only be copied to the target 
  8402. when the subdirectory does not already exist on the target. 
  8403.  
  8404. Return Codes: 
  8405.  
  8406. 0 - Normal completion 
  8407. 1 - No files were found to restore 
  8408. 2 - Some files were not processed due to file errors 
  8409. 3 - Ended by user 
  8410. 4 - Ended due to error 
  8411.  
  8412.  
  8413. ΓòÉΓòÉΓòÉ <hidden> RESTORE Examples ΓòÉΓòÉΓòÉ
  8414.  
  8415. To restore a file named MONDAY to the REPORTS subdirectory on drive C from the 
  8416. backup diskette in drive A, enter the following: 
  8417.  
  8418. RESTORE A: C:\REPORTS\MONDAY
  8419.  
  8420. To be prompted with (Y/N)? before restoring any read-only file or file changed 
  8421. since the last time you did a backup, enter the following: 
  8422.  
  8423. RESTORE A: C:*.* /P
  8424.  
  8425. To restore files that were changed or deleted since they were last backed up, 
  8426. enter the following: 
  8427.  
  8428. RESTORE A: C:*.* /M
  8429.  
  8430. To restore all files changed on or before November 12, 1988, type the following 
  8431. (using the current date format): 
  8432.  
  8433. RESTORE A: C: /B:11-12-88
  8434.  
  8435. To restore all files changed on or after November 12, 1988, type the following 
  8436. (using the current date format): 
  8437.  
  8438. RESTORE A: C: /A:11-12-88
  8439.  
  8440. To restore only those files that were changed at or earlier than 11:45 a.m., 
  8441. enter the following: 
  8442.  
  8443. RESTORE A: C: /E:11:45:00
  8444.  
  8445. To restore only those files that were changed at or later than 11:45 a.m., 
  8446. enter the following: 
  8447.  
  8448. RESTORE A: C: /L:11:45:00
  8449.  
  8450. To restore all files (including subdirectories) on the backup diskettes in 
  8451. drive A to drive C, enter the following: 
  8452.  
  8453. RESTORE A: C:\*.* /S
  8454.  
  8455. To restore files that no longer exist on the target drive, enter the following: 
  8456.  
  8457. RESTORE A: C: /N
  8458.  
  8459. To restore a file named REPORTS.TXT to the STATUS directory on drive D and have 
  8460. RESTORE fail if drive D does not support extended attributes, enter the 
  8461. following: 
  8462.  
  8463. RESTORE REPORTS.TXT D:\STATUS /F
  8464.  
  8465. To display the files on the backup diskette that match the files that were 
  8466. backed up by the BACKUP command without restoring them, enter the following: 
  8467.  
  8468. RESTORE /D
  8469.  
  8470.  
  8471. ΓòÉΓòÉΓòÉ 4.109. RD or RMDIR - Remove a Directory ΓòÉΓòÉΓòÉ
  8472.  
  8473. Removes empty directories from a multilevel directory structure. 
  8474.  
  8475. RMDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8476. RD      ΓöÇΓöÇΓöÿ        ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ    Γöé
  8477.                Γöé                                    Γöé
  8478.                ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8479.  
  8480. Related Commands:  CD, DIR, MD, and TREE 
  8481.  
  8482. You cannot remove the root directory or the current directory.  You also cannot 
  8483. remove a subdirectory of the current directory. 
  8484.  
  8485. To process this command, it is important that you: 
  8486.  
  8487. o Empty the directory of all files by using DEL or ERASE before using the RD or 
  8488.   RMDIR command.  Only the two special hidden files of (.) and (..) remain. 
  8489.  
  8490. o Empty the directory of all files in each subdirectory, if the directory 
  8491.   contains subdirectories. 
  8492.  
  8493. o Remove all hidden file attributes from all files except (.) and (..). 
  8494.  
  8495. You cannot use this command on drives that have a SUBST or JOIN command in 
  8496. effect. 
  8497.  
  8498.  
  8499. ΓòÉΓòÉΓòÉ <hidden> RD or RMDIR Examples ΓòÉΓòÉΓòÉ
  8500.  
  8501. To remove a subdirectory named NAMES from your root directory on the current 
  8502. drive, delete all the files and subdirectories within NAMES, and enter the 
  8503. following: 
  8504.  
  8505. RD \NAMES
  8506.  
  8507. To remove a subdirectory named ANNUAL within a subdirectory ACCOUNTS, which is 
  8508. in the root directory on the current drive, enter the following: 
  8509.  
  8510. RD \ACCOUNTS\ANNUAL
  8511.  
  8512. To remove the subdirectory REPORTS from the SALES directory and the 
  8513. subdirectory PROGS from the ACCT directory (OS/2 sessions only), enter the 
  8514. following: 
  8515.  
  8516. RD \SALES\REPORTS \ACCT\PROGS
  8517.  
  8518.  
  8519. ΓòÉΓòÉΓòÉ 4.110. RMSIZE - Specify DOS Environment Size ΓòÉΓòÉΓòÉ
  8520.  
  8521. Specifies the highest storage address allowed for the DOS operating 
  8522. environment. 
  8523.  
  8524. RMSIZE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8525.  
  8526. Related Commands:  PROTECTONLY, PROTSHELL, and SHELL 
  8527.  
  8528. If you specify a number that exceeds the amount of memory allowable for your 
  8529. system configuration, the system sends you an error message and ignores the 
  8530. statement. It then automatically calculates the largest default value for your 
  8531. system. 
  8532.  
  8533. If you do not have an RMSIZE statement in your CONFIG.SYS file, the default is 
  8534. the total amount of low memory installed (either 512KB or 640KB). 
  8535.  
  8536. If you decided to specify PROTECTONLY=NO, you can further reduce the size of 
  8537. the DOS environment by specifying RMSIZE.  This allows you to make the size of 
  8538. the DOS environment smaller than the maximum amount available if all the 
  8539. remaining memory below 640KB were used for DOS sessions. 
  8540.  
  8541. This statement specifies the highest storage address allowed for a DOS session. 
  8542. It is important to note that if you specify a number that exceeds the amount of 
  8543. memory allowable for your system configuration, the system sends you an error 
  8544. message.  This message states that the value was not acceptable and ignores the 
  8545. statement.  If you do not specify a RMSIZE statement in your CONFIG.SYS file, 
  8546. the default depends on the total memory installed.  If this total is 640KB or 
  8547. less, then the default size is the total memory minus the minimum required for 
  8548. protect-mode operations.  If this total is 1024KB or greater, the default size 
  8549. is the amount of memory installed below 1024KB, either 512KB or 640KB. 
  8550.  
  8551. This is the largest usable size for DOS sessions at which your system can 
  8552. operate.  If you enter a size that is too large for your system, the system 
  8553. displays an error message during startup and automatically calculates the 
  8554. largest default value possible. 
  8555.  
  8556.  
  8557. ΓòÉΓòÉΓòÉ <hidden> RMSIZE Examples ΓòÉΓòÉΓòÉ
  8558.  
  8559. Specifies a number from 0 through 640, representing a multiple of 1024 bytes. 
  8560.  
  8561. To set the size of the DOS environment to 256KB, type the following in the 
  8562. CONFIG.SYS file: 
  8563.  
  8564. RMSIZE=256
  8565.  
  8566.  
  8567. ΓòÉΓòÉΓòÉ 4.111. RUN - Start System Programs ΓòÉΓòÉΓòÉ
  8568.  
  8569. Loads and starts a system program during system initialization.  RUN does not 
  8570. start a Presentation Manager* application. 
  8571.  
  8572. RUN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8573.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8574.  
  8575. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8576.             ΓööΓöÇ arguments ΓöÇΓöÿ
  8577.  
  8578. Related Commands:  START 
  8579.  
  8580. It is important to note that more than one RUN statement might appear in the 
  8581. CONFIG.SYS file.  The RUN statements are processed in the order in which they 
  8582. appear in the file, but all DEVICE statements are processed before any RUN 
  8583. statements. 
  8584.  
  8585. If a program started with a RUN statement requests a window before the user 
  8586. interface is started, it receives a unique error code.  The program might 
  8587. respond by delaying its processing until the user interface is started. 
  8588.  
  8589. A program started with a RUN statement can establish a keyboard or mouse 
  8590. monitor for any non-detached program.  Also, it can issue I/O requests to the 
  8591. keyboard, mouse, or display only after it has established a window. 
  8592.  
  8593. Because RUN programs are started before initialization of the user interface 
  8594. and disk error handling, the program must prevent the OS/2 operating system 
  8595. from performing disk handling and perform its own. 
  8596.  
  8597.  
  8598. ΓòÉΓòÉΓòÉ <hidden> RUN Examples ΓòÉΓòÉΓòÉ
  8599.  
  8600. To run a system checkout program named MARY.EXE located in the UTILS directory, 
  8601. type the following in the CONFIG.SYS file. 
  8602.  
  8603. RUN=C:\UTILS\MARY.EXE
  8604.  
  8605.  
  8606. ΓòÉΓòÉΓòÉ 4.112. RUN - Logging Daemon Process ΓòÉΓòÉΓòÉ
  8607.  
  8608. Controls the start of the Logging Daemon process for system error-log files. 
  8609.  
  8610. RUN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ LOGDAEM.EXE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8611.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8612.  
  8613. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8614.             ΓööΓöÇ /E:filename ΓöÇΓöÿ  ΓööΓöÇ /W:x ΓöÇΓöÿ
  8615.  
  8616. Related Commands:  SYSLOG, DEVICE (LOG.SYS) 
  8617.  
  8618. A RUN=LOGDAEM.EXE command must be in the CONFIG.SYS file to control the start 
  8619. of the Logging Daemon process.  It must be included whenever you specify the 
  8620. DEVICE=LOG.SYS command in the CONFIG.SYS file to install the System Logging 
  8621. Service device driver. 
  8622.  
  8623.  
  8624. ΓòÉΓòÉΓòÉ <hidden> RUN = LOGDAEM.EXE Examples ΓòÉΓòÉΓòÉ
  8625.  
  8626. To specify C:\OS2\SYSTEM as the path for the error-log file, LOG0001.DAT, type 
  8627. the following in the CONFIG.SYS file: 
  8628.  
  8629. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT
  8630.  
  8631. To set the size of the error-log file, LOG0001.DAT, with the path C:\OS2\SYSTEM 
  8632. to 32KB, type the following in the CONFIG.SYS file: 
  8633.  
  8634. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  8635.  
  8636.  
  8637. ΓòÉΓòÉΓòÉ 4.113. SET - Set Environment Variables ΓòÉΓòÉΓòÉ
  8638.  
  8639. Sets one string in the environment equal to another string for later use in 
  8640. programs. You can use the SET command in your CONFIG.SYS file or batch files to 
  8641. set search paths and environment variables. 
  8642.  
  8643. To use SET from the command prompt: 
  8644.  
  8645. SET ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  8646.         ΓööΓöÇ string= ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8647.                     ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8648.  
  8649.  To use SET in your CONFIG.SYS file: 
  8650.  
  8651. SET ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8652.  
  8653. Related Commands:  APPEND, DPATH, KEYS, PATH, and PROMPT 
  8654.  
  8655. Enter this command without a parameter to display the environment variables for 
  8656. the current mode of operation. 
  8657.  
  8658. If the name specified by the first string of the SET command already exists in 
  8659. the environment, the command processor replaces its current value with the new 
  8660. value specified by the second string.  If you enter the SET command with only 
  8661. the first string and the equals sign (=), the command processor removes the 
  8662. environment variable or replaceable parameter name and its associated value 
  8663. from the environment, if the name exists. 
  8664.  
  8665.  
  8666. ΓòÉΓòÉΓòÉ 4.113.1. Environments and Command Processors ΓòÉΓòÉΓòÉ
  8667.  
  8668. The environment is a special place in storage that is used by the command 
  8669. processor to store and look up information, such as the values assigned to 
  8670. names. You can use SET to create a replaceable parameter or to set the value of 
  8671. a system variable, such as PATH. Application programs (particularly compilers 
  8672. and assemblers) and batch files can use the information stored in the 
  8673. environment to affect their processing. 
  8674.  
  8675. Because DOS sessions and OS/2 sessions operate independently, each command 
  8676. processor that starts a session can have its own environment.  For information 
  8677. on how command processors within a session inherit the environment, refer to 
  8678. the COMMAND.COM and CMD.EXE command processors. 
  8679.  
  8680.  
  8681. ΓòÉΓòÉΓòÉ 4.113.2. Replaceable Parameters for Batch Files ΓòÉΓòÉΓòÉ
  8682.  
  8683. You can use the SET command in a batch file to define a replaceable parameter 
  8684. that will be replaced by values supplied when the batch file runs. In OS/2 
  8685. sessions, replaceable parameters can also be set on the command line. You must 
  8686. begin and end the name with a percent sign (%).  For example, suppose you have 
  8687. a batch file that contains multiple occurrences of a file name.  To avoid 
  8688. having to change each occurrence when you want to change the name of the file, 
  8689. you can specify the file name as a replaceable parameter; for example: 
  8690.  
  8691. %MYFILE%
  8692.  
  8693. To set %MYFILE% to a specific file name, include a SET command in your batch 
  8694. file: 
  8695.  
  8696. SET MYFILE=SAMPLE.ABC
  8697.  
  8698. After the batch processor interprets the SET command, it changes each 
  8699. occurrence of %MYFILE% it meets in the batch file to SAMPLE.ABC. 
  8700.  
  8701. You can also use names of system variables as replaceable parameters in batch 
  8702. files.  Assume that you have the following replaceable parameter in a batch 
  8703. file: 
  8704.  
  8705. %PATH%
  8706.  
  8707. When the batch processor meets this replaceable parameter, it looks in the 
  8708. environment for the current value of PATH and substitutes that value. 
  8709.  
  8710.  
  8711. ΓòÉΓòÉΓòÉ 4.113.3. Commands That Are System Variables ΓòÉΓòÉΓòÉ
  8712.  
  8713. You can use the SET command to set the value of OS/2 system variables. These 
  8714. system variables for OS/2 sessions are: 
  8715.  
  8716. PATH           Sets a search path for executable files. 
  8717.  
  8718. DPATH          Sets a search path for data files. 
  8719.  
  8720. KEYS           Permits previously issued commands to be retrieved and edited. 
  8721.  
  8722. PROMPT         Sets a new command prompt. 
  8723.  
  8724. The system variables for DOS sessions are: 
  8725.  
  8726. PATH           Sets a search path for executable files. 
  8727.  
  8728. PROMPT         Sets a new command prompt. 
  8729.  
  8730. APPEND         Sets the search path for data files if the APPEND command is 
  8731.                entered with the /E option. 
  8732.  
  8733. The command processor recognizes system variable commands that are entered at 
  8734. the command prompt.  You can also enter the system variables with the SET 
  8735. command.  While the SET command is optional at the command prompt, it is 
  8736. required when used to set system variables in the CONFIG.SYS file. 
  8737.  
  8738.  
  8739. ΓòÉΓòÉΓòÉ 4.113.4. Replaceable Parameters at the OS/2 Command Prompt ΓòÉΓòÉΓòÉ
  8740.  
  8741. In OS/2 sessions, substitution of replaceable parameter names by their values 
  8742. in the environment can be made at the command prompt. Using this feature of 
  8743. OS/2 2.0, you can append values to the values of system variables already in 
  8744. the environment. For example, assume that your current path to data files is: 
  8745.  
  8746. DPATH
  8747. C:\OS2;C:\OS2\SYSTEM;
  8748. C:\OS2\INSTALL;
  8749.  
  8750. To append a path to the \MYDIR directory on drive C, enter: 
  8751.  
  8752. SET DPATH=%DPATH%;C:\MYDIR;
  8753.  
  8754. Or you can enter: 
  8755.  
  8756. DPATH %DPATH%;C:\MYDIR;
  8757.  
  8758. In both these examples, the C:\MYDIR directory is appended to the current path 
  8759. to data files in the environment of the current OS/2 session.  In this example, 
  8760. assume that your current path ends with a semicolon. If no environment variable 
  8761. exists by the name you specify, no substitution is made.  The system will not 
  8762. generate a message stating that the substitution was not made. 
  8763.  
  8764. The following is the contents of the batch file ADDPATH.BAT or ADDPATH.CMD.  It 
  8765. will append the first parameter to the end of the current path setting: 
  8766.  
  8767. @PATH=%PATH%%1;
  8768.  
  8769.  
  8770. ΓòÉΓòÉΓòÉ <hidden> SET Examples ΓòÉΓòÉΓòÉ
  8771.  
  8772. To display the environment variables for the current mode of operation enter 
  8773. the following: 
  8774.  
  8775. SET
  8776.  
  8777. To set the search path of executable files to null, enter the following: 
  8778.  
  8779. SET PATH=
  8780. The environment will no longer have a PATH value. 
  8781.  
  8782. To set the search path to another value for your environment (such as the APPS 
  8783. subdirectory on drive C), enter the following: 
  8784.  
  8785. SET PATH=C:\APPS
  8786.  
  8787. To avoid having to change the file name for each occurrence when you want to 
  8788. change the name of the file, you can specify the file name as a replaceable 
  8789. parameter as in the following: 
  8790.  
  8791. %THEFILE%
  8792.  
  8793. To set %THEFILE% to a specific file name, include a SET command in your batch 
  8794. file as follows: 
  8795.  
  8796. SET THEFILE=EXAMPLE.ABC
  8797.  
  8798. After the batch processor interprets the SET command, it changes each 
  8799. occurrence of %THEFILE% it finds in the batch file to EXAMPLE.ABC. 
  8800.  
  8801. To use the name of a system variable such as PATH as a replaceable parameter in 
  8802. a batch file to substitute the current value of PATH, type the following 
  8803. replaceable parameter in your batch file: 
  8804.  
  8805. %PATH%
  8806.  
  8807.  
  8808. ΓòÉΓòÉΓòÉ <hidden> SET Examples ΓòÉΓòÉΓòÉ
  8809.  
  8810. Below are examples of how SET can be used to set the environment variables in 
  8811. your CONFIG.SYS file. 
  8812.  
  8813. SET COMSPEC=C:\OS2\CMD.EXE
  8814. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\UTILS;C:\TOOLS;
  8815. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\UTILS;C:\TOOLS;
  8816. SET PROMPT=$i[$p]
  8817. SET HELP=C:\OS2\HELP
  8818. SET BOOKSHELF=C:\OS2\BOOK
  8819. SET TOOLS=C:\WORDPROC
  8820. SET TOOLS=C:\SPELCHK
  8821. SET KEYS=ON
  8822.  
  8823.  
  8824. ΓòÉΓòÉΓòÉ 4.114. SETBOOT - Sets Up the Boot Manager ΓòÉΓòÉΓòÉ
  8825.  
  8826. Provides the ability to set up the Boot Manager for a hard disk. 
  8827.  
  8828. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ SETBOOT ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  8829.       Γöö drive Γöÿ Γöö path Γöÿ           Γö£ΓöÇΓöÇ /T:x ΓöÇΓöÇΓöÇΓöñ
  8830.                                    Γö£ΓöÇΓöÇ /T:NO ΓöÇΓöÇΓöñ
  8831.                                    Γö£ΓöÇΓöÇ /M:m ΓöÇΓöÇΓöÇΓöñ
  8832.                                    Γö£ΓöÇΓöÇΓöÇ/Q ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8833.                                    Γö£ΓöÇΓöÇΓöÇ/B ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8834.                                    Γö£ΓöÇΓöÇ /X:x ΓöÇΓöÇΓöÇΓöñ
  8835.                                    ΓööΓöÇ /N:name ΓöÇΓöÿ
  8836.  
  8837. Related Commands: FDISK   Related Information: Hard Disk Information 
  8838.  
  8839. The SETBOOT utility program helps you to set up the Boot Manager.  It allows 
  8840. you to enter parameters at the command prompt that enable you to take full 
  8841. advantage of the Boot Manager.  Type the following command to use the SETBOOT 
  8842. parameters: 
  8843.  
  8844. SETBOOT /option:parameters
  8845.  
  8846.  
  8847. ΓòÉΓòÉΓòÉ <hidden> SETBOOT Examples ΓòÉΓòÉΓòÉ
  8848.  
  8849. To set the startup selection timer to 15 seconds, type the following: 
  8850.  
  8851. SETBOOT /T:15
  8852.  
  8853. To disable the startup selection timer, type the following: 
  8854.  
  8855. SETBOOT /T:NO
  8856.  
  8857. To set the normal mode for the Boot Manager menu, type the following: 
  8858.  
  8859. SETBOOT /M:n
  8860.  
  8861. To set the Boot Manager menu to advanced mode, type the following: 
  8862.  
  8863. SETBOOT /M:a
  8864.  
  8865. To query the current startup environment, type the following: 
  8866.  
  8867. SETBOOT /Q
  8868.  
  8869. To shutdown and then restart the system, type the following: 
  8870.  
  8871. SETBOOT /B
  8872.  
  8873. To set the startup index to put the Boot Manager in attended mode, type the 
  8874. following: 
  8875.  
  8876. SETBOOT /X:0
  8877.  
  8878. To set the startup index to put the Boot Manager in unattended mode, type the 
  8879. following: 
  8880.  
  8881. SETBOOT /X:3
  8882.  
  8883. To specify the logical drive with the alias MYSYSTEM as the default operating 
  8884. system to be started, type the following: 
  8885.  
  8886. SETBOOT /0:MYSYSTEM
  8887.  
  8888.  
  8889. ΓòÉΓòÉΓòÉ 4.115. SETLOCAL - Define Local Variables ΓòÉΓòÉΓòÉ
  8890.  
  8891. Lets you define the drive, directory, and environment variables that are local 
  8892. to the current batch file. 
  8893.  
  8894. SETLOCAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8895.  
  8896. Related Commands:  ENDLOCAL 
  8897.  
  8898. This command saves the current drive, directory, and environment variables and 
  8899. lets you define local variables for the batch file. The previous drive, 
  8900. directory, and environment settings are restored when the ENDLOCAL command is 
  8901. encountered, or when the batch file ends. 
  8902.  
  8903. If a matching ENDLOCAL command is not found, the saved elements are restored 
  8904. when the processing of the batch file that issued the SETLOCAL command ends. In 
  8905. this way, any environment variable and the current drive and directory can be 
  8906. altered without affecting the command processor. Issuing multiple SETLOCAL 
  8907. commands without matching ENDLOCAL commands is not considered an error. 
  8908.  
  8909.  
  8910. ΓòÉΓòÉΓòÉ <hidden> SETLOCAL Examples ΓòÉΓòÉΓòÉ
  8911.  
  8912. To define the path of PATH A:\;A:\MICSPGM within a batch file and restore the 
  8913. previous drive, directory, and environment settings when the processing of the 
  8914. batch file ends, type the following: 
  8915.  
  8916.  .
  8917.  .
  8918.  .
  8919. SETLOCAL
  8920. A:
  8921. CD\XYZ
  8922. PATH A:\;A:\MICSPGM
  8923.  .
  8924.  .
  8925. ENDLOCAL
  8926.  
  8927.  
  8928. ΓòÉΓòÉΓòÉ 4.116. SHELL - Install a Command Processor ΓòÉΓòÉΓòÉ
  8929.  
  8930. Loads and starts the DOS command processor, COMMAND.COM, or allows you to 
  8931. replace the DOS command processor with another command processor. 
  8932.  
  8933. SHELL = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8934.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8935.  
  8936. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8937.             ΓööΓöÇ arguments ΓöÇΓöÿ
  8938.  
  8939. Type this command in the CONFIG.SYS file; do not enter this command at a DOS 
  8940. command prompt. 
  8941.  
  8942. Related Commands:  COMMAND, PROTSHELL, and RMSIZE 
  8943.  
  8944. If SHELL is omitted from the CONFIG.SYS file, the default DOS command processor 
  8945. is loaded and started with a /P parameter to retain COMMAND.COM in storage. In 
  8946. addition, SHELL does not affect either the OS/2 SET command, or the SHELL 
  8947. command in BASIC. 
  8948.  
  8949. Also, remember that if you are using a DOS command processor other than 
  8950. COMMAND.COM, internal commands and the batch processor are not available to you 
  8951. unless they are duplicated in your command processor. 
  8952.  
  8953.  
  8954. ΓòÉΓòÉΓòÉ <hidden> SHELL Examples ΓòÉΓòÉΓòÉ
  8955.  
  8956. To install COMMAND.COM as the command processor, type the following in the 
  8957. CONFIG.SYS file: 
  8958.  
  8959. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  8960.  
  8961. If you specify a SHELL statement that contains a file specification other than 
  8962. the default, set the COMSPEC environment variable to the same file 
  8963. specification when a DOS session is started.  For example, if you have a 
  8964. command processor named DOSPROC.COM in a DOSPGMS subdirectory, you can place 
  8965. the following SET command in your AUTOEXEC.BAT file: 
  8966.  
  8967. SET COMSPEC=C:\DOSPGMS\DOSPROC.COM
  8968.  
  8969.  
  8970. ΓòÉΓòÉΓòÉ 4.117. SHIFT - Use More Than 10 Replaceable Parameters ΓòÉΓòÉΓòÉ
  8971.  
  8972. Allows command lines to use more than 10 replaceable parameters in batch file 
  8973. processing. 
  8974.  
  8975. SHIFT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8976.  
  8977. It is important to note that: 
  8978.  
  8979. o Command files are limited to handling 10 parameters, %0 through %9, unless 
  8980.   you use the SHIFT command. 
  8981.  
  8982. o All parameters on the command line are shifted one position to the left, the 
  8983.   %1 parameter replacing the %0 parameter, the %2 parameter replacing the %1 
  8984.   parameter, and so on.  Each following shift command causes all the parameters 
  8985.   to be shifted to the left by one position. 
  8986.  
  8987. o There is no backward shift.  Once SHIFT is run, the %0 parameter that existed 
  8988.   before the shift cannot be recovered. 
  8989.  
  8990. As an example, assume: 
  8991.  
  8992. %0 = 'A'
  8993. %1 = 'B'
  8994. %2 = 'C'
  8995. %3 - %9 are empty
  8996.  
  8997. A SHIFT results in the following: 
  8998.  
  8999. %0 = 'B'
  9000. %1 = 'C'
  9001. %2 - %9 are empty
  9002.  
  9003.  
  9004. ΓòÉΓòÉΓòÉ <hidden> SHIFT Examples ΓòÉΓòÉΓòÉ
  9005.  
  9006. To shift the parameters on the command line one position to the left, with the 
  9007. %0 parameter being replaced by the %1 parameter and so on, type the following 
  9008. in your batch file. 
  9009.  
  9010. ECHO %0
  9011. .
  9012. .
  9013. .
  9014. ECHO %8
  9015. SHIFT
  9016. ECHO %9
  9017. .
  9018. .
  9019. .
  9020.  
  9021. As an example, assume: 
  9022.  
  9023. %0 = 'round'
  9024. %1 = 'square'
  9025. %2 = 'flat'
  9026. %3 - %9 are empty
  9027.  
  9028. A SHIFT results in the following: 
  9029.  
  9030. %0 = 'square'
  9031. %1 = 'flat'
  9032. %2 - %9 are empty
  9033.  
  9034. In the following batch file named PROCESS.CMD, you could use a file such as 
  9035. this to call other processes and call on more than the 10 (%0 through %9) 
  9036. variables that only batch-file processing allows.  The file will process the 
  9037. first batch file specified, and the SHIFT command will then move to the next 
  9038. specified batch file.  This allows you to specify the files to be processed in 
  9039. any order that you want as well as vary the number of files to be processed. 
  9040.  
  9041. @ECHO OFF
  9042. :CHECK
  9043. IF "%1" == "" GOTO DONE
  9044.  
  9045. ECHO PROCESSING THE FILE %1
  9046. CALL %1
  9047. SHIFT
  9048. GOTO CHECK
  9049.  
  9050. :DONE
  9051. ECHO PROCESSING COMPLETED
  9052.  
  9053. To process three files named FILE1, FILE6, and FILE2 using the batch file in 
  9054. the previous example, enter the following at the command line: 
  9055.  
  9056. PROCESS FILE1 FILE6 FILE2
  9057.  
  9058. The SHIFT results in the following: 
  9059.  
  9060. PROCESSING THE FILE FILE1
  9061. (output of file1 if there is any...)
  9062. PROCESSING THE FILE FILE6
  9063. (output of file6 if there is any...)
  9064. PROCESSING THE FILE FILE2
  9065. (output of file2 if there is any...)
  9066. PROCESSING COMPLETED
  9067.  
  9068.  
  9069. ΓòÉΓòÉΓòÉ 4.118. SORT - Sort Information by Letter or Number ΓòÉΓòÉΓòÉ
  9070.  
  9071. Reads data from standard input, sorts the data, and writes it to standard 
  9072. output. 
  9073.  
  9074. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ SORT ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  9075.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ /R ΓöÇΓöÿ    ΓööΓöÇ /+n ΓöÇΓöÿ
  9076.  
  9077. Related Commands:  CODEPAGE, COUNTRY 
  9078.  
  9079. It is important to remember that: 
  9080.  
  9081. o When you are sorting large files, you might have to wait a few minutes until 
  9082.   processing is completed.  The maximum size of a file you can sort is 
  9083.   approximately 63KB, or 64 512 bytes. 
  9084.  
  9085. o The standard input and output devices cannot be redirected to the same file 
  9086.   name. 
  9087.  
  9088. o Characters are sorted according to their ASCII values, with the following 
  9089.   exceptions: lowercase letters (a - z) are equated to uppercase letters (A - 
  9090.   Z), and characters above ASCII value 127 are sorted according to rules based 
  9091.   on the currently selected country code. 
  9092.  
  9093. Note that the word sort means to rearrange lines of text according to specific 
  9094. instructions.  Use SORT if you want to arrange a file in alphabetic or numeric 
  9095. sequence.  For example, you could use SORT to alphabetize applicant names or 
  9096. number a schedule according to dates. 
  9097.  
  9098. Return Codes:  SORT issues a return code of 0 for normal completion. 
  9099.  
  9100.  
  9101. ΓòÉΓòÉΓòÉ <hidden> SORT Examples ΓòÉΓòÉΓòÉ
  9102.  
  9103. To sort a file named BOOK1 in reverse order and write the output to a file 
  9104. named REV, enter the following: 
  9105.  
  9106. SORT /R <BOOK1 >REV
  9107.  
  9108. To sort a file named BOOK1 starting at column 1, and send the output to your 
  9109. screen, enter the following: 
  9110.  
  9111. SORT <BOOK1
  9112.  
  9113. To sort a file named CALENDAR.88, starting at column 7, type the following: 
  9114.  
  9115. SORT /+7 <CALENDAR.88
  9116.  
  9117. To direct the output of DIR to SORT, sort the listing starting with the 25th 
  9118. column, and send the output to your screen, enter the following: 
  9119.  
  9120. DIR | SORT /+25
  9121.  
  9122. To cause the output listing from DIR to be used by SORT as its input, redirect 
  9123. the output to your screen, and pause after each screen with the message 
  9124. --More--, enter the following: 
  9125.  
  9126. DIR | SORT | MORE
  9127.  
  9128.  
  9129. ΓòÉΓòÉΓòÉ 4.119. SPOOL - Print Redirection ΓòÉΓòÉΓòÉ
  9130.  
  9131. Redirects printer output from one device to another, for example, from one 
  9132. parallel printer to another, or from a parallel printer to a serial printer. 
  9133.  
  9134.                                        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  9135.                                                       Γöé
  9136. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ SPOOL ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γö¼ΓöÇΓöÇΓöÇΓöñ
  9137.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γöé Γö£ΓöÇ /D:device ΓöÇΓöñ Γöé
  9138.                                       Γöé ΓööΓöÇ /O:device ΓöÇΓöÿ Γöé
  9139.                                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /Q ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9140.  
  9141. Related Commands:  DEVICE, CODEPAGE, DEVINFO, and PRINT 
  9142.  
  9143. The Base Asynchronous Communications device driver supports COM1 through COM4. 
  9144. For the system to spool to a serial printer, it must load the COM.SYS device 
  9145. driver during system initialization. This requires a DEVICE statement in your 
  9146. CONFIG.SYS file. 
  9147.  
  9148.  
  9149. ΓòÉΓòÉΓòÉ 4.119.1. Change Serial Printer Settings ΓòÉΓòÉΓòÉ
  9150.  
  9151. When spooling to a serial printer, you may need to issue the MODE command so 
  9152. that the Asynchronous Device Driver works correctly with the serially attached 
  9153. printer. The communications setting used by the Asynchronous Device Driver must 
  9154. match the setting used by the serially attached printer.  Serial settings 
  9155. include such items as the baud rate, the parity, the start and stop bits, and 
  9156. the hardware or software handshaking.  You only need to issue the MODE command 
  9157. if the Presentation Manager* printer driver installed in the spooler does not 
  9158. use the Communication Ports settings. The MODE command can be issued before or 
  9159. after starting SPOOL. 
  9160.  
  9161. The recommended way is to change the communications settings using the Port 
  9162. settings window. If you change the communications settings using the MODE 
  9163. command and Port settings window, the settings in the window will override the 
  9164. settings set by the MODE command. 
  9165.  
  9166.  
  9167. ΓòÉΓòÉΓòÉ 4.119.2. Start the Spooler ΓòÉΓòÉΓòÉ
  9168.  
  9169. You can use one of the following two methods for starting the spooler: 
  9170.  
  9171. o Activate the spooler by selecting Print from the menu of the object that you 
  9172.   want to print to display the Spooler window. 
  9173.  
  9174. o Enter the SPOOL command with no parameters at the OS/2 command prompt. 
  9175.  
  9176.  
  9177. ΓòÉΓòÉΓòÉ 4.119.3. Redirect Printing to a Serial Device ΓòÉΓòÉΓòÉ
  9178.  
  9179. For non-Presentation Manager* (PM) applications and PM applications that use 
  9180. non-PM printing, the spooler supports spooling of data only to parallel devices 
  9181. (PRN, LPT1, LPT2, and LPT3) as input devices. 
  9182.  
  9183. Output devices, on the other hand, can be parallel devices and serial devices 
  9184. COM1, COM2, COM3, and COM4. 
  9185.  
  9186. Note  Be sure you have the appropriate DEVICE= statement in the CONFIG.SYS file 
  9187. if you plan to use a serial device. 
  9188.  
  9189. Proprinter setup information 
  9190.  
  9191. Name                PRINTER1 
  9192. Description         Parallel printer 
  9193. Device              LPT1 
  9194. Driver              IBM4201 
  9195. Queue               LPT1Q 
  9196.  
  9197. Quickwriter setup information 
  9198.  
  9199. Name                COM1PRTR 
  9200. Description         Serial printer 
  9201. Device              COM1 
  9202. Driver              IBM5202 
  9203. Queue               COM1Q 
  9204.  
  9205. Printer redirection setup information 
  9206.  
  9207. Name                REDIRECT 
  9208. Description         Redirection of output 
  9209. Device              LPT2 
  9210. Driver              (None specified) 
  9211. Queue               (None specified) 
  9212.  
  9213. Using the SPOOL command, you can redirect parallel printer output to a serial 
  9214. device by specifying a parallel printer as the input device (/D) and a serial 
  9215. printer as the output device (/O). 
  9216.  
  9217. To redirect input from a parallel port to the printer attached to a serial port 
  9218. (for example, COM1), enter the following: 
  9219.  
  9220. SPOOL /D:LPT2 /O:COM1
  9221.  
  9222. To print a file named LETTER on the serial printer you just set up, enter the 
  9223. following: 
  9224.  
  9225. PRINT LETTER /D:LPT2
  9226.  
  9227. To cancel the redirection specified in the previous SPOOL statement, enter the 
  9228. following: 
  9229.  
  9230. SPOOL /D:LPT2 /O:LPT2
  9231.  
  9232.  
  9233. ΓòÉΓòÉΓòÉ 4.119.4. Specify Output Printer ΓòÉΓòÉΓòÉ
  9234.  
  9235. If you have set up the spooler for print spooling, it is possible your print 
  9236. job could print on another physical device.  The reason for this is that the 
  9237. queue processor sends the highest priority print job to the next available 
  9238. printer (not currently printing).  For example, if you specify the input device 
  9239. /D:LPT1 and specify the output device /O:LPT2, the output will go into a queue 
  9240. for the LPT2 device, but because of the multiple output devices, the data might 
  9241. print on an LPT3 device.  If you associate one queue with LPT2, you are 
  9242. guaranteed to have all output print on the port you specified. 
  9243.  
  9244.  
  9245. ΓòÉΓòÉΓòÉ 4.119.5. Print Information Using Character Sets 1 and 2 ΓòÉΓòÉΓòÉ
  9246.  
  9247. Note that if there is a DEVINFO statement for your printer and the print 
  9248. spooler is active for the printer, all non-PM or base printing output on that 
  9249. printer defaults to the printer's character set. Using Character Set 2 is 
  9250. necessary to support printing in either of the two OS/2 code pages specified 
  9251. with the CODEPAGE statement in CONFIG.SYS. Character Set 1 can still be 
  9252. accessed using escape sequences.  Refer to the instructions that came with your 
  9253. printer. 
  9254.  
  9255. The print spooler also supports any other character device whose device driver 
  9256. contains monitor support that is compatible with the printer device driver. 
  9257. This means that any printer device driver that removes the base printer device 
  9258. driver from operation and has the same monitor support as the base printer 
  9259. device driver can also support the Presentation Manager spooler. 
  9260.  
  9261.  
  9262. ΓòÉΓòÉΓòÉ 4.119.6. DOS Application Printing Information ΓòÉΓòÉΓòÉ
  9263.  
  9264. The print spooler spools output from a program into a file until it is 
  9265. instructed to close the file and print its contents. Many DOS programs do not 
  9266. contain the instructions required by the print spooler, so output is not 
  9267. printed until the application program ends. 
  9268.  
  9269. If you wish to force printer output for a DOS program, you can do so while you 
  9270. are still interacting with the program by pressing the Ctrl, Alt, and PrtSc 
  9271. keys together.  This causes the temporary spool file to be closed and prepared 
  9272. to print.  Make sure that you wait until the entire file has been sent to the 
  9273. queue by your application program.  Pressing the Ctrl, Alt, and PrtSc keys too 
  9274. soon can cause the print file to split into two separate print files. 
  9275.  
  9276. Another method to force printer output for a DOS application is to set the DOS 
  9277. Settings printer option with the following procedure: 
  9278.  
  9279.  1. Select Settings from the menu of a DOS session. 
  9280.  2. Select the Session tab. 
  9281.  3. Select the DOS settings pushbutton. 
  9282.  4. Select timeout for printing in the DOS Settings window. 
  9283.  5. Specify the number of seconds to wait after the DOS application completes 
  9284.     printing before the spooler closes the file and begins printing. 
  9285.  
  9286. Setting the number of seconds too small can cause the print file to be split 
  9287. into two separate print files.  This behavior can vary depending on the DOS 
  9288. application that is running.  Many applications print correctly with a small 
  9289. delay.  The printer timeout is set only for applications running in the window 
  9290. in which the option was set. 
  9291.  
  9292.  
  9293. ΓòÉΓòÉΓòÉ 4.119.7. Switch Code Pages for DOS sessions ΓòÉΓòÉΓòÉ
  9294.  
  9295. If you plan to use code-page switching for DOS sessions, you must start the 
  9296. print spooler before selecting a DOS command prompt from the Command Prompts 
  9297. folder. 
  9298.  
  9299.  
  9300. ΓòÉΓòÉΓòÉ 4.119.8. Switch Code Pages for IBM Quietwriter III ΓòÉΓòÉΓòÉ
  9301.  
  9302. If you are using code-page switching on the IBM Quietwriter III printer, you 
  9303. must make sure that the correct cartridge is in its slot.  When the correct 
  9304. cartridge is not in the slot, the printer "beeps," and the font light comes on. 
  9305. You must: 
  9306.  
  9307.  1. Insert the correct cartridge. 
  9308.  2. Press the Start button after the font light goes off. 
  9309.  
  9310.  
  9311. ΓòÉΓòÉΓòÉ <hidden> SPOOL Examples ΓòÉΓòÉΓòÉ
  9312.  
  9313. To start the spooler from the OS/2 command line, enter the following: 
  9314.  
  9315. SPOOL
  9316.  
  9317. To redirect input from a parallel port to the printer attached to a serial port 
  9318. (for example, COM1), enter the following: 
  9319.  
  9320. SPOOL /D:LPT2 /O:COM1
  9321.  
  9322. To print a file named LETTER on the serial printer you just set up, enter the 
  9323. following: 
  9324.  
  9325. PRINT LETTER /D:LPT2
  9326.  
  9327. To cancel the redirection specified in the previous SPOOL statement, enter the 
  9328. following: 
  9329.  
  9330. SPOOL /D:LPT2 /O:LPT2
  9331.  
  9332. To query existing device redirection, enter the following: 
  9333.  
  9334. SPOOL /Q
  9335.  
  9336.  
  9337. ΓòÉΓòÉΓòÉ 4.120. START - Start Programs Automatically ΓòÉΓòÉΓòÉ
  9338.  
  9339. Starts an OS/2 program in another session. 
  9340.  
  9341. The primary use for START is to automatically start programs at system startup. 
  9342. The special batch file, STARTUP.CMD, allows you to do this. 
  9343.  
  9344. To imbed redirectional signals into the command session, enclose the command 
  9345. and command inputs in quotation marks. 
  9346.  
  9347. START ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9348.         Γöé "program  Γöé      Γö£ΓöÇΓöÇ /K ΓöÇΓöÇΓöñ      Γö£ΓöÇΓöÇ /F ΓöÇΓöÇΓöñ
  9349.         ΓööΓöÇ title"  ΓöÇΓöÿ      Γö£ΓöÇΓöÇ /C ΓöÇΓöÇΓöñ      ΓööΓöÇΓöÇ /B ΓöÇΓöÇΓöÿ
  9350.                            ΓööΓöÇΓöÇ /N ΓöÇΓöÇΓöÿ
  9351.  
  9352. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9353.          ΓööΓöÇ /PGM ΓöÇΓöÿ        Γö£ΓöÇ /FS  ΓöÇΓöñ      Γö£ΓöÇ /MAX ΓöÇΓöñ
  9354.                            Γö£ΓöÇ /WIN ΓöÇΓöñ      ΓööΓöÇ /MIN ΓöÇΓöÿ
  9355.                            Γö£ΓöÇ /PM  ΓöÇΓöñ
  9356.                            ΓööΓöÇ /DOS ΓöÇΓöÿ
  9357.  
  9358. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9359.           ΓööΓöÇ /I ΓöÇΓöÿ                     Γöé   command   Γöé
  9360.                                        ΓööΓöÇΓöÇ inputs  ΓöÇΓöÇΓöÿ
  9361.  
  9362. Related Commands:  RUN 
  9363.  
  9364. Enter this command without a parameter to start an OS/2 command processor. 
  9365.  
  9366. If you use the /WIN, /FS, or /PM parameter, your program runs in the foreground 
  9367. session.  If you do not use one of these parameters, you can use the /F 
  9368. parameter to make the program run in the foreground session. 
  9369.  
  9370. Make sure that you specify the correct drive and path when you use the START 
  9371. command to run a batch file with the STARTUP.CMD file.  Also, if you plan to 
  9372. redirect I/O using the START command, enclose the command and command inputs 
  9373. within quotation marks. 
  9374.  
  9375. You can use START to run full-screen applications or applications running in a 
  9376. window such as Presentation Manager* programs. 
  9377.  
  9378. START determines the type of application and will run it in the appropriate 
  9379. window or full-screen session.  However, you have the option to override the 
  9380. determined default by using the /FS, /WIN, /PM, or /I parameter. 
  9381.  
  9382. You cannot start a batch file (.CMD) with the /PM parameter. 
  9383.  
  9384.  
  9385. ΓòÉΓòÉΓòÉ <hidden> START Examples ΓòÉΓòÉΓòÉ
  9386.  
  9387. To start XCOPY directly without invoking the CMD.EXE command processor, copy 
  9388. the complete contents of the root directory on drive C to drive A, and display 
  9389. XCOPY C-A as the program title, type the following: 
  9390.  
  9391. START "XCOPY C-A" /N XCOPY C:\ A:
  9392.  
  9393. To run the XCOPY command in the foreground session, enter the following: 
  9394.  
  9395. START "XCOPY C-A" /F XCOPY C:\ A:\
  9396.  
  9397. To start MY EDITOR without specifying a title, enter the following: 
  9398.  
  9399. START /PGM "MY EDITOR"
  9400.  
  9401. To start MY EDITOR and give it a title, enter the following: 
  9402.  
  9403. START "MY FAVORITE EDITOR" /PGM "MY EDITOR"
  9404.  
  9405. The name MY FAVORITE EDITOR would appear on the Window List, rather than the 
  9406. name of the program, MY EDITOR. 
  9407.  
  9408. If the /PGM parameter is not used, START interprets the first quoted string as 
  9409. the name of a user-supplied title, and the second quoted string as the command 
  9410. to be passed to another session which is running CMD.EXE. 
  9411.  
  9412. To start the XCOPY command in a full-screen session and copy the files from 
  9413. drive A to drive B, enter the following: 
  9414.  
  9415. START "XCOPY A-B" /FS XCOPY A:\ B:
  9416.  
  9417. To start a batch file named CRAYON.CMD in an OS/2 window session, enter the 
  9418. following: 
  9419.  
  9420. START /WIN CRAYON.CMD
  9421.  
  9422. To start a batch file named MYFILE.BAT in a DOS window session, enter the 
  9423. following: 
  9424.  
  9425. START /WIN MYFILE.BAT
  9426.  
  9427. To start the CRAYON.EXE program to run as a Presentation Manager* program, 
  9428. enter the following: 
  9429.  
  9430. START "CRAYON GAME" /PM CRAYON.EXE
  9431.  
  9432. To start the XCOPY command in a background session, enter the following: 
  9433.  
  9434. START "XCOPY C-A" /B XCOPY C:\ A:\
  9435.  
  9436. To start the ACCT.EXE program to run as a full-screen program and cause the new 
  9437. session to inherit the environment defined by the SET statements in the 
  9438. CONFIG.SYS file, enter the following: 
  9439.  
  9440. START "ACCOUNT" /FS /I ACCT.EXE
  9441.  From a DOS Command Prompt: 
  9442.  
  9443. To start a COMMAND.COM session, enter the following: 
  9444.  
  9445. START /DOS
  9446.  
  9447. To start a COMMAND.COM session in a window, enter the following: 
  9448.  
  9449. START /WIN /DOS
  9450.  
  9451. To start a full-screen COMMAND.COM session, enter the following: 
  9452.  
  9453. START /FS /DOS
  9454.  From an OS/2 Command Prompt: 
  9455.  
  9456. To start a Presentation Manager or any window application in a maximized state, 
  9457. enter the following: 
  9458.  
  9459. START /MAX
  9460.  
  9461. To start a Presentation Manager or any window application in a minimized (icon) 
  9462. state, enter the following: 
  9463.  
  9464. START /MIN
  9465.  
  9466. To start XCOPY in a new OS/2 session, copy the complete contents of the root 
  9467. directory on drive C to the root directory on drive A, and display XCOPY C-A as 
  9468. the program title, enter the following: 
  9469.  
  9470. START "XCOPY C-A" XCOPY C:\ A:\
  9471.  
  9472.  
  9473. ΓòÉΓòÉΓòÉ 4.121. SUBST - Substitute Drives ΓòÉΓòÉΓòÉ
  9474.  
  9475. Substitutes a drive letter for another drive and path so that you can access 
  9476. that drive and path using only the drive letter.  When OS/2 2.0 finds a drive 
  9477. that was created with the SUBST command, it replaces the reference with the new 
  9478. path. 
  9479.  
  9480. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ SUBST ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9481.   ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ
  9482.  
  9483. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9484.       ΓööΓöÇΓöÇ drive ΓöÇΓöÇΓö¼ΓöÇΓöÇ drive\path ΓöÇΓöÇΓöñ
  9485.                   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9486.  
  9487. Related Commands:  ASSIGN and JOIN 
  9488.  
  9489. Enter this command without a parameter to display the names of the 
  9490. substitutions currently in effect on your system. 
  9491.  
  9492. The following commands do not work in DOS sessions on drives that have a SUBST 
  9493. command in effect:  BACKUP, CHKDSK, DISKCOMP, DISKCOPY, FORMAT, LABEL, RECOVER, 
  9494. and RESTORE. 
  9495.  
  9496.  
  9497. ΓòÉΓòÉΓòÉ <hidden> SUBST Examples ΓòÉΓòÉΓòÉ
  9498.  
  9499. To substitute the drive letter G for the path C:\OS2\OS2.DTP, enter the 
  9500. following: 
  9501.  
  9502. SUBST G: C:\OS2\OS2.DTP
  9503.  
  9504. You can now enter DIR G: instead of entering DIR C:\OS2\OS2.DTP. 
  9505.  
  9506. To delete substitutions currently in effect on drive G, enter the following: 
  9507.  
  9508. SUBST G: /D
  9509.  
  9510.  
  9511. ΓòÉΓòÉΓòÉ 4.122. SWAPPATH - Specify Swap File ΓòÉΓòÉΓòÉ
  9512.  
  9513. Specifies the size and location of the swap file. 
  9514.  
  9515. SWAPPATH = drive ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9516.                       ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ minfree ΓöÇΓöÿ  ΓööΓöÇ initial ΓöÇΓöÿ
  9517.  
  9518. Related Commands:  MEMMAN 
  9519.  
  9520. The swap file (SWAPPER.DAT) is used to temporarily store data segments that the 
  9521. system has removed from physical memory to satisfy a request for memory.  If 
  9522. moving and swapping are enabled, use this command to specify the location and 
  9523. size of the swap file. 
  9524.  
  9525. You can isolate the swap file in either a subdirectory or a separate partition 
  9526. on a hard disk.  A separate partition is recommended, because the swap file can 
  9527. become quite large. 
  9528.  
  9529. The default location is: 
  9530.  
  9531. SWAPPATH=C:\OS2\SYSTEM
  9532.  
  9533. The minfree parameter specifies the minimum free space that can remain on the 
  9534. disk before you receive a warning that the swap file has increased to a size 
  9535. that leaves less than this amount of free space on the disk.  The initial 
  9536. parameter specifies the size of the swap file initially allocated by the 
  9537. operating system at time of installation.  This value is variable and depends 
  9538. on the amount of physical memory in the system. 
  9539.  
  9540. Note:   The minfree value does NOT define the amount of free space on the disk 
  9541.         at any given time because applications could cause less free space to 
  9542.         be available on the disk than what is specified by the minfree value. 
  9543.  
  9544.  
  9545. ΓòÉΓòÉΓòÉ <hidden> SWAPPATH Examples ΓòÉΓòÉΓòÉ
  9546.  
  9547. For swapping to be active, MEMMAN must be in your CONFIG.SYS as follows: 
  9548.  
  9549. MEMMAN=SWAP
  9550.  
  9551. To store the swap file in the C:\OS2\SYSTEM directory, type the following in 
  9552. the CONFIG.SYS file: 
  9553.  
  9554. SWAPPATH=C:\OS2\SYSTEM
  9555.  
  9556. The default SWAPPATH statement for a system with 8MB of physical memory is: 
  9557.  
  9558. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  9559.  
  9560. The default SWAPPATH statement for a system with 12MB of physical memory is: 
  9561.  
  9562. SWAPPATH=C:\OS2\SYSTEM 2048 2048
  9563.  
  9564. To specify 8MB as the initial size of a swap file on a partition with 10MB of 
  9565. free space and a minfree value of 2MB, type the following in the CONFIG.SYS 
  9566. file: 
  9567.  
  9568. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  9569.  
  9570.  
  9571. ΓòÉΓòÉΓòÉ 4.123. SYSLEVEL  - Displaying Operating System Service Level ΓòÉΓòÉΓòÉ
  9572.  
  9573. Displays operating-system service level 
  9574.  
  9575. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ SYSLEVEL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9576.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  9577.  
  9578. This utility program displays the corrective service level of the system. 
  9579.  
  9580. The following message will appear while SYSLEVEL checks the current corrective 
  9581. service level of your system 
  9582.  
  9583. Please wait...
  9584.  
  9585. Once the corrective service level has been determined the following will be 
  9586. displayed on your monitor. 
  9587.  
  9588. C:\OS2\INSTALL\SYSLEVEL.OS2
  9589. IBM OS/2 Base Operating System
  9590. Standard Edition 2.00     Component ID 560109001
  9591. Current CSD level: XR00000
  9592. Prior   CSD level: XR00000
  9593.  
  9594. An example of the information displayed and an explanation of the displayed 
  9595. items follows: 
  9596.  
  9597. o C:\OS2\INSTALL\SYSLEVEL.OS2 
  9598.  
  9599.    - The subdirectory and file containing the information. 
  9600.  
  9601. o IBM OS/2 Base Operating System 
  9602.  
  9603.    - The system name. 
  9604.  
  9605. o Standard Edition 2.00, Component ID: 
  9606.  
  9607.    - The edition and the version, release, modification number, followed by the 
  9608.      Component ID of the system. 
  9609.  
  9610. o Current CSD Level: nnnnnnn 
  9611.  
  9612.    - The current corrective service level. 
  9613.  
  9614. o Prior CSD Level: nnnnnnn 
  9615.  
  9616.    - The prior corrective service level. 
  9617.  
  9618.  
  9619. ΓòÉΓòÉΓòÉ <hidden> SYSLEVEL Examples ΓòÉΓòÉΓòÉ
  9620.  
  9621. To run the SYSLEVEL utility program enter the following: 
  9622.  
  9623. SYSLEVEL
  9624.  
  9625.  
  9626. ΓòÉΓòÉΓòÉ 4.124. SYSLOG - System Log File Formatter ΓòÉΓòÉΓòÉ
  9627.  
  9628. Allows you to view or print the formatted contents of the system error-log 
  9629. file. 
  9630.  
  9631. SYSLOG ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9632.             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9633.             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9634.             ΓööΓö¼ΓöÇ /P:pathname ΓöÇΓö¼Γöÿ
  9635.              ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /W:x ΓöÇΓöÇΓöÇΓöÇΓöÿ
  9636.  
  9637. Related Commands: DEVICE (LOG.SYS), RUN (LOGGING) 
  9638.  
  9639. You can enter this command with parameters to do the following: 
  9640.  
  9641. o Suspend system error logging 
  9642. o Resume system error logging 
  9643. o Redirect error logging data from one file to another. 
  9644. o Specify the size of an error-log file. 
  9645.  
  9646. If you enter the SYSLOG command with no parameters, the SYSLOG utility program 
  9647. is started. 
  9648.  
  9649. SYSLOG is a Presentation Manager* application that runs in a window.  You can 
  9650. use SYSLOG to suspend or resume error logging, format the contents of error-log 
  9651. files, print the contents of those log files, or redirect error logging to a 
  9652. different file. 
  9653.  
  9654.  
  9655. ΓòÉΓòÉΓòÉ <hidden> SYSLOG Examples ΓòÉΓòÉΓòÉ
  9656.  
  9657. To display the SYSLOG utility program, enter the following: 
  9658.  
  9659. SYSLOG
  9660.  
  9661. To suspend error logging, type the following: 
  9662.  
  9663. SYSLOG /S
  9664.  
  9665. To resume error logging, type the following: 
  9666.  
  9667. SYSLOG /R
  9668.  
  9669. To redirect the current error-log file to the file LOG0001.DAT in the path 
  9670. C:\OS2\SYSTEM, type the following: 
  9671.  
  9672. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT
  9673.  
  9674. To set the size of a new error-log file named LOG0001.DAT, with the path 
  9675. C:\OS2\SYSTEM, to 32KB, type the following: 
  9676.  
  9677. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  9678.  
  9679.  
  9680. ΓòÉΓòÉΓòÉ 4.125. THREADS - Set Number of Independent Actions ΓòÉΓòÉΓòÉ
  9681.  
  9682. Sets the maximum number of independent actions, known as threads, for OS/2 
  9683. sessions. 
  9684.  
  9685. THREADS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9686.  
  9687. Related Commands: MAXWAIT, PRIORITY, TIMESLICE 
  9688.  
  9689. Applications consist of a series of instructions.  The processor reads each 
  9690. instruction and performs the associated activity.  The sequential execution of 
  9691. the instructions by the processor is called the thread of execution.  More than 
  9692. one thread of execution can exist within a single process.  Typically, OS/2 
  9693. applications contain many threads. 
  9694.  
  9695. Several threads can be ready to execute at the same time, but only one thread 
  9696. at a time can have access to the processor.  Access to the processor is managed 
  9697. by the system scheduler, which assigns each thread a priority.  The thread that 
  9698. has the highest priority, and that is ready to run, is allocated to the 
  9699. processor.  For example, if a thread is being processed, and another thread 
  9700. with a higher priority becomes ready to run, the system stops processing the 
  9701. thread with the lower priority and allocates the processor to the thread with 
  9702. the higher priority.  That thread will be processed until the time allocated to 
  9703. it (time slice) expires, or until a thread of higher priority is ready to run. 
  9704.  
  9705. The system supports a maximum of 4095 threads, which it allocates to itself and 
  9706. the applications running on it.  Reducing the number of threads while running 
  9707. complex applications or system extensions, can force activities that COULD be 
  9708. performed concurrently, to be performed serially, thus slowing performance.  If 
  9709. no THREADS statement is in the CONFIG.SYS file, the default number of threads 
  9710. is 64. 
  9711.  
  9712.  
  9713. ΓòÉΓòÉΓòÉ <hidden> THREADS Examples ΓòÉΓòÉΓòÉ
  9714.  
  9715. To have the system handle up to 512 active threads, type the following in the 
  9716. CONFIG.SYS file: 
  9717.  
  9718. THREADS=512
  9719.  
  9720. If no THREADS statement is in the CONFIG.SYS file, the system defaults to a 
  9721. value of 64. 
  9722.  
  9723.  
  9724. ΓòÉΓòÉΓòÉ 4.126. TIME - Set System Time ΓòÉΓòÉΓòÉ
  9725.  
  9726. Displays or changes the time known to the system and resets the time on your 
  9727. computer's clock. This time is recorded in the directory when you create or 
  9728. change a file. 
  9729.  
  9730. TIME ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9731.        ΓööΓöÇ hh ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9732.               ΓööΓöÇ :mm ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9733.                       ΓööΓöÇ :ss ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9734.  
  9735. Related Commands:  COUNTRY, DATE, and PROMPT 
  9736.  
  9737. Enter this command without a parameter to display the system time and be 
  9738. prompted about changing it. 
  9739.  
  9740. Specify time in hours and minutes, using a 24-hour clock (military time), 
  9741. separated by a colon or period.  You can also add the seconds and hundredths of 
  9742. a second separated by a period or a comma, depending on the decimal separator 
  9743. shown on your screen. 
  9744.  
  9745. Note:   If you do not enter a valid time, the system displays an error message. 
  9746.         Also, as with the DATE command format, you can change the TIME 
  9747.         separators by editing the COUNTRY statement in your CONFIG.SYS file. 
  9748.  
  9749.  
  9750. ΓòÉΓòÉΓòÉ <hidden> TIME Examples ΓòÉΓòÉΓòÉ
  9751.  
  9752. To query the system clock and allow you to update the clock prompted by the 
  9753. system, enter the following: 
  9754.  
  9755. TIME
  9756.  
  9757. To enter or change the time in the system to 6:45 a.m. without being prompted 
  9758. by the system, enter the following: 
  9759.  
  9760. TIME 6:45
  9761.  
  9762. Time Parameters 
  9763.  
  9764. hh    Specifies the hours.  The new hours must be entered using 0 to 23 only. 
  9765.  
  9766. mm    Specifies the minutes. The new minutes must be entered using 0 to 59 
  9767.       only. 
  9768.  
  9769. ss    Specifies the seconds. The new seconds must be entered using 0 to 59 
  9770.       only. 
  9771.  
  9772. cc    Specifies the hundredths of seconds. The new hundredths of seconds must 
  9773.       be entered using 0 to 99 only. 
  9774.  
  9775.  
  9776. ΓòÉΓòÉΓòÉ 4.127. TIMESLICE - Allocate Process Wait Time ΓòÉΓòÉΓòÉ
  9777.  
  9778. Sets the minimum and maximum amount of processor time allocated to processes 
  9779. and programs for both OS/2 and DOS sessions. 
  9780.  
  9781. TIMESLICE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9782.                                  ΓööΓöÇ ,y ΓöÇΓöÿ
  9783.  
  9784. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  9785. command prompt. 
  9786.  
  9787. Related Commands:  MAXWAIT, THREADS, PRIORITY 
  9788.  
  9789. Unless a dispatching priority is explicitly defined by an application, the 
  9790. system assigns one to each thread of execution. The system uses preemptive time 
  9791. slicing to ensure that threads of equal priority are given equal chances to be 
  9792. processed. 
  9793.  
  9794. The first value (x) in the statement is the minimum amount of time a thread can 
  9795. be processed before yielding the processor to a thread of the same priority 
  9796. level; the second value (y) is the maximum amount of time a thread can be 
  9797. processed before yielding processor time. 
  9798.  
  9799. The default is dynamic time slicing based on system load and paging activity. 
  9800. Dynamic time slicing gives the best performance in all situations. 
  9801.  
  9802.  
  9803. ΓòÉΓòÉΓòÉ <hidden> TIMESLICE Examples ΓòÉΓòÉΓòÉ
  9804.  
  9805. To set the minimum TIMESLICE value to 60 and allow the maximum value to 
  9806. default, type the following in the CONFIG.SYS file: 
  9807.  
  9808. TIMESLICE=60,
  9809.  
  9810. To set the maximum TIMESLICE value to 145 and allow the minimum value to 
  9811. default, type the following in the CONFIG.SYS file: 
  9812.  
  9813. TIMESLICE=,145
  9814.  
  9815. To change the minimum and maximum time slice allowed to 45 milliseconds, type 
  9816. the following in the CONFIG.SYS file: 
  9817.  
  9818. TIMESLICE=45
  9819.  
  9820. This value must be an integer greater than or equal to the default value of 32. 
  9821.  
  9822. To change the maximum time slice allowed to 125 milliseconds to support a 
  9823. communication program, and the minimum time slice to 40 milliseconds, type the 
  9824. following in the CONFIG.SYS file: 
  9825.  
  9826. TIMESLICE=40,125
  9827.  
  9828. Note:   This value must be an integer greater than or equal to the minimum 
  9829.         default value of 32, and less than the maximum default value of 65536. 
  9830.  
  9831. If you do not have a TIMESLICE statement in your CONFIG.SYS file, the minimum 
  9832. and maximum default values are set. 
  9833.  
  9834.  
  9835. ΓòÉΓòÉΓòÉ 4.128. TRACE - Select or Set System Trace ΓòÉΓòÉΓòÉ
  9836.  
  9837.  Selects or sets the tracing of system events. 
  9838.  
  9839. This command is intended to be used with the assistance of your technical 
  9840. coordinator. 
  9841.  
  9842. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ TRACE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ OFF ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  9843.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                    ΓööΓöÇ ON  ΓöÇΓöÿ
  9844.  
  9845. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9846.    Γö£Γö¼ΓöÇΓöÇ major_code_spec ΓöÇΓöÇΓö¼Γöñ    Γöé  Γö£ΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöñ   Γöé
  9847.    ΓöéΓööΓöÇ (minor_code_spec) ΓöÇΓöÿΓöé    Γöé  ΓööΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÿ   Γöé
  9848.    Γö£Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ tdf_spec ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9849.    ΓöéΓö£ΓöÇ (minor_code_spec) ΓöÇΓöñΓöé
  9850.    ΓöéΓööΓöÇ (event_type_spec) ΓöÇΓöÿΓöé
  9851.    Γö£Γö¼ΓöÇΓöÇΓöÇ tdf_keyword ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  9852.    ΓöéΓö£ΓöÇ (minor_code_spec) ΓöÇΓöñΓöé
  9853.    ΓöéΓööΓöÇ (event_type_spec) ΓöÇΓöÿΓöé
  9854.    ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P: ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÿ
  9855.       ΓööΓöÇΓöÇΓöÇ pid_spec ΓöÇΓöÇΓöÇΓöÿ
  9856.  
  9857. To allow system trace in your CONFIG.SYS file: 
  9858.  
  9859. TRACE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ OFF ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9860.                  ΓööΓöÇ ON  ΓöÇΓöÿ            ΓööΓöÇ x ΓöÇΓöÿ     Γöé
  9861.                                  Γöé                 Γöé
  9862.                                  ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9863.  
  9864. Related Commands:  PSTAT, TRACEBUF, and TRACEFMT 
  9865.  
  9866. Related Information:  Trace Point Overview and Trace Definition Files (TDF) 
  9867.  
  9868. The OS/2* operating system processes TRACE statements in the order in which 
  9869. they appear in the CONFIG.SYS file; the effects of the statements are 
  9870. cumulative.  If any part of a statement is incorrect, the OS/2 operating system 
  9871. ignores the statement. 
  9872.  
  9873. If you do not specify TRACE in the CONFIG.SYS file, events are not traced. 
  9874. However, if you have a TRACEBUF statement in CONFIG.SYS, this allocates a trace 
  9875. buffer.  Then, you can trace events by entering the TRACE command at the OS/2 
  9876. command prompt. 
  9877.  
  9878. If TRACE=OFF or TRACE=ON appears in the CONFIG.SYS file without a TRACEBUF 
  9879. statement, the system allocates a 4KB trace buffer. 
  9880.  
  9881. If you do not specify TRACE or TRACEBUF statements in the CONFIG.SYS file, OS/2 
  9882. 2.0 does not allocate a trace buffer and system tracing is not available. 
  9883.  
  9884. The System Trace facility is used to record a sequence of system events, 
  9885. function calls, or data.  The record is usually produced for debugging 
  9886. purposes.  After the trace data is recorded, the System Trace Formatter is used 
  9887. to retrieve it from the system trace buffer and format the data to your 
  9888. display, printer, or file. 
  9889.  
  9890. On request, the OS/2 operating system tracing facility records certain 
  9891. important events in the system and system extensions in a circular buffer. 
  9892.  
  9893. If a system problem can be duplicated without a system failure, the TRACE OFF 
  9894. function allows tracing to be stopped after the problem has been re-created. 
  9895. This allows the state of the trace buffer to be preserved from the time the 
  9896. TRACE OFF command is processed. 
  9897.  
  9898. The tracing mechanism is performance critical; therefore, no statistical 
  9899. processing of recorded data is performed by the tracing routines. 
  9900.  
  9901. Records in the buffer are identified by major and minor codes (you can only 
  9902. specify TRACE by major code in the CONFIG.SYS file).  Some of the data that may 
  9903. be recorded in the circular buffer will include system events such as 
  9904. interrupts and task switches. 
  9905.  
  9906. If you need to use the System Trace facility, your technical coordinator will 
  9907. provide the buffer size.  When the trace is complete, you can use the trace 
  9908. formatter (TRACEFMT) to organize the data into a report.  This helps you 
  9909. isolate causes of problems in the OS/2 system by formatting the information 
  9910. placed in the trace buffer by the Trace facility. 
  9911.  
  9912. An OS/2 enhancement to the Trace utility program allows you to trace a given 
  9913. process or set of processes, so that you can focus on the events of the 
  9914. specified process without intermixing events from other processes in the 
  9915. system.  This reduces the possibility of trace-buffer overflow by minimizing 
  9916. the number of events which are recorded.  Analyzing the formatted trace data is 
  9917. quicker and easier because only events of the specified process are recorded 
  9918. and displayed. 
  9919.  
  9920.  
  9921. ΓòÉΓòÉΓòÉ <hidden> TRACE Examples ΓòÉΓòÉΓòÉ
  9922.  
  9923. To allow system trace, type the following in your CONFIG.SYS file: 
  9924.  
  9925. TRACE=ON
  9926.  
  9927. To prevent system trace, type the following in your CONFIG.SYS file: 
  9928.  
  9929. TRACE=OFF
  9930.  
  9931. or 
  9932.  
  9933. REM TRACE=ON
  9934.  
  9935. If there is no TRACE statement in your CONFIG.SYS file, the default is active 
  9936. and system trace is not allowed (TRACE=OFF). 
  9937.  
  9938. To indicate that a major event code (15) is to be traced, type the following in 
  9939. your CONFIG.SYS file: 
  9940.  
  9941. TRACE=ON 15
  9942.  
  9943.  
  9944. ΓòÉΓòÉΓòÉ <hidden> TRACE Examples ΓòÉΓòÉΓòÉ
  9945.  
  9946. To allow system trace, type the following in your CONFIG.SYS file: 
  9947.  
  9948. TRACE=ON
  9949.  
  9950. The default is system trace is not allowed (TRACE=OFF). 
  9951.  
  9952. To turn all static trace points on, enter the following: 
  9953.  
  9954. TRACE ON
  9955.  
  9956. To turn all static trace points off, enter the following: 
  9957.  
  9958. TRACE OFF
  9959.  
  9960. In dynamic tracing, to trace DOSCALL1 (2, 4, 5, 6, 7, and 8), enter the 
  9961. following: 
  9962.  
  9963. TRACE ON DOSCALL1 (2, 4-8)
  9964.  
  9965. This TRACE command remains in effect until one of the following occurs: 
  9966.  
  9967. o The system is powered off. 
  9968.  
  9969. o The operating system removes the dynamic-link library. 
  9970.  
  9971. o You enter either of the following commands: 
  9972.  
  9973.     TRACE OFF
  9974.  
  9975.   or 
  9976.  
  9977.     TRACE OFF DOSCALL1
  9978.  
  9979.   Notice that the event list is not specified. 
  9980.  
  9981. To activate tracing for all current and future processes, enter the following: 
  9982.  
  9983. TRACE ON /P:ALL
  9984.  
  9985. To specify tracing the process ID (pid) of hexadecimal value 0034, enter the 
  9986. following: 
  9987.  
  9988. TRACE ON /P:34
  9989.  
  9990. To suspend tracing without removing the existing set of trace points, enter the 
  9991. following: 
  9992.  
  9993. TRACE OFF /S
  9994.  
  9995. To resume tracing activity for the currently specified set of trace points, 
  9996. enter the following: 
  9997.  
  9998. TRACE ON /R
  9999.  
  10000. To Clear the trace buffer, enter the following: 
  10001.  
  10002. TRACE OFF /C
  10003.  
  10004.  
  10005. ΓòÉΓòÉΓòÉ 4.129. TRACEBUF - Set Size of Trace Buffer ΓòÉΓòÉΓòÉ
  10006.  
  10007. Sets the size of the trace buffer. This statement is intended to be used with 
  10008. the assistance of your technical coordinator. 
  10009.  
  10010. TRACEBUF= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10011.  
  10012. Related Commands:  TRACE and TRACEFMT 
  10013.  
  10014. TRACEBUF sets the size of the trace buffer in the CONFIG.SYS file.  If any 
  10015. valid TRACE statements are in CONFIG.SYS (including TRACE=OFF), the default 
  10016. size of the trace buffer is 4KB. 
  10017.  
  10018. The x parameter specifies a trace buffer size of up to 63KB.  If you have a 
  10019. TRACEBUF statement without a TRACE statement in the CONFIG.SYS file, the trace 
  10020. buffer size requested is specified and tracing is turned off (the same as if 
  10021. you specify TRACE=OFF). If you need to use the System Trace facility, your 
  10022. technical coordinator will provide the buffer size. 
  10023.  
  10024. If you do not specify a TRACE or TRACEBUF statement in CONFIG.SYS file, OS/2 
  10025. 2.0 does not allocate a trace buffer, and system tracing is not available. 
  10026.  
  10027.  
  10028. ΓòÉΓòÉΓòÉ <hidden> TRACEBUF Examples ΓòÉΓòÉΓòÉ
  10029.  
  10030. To set the size of the trace buffer to 25KB, type the following in the 
  10031. CONFIG.SYS file: 
  10032.  
  10033. TRACEBUF=25
  10034.  
  10035. Specifying a number from 1 through 63, represents a multiple of 1024 bytes. 
  10036.  
  10037. The default is 4KB. 
  10038.  
  10039.  
  10040. ΓòÉΓòÉΓòÉ 4.130. TRACEFMT - Display Formatted Trace Records ΓòÉΓòÉΓòÉ
  10041.  
  10042. Displays formatted trace records in reverse time-stamp order. This command is 
  10043. intended to be used with the assistance of your service coordinator. Your 
  10044. technical coordinator will analyze the formatted data to help diagnose your 
  10045. problem. 
  10046.  
  10047. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ TRACEFMT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10048.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10049.  
  10050. Related Commands:  TRACE and TRACEBUF 
  10051.  
  10052. TRACEFMT works only if you have the TRACE or the TRACEBUF statement in your 
  10053. CONFIG.SYS file. 
  10054.  
  10055. You use the TRACEFMT utility program to format the information placed in the 
  10056. trace buffer by system trace. TRACEFMT is a Presentation Manager* application 
  10057. running in a window. The TRACEFMT application provides choices on the menu bar. 
  10058. From these choices, you can select items that allow you to do the following 
  10059. tasks: 
  10060.  
  10061. o Open a file 
  10062. o Get system trace buffer 
  10063. o Save As 
  10064.  
  10065.    - Save unformatted trace data 
  10066.    - Save formatted trace data 
  10067.    - Save either summary mode (process ID or major code) 
  10068.  
  10069. o Print 
  10070.  
  10071.    - Formatted data 
  10072.    - Either summary mode 
  10073.  
  10074. o View formatted data 
  10075. o View summary by process ID 
  10076. o View summary by major code. 
  10077.  
  10078. Your technical coordinator will analyze the formatted data to help diagnose 
  10079. your problem.  You can use TRACEFMT as many times as required to diagnose a 
  10080. problem without having to restart the system. 
  10081.  
  10082.  
  10083. ΓòÉΓòÉΓòÉ <hidden> TRACEFMT Examples ΓòÉΓòÉΓòÉ
  10084.  
  10085. TRACEFMT is intended to be used as a Presentation Manager utility program. 
  10086.  
  10087. To start the OS/2 System Trace Formatter and display the contents of the system 
  10088. trace buffer when system tracing is available, enter the following: 
  10089.  
  10090. TRACEFMT
  10091.  
  10092. To format a data file named RECORDS that contains unformatted trace data when 
  10093. tracing is not active, enter the following: 
  10094.  
  10095. TRACEFMT RECORDS
  10096.  
  10097.  
  10098. ΓòÉΓòÉΓòÉ 4.131. TREE - Display Directory Structure ΓòÉΓòÉΓòÉ
  10099.  
  10100. Displays all the directory paths found on the specified drive, and optionally 
  10101. lists the files in the root directory and in each subdirectory. 
  10102.  
  10103. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ TREE ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  10104.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ /F ΓöÇΓöÿ
  10105.  
  10106. Related Commands:  CHDIR, DIR, MKDIR, and RMDIR 
  10107.  
  10108. Enter this command without a parameter to display all directory paths found on 
  10109. the current drive. 
  10110.  
  10111. You can also: 
  10112.  
  10113. o Print a directory listing on a printer 
  10114.  
  10115. o Pause a directory listing on a display 
  10116.  
  10117. The display (or output) indents at each subdirectory level and uses block 
  10118. graphics. 
  10119.  
  10120. Return Codes:  TREE issues a return code of 0 for normal completion. 
  10121.  
  10122.  
  10123. ΓòÉΓòÉΓòÉ <hidden> TREE Examples ΓòÉΓòÉΓòÉ
  10124.  
  10125. To list the directory names on drive C, enter the following: 
  10126.  
  10127. TREE C:
  10128.  
  10129. To list the directory paths and the names of all files in the root directory 
  10130. and each subdirectory on drive C, enter the following: 
  10131.  
  10132. TREE C: /F
  10133.  
  10134. To have a directory listing sent to a printer, enter the following: 
  10135.  
  10136. TREE >PRN
  10137.  
  10138. To display directory names on the screen and pause with the message --More-- 
  10139. after a full screen of information appears, enter the following: 
  10140.  
  10141. TREE | MORE
  10142.  
  10143. To create a directory names file called MYTREE, enter the following: 
  10144.  
  10145. TREE > MYTREE
  10146.  
  10147.  
  10148. ΓòÉΓòÉΓòÉ 4.132. TYPE - Display File Contents ΓòÉΓòÉΓòÉ
  10149.  
  10150. Displays the contents of one or more files on the screen. In a DOS session, 
  10151. only one file is displayed. 
  10152.  
  10153. TYPE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  10154.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ                Γöé
  10155.            Γöé                                            Γöé
  10156.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10157.  
  10158. You can also: 
  10159.  
  10160. o Print a file 
  10161. o Pause the display screen while viewing a file 
  10162.  
  10163. You can use TYPE to display ASCII files. Text files appear in a legible format; 
  10164. however, other files, such as object program files, may appear unreadable 
  10165. because of the presence of nonalphabetic or nonnumeric characters. 
  10166.  
  10167. Note that the data is unformatted except that tab characters are expanded to an 
  10168. eight-character boundary (that is, columns 1, 9, 17, 25 and so on).  In an OS/2 
  10169. session, TYPE displays files consecutively on the screen if you specify 
  10170. multiple file names. You can include a drive and path when specifying multiple 
  10171. file names and can also use the global file-name characters * and ? in the file 
  10172. name you specify. 
  10173.  
  10174. In an OS/2 session if multiple files or files with global characters are 
  10175. listed, TYPE precedes the file data with the file name.  A blank line appears 
  10176. before and after each file name.  TYPE writes the file data to Standard Output 
  10177. and writes the file name to Standard Error. For example, to display data in 
  10178. files named FILE1, FILE2, and FILE3 and place the file names in a file named 
  10179. FILE.LST, enter the following: 
  10180.  
  10181. TYPE FILE1 FILE2 FILE3 2> FILE.LST
  10182.  
  10183. To display the file names on the screen and place all the file data in a file 
  10184. named FILE.TXT, enter the following: 
  10185.  
  10186. TYPE FILE1 FILE2 FILE3 > FILE.TXT
  10187.  
  10188. Note:   If you TYPE a text file that is not in the current directory, the 
  10189.         operating system searches the directories in the order that is 
  10190.         specified in your PATH statement, then in your DPATH statement. 
  10191.  
  10192.  
  10193. ΓòÉΓòÉΓòÉ <hidden> TYPE Examples ΓòÉΓòÉΓòÉ
  10194.  
  10195. To display the file FILE1.TXT in the STATUS directory on drive C, enter the 
  10196. following: 
  10197.  
  10198. TYPE C:\STATUS\FILE1.TXT
  10199.  
  10200. To look at a file named CALENDAR in the current directory and have the display 
  10201. pause with the message --More-- after a full screen of information appears, 
  10202. enter the following: 
  10203.  
  10204. TYPE CALENDAR | MORE
  10205.  
  10206. or 
  10207.  
  10208. MORE < CALENDAR
  10209.  
  10210. You can display the contents of more than one file at a time. To display the 
  10211. files FILE1.TXT in the STATUS directory on drive C and FILE2.TXT on drive A, 
  10212. enter the following: 
  10213.  
  10214. TYPE C:\STATUS\FILE1.TXT A:FILE2.TXT
  10215.  
  10216. To display data in files named DATA1, DATA2, and DATA3 and place the file names 
  10217. in a file named DATA.LST, enter the following: 
  10218.  
  10219. TYPE DATA1 DATA2 DATA3 2> DATA.LST
  10220.  
  10221. To display the file names on the screen and place all the file data in a file 
  10222. named DATA.TXT, enter the following: 
  10223.  
  10224. TYPE DATA1 DATA2 DATA3 > DATA.TXT
  10225.  
  10226.  
  10227. ΓòÉΓòÉΓòÉ 4.133. UNDELETE - Recover Deleted or Erased Files ΓòÉΓòÉΓòÉ
  10228.  
  10229. Recovers files that have been deleted or erased. 
  10230.  
  10231. UNDELETE Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10232.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ   ΓööΓöÇfilename ΓöÇΓöÿ
  10233.  
  10234.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  10235.                          Γöé
  10236. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10237.          Γöé  Γö£ΓöÇ /L ΓöÇΓöñ  Γöé
  10238.          Γöé  ΓööΓöÇ /S ΓöÇΓöÿ  Γöé
  10239.          Γö£ΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöñ
  10240.          ΓööΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÿ
  10241.  
  10242. The UNDELETE command provides the capability of recovering files that have been 
  10243. deleted or erased.  UNDELETE is designed to delay the removal of a file, which 
  10244. lets you retrieve a file before it is permanently discarded. 
  10245.  
  10246. A new environment variable DELDIR defines the path and maximum size of the 
  10247. directories used to store deleted files.  One such directory is specified for 
  10248. each logical drive on the system.  The DELDIR statement is written in the 
  10249. CONFIG.SYS file as follows: 
  10250.  
  10251. SET DELDIR = drive:\path, maxsize; drive2:\path, maxsize
  10252.  
  10253. The path and maximum size values for each logical drive are separated from each 
  10254. other by a comma; the logical drive names are separated by a semicolon. When 
  10255. the DEL or ERASE command is issued from any session type, the file is copied to 
  10256. the directory specified in the DELDIR statement for that logical drive. 
  10257.  
  10258. If the number of deleted files exceeds the maximum size of the specified 
  10259. directory, files are automatically removed from the directory to conform to its 
  10260. maximum size specified in the DELDIR statement.  Files are removed in 
  10261. first-in-first-out (FIFO) order.  To disable storage of deleted files in a 
  10262. directory, remove the directory name from the DELDIR statement. 
  10263.  
  10264. When UNDELETE is specified, if the file is still recoverable, it is reclaimed 
  10265. and restored to its specific path.  If a duplicate file name exists, you are 
  10266. prompted to rename it or it is ignored by the system. 
  10267.  
  10268. UNDELETE can be used in both DOS and OS/2 sessions.  Files that are available 
  10269. for recovery are reported as used bytes on the disk. 
  10270.  
  10271.  
  10272. ΓòÉΓòÉΓòÉ <hidden> UNDELETE Examples ΓòÉΓòÉΓòÉ
  10273.  
  10274. To list deleted files that are available to be recovered without recovering the 
  10275. files, type the following: 
  10276.  
  10277. UNDELETE /L
  10278.  
  10279. To recover all deleted files if they are still present without prompting for 
  10280. confirmation on each file, type the following: 
  10281.  
  10282. UNDELETE /A
  10283.  
  10284. To recover all files in the specified directory and all subdirectories, type 
  10285. the following: 
  10286.  
  10287. UNDELETE /S
  10288.  
  10289. To remove files so they cannot be recovered, type the following: 
  10290.  
  10291. UNDELETE /F
  10292.  
  10293.  
  10294. ΓòÉΓòÉΓòÉ 4.134. UNPACK - Decompress a File ΓòÉΓòÉΓòÉ
  10295.  
  10296. Unpacks (decompresses) compressed files and copies files that are not 
  10297. compressed but are located on the OS/2 installation diskettes.  Compressed 
  10298. files have a @ as the last character in their file name. 
  10299.  
  10300. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ UNPACK ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇ
  10301.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ          ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  10302. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10303.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ    ΓööΓöÇ /V ΓöÇΓöÿΓööΓöÇ /F ΓöÇΓöÿΓööΓöÇ /N:filename ΓöÇΓöÿ
  10304.  
  10305.  
  10306. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ UNPACK ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇ
  10307.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ          ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  10308. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10309.                         ΓööΓöÇ /SHOW ΓöÇΓöÿ
  10310.  
  10311. Do not specify an output file name; UNPACK uses the file name from the original 
  10312. uncompressed file as the destination file name.  It also preserves the date, 
  10313. time, and file attribute of the original uncompressed file. 
  10314.  
  10315. UNPACK copies files that are not compressed and handles file information such 
  10316. as date, time, and file attributes in the same way the COPY command does. 
  10317. Therefore, you can unpack a diskette that contains a combination of compressed 
  10318. and uncompressed files. 
  10319.  
  10320. Return Codes: 
  10321.  
  10322. 0 - Normal completion 
  10323. 1 - No files were found to unpack or copy 
  10324. 2 - Some files or directories were not unpacked or copied due to file errors 
  10325. 3 - Ended by user 
  10326. 4 - Ended due to error 
  10327.  
  10328.  
  10329. ΓòÉΓòÉΓòÉ <hidden> UNPACK Examples ΓòÉΓòÉΓòÉ
  10330.  
  10331. To unpack a compressed file named FORMAT.CO@ from the current directory on 
  10332. drive A to the OS2 directory on drive C, enter the following: 
  10333.  
  10334. UNPACK A:FORMAT.CO@ C:\OS2
  10335.  
  10336. To unpack a compressed file named FORMAT.CO@ from the current drive and 
  10337. directory to the OS2 subdirectory on drive C, enter the following: 
  10338.  
  10339. UNPACK FORMAT.CO@ C:\OS2
  10340.  
  10341. To verify the compressed files on drive A are correctly copied to drive C, 
  10342. enter the following: 
  10343.  
  10344. UNPACK A:\*.* C:\ /V
  10345.  
  10346. To specify that extended attributes should not be discarded when unpacking or 
  10347. copying files from drive A to drive C (when drive C does not support extended 
  10348. attributes because of its file system), enter the following: 
  10349.  
  10350. UNPACK A:\*.* C:\ /F
  10351.  
  10352. To display the destination path and file name for every compressed file in the 
  10353. packed file, BUNDLE.DA@, enter the following: 
  10354.  
  10355. UNPACK BUNDLE.DA@ /SHOW
  10356.  
  10357. To specify the file, FORMAT.CO@, to be extracted and decompressed from a packed 
  10358. file, BUNDLE.DA@, containing multiple compressed files, enter the following: 
  10359.  
  10360. UNPACK BUNDLE.DA@ /N:FORMAT.COM
  10361.  
  10362.  
  10363. ΓòÉΓòÉΓòÉ 4.135. VER - Display OS/2 Version Number ΓòÉΓòÉΓòÉ
  10364.  
  10365. Displays the OS/2 version number. 
  10366.  
  10367. VER ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10368.  
  10369. This command can be entered at either the OS/2 or DOS prompt.  The OS/2 version 
  10370. number is displayed on your screen; for example: 
  10371.  
  10372. The Operating System/2 Version is 2.00
  10373.  
  10374.  
  10375. ΓòÉΓòÉΓòÉ <hidden> VER Examples ΓòÉΓòÉΓòÉ
  10376.  
  10377. To display the OS/2 version number, enter the following: 
  10378.  
  10379. VER
  10380.  
  10381. The version number for the OS/2 operating system is displayed on your screen as 
  10382. follows: 
  10383.  
  10384. The Operating System/2 Version is 2.00
  10385.  
  10386.  
  10387. ΓòÉΓòÉΓòÉ 4.136. VERIFY - Set Data Verification ΓòÉΓòÉΓòÉ
  10388.  
  10389. Confirms that data written to a disk has been written correctly. 
  10390.  
  10391. VERIFY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10392.                        Γö£ΓöÇ ON  ΓöÇΓöñ
  10393.                        ΓööΓöÇ OFF ΓöÇΓöÿ
  10394.  
  10395. Enter this command without a parameter to display the current VERIFY status. 
  10396.  
  10397. You can use the VERIFY command to tell the system to verify that files are 
  10398. written correctly to the disk (for example, no bad sectors).  The system does a 
  10399. VERIFY action each time you write data to a disk.  You receive an error message 
  10400. only if the system is unable to write the data to the disk successfully. 
  10401.  
  10402. When you issue VERIFY ON, verification is done for file system I/O write 
  10403. actions for both hard disks and diskettes on a per session basis. 
  10404.  
  10405. This command has the same purpose as the /V parameter in the COPY and XCOPY 
  10406. commands. 
  10407.  
  10408.  
  10409. ΓòÉΓòÉΓòÉ <hidden> VERIFY Examples ΓòÉΓòÉΓòÉ
  10410.  
  10411. To check the conditional status of VERIFY, enter the following: 
  10412.  
  10413. VERIFY
  10414.  
  10415. To verify that your files are written correctly to the disk, enter the 
  10416. following: 
  10417.  
  10418. VERIFY ON
  10419.  
  10420. To turn VERIFY off, enter the following: 
  10421.  
  10422. VERIFY OFF
  10423.  
  10424. The default is off. 
  10425.  
  10426.  
  10427. ΓòÉΓòÉΓòÉ 4.137. VIEW - Display Online Documents ΓòÉΓòÉΓòÉ
  10428.  
  10429. Displays online documents created with the Information Presentation Facility 
  10430. (IPF) compiler.  VIEW displays IPF files that have a .INF extension. 
  10431.  
  10432. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ VIEW ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10433.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10434.  
  10435. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  10436.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ topic ΓöÇΓöÿ
  10437.  
  10438. VIEW displays files that have been compiled by the IPF compiler as online 
  10439. documents having a .INF extension.  VIEW can display the entire file or 
  10440. individual topics that are located in the Contents of the file. 
  10441.  
  10442.  
  10443. ΓòÉΓòÉΓòÉ <hidden> VIEW Examples ΓòÉΓòÉΓòÉ
  10444.  
  10445. To display the CMDREF.INF file that is located in the OS2\BOOK directory on 
  10446. drive C, enter the following: 
  10447.  
  10448. VIEW C:\OS2\BOOK\CMDREF
  10449.  
  10450. To display the Functions topic in the REXX.INF file that is located in the 
  10451. OS2\BOOK directory on drive C, enter the following: 
  10452.  
  10453. VIEW C:\OS2\BOOK\REXX FUNCTIONS
  10454.  
  10455.  
  10456. ΓòÉΓòÉΓòÉ 4.138. VMDISK - Create an Image File of a DOS Startup Diskette ΓòÉΓòÉΓòÉ
  10457.  
  10458. Creates a file that contains the image of a DOS startup diskette.  After 
  10459. creating an image, you can create a DOS session by starting from this image 
  10460. file. 
  10461.  
  10462. VMDISK ΓöÇΓöÇ sourcedrive ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  10463.                         ΓööΓöÇ targetdrive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10464.  
  10465. Related Commands: FSFILTER, FSACCESS 
  10466.  
  10467. Related Information: Starting a Specific Version of DOS 
  10468.  
  10469. To use VMDISK, you need to make changes to the DOS startup diskette.  Select 
  10470. Starting a Specific Version of DOS in the "Related Information" section above 
  10471. for more information about preparing the DOS startup diskette. 
  10472.  
  10473.  
  10474. ΓòÉΓòÉΓòÉ <hidden> VMDISK Examples ΓòÉΓòÉΓòÉ
  10475.  
  10476. Here are some examples of creating an image file of a DOS startup diskette. 
  10477. These examples assume the diskette is inserted in drive A. 
  10478.  
  10479. To place the image file in the current directory, type the following: 
  10480.  
  10481. VMDISK A: DOS50.IMG
  10482.  
  10483. Note:   The free disk space on the current drive must be greater than the total 
  10484.         capacity of the diskette in drive A. 
  10485.  
  10486. To place the image file in the root directory of drive C, type the following: 
  10487.  
  10488. VMDISK A: C:\DOS33.IMG
  10489.  
  10490. To place the image file in an image file directory on drive D, type the 
  10491. following: 
  10492.  
  10493. VMDISK A: D:OS_IMAGE\DOS33.IMG
  10494.  
  10495.  
  10496. ΓòÉΓòÉΓòÉ <hidden> Starting a Specific Version of DOS ΓòÉΓòÉΓòÉ
  10497.  
  10498. Creating a DOS Startup Diskette 
  10499.  
  10500. Follow these steps to create a DOS startup diskette: 
  10501.  
  10502.  1. Restart the system with a prior DOS version. 
  10503.  
  10504.  2. Format a diskette with the /S option. 
  10505.  
  10506.  3. Copy the DOS version of these files from the hard disk to the diskette: 
  10507.  
  10508.    o CONFIG.SYS 
  10509.    o AUTOEXEC.BAT 
  10510.    o OS2\MDOS\FSFILTER.SYS 
  10511.  
  10512.  4. Edit the CONFIG.SYS and AUTOEXEC.BAT files that were created on the 
  10513.     diskette, following the instructions in the "Modifying the DOS Startup 
  10514.     Diskette" section below. 
  10515.  
  10516.  5. Ensure that all programs and device drivers in the CONFIG.SYS and 
  10517.     AUTOEXEC.BAT files have full drive and path extensions.  The specific 
  10518.     version of DOS will always start from drive A, and DOS will not search 
  10519.     drive C for programs or utilities unless the full drive and path is 
  10520.     specified. 
  10521.  
  10522.  6. Restart the workstation with the OS/2* operating system.  Use the DOS 
  10523.     Settings notebook to select the DOS startup drive setting.  Set its value 
  10524.     to A: and save this change.  You can now use this entry to start the 
  10525.     specific DOS version diskette from drive A. 
  10526.  
  10527. Once you verify that the startup diskette is operating properly, you can create 
  10528. an image file of that diskette on your hard disk using the VMDISK utility. 
  10529.  
  10530. To start a specific version of DOS, you must make changes to the CONFIG.SYS 
  10531. file on the disk or diskette from which DOS will be started.  These changes are 
  10532. needed because a specific version of DOS cannot use the OS/2 file system 
  10533. without making these updates.  The FSFILTER device driver provides access 
  10534. between the DOS and OS/2 file systems. 
  10535.  
  10536. Modifying the DOS Startup Diskette 
  10537.  
  10538. You must modify the CONFIG.SYS and AUTOEXEC.BAT files on the diskette that will 
  10539. be started.  You need to edit the CONFIG.SYS file on the DOS startup diskette 
  10540. by doing the following: 
  10541.  
  10542.  1. Insert the line DEVICE=FSFILTER.SYS before any other DEVICE= statement in 
  10543.     the CONFIG.SYS file.  Make sure to copy the file FSFILTER.SYS from 
  10544.     OS2\MDOS\FSFILTER.SYS to the startup diskette. 
  10545.  
  10546.  2. If any XMS (HIMEM.SYS) or EMS (EMM386.SYS) device driver statements are in 
  10547.     the CONFIG.SYS file, replace them with these statements (assuming the OS/2 
  10548.     operating system is installed on drive C): 
  10549.  
  10550.         DEVICE=C:\OS2\MDOS\HIMEM.SYS
  10551.         DEVICE=C:\OS2\MDOS\EMM386.SYS
  10552.  
  10553.  3. Delete any DEVICE= statement that is loading mouse support.  Mouse support 
  10554.     will be provided by a driver that is loaded when the AUTOEXEC.BAT is 
  10555.     processed. 
  10556.  
  10557.  4. Make sure that any other utilities or programs that are referenced have a 
  10558.     drive and path extension. 
  10559.  
  10560. Make these changes to the AUTOEXEC.BAT file on the startup diskette: 
  10561.  
  10562.  1. If mouse support is needed, add this line to the AUTOEXEC.BAT file. 
  10563.  
  10564.         C:\OS2\MDOS\MOUSE
  10565.  
  10566.     This example assumes that the OS/2 operating system is installed on drive 
  10567.     C. 
  10568.  
  10569.  2. Make sure that any other utilities or programs that are referenced have a 
  10570.     drive and path extension. 
  10571.  
  10572. Information about FSACCESS and FSFILTER 
  10573.  
  10574. The FSFILTER device driver provides access between the DOS and OS/2 file 
  10575. systems. The initial mapping of drives is done automatically.  After the filter 
  10576. is running, the FSACCESS utility can be called to change the drive mappings for 
  10577. that specific DOS session.  Initial drive mappings are determined in the 
  10578. following ways when the filter is started: 
  10579.  
  10580. o Drive A is mapped to DOS only when started from an image file; otherwise, 
  10581.   drive A is mapped to the OS/2 operating system. 
  10582. o Drive B is mapped to the OS/2 operating system. 
  10583. o When FSFILTER is started, all OS/2 defined physical volumes are counted.  DOS 
  10584.   drive letters for these OS/2 drives are allocated in the DOS startup session 
  10585.   and are then mapped to the corresponding OS/2 drives. 
  10586.  
  10587. When a DOS program makes a file-system request, FSFILTER determines what drive 
  10588. is referenced.  If the drive is mapped, the request is sent to the OS/2 file 
  10589. system.  If the drive is not mapped, the request is sent to DOS if DOS 
  10590. recognizes the drive; otherwise it is sent to the OS/2 operating system. 
  10591.  
  10592. Differences in DOS Environments 
  10593.  
  10594. There are some differences among the various DOS environments.  These 
  10595. environments include DOS, DOS sessions in the OS/2 operating system, and 
  10596. specific versions of DOS started from diskette. As noted earlier, when you are 
  10597. starting a specific version of DOS from diskette, DOS mouse, XMS, or EMS driver 
  10598. support must be replaced with the OS/2 version of the driver, supplied in the 
  10599. OS2\MDOS directory. 
  10600.  
  10601. Some of the DOS properties are not processed in a DOS session started from the 
  10602. specific version of DOS.  The ignored DOS properties are those that configure 
  10603. parameters that are controlled by the CONFIG.SYS file on the DOS startup 
  10604. diskette.  These ignored properties include: 
  10605.  
  10606. o BREAK 
  10607. o DOS Device Drivers 
  10608. o DOS Memory Size (KB) 
  10609. o DOS Shell 
  10610. o LASTDRIVE 
  10611. o Simulated DOS Version 
  10612.  
  10613. Other differences include: 
  10614.  
  10615. o FCB values are restricted to the minimum of the two values in the DOS and 
  10616.   OS/2 configuration files. 
  10617. o The EXIT command does not work when issued from the top level prompt in a DOS 
  10618.   session started from a specific version of DOS. 
  10619. o There is generally less memory available in a DOS session started from a 
  10620.   specific version of DOS. 
  10621. o A DOS session started from a specific version of DOS will not support 
  10622.   extended attributes on logical drives managed by the file system of that 
  10623.   specific version of DOS. 
  10624.  
  10625.  
  10626. ΓòÉΓòÉΓòÉ 4.139. VOL - Display Disk Volume Label ΓòÉΓòÉΓòÉ
  10627.  
  10628. Displays the disk volume label and serial number if they exist. From a DOS 
  10629. command prompt, VOL displays the label for only one disk.  From an OS/2 command 
  10630. prompt, if you specify more than one drive, VOL displays the volume labels 
  10631. consecutively. 
  10632.  
  10633. VOL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10634.                   ΓööΓöÇ drive ΓöÇΓöÿ          Γöé
  10635.               ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10636.  
  10637. Related Commands:  FORMAT and LABEL 
  10638.  
  10639. Enter this command without a parameter to display the volume label and volume 
  10640. serial number of the current drive. 
  10641.  
  10642.  
  10643. ΓòÉΓòÉΓòÉ <hidden> VOL Examples ΓòÉΓòÉΓòÉ
  10644.  
  10645. To display the volume label and volume serial number of the current drive, 
  10646. enter the following: 
  10647.  
  10648. VOL
  10649.  
  10650. To display the volume labels of both drive C and drive D, enter the following: 
  10651.  
  10652. VOL C: D:
  10653.  
  10654.  
  10655. ΓòÉΓòÉΓòÉ 4.140. XCOPY - Copy Subdirectories ΓòÉΓòÉΓòÉ
  10656.  
  10657. Selectively copies groups of files, which can include lower-level 
  10658. subdirectories. 
  10659.  
  10660. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ XCOPY ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10661.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               ΓööΓöÇ drive ΓöÇΓöÿ
  10662.  
  10663. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  10664.   ΓööΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ   ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  10665.               ΓööΓöÇ filename ΓöÇΓöÿ
  10666.  
  10667.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  10668.                                               Γöé
  10669. ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10670.                       Γö£ΓöÇΓöÇΓöÇ  /D:mm-dd-yy  ΓöÇΓöÇΓöÇΓöñ
  10671.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10672.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /E ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10673.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10674.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10675.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  10676.                       Γöé    ΓööΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÿ    Γöé
  10677.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10678.  
  10679. Related Commands:  BACKUP, COPY, RESTORE, and VERIFY 
  10680.  
  10681. It is important to remember the following: 
  10682.  
  10683. o Specify the drive, path, and file name for the source and target drives.  If 
  10684.   you do not specify a path, XCOPY starts from the current directory.  If you 
  10685.   do not specify a file name, XCOPY uses *.* as the default value. 
  10686.  
  10687. o XCOPY works only within the source directory unless you specify the /S 
  10688.   parameter, which copies files in the source directory and in all directories 
  10689.   below the starting source directory. 
  10690.  
  10691. o If you use the /D parameter, the month, date, and year may be in different 
  10692.   positions depending on your country. 
  10693.  
  10694. o You cannot replace a read-only file with another file.  Also, you cannot use 
  10695.   XCOPY to copy hidden or system files. 
  10696.  
  10697. o The /M parameter copies files whose archive bit is set, and then turns off 
  10698.   the archive bit of the source file.  You can use the ATTRIB command to reset 
  10699.   the archive bit for your files. 
  10700.  
  10701. o If the specified target path does not exist on the target, XCOPY creates the 
  10702.   directories before copying.  You can rename files on the target by specifying 
  10703.   a new file name on the target. 
  10704.  
  10705. Extended Attributes:  XCOPY will copy the extended attributes of a source file 
  10706. to the target file (See the /F parameter). An extended attribute is a special 
  10707. area used for storing data that describes the file to the OS/2 operating system 
  10708. or to an application. 
  10709.  
  10710. When copying files that have extended attributes, be sure to use OS/2 2.0 to 
  10711. ensure all extended file or directory attributes are copied.  Extended 
  10712. attributes associated with a source directory will be copied to the target if 
  10713. the directory does not already exist on the target. 
  10714.  
  10715. Return Codes: 
  10716.  
  10717. 0 - Normal completion 
  10718. 1 - No files were found to xcopy 
  10719. 2 - Some files or directories were not copied due to file or directory errors 
  10720. 3 - Ended by user 
  10721. 4 - Ended due to error 
  10722.  
  10723.  
  10724. ΓòÉΓòÉΓòÉ <hidden> XCOPY Examples ΓòÉΓòÉΓòÉ
  10725.  
  10726. To copy the files in the MEMOS subdirectory on drive C to a newly created 
  10727. subdirectory named LETTERS on drive A, enter the following: 
  10728.  
  10729. XCOPY C:\MEMOS A:\LETTERS
  10730.  
  10731. To copy files changed on or after November 12, 1988 in the MEMOS subdirectory 
  10732. to the root directory on drive A, enter the following: 
  10733.  
  10734. XCOPY C:\MEMOS A:\ /D:11-12-88
  10735.  
  10736. To copy the subdirectories and their contents from the root directory on drive 
  10737. C to the root directory on drive A, enter the following: 
  10738.  
  10739. XCOPY C:\ A:\ /S
  10740.  
  10741. To copy the REPORTS subdirectory on drive C, including all files and 
  10742. subdirectories within it, to the root directory on drive A, enter the 
  10743. following: 
  10744.  
  10745. XCOPY C:\REPORTS A:\ /S /E
  10746.  
  10747. To be prompted with (Y/N?) before each file is copied from the MEMOS 
  10748. subdirectory on drive C to the LETTERS subdirectory on drive A, enter the 
  10749. following: 
  10750.  
  10751. XCOPY C:\MEMOS A:\LETTERS /P
  10752.  
  10753. To verify that the files written from drive C to drive A are recorded properly, 
  10754. enter the following: 
  10755.  
  10756. XCOPY C:\ A:\ /V
  10757.  
  10758. To copy only those files that have the archive bit set on without changing the 
  10759. attribute of source drive C when it is copied, type the following: 
  10760.  
  10761. XCOPY C:\ A:\ /A
  10762.  
  10763. To copy files whose archive bit is set on from the root directory on drive C to 
  10764. the root directory on drive A, then turn the archive bit of the source file 
  10765. off, enter the following: 
  10766.  
  10767. XCOPY C:\ A:\ /M
  10768.  
  10769.  
  10770. ΓòÉΓòÉΓòÉ <hidden> Trace Point Overview and Dynamic Tracing ΓòÉΓòÉΓòÉ
  10771.  
  10772. The OS/2 2.0 operating system contains a mixture of static trace points and 
  10773. dynamic trace points. 
  10774.  
  10775. Static trace points are implemented as trace function calls within individual 
  10776. software modules.  The TRACE command can be used to turn on and off static 
  10777. trace points by specifying them by major code (and, optionally, minor code). 
  10778.  
  10779. Dynamic trace points are implemented as Trace Definition File (TDF) entries. 
  10780. The TRACE command can be used to insert (and turn on) a dynamic trace point by 
  10781. patching it into its corresponding software module.  Dynamic trace points are 
  10782. specified by the dynamic library (DLL) prefix (and, optionally minor code). 
  10783.  
  10784. Individual dynamic trace points can be qualified by separate type and group 
  10785. qualifiers.  These qualifiers exist so that you can more easily turn on and off 
  10786. sets of related dynamic trace points.  For example, all the dynamic trace 
  10787. points that are associated with pre-invocation events might have a type of PRE. 
  10788. Similarly, all the dynamic trace points that are involved in semaphore 
  10789. processing might have a group of SEM.  In the TRACE command syntax, group is 
  10790. considered to have a stronger binding than type.  This means that you can ask 
  10791. to turn on or off all events that are of a specified group that are also of one 
  10792. or more specified types.  You do not need to use these qualifiers; they are 
  10793. there simply to make it easier to control related sets of dynamic trace points. 
  10794.  
  10795. TDF files are typically found in the \OS2\SYSTEM\TRACE directory. They are 
  10796. identified by .TDF file name extensions.  There are also Trace Formatting Files 
  10797. (TFF) found within that directory.  These files are used by the OS/2 2.0 Trace 
  10798. Formatter (TRACEFMT) utility to format the entries that are logged within the 
  10799. system trace buffer. 
  10800.  
  10801. The system .TDF file supports dynamic tracing for the following: 
  10802.  
  10803. o TRACE ON KERNEL 
  10804.  
  10805.        Major Code: 5 (decimal) 5 (hex)
  10806.        Groups: FS, LDR, NLS, PIP, SEL, SEM, SIG, TIM, TIK, VM
  10807.        Types: PRE, POST, API, INT
  10808.        Purpose: Dynamic trace point definitions for APIs that reside in
  10809.             the OS/2 kernel
  10810.  
  10811. o TRACE ON DOSCALL1 
  10812.  
  10813.        Major Code: 16 (decimal) 10 (hex)
  10814.        Groups: FS, LDR, LNK, MSG, MSP, NLS, SEM, TSK
  10815.        Types: PRE, POST, API
  10816.        Purpose: Dynamic trace point definitions for APIs that reside in
  10817.          DOSCALL1.DLL
  10818.  
  10819. o TRACE ON QUECALLS 
  10820.  
  10821.        Major Code: 22 (decimal) 16 (hex)
  10822.        Groups: None
  10823.        Types: API, PRE, POST, INT
  10824.        Purpose: Dynamic trace point definitions for APIs that reside in
  10825.              QUECALLS.DLL (queue calls)
  10826.  
  10827. o TRACE ON SESMGR 
  10828.  
  10829.        Major Code: 23 (decimal) 17 (hex)
  10830.        Groups: None
  10831.        Types: API, PRE, POST
  10832.        Purpose: Dynamic trace point definitions for APIs that reside in
  10833.              SESMGR.DLL (session manager)
  10834.  
  10835. o TRACE ON OS2CHAR 
  10836.  
  10837.        Major Code: 24 (decimal) 18 (hex)
  10838.        Groups: KBD, MOU, VIO
  10839.        Types: API, PRE, POST
  10840.        Purpose: Dynamic trace point definitions for APIs that reside in
  10841.              OS2CHAR.DLL
  10842.  
  10843. o TRACE ON PMSHAPI 
  10844.  
  10845.        Major Code: 192 (decimal) C0 (hex)
  10846.        Groups: None
  10847.        Types: None
  10848.        Purpose: Dynamic trace point definitions for APIs that reside in
  10849.              PMSHAPI.DLL (PM shell APIs)
  10850.  
  10851. o TRACE ON PMWIN 
  10852.  
  10853.        Major Code: 194 (decimal) C2 (hex)
  10854.        Groups: None
  10855.        Types: None
  10856.        Purpose: Dynamic trace point definitions for APIs that reside in
  10857.              PMWIN.DLL (window manager)
  10858.  
  10859. o TRACE ON PMGRE 
  10860.  
  10861.        Major Code: 195 (decimal) C3 (hex)
  10862.        Groups: None
  10863.        Types: None
  10864.        Purpose: Dynamic trace point definitions for APIs that reside in
  10865.              PMGRE.DLL (graphics engine)
  10866.  
  10867. o TRACE ON PMPIC 
  10868.  
  10869.        Major Code: 196 (decimal) C4 (hex)
  10870.        Groups: None
  10871.        Types: None
  10872.        Purpose: Dynamic trace point definitions for APIs that reside in
  10873.              PMPIC.DLL (picture interchange)
  10874.  
  10875. o TRACE ON PMGPI 
  10876.  
  10877.        Major Code: 197 (decimal) C5 (hex)
  10878.        Groups: None
  10879.        Types: None
  10880.        Purpose: Dynamic trace point definitions for APIs that reside in
  10881.              PMGPI.DLL (graphics program interface)
  10882.  
  10883. OS/2 2.0 Static Trace Points 
  10884.  
  10885. The OS/2 static trace points do not have associated TDF files, but do have 
  10886. associated TFF files that are used by the Trace Formatter (TRACEFMT). 
  10887.  
  10888. o Machine Exceptions 
  10889.  
  10890.        Major Code: 3
  10891.  
  10892. o Hardware Interrupts 
  10893.  
  10894.        Major Code: 4
  10895.  
  10896. o Device Helper Routines 
  10897.  
  10898.        Major Code: 6
  10899.  
  10900. o Disk Device Driver 
  10901.  
  10902.        Major Code: 7
  10903.  
  10904. Commonly Used Abbreviations for Groups and Types 
  10905.  
  10906. o Groups 
  10907.  
  10908.        FS-  file system
  10909.        KBD- keyboard I/O
  10910.        LDR- resource loader
  10911.        LNK- environment management
  10912.        MOU- mouse I/O
  10913.        MSG- message management
  10914.        MSP- virtual memory management
  10915.        NLS- national language support
  10916.        PIP- pipe support
  10917.        SEL- selector-related
  10918.        SEM- semaphore support
  10919.        SIG- signal handling
  10920.        TIM- timer support
  10921.        TK-  task management
  10922.        TSK- monitor support
  10923.        VIO- video I/O
  10924.        VM-  virtual memory management
  10925.  
  10926. o Types 
  10927.  
  10928.        API-  application programming interface
  10929.        INT-  internal
  10930.        PRE-  pre-processing invocation
  10931.        POST- post-processing invocation
  10932.  
  10933.  
  10934. ΓòÉΓòÉΓòÉ <hidden> Trace Point Overview Examples ΓòÉΓòÉΓòÉ
  10935.  
  10936. TRACE ON 15,31,22 /S
  10937.  
  10938.       Indicates that all static trace points with major codes of
  10939.       15, 31 and 22 are to be traced, and then suspends all
  10940.       event tracing.
  10941.  
  10942. TRACE ON 17,22(4,9-13)
  10943.  
  10944.       Indicates that all static trace points with a major code of
  10945.       17, and all static trace points with a major code of 22
  10946.       and minor codes of 4, or 9 to 13, are to be
  10947.       traced.
  10948.  
  10949.  
  10950. TRACE ON DOSCALL1
  10951.  
  10952.       Inserts all dynamic trace points that are defined in
  10953.       DOSCALL1.TDF.
  10954.  
  10955.  
  10956. TRACE ON DOSCALL1(4,23-56,8) /R
  10957.  
  10958.       Inserts all dynamic trace points from DOSCALL1.TDF that have
  10959.       minor codes of 4, 8, or 23 to 56, and then resumes all
  10960.       event tracing.
  10961.  
  10962.  
  10963. TRACE ON DOSCALL1(FS=PRE+API,SEM)
  10964.  
  10965.       Inserts all dynamic trace points from DOSCALL1.TDF that are
  10966.       of group FS and of either type PRE or API, or
  10967.       are simply of group SEM.
  10968.  
  10969.  
  10970. TRACE ON KERNEL(20-23,182)
  10971.  
  10972.       Inserts all dynamic trace points into the OS/2 kernel that
  10973.       have minor codes between 20 and 23, or have a minor code
  10974.       of 182.
  10975.  
  10976.  
  10977. TRACE ON /P:16,14,8
  10978.  
  10979.       Indicates that events are to be traced only when pid 8,
  10980.       14, or 16 is the current pid
  10981.       (the set of events that are to be traced
  10982.       is set through other TRACE commands).
  10983.  
  10984.  
  10985. TRACE OFF /P:14
  10986.  
  10987.       Indicates that events are no longer to be traced when pid
  10988.       14 is the current pid.
  10989.  
  10990.  
  10991. TRACE ON /P:ALL
  10992.  
  10993.       Indicates that event tracing is now performed irrespective
  10994.       of the current pid.
  10995.  
  10996.  
  10997. TRACE /C /R
  10998.  
  10999.       Indicates that the system event trace buffer is to be
  11000.       cleared and then event tracing is to be resumed.
  11001.  
  11002.  
  11003. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11004.  
  11005. When you place a bookmark on a topic, it is added to a list of bookmarks you 
  11006. have previously set.  You can view the list, and you can remove one or all 
  11007. bookmarks from the list.  If you have not set any bookmarks, the list is empty. 
  11008.  
  11009. To set a bookmark, do the following: 
  11010.  
  11011.  1. Select a topic from the Contents. 
  11012.  
  11013.  2. When that topic appears, choose the Bookmark option from the Services menu. 
  11014.  
  11015.  3. If you want to change the name used for the bookmark, type the new name in 
  11016.     the field. 
  11017.  
  11018.  4. Select the Place radio button. 
  11019.  
  11020.  5. Select OK.  The bookmark is then added to the bookmark list. 
  11021.  
  11022.  
  11023. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11024.  
  11025. You can specify a word or phrase to be searched.  You can also limit the search 
  11026. to a set of topics by first marking the topics on the Contents list. 
  11027.  
  11028. To search for a word or phrase in all topics, do the following: 
  11029.  
  11030.  1. Select the Search option from the Services menu. 
  11031.  
  11032.  2. Type the word or words to be searched. 
  11033.  
  11034.  3. Select All sections. 
  11035.  
  11036.  4. Select Search to begin the search. 
  11037.  
  11038.  5. The list of topics where the word or phrase appears is displayed. 
  11039.  
  11040.  
  11041. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11042.  
  11043. You can print one or more topics.  You can also print a set of topics by first 
  11044. marking the topics on the Contents list. 
  11045.  
  11046. To print the document Contents list, do the following: 
  11047.  
  11048.  1. Select Print from the Services menu. 
  11049.  
  11050.  2. Select Contents. 
  11051.  
  11052.  3. Select Print. 
  11053.  
  11054.  4. The Contents list is printed on your printer. 
  11055.  
  11056.  
  11057. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11058.  
  11059. You can copy a topic you are viewing into a temporary file named TEXT.TMP.  You 
  11060. can later edit that file by using an editor such as the System Editor. 
  11061.  
  11062. To copy a topic, do the following: 
  11063.  
  11064.  1. Expand the Contents list and select a topic. 
  11065.  
  11066.  2. When the topic appears, select Copy to file from the Services menu. 
  11067.  
  11068. The system copies the text pertaining to that topic into the temporary TEXT.TMP 
  11069. file. 
  11070.  
  11071. For information on any of the other choices in the Services menu, highlight the 
  11072. choice and press the F1 key. 
  11073.  
  11074.  
  11075. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11076.  
  11077. You can control the appearance of the Contents list. 
  11078.  
  11079. To expand the Contents and show all levels for all topics, select Expand all 
  11080. from the Options menu. 
  11081.  
  11082. For information on any of the other choices in the Options menu, highlight the 
  11083. choice and press the F1 key. 
  11084.  
  11085.  
  11086. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11087.  
  11088. The multitasking OS/2 environment allows you to run several programs at the 
  11089. same time.  This gives each program the potential of taking advantage of 
  11090. available physical memory up to 16 MB (MB equals 1 048 576 bytes). The OS/2 
  11091. environment allows you to achieve a high level of interaction with an OS/2 
  11092. program.  It permits you to run some programs in interactive windows on your 
  11093. screen.  At the same time, you can run other programs in the background, away 
  11094. from view.  Your operating system also protects each program so that it cannot 
  11095. change another program that is running at the same time. 
  11096.  
  11097.  
  11098. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11099.  
  11100. When using the OS/2 operating system, you may choose to use the DOS environment 
  11101. similar to IBM Disk Operating System Version 4.0. Like most programs that run 
  11102. in an OS/2 session, a program running in a DOS session can run in a window. 
  11103. You can run several DOS programs at the same time with several active OS/2 
  11104. programs. You can continue using DOS programs with your new operating system. 
  11105. A DOS session can run in either a full screen or a window.  It runs 
  11106. continuously even when you may be running in another DOS session or in an OS/2 
  11107. session.  The only time a DOS session is frozen is if it is running graphics. 
  11108. A text program will continue running even when it is running in a background 
  11109. environment. 
  11110.  
  11111. You can start DOS tasks or begin a DOS program almost as though you were using 
  11112. DOS 4.0.  However, not all programs originally written for a personal computer 
  11113. work properly in the DOS environment (for example, timing- and 
  11114. network-dependent programs).  Refer to documentation that came with the program 
  11115. you are using for program limitations and answers to compatibility questions. 
  11116.  
  11117.  
  11118. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11119.  
  11120. A keyword has a predefined value.  It appears in uppercase letters and must be 
  11121. typed exactly as shown.  A command name is a keyword. 
  11122.  
  11123.  
  11124. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11125.  
  11126. Variables represent names or values you supply.  They are shown in lowercase 
  11127. letters.  A file name is a variable. 
  11128.  
  11129.  
  11130. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11131.  
  11132. Your technical coordinator, whose role includes investigating hardware and 
  11133. software problems, is the first level of customer assistance.  This person, who 
  11134. could be either an IBM authorized dealer or the person assigned to be the 
  11135. coordinator for your particular organization, can contact IBM, if necessary. 
  11136. Please do not provide a dump or any other materials unless directed to do so by 
  11137. your technical coordinator or service representative. 
  11138.  
  11139.  
  11140. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11141.  
  11142. A batch file is a file containing one or more commands that the operating 
  11143. system starts one at a time. Batch files can be created for both DOS and OS/2 
  11144. sessions.  When you run a batch file, the OS/2 command processor processes the 
  11145. commands in the batch file, one at a time.  If you have a repetitive process 
  11146. that requires you to enter a series of commands at the command prompt, creating 
  11147. a batch file that contains these commands shortens process time and reduces the 
  11148. possibility of typing errors.  All batch files intended for use in DOS sessions 
  11149. have a .BAT file name extension; batch files intended for use in OS/2 sessions 
  11150. have a .CMD file-name extension. 
  11151.  
  11152.  
  11153. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11154.  
  11155. A return code is a value returned to a program or batch file to indicate the 
  11156. results of an operation.  The valid return codes are: 
  11157.  
  11158. 0 - Normal completion 
  11159. 1 - No files were found to be processed 
  11160. 2 - Some files or directories were not processed due to file errors 
  11161. 3 - Ended by user (Ctrl+Break) 
  11162. 4 - Ended due to error 
  11163. 5 - (Specific error defined by the command or utility) 
  11164. 6 - (Specific error defined by the command or utility) 
  11165. 7 - (Specific error defined by the command or utility) 
  11166.  
  11167. Most commands issue a return code of 0 for normal completion, or display an 
  11168. error message for unsuccessful completion. 
  11169.  
  11170.  
  11171. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11172.  
  11173. ANSI Command:  ON and OFF Parameters 
  11174.  
  11175. Specify ON to allow extended display and keyboard support.  Specify OFF to 
  11176. prevent this support. The default value is ON. 
  11177.  
  11178. To allow extended display and keyboard support, type the following: 
  11179.  
  11180. ANSI ON
  11181.  
  11182.  
  11183. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11184.  
  11185. APPEND Command:  /E Parameter 
  11186.  
  11187. Keeps the APPEND paths in the DOS environment. (This is similar to the DOS PATH 
  11188. command.) APPEND searches the environment on each call to find the path. Use 
  11189. the /E parameter to permit application programs to query the environment and, 
  11190. depending on what they find, to change the actions they take. However, if you 
  11191. want to ensure that all processes are affected by changes to the APPEND path 
  11192. string, do not use the /E parameter. 
  11193.  
  11194. For example, if you want to query the environment for paths to data files and 
  11195. find any files that have paths in the WORDPROC or CALC subdirectories on drive 
  11196. C, type the following: 
  11197.  
  11198. PATH C:\WORDPROC;C:\CALC;
  11199. APPEND /E
  11200. APPEND C:\WORDPROC;C:\CALC;
  11201.  
  11202. If you want to find any files that have paths in the WORDPROC or CALC 
  11203. subdirectories on drive C but do not want to query the environment for paths to 
  11204. data files, type the following: 
  11205.  
  11206. PATH C:\WORDPROC;C:\CALC;
  11207. APPEND C:\WORDPROC;C:\CALC;
  11208.  
  11209.  
  11210. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11211.  
  11212. APPEND Command:  Drive and Path Parameters 
  11213.  
  11214. Specifies the drives and directories to be searched. 
  11215.  
  11216. If you want to access files in the EDITOR directory when you are in another 
  11217. directory, type the following: 
  11218.  
  11219. APPEND = C:\OS2;C:\OS2\SYSTEM;
  11220. C:\EDITOR;
  11221.  
  11222.  
  11223. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11224.  
  11225. APPEND Command:  /PATH:ON and /PATH:OFF Parameters 
  11226.  
  11227. Specify /PATH:ON to allow APPEND to search for a file even when the specified 
  11228. file name includes a drive or path or both.  Specify /PATH:OFF to allow APPEND 
  11229. to search for a file when you type only a file name. If you specify /PATH:OFF 
  11230. and then type a drive or a path, APPEND does not search for the file. 
  11231.  
  11232. If you want to search for a file using only a file name, enter the following: 
  11233.  
  11234. APPEND /PATH:OFF
  11235.  
  11236. If you want to view a file, you can enter the following: 
  11237.  
  11238. TYPE MYFILE
  11239. APPEND searches until it finds the file. 
  11240.  
  11241.  
  11242. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11243.  
  11244. ASSIGN Command: x and y Parameters 
  11245.  
  11246. The x parameter specifies the drive to which read and write requests are 
  11247. currently set.  The y parameter specifies the drive to which you want read and 
  11248. write requests set.  You can use a space between the drive letters instead of 
  11249. the equals sign.  Do not type a colon after the drive letter. 
  11250.  
  11251. To assign all requests for drive A to drive C, enter the following: 
  11252.  
  11253. ASSIGN A=C or ASSIGN A C
  11254.  
  11255. To assign all requests for drives A and B to drive C, enter the following: 
  11256.  
  11257. ASSIGN A=C B=C
  11258.  
  11259.  
  11260. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11261.  
  11262. ATTRIB Command:  +R and -R Parameters 
  11263.  
  11264. Specify +R to turn on the read-only attribute of a file. Specify -R to turn it 
  11265. off. 
  11266.  
  11267. To turn on the read-only attribute of a file named LETTER.TXT, type the 
  11268. following: 
  11269.  
  11270. ATTRIB +R LETTER.TXT
  11271.  
  11272. To remove the read-only attribute from a file named LETTER.TXT, type the 
  11273. following: 
  11274.  
  11275. ATTRIB -R LETTER.TXT
  11276.  
  11277.  
  11278. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11279.  
  11280. ATTRIB Command:  +A and -A Parameters 
  11281.  
  11282. Specify +A to turn on the archive bit of a file. Specify -A to turn it off. 
  11283.  
  11284. To turn on the archive bit of a file named LETTER.TXT, type the following: 
  11285.  
  11286. ATTRIB +A LETTER.TXT
  11287.  
  11288. To turn off the archive bit and turn on the read-only attribute of a file named 
  11289. LETTER.TXT, type the following. 
  11290.  
  11291. ATTRIB -A +R LETTER.TXT
  11292.  
  11293.  
  11294. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11295.  
  11296. ATTRIB Command:  +S and -S Parameters 
  11297.  
  11298. Specify +S to set a file as a system file.  Specify -S to turn off the system 
  11299. file attribute. 
  11300.  
  11301. To set the file, LETTER.TXT, as a system file, type the following: 
  11302.  
  11303. ATTRIB +S LETTER.TXT
  11304.  
  11305. To clear the file, LETTER.TXT, as a system file, type the following: 
  11306.  
  11307. ATTRIB -S LETTER.TXT
  11308.  
  11309.  
  11310. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11311.  
  11312. ATTRIB Command:  +H and -H Parameters 
  11313.  
  11314. Specify +H to set a file as a hidden file.  Specify -H to turn off the hidden 
  11315. file attribute. 
  11316.  
  11317. To set the file, LETTER.TXT, as a hidden file, type the following: 
  11318.  
  11319. ATTRIB +H LETTER.TXT
  11320.  
  11321. To clear the file, LETTER.TXT, as a hidden file, type the following: 
  11322.  
  11323. ATTRIB -H LETTER.TXT
  11324.  
  11325.  
  11326. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11327.  
  11328. ATTRIB Command:  Drive, Path, Filename Parameters 
  11329.  
  11330. Specifies the drive, directory, and file name. You do not need to specify the 
  11331. drive and directory when changing the status of a file in your current 
  11332. directory. 
  11333.  
  11334. To turn off the archive bit of the LETTER.TXT file in the REPORTS directory on 
  11335. drive D, type the following: 
  11336.  
  11337. ATTRIB -A D:\REPORTS\LETTER.TXT
  11338.  
  11339.  
  11340. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11341.  
  11342. ATTRIB Command:  /S Parameter 
  11343.  
  11344. Specify the /S parameter to process all subdirectories. 
  11345.  
  11346. To display the current settings of the archive and read-only bits for all the 
  11347. files on drive C, type the following: 
  11348.  
  11349. ATTRIB C:\*.* /S
  11350.  
  11351. To find all occurrences of a file named LETTER.TXT on drive C, type the 
  11352. following: 
  11353.  
  11354. ATTRIB C:\LETTER.TXT /S
  11355.  
  11356.  
  11357. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11358.  
  11359. AUTOFAIL Command:  YES and NO Parameters 
  11360.  
  11361. Specify NO to cause a window to appear that informs you of an error condition. 
  11362. Specify YES to have an error code appear instead. The default is NO. 
  11363.  
  11364. To cause an error code to appear, type the following in the CONFIG.SYS file: 
  11365.  
  11366. AUTOFAIL=YES
  11367.  
  11368.  
  11369. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11370.  
  11371. BACKUP Command:  Source Drive, Path, Filename Parameters 
  11372.  
  11373. Specifies the drive, directory, and names of the files to be backed up. You 
  11374. need to specify a path when backing up files in another directory. 
  11375.  
  11376. To back up a file named FRIDAY.RPT from the REPORTS directory to drive A, enter 
  11377. the following: 
  11378.  
  11379. BACKUP C:\REPORTS\FRIDAY.RPT A:
  11380.  
  11381.  
  11382. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11383.  
  11384. BACKUP Command:  Target Drive Parameter 
  11385.  
  11386. Specifies the destination drive for the backed-up files. 
  11387.  
  11388. To back up all files on drive C to drive A, enter the following: 
  11389.  
  11390. BACKUP C: A:
  11391.  
  11392.  
  11393. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11394.  
  11395. BACKUP Command:  /L:filename Parameter 
  11396.  
  11397. Makes a backup log entry in the file specified. If no file name is given, the 
  11398. file BACKUP.LOG is placed in the root directory of the source drive. 
  11399.  
  11400. To back up files from the current directory on drive C to drive A and to create 
  11401. a log file named BACKUP.LOG, enter the following: 
  11402.  
  11403. BACKUP C: A: /L
  11404.  
  11405. The first line of the entry in the file contains date and time representing the 
  11406. backup dates and times.  Each subsequent line in the entry corresponds to one 
  11407. of the files that was backed up. 
  11408.  
  11409. These lines consist of the file name and the number of the diskette that 
  11410. contains the file. This information can be used when you need to restore a 
  11411. particular file from a diskette. You must specify the diskette so that RESTORE 
  11412. does not have to search for files. If the backup log file already exists, the 
  11413. current entry is appended to the file. 
  11414.  
  11415.  
  11416. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11417.  
  11418. BACKUP Command:  /D:mm-dd-yy Parameter 
  11419.  
  11420. Backs up only those files that were last modified on or after the specified 
  11421. date.  This parameter expects the date to be entered in the correct format for 
  11422. the current country specified with the COUNTRY command. 
  11423.  
  11424. To back up files changed on or after June 15, 1990 from the current directory 
  11425. on drive C to drive A, enter the following: 
  11426.  
  11427. BACKUP C: A: /D:06-15-90
  11428.  
  11429.  
  11430. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11431.  
  11432. BACKUP Command:  /T:hh:mm:ss  Parameter
  11433.  
  11434. Backs up only those files that were last modified at or after a certain time. 
  11435. It is recommended that /T be used with /D. 
  11436.  
  11437. To back up files changed on or after 11:45 a.m. from the current directory on 
  11438. drive C to drive A, enter the following: 
  11439.  
  11440. BACKUP C: A: /T:11:45:00
  11441.  
  11442.  
  11443. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11444.  
  11445. BACKUP Command:  /M Parameter 
  11446.  
  11447. Backs up only those files that have changed since the last backup. 
  11448.  
  11449. To back up files in the current directory on drive C that were changed since 
  11450. the last backup to drive A, enter the following: 
  11451.  
  11452. BACKUP C: A: /M
  11453.  
  11454.  
  11455. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11456.  
  11457. BACKUP Command:  /A Parameter 
  11458.  
  11459. Adds the files to be backed up to those already on the backup disk.  When you 
  11460. use this parameter, the old files on the backup disk are not erased. This 
  11461. parameter is not valid if files exist on the backup disk that were backed up by 
  11462. DOS Version 3.20 BACKUP or earlier. 
  11463.  
  11464. To add the files on drive B to the backed-up files already on the diskette in 
  11465. drive A, enter the following: 
  11466.  
  11467. BACKUP B: A: /A
  11468.  
  11469.  
  11470. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11471.  
  11472. BACKUP Command:  /F:xxx Parameter 
  11473.  
  11474. Specifies that unformatted target diskettes are formatted before BACKUP starts. 
  11475. This parameter does not format a hard disk or previously formatted diskette. 
  11476. If an unformatted diskette is encountered, BACKUP formats it as needed.  You 
  11477. can specify one of the following sizes for the diskette: 
  11478.  
  11479. o 360 for 360KB diskettes 
  11480. o 720 for 720KB diskettes 
  11481. o 1200 for 1.2MB diskettes 
  11482. o 1440 for 1.4MB diskettes 
  11483. o 2880 for 2.88MB diskettes 
  11484.  
  11485. To back up all files from the root directory on drive C to drive A and to 
  11486. format any diskettes to 1.2MB, enter the following: 
  11487.  
  11488. BACKUP C: A: /F:1200
  11489.  
  11490.  
  11491. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11492.  
  11493. BACKUP Command:  /S Parameter 
  11494.  
  11495. Backs up subdirectories. 
  11496.  
  11497. To back up the contents of drive C, including all files and subdirectories 
  11498. within it, to multiple diskettes on drive A, enter the following: 
  11499.  
  11500. BACKUP C:\*.* A: /S
  11501.  
  11502.  
  11503. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11504.  
  11505. BASEDEV Command:  Filename Parameter 
  11506.  
  11507. Specifies the complete name of the file, including its extension, that contains 
  11508. the base device driver. 
  11509.  
  11510.  
  11511. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11512.  
  11513. BASEDEV Command:  Arguments Parameter 
  11514.  
  11515. Specifies the parameters of the specified base device driver. 
  11516.  
  11517.  
  11518. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11519.  
  11520. BOOT Command:  /OS2 Parameter 
  11521.  
  11522. Prepares your system to start the OS/2 operating system from drive C. 
  11523.  
  11524. To start the OS/2 operating system, do the following: 
  11525.  
  11526.  1. Enter BOOT /OS2 and press Enter. 
  11527.  
  11528.  2. Respond to the prompt that appears. 
  11529.  
  11530.  
  11531. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11532.  
  11533. BOOT Command:  /DOS Parameter 
  11534.  
  11535. Prepares your system to start DOS from drive C. 
  11536.  
  11537. To start DOS, do the following: 
  11538.  
  11539.  1. Enter BOOT /DOS and press Enter. 
  11540.  
  11541.  2. Respond to the prompt that appears. 
  11542.  
  11543.  
  11544. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11545.  
  11546. BREAK Command:  ON and OFF Parameters 
  11547.  
  11548. Specify ON to check to see if you pressed the Ctrl and Break keys together. In 
  11549. OS/2 sessions, the check for Ctrl+Break is always set to ON, and you cannot 
  11550. change it. Specify OFF to have DOS check whether the Ctrl and Break keys were 
  11551. pressed only during: 
  11552.  
  11553. o Standard output operations 
  11554. o Standard input operations 
  11555. o Standard print operations 
  11556. o Standard auxiliary operations 
  11557.  
  11558. The default is OFF. 
  11559.  
  11560. To check whether Ctrl+Break has been pressed only when output is written to 
  11561. your screen or printer, or when input is read from your keyboard, type the 
  11562. following in your CONFIG.SYS file: 
  11563.  
  11564. BREAK=OFF
  11565.  
  11566. To have the system check for Ctrl+Break when you request it, type the following 
  11567. in your CONFIG.SYS file: 
  11568.  
  11569. BREAK=ON
  11570.  
  11571.  
  11572. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11573.  
  11574. BUFFERS Command:  x Parameter 
  11575.  
  11576. Specifies the number of disk buffers the system allocates in memory when it 
  11577. starts.  Type a number from 1 through 100.  Values greater than 100 are 
  11578. ignored.  The default is 30. 
  11579.  
  11580. To assign the number of buffers to 15, type the following in your CONFIG.SYS 
  11581. file: 
  11582.  
  11583. BUFFERS=15
  11584.  
  11585.  
  11586. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11587.  
  11588. External Command:  Drive and Path Parameters 
  11589.  
  11590. Specifies the drive and location for the command you want to process. External 
  11591. commands are stored on the disk as program files.  When an external command is 
  11592. entered, the system searches for it in the current directory of the default or 
  11593. specified drive. If the command is not found, the system continues searching 
  11594. for it in the directories listed in the PATH statement. 
  11595.  
  11596.  
  11597. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11598.  
  11599. CACHE Command:  /LAZY Parameter 
  11600.  
  11601. Specifies whether the contents of cache memory are written immediately to disk 
  11602. or only during disk idle time.  This command pertains only to disks formatted 
  11603. for the High Performance File System. ON enables writing of cache memory during 
  11604. disk idle time. OFF specifies immediate writing to disk. This parameter must 
  11605. not be mixed with other parameters.  It must be entered without other 
  11606. parameters at a command prompt.  The default state is for lazy-writing to be 
  11607. ON.  If you want lazy-writing to be OFF as the default, you must add the 
  11608. following statement to your STARTUP.CMD file: 
  11609.  
  11610. C:\OS2\CACHE.EXE /LAZY:OFF
  11611.  
  11612. To have data in cache memory immediately written to disk, enter the following 
  11613. at an OS/2 command prompt: 
  11614.  
  11615. CACHE /LAZY:OFF
  11616.  
  11617. Note:   If you turn lazy-writing off by entering the /LAZY:OFF parameter at a 
  11618.         command prompt and later in the same session want to turn lazy-writing 
  11619.         back on, enter the DETACH command before CACHE to retain use of the 
  11620.         same command prompt session. 
  11621.  
  11622.                 DETACH CACHE /LAZY:ON
  11623.  
  11624.  
  11625. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11626.  
  11627. CACHE Command:  /MAXAGE Parameter 
  11628.  
  11629. Specifies the maximum amount of time (in milliseconds) before data is 
  11630. transferred to another section of cache memory.  That section contains data and 
  11631. programs that have not recently been used. The default value is 5000. 
  11632.  
  11633. To have data that has been in cache memory longer than 4000 milliseconds 
  11634. written to disk, type the following in the CONFIG.SYS file: 
  11635.  
  11636. RUN=C:\OS2\CACHE.EXE /MAXAGE:4000
  11637.  
  11638.  
  11639. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11640.  
  11641. CACHE Command:  /DISKIDLE Parameter 
  11642.  
  11643. Sets the amount of time (in milliseconds) that a disk must be idle before it 
  11644. can accept data from cache memory.  The default value is 1000.  The The minimum 
  11645. amount of disk idle time must be greater than the value specified in the 
  11646. BUFFERIDLE parameter. 
  11647.  
  11648. To set the amount of disk idle time to 2000 milliseconds, type the following in 
  11649. the CONFIG.SYS file: 
  11650.  
  11651. RUN=C:\OS2\CACHE.EXE /DISKIDLE:2000
  11652.  
  11653.  
  11654. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11655.  
  11656. CACHE Command:  /BUFFERIDLE Parameter 
  11657.  
  11658. Sets the amount of time (in milliseconds) that the cache buffer can be idle 
  11659. before the data it contains must be written to a disk. The default value is 
  11660. 500. 
  11661.  
  11662. To set the amount of cache buffer idle time to 1000 milliseconds, type the 
  11663. following in the CONFIG.SYS file: 
  11664.  
  11665. RUN=C:\OS2\CACHE.EXE /BUFFERIDLE:1000
  11666.  
  11667.  
  11668. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11669.  
  11670. CALL Command:  Batchfile Parameter 
  11671.  
  11672. Specifies the name of the batch file to begin running. 
  11673.  
  11674. For example, to call two files named ACCOUNT.BAT and BILL.BAT, type the 
  11675. following in your batch file: 
  11676.  
  11677. CALL ACCOUNT
  11678. CALL BILL
  11679.  
  11680.  
  11681. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11682.  
  11683. CALL Command:  Argument Parameter 
  11684.  
  11685. Specifies information passed to the called batch file. 
  11686.  
  11687. For example, if you want to pass the second and third parameters, along with 
  11688. the value of FILE, to the batch file named MARKET, type the following in your 
  11689. batch file: 
  11690.  
  11691. SET FILE=NEW.TXT
  11692. CALL MARKET %2 %3 %FILE%
  11693.  
  11694.  
  11695. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11696.  
  11697. CHCP Command:  nnn Parameter 
  11698.  
  11699. Indicates the code page number you want to use. 
  11700.  
  11701. If you want to change to the Multilingual code page (850) and your system has 
  11702. been set up to use code pages 437 and 850, enter the following: 
  11703.  
  11704. CHCP 850
  11705.  
  11706.  
  11707. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11708.  
  11709. CD Command:  Drive and Path Parameters 
  11710.  
  11711. Specifies the location of the directory you want to change to. 
  11712.  
  11713. You can: 
  11714.  
  11715. o Change from one directory to another on the current drive 
  11716. o Change to a subdirectory within the current directory 
  11717. o Change back to the root directory 
  11718. o Change to the parent directory from any subdirectory 
  11719.  
  11720. To change from the current directory to a directory named REPORTS on the 
  11721. current drive, enter the following: 
  11722.  
  11723. CD \REPORTS
  11724.  
  11725. To change to the MONTHLY subdirectory, which is within the REPORTS\ANNUAL 
  11726. current directory, enter the following: 
  11727.  
  11728. CD MONTHLY
  11729.  
  11730. To change back to the root directory, enter: 
  11731.  
  11732. CD \
  11733.  
  11734. To change to the ANNUAL directory from the REPORTS\ANNUAL\MONTHLY subdirectory, 
  11735. enter the following: 
  11736.  
  11737. CD ..
  11738.  
  11739.  
  11740. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11741.  
  11742. CHKDSK Command:  Drive, Path, Filename Parameters 
  11743.  
  11744. Specifies the file or files that are to be analyzed. 
  11745.  
  11746. Note:   You cannot specify a file on a disk formatted with the High Performance 
  11747.         File System (HPFS). 
  11748.  
  11749. To analyze a file named REPORTS.ABC, enter the following: 
  11750.  
  11751. CHKDSK REPORTS.ABC
  11752.  
  11753. You can also use global file-name characters .  For example, to display the 
  11754. status of all files that begin with "REPORT" and contain other characters, 
  11755. enter the following: 
  11756.  
  11757. CHKDSK REPORT*.*
  11758.  
  11759.  
  11760. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11761.  
  11762. CHKDSK Command:  /F Parameter 
  11763.  
  11764. Fixes errors found on a disk or directory.  When you use this parameter, no 
  11765. activity can occur on the disk.  Therefore, the drive to be fixed cannot be the 
  11766. one from which you start the operating system, nor can it be the one that 
  11767. contains the CHKDSK program. 
  11768.  
  11769. To fix errors that are found in the file allocation table or directory, enter 
  11770. the following: 
  11771.  
  11772. CHKDSK /F
  11773.  
  11774.  
  11775. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11776.  
  11777. CHKDSK Command:  /V Parameter 
  11778.  
  11779. Displays all files and their paths on the default or specified drive. 
  11780.  
  11781. To display all files and directories on the current drive, enter the following: 
  11782.  
  11783. CHKDSK /V
  11784.  
  11785.  
  11786. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11787.  
  11788. CHKDSK Command:  /C Parameter 
  11789.  
  11790. Specifies that files will be recovered only if the file system was in an 
  11791. inconsistent state when the computer was started. A file system could be in an 
  11792. inconsistent state when files were left open. This can happen when: 
  11793.  
  11794. o The computer was turned off before all files were closed. 
  11795.  
  11796. o Electrical power to the computer was interrupted. 
  11797.  
  11798.  
  11799. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11800.  
  11801. CHKDSK Command:  /F:n Parameter 
  11802.  
  11803. Specifies a recovery level n.  If no number is specified, CHKDSK assumes 
  11804. recovery level 2. 
  11805.  
  11806. The recovery levels are as follows: 
  11807.  
  11808. /F:0      Specifies that CHKDSK is to analyze the file system, display 
  11809.           information about its state, but not perform any repairs. 
  11810.  
  11811. /F:1      Specifies that CHKDSK is to resolve inconsistent file system 
  11812.           structures. 
  11813.  
  11814. /F:2      Specifies that CHKDSK is to resolve inconsistent file system 
  11815.           structures and also scan disk space that is in use but not referred 
  11816.           to by the file system. If recognizable file or directory structures 
  11817.           are found, CHKDSK recovers them. 
  11818.  
  11819. /F:3      Includes all level 2 recovery and also specifies CHKDSK is to scan 
  11820.           the entire disk partition for recognizable file system structures. 
  11821.  
  11822.  
  11823. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11824.  
  11825. CMD Command:  Drive and Path Parameters 
  11826.  
  11827. Tells CMD.EXE which drive and path to set the value of the COMSPEC environment 
  11828. variable to. 
  11829.  
  11830.  
  11831. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11832.  
  11833. CMD Command:  /Q Parameter 
  11834.  
  11835. Provides a NO ECHO function to start a secondary command processor from an 
  11836. existing CMD.EXE.  The /Q parameter cannot be used after the /K or /C 
  11837. parameters. To start a secondary command processor and override the default for 
  11838. copying the command line to standard output, enter the following: 
  11839.  
  11840. CMD /Q
  11841.  
  11842.  
  11843. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11844.  
  11845. CMD Command:  /S Parameter 
  11846.  
  11847. Tells the command processor being started not to install a signal handler such 
  11848. as Ctrl+C.  This means that a Ctrl+C request to end the program will be 
  11849. ignored. 
  11850.  
  11851. To tell the command processor being started not to install a signal handler 
  11852. normally used for Ctrl+C (end a program), type the following: 
  11853.  
  11854. CMD /S
  11855.  
  11856.  
  11857. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11858.  
  11859. CMD Command:  /K string Parameter 
  11860.  
  11861. Passes a string to CMD.EXE but does not automatically return to the previous 
  11862. command processor after the command is completed. The string is the command you 
  11863. want to pass. 
  11864.  
  11865. To start another command processor, process the DIR command on drive A, and 
  11866. retain the current command processor, type the following: 
  11867.  
  11868. CMD /K DIR A:
  11869.  
  11870. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  11871. quotation marks. 
  11872.  
  11873. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  11874. exists on drive C, which is formatted with the HPFS, and retain the current 
  11875. command processor, type the following: 
  11876.  
  11877. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE""
  11878.  
  11879. If the program requires arguments, type them as: 
  11880.  
  11881. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  11882.  
  11883.  
  11884. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11885.  
  11886. CMD Command:  /C string Parameter 
  11887.  
  11888. Passes a command to CMD.EXE and automatically returns to the previous command 
  11889. processor after the command is completed. The string is the command you want to 
  11890. pass. 
  11891.  
  11892. To start another command processor, process the DIR command on drive A, and 
  11893. automatically return to the previous command processor after DIR is complete, 
  11894. type the following: 
  11895.  
  11896. CMD /C DIR A:
  11897.  
  11898. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  11899. quotation marks. 
  11900.  
  11901. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  11902. exists on drive C, which is formatted with the HPFS, and return to the previous 
  11903. command processor, type the following: 
  11904.  
  11905. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE""
  11906.  
  11907. If the program requires arguments, type them as: 
  11908.  
  11909. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  11910.  
  11911.  
  11912. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11913.  
  11914. CODEPAGE Command:  xxx and yyy Parameters.
  11915.  
  11916. Specifies the primary code page (xxx) and the secondary code page (yyy). 
  11917.  
  11918. The OS/2 operating system supports these code pages: 
  11919.  
  11920. 437     U.S. 
  11921.  
  11922. 850     Multilingual 
  11923.  
  11924. 852     Latin 2 (Czechoslovakia, Hungary, Poland, Yugoslavia) 
  11925.  
  11926. 857     Turkish 
  11927.  
  11928. 860     Portuguese 
  11929.  
  11930. 861     Iceland 
  11931.  
  11932. 862     Hebrew-speaking 
  11933.  
  11934. 863     Canada (French-speaking) 
  11935.  
  11936. 864     Arabic-speaking 
  11937.  
  11938. 865     Nordic 
  11939.  
  11940. 932     Japanese 
  11941.  
  11942. 934     Korean 
  11943.  
  11944. 938     Republic of China 
  11945.  
  11946. 942     Japanese  SAA* 
  11947.  
  11948. 944     Korean   SAA 
  11949.  
  11950. 948     Republic of China  SAA 
  11951.  
  11952. Note 1    For the DOS environment, code pages 862 and 864 are supported with a 
  11953.           country supplement available only in certain countries. 
  11954. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  11955.           the DBCS version of the OS/2 operating system on DBCS hardware. 
  11956.  
  11957. For example, if you have a U.S. keyboard, a VGA display, and a Proprinter that 
  11958. support code-page switching, and you want to prepare code pages 437 and 850, 
  11959. insert the following in the CONFIG.SYS file: 
  11960.  
  11961. CODEPAGE=437,850
  11962.  
  11963.  
  11964. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11965.  
  11966. COMMAND Command:  Drive and Path Parameters 
  11967.  
  11968. Sets the value of the COMSPEC environment variable to the drive and path 
  11969. specified.  The file name and extension cannot be changed when using this 
  11970. parameter.  For example, 
  11971.  
  11972. COMMAND D:\XYZ
  11973.  
  11974. will load a second copy of the command processor and set the new environment 
  11975. variable. 
  11976.  
  11977. COMSPEC=D:\XYZ\COMMAND.COM
  11978.  
  11979.  
  11980. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11981.  
  11982. COMMAND Command:  /C string Parameter 
  11983.  
  11984. Passes a command to a secondary command processor and returns to the primary 
  11985. command processor after the command is completed. The string is a command you 
  11986. want to pass to the command processor.  The command is interpreted and acted on 
  11987. as if you had entered it at the DOS command prompt. 
  11988.  
  11989. For example, if you enter the following and press the Enter key: 
  11990.  
  11991. COMMAND /C DIR B:
  11992.  
  11993. a secondary DOS command processor is loaded, runs the command DIR B:, and exits 
  11994. to the primary DOS command processor. 
  11995.  
  11996.  
  11997. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11998.  
  11999. COMMAND Command: /P Parameter 
  12000.  
  12001. Causes the DOS command processor that has been started to become permanent in 
  12002. storage.  If you specify /P, the new command processor does not return to the 
  12003. previous command processor.  You must restart the OS/2 operating system to 
  12004. remove the second DOS command processor. 
  12005.  
  12006. To retain the DOS processor, enter the following: 
  12007.  
  12008. COMMAND /P
  12009.  
  12010.  
  12011. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12012.  
  12013. COMMAND Command:  /E:x Parameter 
  12014.  
  12015. Specifies a base-10 integer that you can select to set the size of the 
  12016. environment. This number must be in a range of 160 through 32768. It is rounded 
  12017. up to the nearest paragraph boundary (to a multiple of 16). 
  12018.  
  12019. To specify the size of the environment as 16KB, enter the following: 
  12020.  
  12021. COMMAND /E:16384
  12022.  
  12023.  
  12024. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12025.  
  12026. COMMAND Command:  /K string Parameter 
  12027.  
  12028. Passes a string to COMMAND.COM but does not automatically return to the 
  12029. previous command processor after the command is completed. The string is the 
  12030. command you want to pass. 
  12031.  
  12032. To start another command processor, process the DIR command on drive A, and 
  12033. retain the new command processor, enter the following: 
  12034.  
  12035. COMMAND /K DIR A:
  12036.  
  12037.  
  12038. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12039.  
  12040. COMP Command:  Drive, Path, Filename Parameters 
  12041.  
  12042. Specifies the drive, directory, and names of the files to be compared. 
  12043.  
  12044. To compare all files in the NOTE subdirectory on drive C with the files in the 
  12045. MEMO subdirectory on drive C, enter the following: 
  12046.  
  12047. COMP C:\NOTE C:\MEMO
  12048.  
  12049. To compare a file that is not on the same diskette as the COMP command itself 
  12050. and be prompted for the file names, enter the following: 
  12051.  
  12052. COMP
  12053.  
  12054. To compare all files on drive A that have a .ABC extension with the files on 
  12055. drive C that have the same extension, enter the following: 
  12056.  
  12057. COMP A:*.ABC C:
  12058.  
  12059. To compare all files on drive A that have a .ALL extension with the files on 
  12060. drive B that have the same name but an extension of .BAK, enter the following: 
  12061.  
  12062. COMP A:*.ALL B:*.BAK
  12063.  
  12064.  
  12065. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12066.  
  12067. COPY Command:  /A and B Parameters 
  12068.  
  12069. Specifies the amount of data to be processed by the COPY command. A /A or /B 
  12070. parameter applies to the filename specified before it.  It also applies to all 
  12071. remaining files on the command line unless another /A or /B is indicated. 
  12072.  
  12073. These parameters have the following meaning when used with a source filename: 
  12074.  
  12075. /A    Treats the file as an ASCII (text) file.  The file's data is copied up 
  12076.       to, but not including, the first end-of-file character (Ctrl+Z) found in 
  12077.       the file.  The rest of the file is not copied. 
  12078.  
  12079. /B    Treats the file as a binary file and copies the entire file (based on the 
  12080.       directory file size). 
  12081.  
  12082. These parameters have the following meaning when used with a target filename: 
  12083.  
  12084. /A    Adds an end-of-file character (Ctrl+Z) as the last character of the file. 
  12085.  
  12086. /B    Does not add an end-of-file character (Ctrl+Z) as the last character of 
  12087.       the file. 
  12088.  
  12089. You can combine ASCII files with binary files by using both the /A and /B 
  12090. parameters.  For example, to combine an ASCII file named TUES with a binary 
  12091. file named WED and create a new file named STATUS, enter the following: 
  12092.  
  12093. COPY TUES + WED /B STATUS
  12094.  
  12095.  
  12096. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12097.  
  12098. COPY Command:  /V Parameter 
  12099.  
  12100. Causes the OS/2 operating system to verify that the sectors written to the 
  12101. target disk are recorded correctly. 
  12102.  
  12103. To verify that information is recorded correctly, specify /V at the end of the 
  12104. command.  For example, 
  12105.  
  12106. COPY REPORTS.TXT C:\STATUS /V
  12107. verifies that the REPORTS.TXT file was copied to the STATUS directory on drive 
  12108. C. 
  12109.  
  12110. Although recording errors rarely occur when you run COPY, you might want to use 
  12111. this parameter to verify that critical data was correctly recorded. This 
  12112. parameter causes the COPY command to run more slowly because the system must 
  12113. check each entry recorded on the disk.  The system displays an error message if 
  12114. a write is not verified. 
  12115.  
  12116.  
  12117. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12118.  
  12119. COPY Command:  /F Parameter 
  12120.  
  12121. Causes the copy operator to fail if the source file contains extended 
  12122. attributes and the destination file system does not support extended 
  12123. attributes. If the /F parameter is not specified, the copy will succeed if the 
  12124. source file contains extended attributes, and the destination file system does 
  12125. not support them.  The extended attributes are not copied. If the /F parameter 
  12126. is not specified and the source file contains needed extended attributes, the 
  12127. copy will fail if the destination file system does not support extended 
  12128. attributes.  In this instance, a message appears. 
  12129.  
  12130. Assume you want to copy a file named REPORTS.TXT to the STATUS directory on 
  12131. drive D.  You also want the copy to fail if drive D does not support extended 
  12132. attributes.  Type the following: 
  12133.  
  12134. COPY REPORTS.TXT D:\STATUS /F
  12135.  
  12136.  
  12137. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12138.  
  12139. COPY Command:  Drive, Path, Filename Parameters 
  12140.  
  12141. Specifies the source and target file names.  If the target is a directory (a 
  12142. path with no filename), this command copies files into that directory without 
  12143. changing their names. For example, to copy a file named MON from the root 
  12144. directory on drive C to a directory named REPORTS on drive C, enter the 
  12145. following: 
  12146.  
  12147. COPY C:\MON C:\REPORTS
  12148.  
  12149. You can use the global characters ? and * in the filename parameter and in the 
  12150. extension parameters of both the source and target files. 
  12151.  
  12152. If you specify the source drive and path and omit the source file name, all the 
  12153. files in the source directory are copied to the target.  In other words, an *.* 
  12154. is assumed for the filename parameter. For example, to copy all the files in a 
  12155. directory named STATUS on drive A to the REPORTS directory on drive C, enter 
  12156. the following: 
  12157.  
  12158. COPY A:\STATUS\*.* C:\REPORTS
  12159.  
  12160. You can also copy files to the same disk.  In this case, you must give the 
  12161. copies different names unless different directories are specified. 
  12162.  
  12163.  
  12164. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12165.  
  12166. COPY Command:  Combine-Files Option 
  12167.  
  12168. Use the combine mode of copy when you can combine several other copy functions 
  12169. and there is at least one plus sign, and all of the file-name specifications 
  12170. have a common name that can be substituted by a global file-name character in 
  12171. them as follows: 
  12172.  
  12173. Copy *.BAT + *.CMD *.ALL
  12174.  
  12175. Another way of thinking about the append and combine copy modes is that the 
  12176. append mode produces only one target file. The combine mode combines copy 
  12177. functions and produces a target file for each common source file found.  This 
  12178. is what happens if we enter the previous example and there are source files of 
  12179. A.BAT, B.BAT, C.BAT, A.CMD, B.CMD, and C.CMD. The result is three target files 
  12180. of A.ALL, B.ALL and C.ALL are created. The A.ALL file contains appended copies 
  12181. of the files A.BAT and A.CMD, the B.ALL file contains appended copies of the 
  12182. files B.BAT and B.CMD, and the C.ALL file contains appended copies of the files 
  12183. C.BAT and C.CMD. The global file-name character (*) found three common file 
  12184. names to append files to or COPY performed a combined operation of three file 
  12185. name groups to which it could append files. 
  12186.  
  12187.  
  12188. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12189.  
  12190. COPY Command:  Append-Files Option 
  12191.  
  12192. Use this option when you want to combine files while copying.  That is, you can 
  12193. copy and combine two or more files into one new file, or add additional files 
  12194. to the end of the first file. 
  12195.  
  12196. To combine files, follow COPY with a list of any number of source files, each 
  12197. separated by a plus (+) sign.  The following example copies and combines the 
  12198. files MYPROG.XYZ and FILEA.ABC from the current drive and directory and file 
  12199. FILEB.DEF from drive B and puts them into a new file called BIGFILE.TXT in the 
  12200. current directory: 
  12201.  
  12202. COPY MYPROG.XYZ+FILEA.ABC+B:FILEB.DEF BIGFILE.TXT
  12203.  
  12204. To add (append) files to an existing file, do not specify a target file name. 
  12205. The following example adds files named MYPROG.XYZ, FILEA.ABC, and FILEB.DEF to 
  12206. the MYPROG.XYZ file: 
  12207.  
  12208. COPY MYPROG.XYZ+FILEA.ABC+FILEB.DEF
  12209.  
  12210.  
  12211. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12212.  
  12213. COPY Command:  Change-Date-and-Time Option 
  12214.  
  12215. To change the date and time of a file to the current date and time without 
  12216. altering its contents, use a plus sign followed by two commas (+ ,,). 
  12217.  
  12218. To update the date and time of all files in the current directory to the 
  12219. current date and time, enter the following: 
  12220.  
  12221. COPY *.* /B + ,,
  12222.  
  12223.  
  12224. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12225.  
  12226. COPY Command:  Device-Name Option 
  12227.  
  12228. Use this option when you want to refer to a character-device name, such as 
  12229. COM1, LPT1, PRN, or CON. 
  12230.  
  12231. To copy a binary file named MYFILE.BIN and send it to your printer (LPT1), 
  12232. enter the following: 
  12233.  
  12234. COPY MYFILE.BIN /B LPT1
  12235.  
  12236. To copy a file named FRIDAY and send it to your plotter (COM1), type the 
  12237. following: 
  12238.  
  12239. COPY FRIDAY COM1
  12240.  
  12241.  
  12242. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12243.  
  12244. DBCS means a set of characters in which each character is represented by two 
  12245. bytes.  Languages such as Japanese, Chinese, and Korean, which contain more 
  12246. characters than can be represented by 256 code points, require double-byte 
  12247. character sets.  As each character requires two bytes, the entering, 
  12248. displaying, and printing of DBCS characters requires hardware and software that 
  12249. can support DBCS. 
  12250.  
  12251.  
  12252. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12253.  
  12254. COUNTRY Command:  nnn Parameter 
  12255.  
  12256. Specifies a three-digit value.  For most countries, this value is the 
  12257. three-digit international country code for the telephone system. 
  12258.  
  12259. To set the date and time format for Canada (French), use 002 as the country 
  12260. code and 863 as the desired code page, and specify COUNTRY.SYS as the file 
  12261. containing the country information. Type the following in your CONFIG.SYS file. 
  12262.  
  12263. COUNTRY=002,C:\OS2\SYSTEM\COUNTRY.SYS
  12264.  
  12265.  
  12266. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12267.  
  12268. COUNTRY Command:  Country File Location 
  12269.  
  12270. Specifies the drive, directory, and name of the file that contains the country 
  12271. information used.  Normally, this file specification is 
  12272. C:\OS2\SYSTEM\COUNTRY.SYS. 
  12273.  
  12274.  
  12275. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12276.  
  12277. CREATEDD Command:  Target Drive Parameter 
  12278.  
  12279. Specifies the diskette drive that contains the diskette to be formatted as a 
  12280. dump diskette. 
  12281.  
  12282. To create a dump diskette in drive A, type the following: 
  12283.  
  12284. CREATEDD A:
  12285.  
  12286.  
  12287. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12288.  
  12289. DATE Command:  Date Parameters 
  12290.  
  12291. mm    Specifies the month, which must be entered with the numbers 01 through 
  12292.       12. 
  12293.  
  12294. dd    Specifies the day, which must be entered with the numbers 01 through 31. 
  12295.  
  12296. yy    Specifies the year, which must be entered with the numbers 1980 through 
  12297.       2079, or the numbers 00 through 99. The 00-79 range represents the years 
  12298.       2000 through 2079, and the 80-99 range represents the years 1980 through 
  12299.       1999. 
  12300.  
  12301. To change the date in the system to May 21 1990 without being prompted by the 
  12302. system, enter the following: 
  12303.  
  12304. DATE 05-21-90
  12305.  
  12306.  
  12307. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12308.  
  12309. DDINSTAL Command:  Drive and Path Parameters 
  12310.  
  12311. Specifies the drive and location of the Device Support diskette. 
  12312.  
  12313.  
  12314. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12315.  
  12316. DEBUG Command: Drive Path Filename Parameters 
  12317.  
  12318. Specifies the drive, directory, and name of the file to test. 
  12319.  
  12320.  
  12321. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12322.  
  12323. DETACH Command:  Command Parameter 
  12324.  
  12325. Specifies any program or OS/2 command (and its options) that does not require 
  12326. any input from the keyboard or mouse or any output to the display. 
  12327.  
  12328. To start and detach a batch program named SAMPLE.CMD from its command 
  12329. processor, enter the following: 
  12330.  
  12331. DETACH SAMPLE.CMD
  12332.  
  12333. To detach the CL command for compiling the TEST.C file and redirect the output 
  12334. to LPT1, enter the following: 
  12335.  
  12336. DETACH CL -C TEST.C > LPT1
  12337.  
  12338.  
  12339. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12340.  
  12341. DEVICE Command:  Drive and Path Parameters 
  12342.  
  12343. Specifies the drive and directory of the file that contains the device driver. 
  12344.  
  12345.  
  12346. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12347.  
  12348. DEVICE Command:  Filename Parameter 
  12349.  
  12350. Specifies the complete name of the file, including its extension, that contains 
  12351. the device driver. 
  12352.  
  12353.  
  12354. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12355.  
  12356. DEVICE Command:  Arguments Parameter 
  12357.  
  12358. Specifies the parameters of the identified device driver. 
  12359.  
  12360.  
  12361. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12362.  
  12363. DEVICE Command:  Drive and Path Parameter 
  12364.  
  12365. Specifies the drive and directory that contain the ANSI.SYS file. 
  12366.  
  12367.  
  12368. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12369.  
  12370. DEVICE Command:  /X Parameter 
  12371.  
  12372. Allows keys with extended key values (keys with hexadecimal 0E0 as a low byte) 
  12373. to be redefined as distinct keys.  Extended key value reassignments can be set 
  12374. by following these control sequences: 
  12375.  
  12376. ESC[#;#;...#p
  12377.  
  12378. ESC["string"p
  12379.  
  12380. ESC[#"string";#;
  12381.  
  12382. #;"string";#;
  12383.  
  12384. or any other combination of strings and decimal numbers 
  12385.  
  12386. The first ASCII code in the control sequence defines which code is being 
  12387. mapped.  The remaining numbers define the sequence of ASCII codes generated 
  12388. when this key is intercepted. However, if the first code in the sequence is 0 
  12389. (NULL), the first and second code make up an extended ASCII redefinition. 
  12390.  
  12391. To install ANSI.SYS and be able to redefine your extended key values, type the 
  12392. following in the CONFIG.SYS file: 
  12393.  
  12394. DEVICE=C:\OS2\MDOS\ANSI.SYS /X
  12395.  
  12396.  
  12397. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12398.  
  12399. DEVICE Command:  /L Parameter 
  12400.  
  12401. Enables ANSI.SYS to retain the number of rows in the screen specified through 
  12402. the MODE command, overriding the ability of an application to change the number 
  12403. of rows. 
  12404.  
  12405. To enable ANSI.SYS to retain the number of rows specified by the MODE command, 
  12406. type the following in the CONFIG.SYS file: 
  12407.  
  12408. DEVICE=C:\OS2\MDOS\ANSI.SYS /L
  12409.  
  12410.  
  12411. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12412.  
  12413. DEVICE Command:  /K Parameter 
  12414.  
  12415. Prevents ANSI.SYS from using extended keyboard functions.  This forces the 
  12416. system to use the conventional keyboard functions when an enhanced keyboard is 
  12417. installed.  This option provides compatibility for those applications that do 
  12418. not recognize the extended keyboard function. 
  12419.  
  12420. To allow a system with an enhanced keyboard to be functionally compatible with 
  12421. the conventional keyboard, type the following in the CONFIG.SYS file: 
  12422.  
  12423. DEVICE=C:\OS2\MDOS\ANSI.SYS /K
  12424.  
  12425.  
  12426. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12427.  
  12428. DEVICE Command:  Drive and Path Parameters 
  12429.  
  12430. Specifies the drive and directory that contain the COM.SYS file. 
  12431.  
  12432.  
  12433. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12434.  
  12435. DEVICE Command:  COM.SYS Parameter 
  12436.  
  12437. Specifies the system file.  COM.SYS is for all PS/2* models except models 90 
  12438. and 95. COMDMA.SYS is for models 90 and 95. 
  12439.  
  12440.  
  12441. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12442.  
  12443. DEVICE Command:  Drive and Path Parameters 
  12444.  
  12445. Specifies the drive and directory that contain the EGA.SYS file. 
  12446.  
  12447.  
  12448. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12449.  
  12450. DEVICE Command:  Drive and Path Parameters 
  12451.  
  12452. Specifies the drive and directory that contain the EXTDSKDD.SYS file. 
  12453.  
  12454.  
  12455. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12456.  
  12457. DEVICE Command:  /D Parameter 
  12458.  
  12459. Specifies the physical drive number, which can have a value of 0 through 255. 
  12460.  
  12461. To specify the first physical diskette drive, accessed as A: from the command 
  12462. prompt, specify the value 0. The value 1 specifies the second physical diskette 
  12463. drive, and the value 2 specifies the third physical diskette drive, which must 
  12464. be external. 
  12465.  
  12466.  
  12467. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12468.  
  12469. DEVICE Command:  /T Parameter 
  12470.  
  12471. Specifies the number of tracks per side. The valid range is from 1 through 999. 
  12472. The default is 80. 
  12473.  
  12474.  
  12475. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12476.  
  12477. DEVICE Command:  /S Parameter 
  12478.  
  12479. Specifies the number of sectors per track. The valid range is from 1 through 
  12480. 99. The default is 9. 
  12481.  
  12482.  
  12483. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12484.  
  12485. DEVICE Command:  /H Parameter 
  12486.  
  12487. Specifies the maximum number of heads.  The valid range is from 1 through 99. 
  12488. The default is 2. 
  12489.  
  12490.  
  12491. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12492.  
  12493. DEVICE Command:  /F Parameter 
  12494.  
  12495. Specifies the device type (form factor).  The values are 0 - 9. The default is 
  12496. 2.  The values and the diskette drives are as follows: 
  12497.  
  12498. 0 - 360KB           (360) 
  12499. 1 - 1.2MB           (1200) (1.2) 
  12500. 2 - 7.20KB  3.5-inch drives  (720) 
  12501. 3 - not used  8-inch drives 
  12502. 4 - not used  8-inch drives 
  12503. 5 - not used  hard disks 
  12504. 6 - not used  tape drives 
  12505. 7 - 1.44MB  3.5-inch drives  (1440) (1.4) 
  12506. 8 - not used  RW Optical 
  12507. 9 - 2.88MB  3.5-inch drives  (2880) (2.88) 
  12508.  
  12509. Note:   The values in parentheses can be used in place of the 0-9 values. 
  12510.  
  12511.  
  12512. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12513.  
  12514. DEVICE Command:  Drive and Path Parameter 
  12515.  
  12516. Specifies the drive and directory that contain the LOG.SYS file. 
  12517.  
  12518.  
  12519. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12520.  
  12521. DEVICE Command:  /E:x Parameter 
  12522.  
  12523. Sets the size of the System Logging Service error-log buffer to a specified 
  12524. size (x) in KB.  The default is 8KB, the minimum is 4KB and the maximum is 
  12525. 64KB. 
  12526.  
  12527. To set the size of the System Logging Service error log buffer to 32KB, type 
  12528. the following in the CONFIG.SYS file: 
  12529.  
  12530. DEVICE=C:\OS2\LOG.SYS /E:32
  12531.  
  12532.  
  12533. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12534.  
  12535. DEVICE Command:  /A:x Parameter 
  12536.  
  12537. Sets the size of the System Logging Service error-log device driver entry alert 
  12538. notification buffer to a specified size (x) in KB.  There is no default, the 
  12539. minimum is 4KB and the maximum is 64KB. 
  12540.  
  12541. To set the size of the System Logging Service error-log device driver entry 
  12542. alert notification buffer to 64KB, type the following in the CONFIG.SYS file: 
  12543.  
  12544. DEVICE=C:\OS2\LOG.SYS /A:64
  12545.  
  12546.  
  12547. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12548.  
  12549. DEVICE Command:  /OFF Parameter 
  12550.  
  12551. Turns off error logging as soon as the device driver is installed.  The default 
  12552. is that error logging will not be turned off until you suspend it using the 
  12553. SYSLOG utility program. 
  12554.  
  12555. To turn error logging off, type the following in the CONFIG.SYS file: 
  12556.  
  12557. DEVICE=C:\OS2\LOG.SYS /OFF
  12558.  
  12559.  
  12560. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12561.  
  12562. DEVICE Command:  Drive and Path Parameters 
  12563.  
  12564. Specifies the drive and directory for the mouse device driver file. 
  12565.  
  12566.  
  12567. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12568.  
  12569. DEVICE Command:  Filename Parameter 
  12570.  
  12571. Specifies the complete name of the file, including its extension, that contains 
  12572. the mouse device driver. 
  12573.  
  12574. The file names for the IBM Personal System/2 Models 50, 55, 60, 70, 80, 90, and 
  12575. 95 are: 
  12576.  
  12577. PCLOGIC.SYS             PC Mouse Systems and some Logitech** devices 
  12578. VISION.SYS              Visi-On** 
  12579.  
  12580.  
  12581. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12582.  
  12583. DEVICE Command:  SERIAL Parameter 
  12584.  
  12585. Specifies the serial communications port that the serial mouse is connected to. 
  12586.  
  12587. Note:   This parameter is not valid for the IBM Personal System/2 Mouse, 
  12588.         Microsoft** Mouse with Bus Interface, or Microsoft In-Port Mouse. 
  12589.  
  12590. The values for the IBM Personal System/2 Model 55SX, 65, 70, 80, 90, or 95 are 
  12591. 1 through 8.  The default communications port is COM1. 
  12592.  
  12593.  
  12594. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12595.  
  12596. DEVICE Command:  Drive and Path Parameter 
  12597.  
  12598. Specifies the drive and directory for the MOUSE.SYS file. 
  12599.  
  12600.  
  12601. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12602.  
  12603. DEVICE Command:  QSIZE Parameter 
  12604.  
  12605. Specifies the length of the queue for events to be used for all OS/2 session 
  12606. tasks.  The valid range is 1 through 100. The default value is 10 event 
  12607. records. 
  12608.  
  12609.  
  12610. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12611.  
  12612. DEVICE Command:  TYPE Parameter 
  12613.  
  12614. Specifies the name of the device driver for the mouse. 
  12615.  
  12616. PCLOGIC$       PC Mouse Systems Devices 
  12617. PCLOGIC$       Logitech** Pointing Devices 
  12618. VISION$        Visi-On** Mouse 
  12619.  
  12620.  
  12621. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12622.  
  12623. DEVICE Command:  Drive and Path Parameters 
  12624.  
  12625. Specifies the drive and directory that contain PMDD.SYS. 
  12626.  
  12627.  
  12628. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12629.  
  12630. DEVICE Command:  Drive and Path Parameters 
  12631.  
  12632. Specifies the drive and directory that contain the POINTDD.SYS file. 
  12633.  
  12634.  
  12635. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12636.  
  12637. DEVICE Command:  Drive and Path Parameters 
  12638.  
  12639. Specifies the drive and directory for the touch device driver file. 
  12640.  
  12641.  
  12642. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12643.  
  12644. DEVICE Command:  Filename Parameter 
  12645.  
  12646. Specifies the complete name of the file, including its extension, that contains 
  12647. the device driver for the touch device. 
  12648.  
  12649.  
  12650. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12651.  
  12652. DEVICE Command:  CODE Parameter 
  12653.  
  12654. Specifies the microcode file to download into the touch device. 
  12655.  
  12656.  
  12657. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12658.  
  12659. DEVICE Command:  INIT Parameter 
  12660.  
  12661. Specifies the parameter file to override the default settings in the device 
  12662. driver for the touch device.  The default file is TOUCH.INI. 
  12663.  
  12664.  
  12665. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12666.  
  12667. DEVICE Command:  Drive and Path Parameter 
  12668.  
  12669. Specifies the drive and directory for the TOUCH.SYS file. 
  12670.  
  12671.  
  12672. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12673.  
  12674. DEVICE Command:  QSIZE Parameter 
  12675.  
  12676. Specifies the length of the queue for events to be used for all OS/2 session 
  12677. tasks.  The valid range is 1 through 100. The default value is 10. 
  12678.  
  12679.  
  12680. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12681.  
  12682. DEVICE Command:  TYPE Parameter 
  12683.  
  12684. Specifies the name of the device driver for the touch device.  The default name 
  12685. is PDITOU$. 
  12686.  
  12687.  
  12688. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12689.  
  12690. DEVICE Command:  Drive and Path Parameters 
  12691.  
  12692. Specifies the drive and directory of the VDISK.SYS file. 
  12693.  
  12694.  
  12695. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12696.  
  12697. DEVICE Command:  Bytes Parameter 
  12698.  
  12699. Specifies the size of the virtual disk in KB. The valid range is 16 through 
  12700. 4096. The default value is 64. 
  12701.  
  12702.  
  12703. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12704.  
  12705. DEVICE Command:  Sectors Parameter 
  12706.  
  12707. Specifies the sector size in bytes.  The values are 128, 256, 512, and 1024. 
  12708. The default value is 128. 
  12709.  
  12710.  
  12711. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12712.  
  12713. DEVICE Command:  Directories Parameter 
  12714.  
  12715. Specifies the number of directory entries. The valid range is 2 through 1024. 
  12716. The default value is 64. 
  12717.  
  12718. The value of directories is rounded up to the nearest sector size boundary. 
  12719. For example, if you give a value of 25, and your sector size is 512 bytes, 25 
  12720. is rounded up to 32, which is the next multiple of 16.  (There are sixteen 
  12721. 32-byte directory entries in 512 bytes.) 
  12722.  
  12723. The file allocation table (FAT) file system cannot support a root directory 
  12724. containing more than 255 sectors. For example, a 64KB disk with 128-byte 
  12725. sectors and 1024 directory entries requires 256 sectors.  Therefore, for 
  12726. 128-byte sectors, the maximum number of root directory entries you should 
  12727. specify is 1020. 
  12728.  
  12729.  
  12730. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12731.  
  12732. DEVICE Command:  Drive and Path Parameters 
  12733.  
  12734. Specifies the drive and directory that contain VEMM.SYS. 
  12735.  
  12736.  
  12737. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12738.  
  12739. DEVICE Command: n Parameter 
  12740.  
  12741. Specifies, in KB, the limit on the amount of Expanded Memory Manager (EMM) 
  12742. memory available to each DOS session.  If more than 32MB is specified, 32MB is 
  12743. used.  Specifying 0 will disable EMM for all DOS sessions unless overridden. 
  12744. The value can be overridden for a DOS session by specifying an EMS memory limit 
  12745. in the DOS Settings section of a DOS command-prompt object on the desktop.  The 
  12746. default is 4096KB (4MB). 
  12747.  
  12748.  
  12749. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12750.  
  12751. DEVICE Command:  Drive and Path Parameters 
  12752.  
  12753. Specifies the drive and directory that contain VXMS.SYS. 
  12754.  
  12755.  
  12756. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12757.  
  12758. DEVICE Command: XMMLIMIT=g,i Parameter 
  12759.  
  12760. Sets the global (system-wide) maximum memory usage of the VXMS driver to g KB, 
  12761. and a per-DOS session maximum of i KB. These values should be large enough to 
  12762. accommodate an automatic 64KB allocation in each DOS session for the High 
  12763. Memory Area (HMA). Values are restricted to the range of 0 to 65535 (64MB). 
  12764. The values of g and i are rounded up to the nearest multiple of 4.  Specifying 
  12765. i=0 suppresses XMS installation in all DOS sessions unless specifically 
  12766. overridden by a DOS= specific configuration string. 
  12767.  
  12768. Default: /XMMLIMIT=4096,1024 
  12769.  
  12770.  
  12771. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12772.  
  12773. DEVICE Command: HMAMIN=d Parameter 
  12774.  
  12775. Sets the minimum request size (in KB) for a High Memory Area (HMA) request to 
  12776. succeed.  Values are restricted to the range of 0 to 63. 
  12777.  
  12778. Default:  /HMAMIN=0 
  12779.  
  12780.  
  12781. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12782.  
  12783. DEVICE Command: NUMHANDLES=n Parameter 
  12784.  
  12785. Sets the number of handles available in each DOS session.  Each handle requires 
  12786. eight bytes of memory. (A handle is a 16-bit binary value created by the system 
  12787. that identifies a drive, directory, and file so that the file can be found and 
  12788. opened). Values are restricted to the range of 0 to 128. 
  12789.  
  12790. Default:  /NUMHANDLES=32 
  12791.  
  12792.  
  12793. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12794.  
  12795. DEVICE Command: UMB Parameter 
  12796.  
  12797. Instructs XMS to create upper memory blocks. 
  12798.  
  12799. Default:  /off 
  12800.  
  12801.  
  12802. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12803.  
  12804. DEVICE Command: NOUMB Parameter 
  12805.  
  12806. Instructs XMS not to create upper memory blocks. 
  12807.  
  12808. Default:  /NOUMB 
  12809.  
  12810.  
  12811. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12812.  
  12813. DEVICEHIGH Command:  Drive and Path Parameter 
  12814.  
  12815. Specifies the drive and directory of the DOS device driver to be loaded in an 
  12816. upper memory block (UMB). 
  12817.  
  12818.  
  12819. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12820.  
  12821. DEVICEHIGH Command:  Filename Parameter 
  12822.  
  12823. Specifies the complete name of the DOS device driver to be loaded into an upper 
  12824. memory block (UMB). 
  12825.  
  12826.  
  12827. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12828.  
  12829. DEVICEHIGH Command:  Arguments Parameter 
  12830.  
  12831. Specifies optional parameters to be passed to the device driver. 
  12832.  
  12833.  
  12834. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12835.  
  12836. DEVICEHIGH Command: SIZE=xx Parameter 
  12837.  
  12838. Specifies the number of hexadecimal bytes of the maximum of the driver's 
  12839. run-time or load-time image.  When loading the device driver, the operating 
  12840. system will look for a UMB whose size is the greater of xx and the device 
  12841. driver's file size.  If a UMB of this size cannot be found, the device driver 
  12842. will be loaded into low memory. 
  12843.  
  12844. Some device drivers will not run properly in a UMB if they rely on having all 
  12845. memory above them available for their use.  The liklihood of having this 
  12846. additional memory, when loaded into a UMB, is less than when loaded into low 
  12847. memory.  If a device driver does not run properly when loaded into a UMB, you 
  12848. can increase the value in the SIZE= parameter by changing the CONFIG.SYS file 
  12849. and restarting the system.  If this does not work, you need to load the device 
  12850. driver into low memory. 
  12851.  
  12852.  
  12853. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12854.  
  12855. DEVINFO Command:  Drive Path Filename Parameters 
  12856.  
  12857. Specifies the drive, directory, and name of the file that contains the device 
  12858. driver. 
  12859.  
  12860.  
  12861. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12862.  
  12863. DEVINFO Command:  Arguments Parameter 
  12864.  
  12865. Specifies the parameters of the identified device. 
  12866.  
  12867.  
  12868. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12869.  
  12870. DEVINFO Command:  Device Parameter 
  12871.  
  12872. Specifies the reserved device name. The allowable device names are: 
  12873.  
  12874. CGA (IBM Color Graphics Adapter) 
  12875. EGA (IBM Enhanced Graphics Adapter) 
  12876. VGA (IBM Personal System/2 Video Graphics Adapter and IBM Personal System/2 
  12877. 8514/A) 
  12878. BGA (IBM Personal System/2 8514/A with memory expansion) 
  12879.  
  12880.  
  12881. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12882.  
  12883. DEVINFO Command:  Drive, Path, and Filename Parameters 
  12884.  
  12885.  Specifies the complete name of the file, which includes its extension, that 
  12886. contains the system code pages for the display. The name of the system file is 
  12887. VIOTBL.DCP, and it can be found in the C:\OS2 subdirectory by entering the PATH 
  12888. statement C:\OS2\VIOTBL.DCP. There is no default. 
  12889.  
  12890.  
  12891. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12892.  
  12893. DEVINFO Command:  Layout Parameter 
  12894.  
  12895. Specifies the keyboard layout.  The values are: 
  12896.  
  12897. BE (Belgium) 
  12898. BR (Brazil) 
  12899. CF (Canada, French Speaking) 
  12900. CS (Czechoslovakia) 
  12901. DK (Denmark) 
  12902. SU (Finland) 
  12903. FR (France) 
  12904. FR120 (France, Alternate Keyboard) 
  12905. GR (Germany) 
  12906. HU (Hungary) 
  12907. IS (Iceland) 
  12908. IT (Italy) 
  12909. IT142 (Italy, Alternate Keyboard) 
  12910. JP (Japan) 
  12911. KR (Republic of Korea) 
  12912. LA (Latin America) 
  12913. NL (Netherlands) 
  12914. NO (Norway) 
  12915. PL (Poland) 
  12916. PO (Portugal) 
  12917. SP (Spain) 
  12918. SV (Sweden) 
  12919. SF (Switzerland, French) 
  12920. SG (Switzerland, German) 
  12921. TR (Turkey) 
  12922. TW (Republic of China) 
  12923. UK (United Kingdom) 
  12924. UK168 (United Kingdom, Alternate Keyboard) 
  12925. US (United States) 
  12926. YU (Yugoslavia) 
  12927.  
  12928.  
  12929. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12930.  
  12931. DEVINFO Command:  Drive, Path, Filename Parameters 
  12932.  
  12933. Specifies the complete name of the file, including its extension, that contains 
  12934. the keyboard translation tables. The name of the system file is KEYBOARD.DCP, 
  12935. and it can be found in the C:\OS2 subdirectory by entering the PATH statement 
  12936. C:\OS2\KEYBOARD.DCP. There is no default. 
  12937.  
  12938.  
  12939. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12940.  
  12941. DEVINFO Command:  PRN and LPT# Parameters 
  12942.  
  12943. The # symbol specifies that the value is printer number 1, 2, or 3. 
  12944.  
  12945.  
  12946. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12947.  
  12948. DEVINFO Command:  Device Parameter 
  12949.  
  12950. Specifies the physical device number. The allowable device numbers are: 
  12951.  
  12952. 4201    IBM Proprinter Models I and II 
  12953.  
  12954. 5202    IBM Quietwriter III 
  12955.  
  12956.  
  12957. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12958.  
  12959. DEVINFO Command:  Drive, Path, and Filename Parameters 
  12960.  
  12961. Specifies the complete name of the file, which includes its extension, that 
  12962. contains the system code pages for the printer. The name of the system file is 
  12963. the device number of the printer, with DCP as its extension. For example, the 
  12964. file name to specify for the IBM Proprinter is 4201.DCP.  It can be found in 
  12965. the C:\OS2 subdirectory by entering the PATH statement C:\OS2\4201.DCP. There 
  12966. are no defaults. 
  12967.  
  12968.  
  12969. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12970.  
  12971. DEVINFO Command:  ROM= Parameter 
  12972.  
  12973. Specifies that system code pages are available in device read-only storage or 
  12974. cartridge. 
  12975.  
  12976.  
  12977. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12978.  
  12979. DEVINFO Command:  nnn Parameter 
  12980.  
  12981. Represents a value for a system code page that is available in the printer 
  12982. device read-only storage. A printer device can support more than one system 
  12983. code page. 
  12984.  
  12985.  
  12986. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12987.  
  12988. DEVINFO Command:  Font Parameter 
  12989.  
  12990. Specifies the font identification number to be associated with the system code 
  12991. page.  A printer can support more than one system code page.  One system code 
  12992. page can have more than one font.  A font is a set of typographic characters 
  12993. that has the same characteristics (for example, size and style). 
  12994.  
  12995. For the IBM Quietwriter III, the fontid is the three-digit number on the label 
  12996. of the cartridge. The fontids for the imbedded code page 437 font are 011, 085, 
  12997. 159, and 254. 
  12998.  
  12999.  
  13000. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13001.  
  13002. DIR Command:  Drive, Path, Filename Parameters 
  13003.  
  13004. Lists the files in the specified directory or lists files that have a certain 
  13005. name or extension. 
  13006.  
  13007. To list files in a directory named REPORTS on drive B, enter the following: 
  13008.  
  13009. DIR B:\REPORTS
  13010.  
  13011. To list files in the current directory that have the file name LETTER with no 
  13012. extension, enter the following: 
  13013.  
  13014. DIR LETTER
  13015.  
  13016. To list all files in the current directory that have the extension .BAT, enter 
  13017. the following: 
  13018.  
  13019. DIR *.BAT
  13020.  
  13021.  
  13022. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13023.  
  13024. DIR Command:  /P Parameter 
  13025.  
  13026. Pauses the display of directory entries after the screen is filled.  To 
  13027. continue the display of output, press any key. The current directory is 
  13028. displayed in brackets on each screen after the first one. 
  13029.  
  13030. To pause the directory listing for the current directory, enter the following: 
  13031.  
  13032. DIR /P
  13033.  
  13034.  
  13035. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13036.  
  13037. DIR Command:  /W Parameter 
  13038.  
  13039. Selects wide display. Two names are shown for a 40-character-wide display; five 
  13040. names are shown for an 80-character wide-display, and eight names are shown for 
  13041. a 132 character-wide display.  Directory names are displayed enclosed in 
  13042. brackets. 
  13043.  
  13044. To display the current directory listing horizontally on your screen, enter the 
  13045. following: 
  13046.  
  13047. DIR /W
  13048.  
  13049. In OS/2 sessions, /W also selects the wide display mode for files created using 
  13050. a file system other than file allocation table (FAT). The system scans the list 
  13051. of found files to get the longest file name.  Then, it divides the width of the 
  13052. display by the longest file name to determine the number of files displayed per 
  13053. line. 
  13054.  
  13055.  
  13056. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13057.  
  13058. DIR Command:  /N parameter 
  13059.  
  13060. Forces drives that have been formatted with the File Allocation Table (FAT) 
  13061. file system to be displayed in the High Performance File System (HPFS) format. 
  13062.  
  13063. /N displays the following information for files created using the FAT file 
  13064. system: 
  13065.  
  13066. o The date the file was last updated 
  13067. o The time the file was last updated 
  13068. o The size of the file 
  13069. o The size of the file's extended attributes 
  13070. o The unedited file name 
  13071.  
  13072. Extended attribute information is consistently displayed on HPFS regardless of 
  13073. whether you specify the /N parameter. 
  13074.  
  13075.  
  13076. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13077.  
  13078. DIR Command:  /F Parameter 
  13079.  
  13080. Displays the fully qualified file name of each matching file.  No other 
  13081. information is displayed. A fully qualified file name consists of the 
  13082. following: drive letter, directory name, and file name.  The directory entries 
  13083. . and .. will not be displayed.  Do not use the /F parameter with the /W 
  13084. parameter. 
  13085.  
  13086. To display a list of files named REPORT.ABC, enter the following: 
  13087.  
  13088. DIR /F REPORT.ABC*
  13089.  
  13090. The directory listing would show all files that begin with REPORT.ABC 
  13091. regardless of what follows.  The listing would show such files as 
  13092. REPORT.ABC.342, REPORT.ABC.JAN., REPORT.ABC.APR.MAY. 
  13093.  
  13094.  
  13095. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13096.  
  13097. DIR Command:  /A:attributes Parameter 
  13098.  
  13099. Displays only the names of the directories and files with the attributes you 
  13100. specify.  If you use this parameter without specifying specific attributes, the 
  13101. names of all files, including hidden and system files, are displayed.  Use any 
  13102. combination of these values and do not separate the values with spaces.  The 
  13103. following list describes the values you can use for attributes: 
  13104.  
  13105. H         Hidden files 
  13106.  
  13107. -H        Files that are not hidden 
  13108.  
  13109. S         System files 
  13110.  
  13111. -S        Files other than system files 
  13112.  
  13113. D         Directories 
  13114.  
  13115. -D        Files only (not directories) 
  13116.  
  13117. A         Files ready for archiving (backup) 
  13118.  
  13119. -A        Files unchanged since the last backup 
  13120.  
  13121. R         Read-only files 
  13122.  
  13123. -R        Files that are not read-only. 
  13124.  
  13125.  
  13126. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13127.  
  13128. DIR Command:  /B Parameter 
  13129.  
  13130. Lists each directory name or file name without the heading information and 
  13131. summary. 
  13132.  
  13133.  
  13134. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13135.  
  13136. DIR Command:  /O:sortorder Parameter 
  13137.  
  13138. Displays directory and file names in the requested sorted order. If you use 
  13139. this parameter without specifying the sort order, the names of the directories, 
  13140. sorted in alphabetic order, and then the names of files, sorted in alphabetic 
  13141. order, are displayed.  Use any combination of these values and do not separate 
  13142. the values with spaces. The following list describes the values you can use for 
  13143. sortorder: 
  13144.  
  13145. N         Alphabetic order 
  13146.  
  13147. -N        Reverse alphabetic order 
  13148.  
  13149. E         Alphabetic order by extension 
  13150.  
  13151. -E        Reverse alphabetic order by extension 
  13152.  
  13153. D         Date and time, earliest first 
  13154.  
  13155. -D        Date and time, latest first 
  13156.  
  13157. S         Size, smallest first 
  13158.  
  13159. -S        Size, largest first 
  13160.  
  13161. G         Directories grouped before files 
  13162.  
  13163. -G        Directories grouped after files. 
  13164.  
  13165.  
  13166. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13167.  
  13168. DIR Command:  /S Parameter 
  13169.  
  13170. Lists all occurrences of the specified file name in the specified directory and 
  13171. all its subdirectories. 
  13172.  
  13173.  
  13174. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13175.  
  13176. DIR Command:  /L Parameter 
  13177.  
  13178. Lists all directory names and file names in lowercase. 
  13179.  
  13180.  
  13181. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13182.  
  13183. DIR Command:  /R Parameter 
  13184.  
  13185. Displays long file names in file systems (such as FAT) that do not support 
  13186. them.  In the FAT file system, /R displays both the FAT file name and the long 
  13187. file name to the right of the directory listing. 
  13188.  
  13189.  
  13190. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13191.  
  13192. DISKCACHE Command:  n Parameter 
  13193.  
  13194. Specifies a number from 64 through 14400 that indicates the number of 1024-byte 
  13195. blocks of storage to be used for control information and programs in the disk 
  13196. cache buffer.  The default value is 64. 
  13197.  
  13198. To set your disk cache size to 128KB, type the following in the CONFIG.SYS 
  13199. file: 
  13200.  
  13201. DISKCACHE=128
  13202.  
  13203. You can accept the default value of 64 if you install the OS/2 operating system 
  13204. on an IBM Personal System/2 Models 55sx, 65, 70, and 80. 
  13205.  
  13206.  
  13207. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13208.  
  13209. DISKCACHE Command:  ,T Parameter 
  13210.  
  13211. Specifies a number from 4 through 128 that indicates the threshold size for the 
  13212. number of sectors that will be placed into cache.  The default value is 4. 
  13213.  
  13214. To set your disk cache size to 64KB with a threshold of 128 sectors, type the 
  13215. following in the CONFIG.SYS file: 
  13216.  
  13217. DISKCACHE=64,128
  13218.  
  13219.  
  13220. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13221.  
  13222. DISKCACHE Command:  ,LW Parameter 
  13223.  
  13224. Specifies whether the contents of cache memory are written immediately to disk 
  13225. or only during disk idle time.  This parameter pertains only to disks formatted 
  13226. for the FAT file system.  The LW (lazy-write) parameter enables writing of 
  13227. cache memory during disk idle time.  Omitting this parameter specifies 
  13228. immediate writing to disk.  The LW parameter is in the DISKCACHE statement in 
  13229. the CONFIG.SYS file by default. 
  13230.  
  13231.  
  13232. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13233.  
  13234. DISKCACHE Command:  ,AC:x Parameter 
  13235.  
  13236. The AC:x (autocheck) parameter specifies the drives (x) the operating system 
  13237. checks at startup time to determine if the file system associated with a drive 
  13238. is in an inconsistent state.  A file system can be in an inconsistent state 
  13239. when files were left open. This can happen when: 
  13240.  
  13241. o The computer was turned off without selecting the Shut down choice from the 
  13242.   menu of the desktop. 
  13243.  
  13244. o Electrical power to the computer was interrupted. 
  13245.  
  13246. The operating system runs the CHKDSK program with the /F option to correct any 
  13247. problem caused by improper system shutdown.  Each time you format a drive for 
  13248. the FAT file system, the operating system updates the DISKCACHE statement in 
  13249. the CONFIG.SYS file with the appropriate autocheck parameter. 
  13250.  
  13251. Note:   The drive letters can be any letter C to Z.  The letters A and B are 
  13252.         not valid because the system recognizes these as representing diskette 
  13253.         drives. 
  13254.  
  13255.  
  13256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13257.  
  13258. DISKCOMP Command:  Source and Target Drive Parameters 
  13259.  
  13260. Specifies the drives that contain the files to be compared. 
  13261.  
  13262. To compare the complete contents of a diskette in drive B to a diskette in 
  13263. drive A, enter the following: 
  13264.  
  13265. DISKCOMP B: A:
  13266.  
  13267.  
  13268. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13269.  
  13270. DISKCOPY Command:  Source and Target Drive Parameters 
  13271.  
  13272. Specifies the drives that contain the files to be copied. 
  13273.  
  13274. To copy the complete contents of a diskette in drive B to a diskette in drive 
  13275. A, enter the following: 
  13276.  
  13277. DISKCOPY B: A:
  13278.  
  13279.  
  13280. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13281.  
  13282. DOSKEY Command: Macroname=text Parameter 
  13283.  
  13284. Creates a macro that processes one or more DOS commands.  Macroname specifies 
  13285. the name you want to assign to the macro.  Text specifies the commands you want 
  13286. to record. 
  13287.  
  13288.  
  13289. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13290.  
  13291. DOSKEY Command: /Reinstall Parameter 
  13292.  
  13293. Installs a new copy of the DOSKEY program, even if one is already installed. 
  13294. When DOSKEY is already installed, using this parameter clears the buffer. 
  13295.  
  13296.  
  13297. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13298.  
  13299. DOSKEY Command: /Bufsize=n Parameter 
  13300.  
  13301. Specifies the size of the buffer in which DOSKEY stores commands and macros. 
  13302. The default size is 512 bytes.  The minimum buffer size is 256 bytes. 
  13303.  
  13304.  
  13305. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13306.  
  13307. DOSKEY Command: /M Parameter 
  13308.  
  13309. Displays a list of all DOSKEY macros.  You can use a redirection symbol (>) 
  13310. with this parameter to redirect the list to a file. 
  13311.  
  13312.  
  13313. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13314.  
  13315. DOSKEY Command: /H Parameter 
  13316.  
  13317. Displays a list of all commands stored in memory.  You can use a redirection 
  13318. symbol (>) with this parameter to redirect the list to a file. 
  13319.  
  13320.  
  13321. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13322.  
  13323. DOSKEY Command: /Insert/Overstrike Parameter 
  13324.  
  13325. Specifies how new text that you type is to be placed.  If you use /insert, new 
  13326. text that you type on a line is inserted into old text.  If you use 
  13327. /overstrike, new text is to replace old text.  The default is /overstrike. 
  13328.  
  13329.  
  13330. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13331.  
  13332. DOS Command: HIGH Parameter 
  13333.  
  13334. Specifies that the DOS kernel should reside in the high memory area (HMA). The 
  13335. high memory area (HMA) refers to space between 1MB and 1MB + 64KB.  When the 
  13336. DOS kernel resides in the high memory area, DOS applications cannot use this 
  13337. area. 
  13338.  
  13339.  
  13340. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13341.  
  13342. DOS Command: LOW Parameter 
  13343.  
  13344. Specifies that the DOS kernel should reside in conventional (low) memory below 
  13345. 640KB.  This means that DOS applications can use the high memory area. The high 
  13346. memory area (HMA) refers to space between 1MB and 1MB + 64KB. 
  13347.  
  13348.  
  13349. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13350.  
  13351. DOS Command: UMB Parameter 
  13352.  
  13353. Specifies that the operating system controls the upper memory blocks (UMBs). 
  13354. This means that DOS applications cannot allocate UMBs but can be loaded there. 
  13355.  
  13356. To specify UMBs to be controlled by the operating system and the DOS kernel to 
  13357. reside in the upper memory area, type the following in the CONFIG.SYS file: 
  13358.  
  13359. DOS=HIGH,UMB
  13360.  
  13361.  
  13362. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13363.  
  13364. DOS Command: NOUMB Parameter 
  13365.  
  13366. Specifies that the operating system does not control the upper memory blocks 
  13367. (UMBs).  This means that DOS applications can allocate UMBs but cannot be 
  13368. loaded there. 
  13369.  
  13370. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  13371. conventional memory (below 640KB), type the following in the CONFIG.SYS file: 
  13372.  
  13373. DOS=LOW,NOUMB
  13374.  
  13375.  
  13376. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13377.  
  13378. DPATH Command:  Drive and Path Parameters 
  13379.  
  13380. Specifies the drive and directories to be searched for data files. When you 
  13381. installed the operating system, the installation program placed a DPATH 
  13382. statement in your CONFIG.SYS file. 
  13383.  
  13384. To specify the current path to data files as a replaceable parameter by 
  13385. appending the paths of the ABC and XYZ subdirectories to the DPATH statement 
  13386. already in effect, enter the following: 
  13387.  
  13388. DPATH %DPATH%;C:\ABC;C:\XYZ;
  13389.  
  13390.  
  13391. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13392.  
  13393. EAUTIL Command:  /S Parameter 
  13394.  
  13395. Splits extended attributes from a data file and places them in a hold file. 
  13396.  
  13397. To place extended attributes from a file named MODULE.TXT into a file named 
  13398. ATTRIB.MOD, enter the following: 
  13399.  
  13400. EAUTIL MODULE.TXT ATTRIB.MOD /S
  13401.  
  13402.  
  13403. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13404.  
  13405. EAUTIL Command:  /R Parameter 
  13406.  
  13407. Replaces the hold file with the current extended attributes contained in the 
  13408. data file. 
  13409.  
  13410. To replace the extended attributes in the ATTRIB.MOD file with the extended 
  13411. attributes of the NEWFILE.EA, enter the following: 
  13412.  
  13413. EAUTIL NEWFILE.EA ATTRIB.MOD /R /S
  13414.  
  13415.  
  13416. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13417.  
  13418. EAUTIL Command:  /P Parameter 
  13419.  
  13420. Preserves extended attributes in the data file after a split operation, or 
  13421. preserves extended attributes in a hold file after a join operation. 
  13422.  
  13423. To preserve extended file attributes in a file named MODULE.TXT and copy that 
  13424. file's extended attributes to a file named ATTRIB.MOD, enter the following: 
  13425.  
  13426. EAUTIL MODULE.TXT ATTRIB.MOD /P /S
  13427.  
  13428.  
  13429. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13430.  
  13431. EAUTIL Command:  /J Parameter 
  13432.  
  13433. Joins the extended attributes stored as data in the hold file to the data file. 
  13434.  
  13435. To join the extended attributes in the ATTRIB.MOD hold file with the MODULE.TXT 
  13436. data file, enter the following: 
  13437.  
  13438. EAUTIL MODULE.TXT ATTRIB.MOD /J
  13439.  
  13440.  
  13441. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13442.  
  13443. EAUTIL Command:  /O Parameter 
  13444.  
  13445. Overwrites (deletes) the extended attributes that are in the data file with the 
  13446. extended attributes that are in the hold file. 
  13447.  
  13448. To overwrite the extended attributes in the MODULE.TXT file with the extended 
  13449. attributes in the NEWFILE.EA hold file, enter the following: 
  13450.  
  13451. EAUTIL MODULE.TXT NEWFILE.EA /O /J
  13452.  
  13453.  
  13454. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13455.  
  13456. EAUTIL Command:  /M Parameter 
  13457.  
  13458. Merges the extended attributes that are in the hold file into the extended 
  13459. attributes that are in the data file. 
  13460.  
  13461. To merge the extended attributes in the NEWFILE.EA hold file into the extended 
  13462. attributes in the MODULE.TXT data file, enter the following: 
  13463.  
  13464. EAUTIL MODULE.TXT NEWFILE.EA /M /J
  13465.  
  13466.  
  13467. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13468.  
  13469. EAUTIL Command:  Datafile Parameter 
  13470.  
  13471. Specifies the name of the file that contains extended attributes that are to be 
  13472. split into a hold file. 
  13473.  
  13474.  
  13475. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13476.  
  13477. EAUTIL Command:  Holdfile Parameter 
  13478.  
  13479. Specifies the name of the file that will be used to store extended attributes 
  13480. as data.  If no file name is specified, EAUTIL creates a hold file with the 
  13481. same name as the data file.  EAUTIL stores the hold file in a directory named 
  13482. EAS with the same parent directory as the data file. 
  13483.  
  13484.  
  13485. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13486.  
  13487. ECHO Command:  Message Parameter 
  13488.  
  13489. Displays a message regardless of the current state (ON or OFF). In this way, 
  13490. you can display specific messages even when ECHO has been turned off. 
  13491.  
  13492. To display the message, PROGRAM FAILED, on your screen, whether ECHO is ON or 
  13493. OFF, enter the following: 
  13494.  
  13495. ECHO PROGRAM FAILED
  13496.  
  13497.  
  13498. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13499.  
  13500. ECHO Command:  ON and OFF Parameters 
  13501.  
  13502. ON displays all commands as they are run.  This is the default value.  OFF 
  13503. stops the display of commands on the screen (including the REM command). 
  13504.  
  13505. To show all commands on your screen as they are processed, enter the following: 
  13506.  
  13507. ECHO ON
  13508.  
  13509.  
  13510. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13511.  
  13512. ERASE Command:  Drive, Path, Filename Parameters 
  13513.  
  13514. Specifies the name of the file or files to be erased.  In DOS sessions, all 
  13515. files must be in the same directory. 
  13516.  
  13517. To erase a file named FRIDAY from the current directory on the current drive, 
  13518. enter the following: 
  13519.  
  13520. ERASE FRIDAY
  13521.  
  13522. To erase all files in the current directory on drive C, enter the following: 
  13523.  
  13524. ERASE C:*.*
  13525.  
  13526. To erase all files in the REPORTS subdirectory on drive C, enter the following: 
  13527.  
  13528. ERASE C:\REPORTS\*.*
  13529.  
  13530. To erase a file named FRIDAY from the REPORTS subdirectory on drive C, enter 
  13531. the following: 
  13532.  
  13533. ERASE C:\REPORTS\FRIDAY
  13534.  
  13535. To erase all files with a .ABC extension from the REPORTS subdirectory in the 
  13536. root directory on drive C, enter the following: 
  13537.  
  13538. ERASE C:\REPORTS\*.ABC
  13539.  
  13540.  
  13541. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13542.  
  13543. ERASE Command:  /P Parameter 
  13544.  
  13545. Specifies that you do not want the system to delete all files.  The system 
  13546. displays each file name, giving you the option to delete it or not delete it. 
  13547. When you use the /P parameter to delete a single file or more than one file, a 
  13548. message is displayed.  For example, if you type the following: 
  13549.  
  13550. ERASE C:\MYDIR\MYFILE /P
  13551.  
  13552. The system displays this message: 
  13553.  
  13554. C:\MYDIR\MYFILE, Delete (Y/N)?
  13555.  
  13556. Type Y to delete the file; otherwise, type N. If you are deleting multiple 
  13557. files in a directory, the system advances to the next file. 
  13558.  
  13559.  
  13560. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13561.  
  13562. ERASE Command:  /N Parameter 
  13563.  
  13564. Specifies that the message Are you sure (Y/N)? is not to be displayed by the 
  13565. operating system when you are deleting the contents of a subdirectory. 
  13566.  
  13567. To delete the contents of the REPORTS subdirectory on drive C and not be 
  13568. prompted Are you sure (Y/N)?, enter the following: 
  13569.  
  13570. ERASE C:\REPORTS /N
  13571.  
  13572.  
  13573. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13574.  
  13575. EXTPROC Command:  Drive, Path, Filename Parameters 
  13576.  
  13577. Specifies the complete name of the file, including its extension, that contains 
  13578. the external batch processor. 
  13579.  
  13580.  
  13581. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13582.  
  13583. EXTPROC Command:  Arguments Parameter 
  13584.  
  13585. Specifies the information passed to the external batch processor. 
  13586.  
  13587.  
  13588. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13589.  
  13590. FCBS Command:  m Parameter 
  13591.  
  13592. Specifies a number from 1 through 255 that indicates the total number of file 
  13593. control blocks (FCBs) that can be open at the same time. 
  13594.  
  13595. To specify the total number of file control blocks that can be open at one time 
  13596. to 7, type the following in the CONFIG.SYS file: 
  13597.  
  13598. FCBS=7
  13599.  
  13600.  
  13601. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13602.  
  13603. FCBS Command:  n Parameter 
  13604.  
  13605. Specifies the number of files opened by FCBs that cannot be closed 
  13606. automatically by the system when a program tries to have more than m files 
  13607. opened by FCBs at one time. The first n files opened by FCBs are thus protected 
  13608. from being closed.  The range of values for n is from 0 through 255.  The value 
  13609. for n must be less than or equal to m. 
  13610.  
  13611. To set the total number of file control block files that can be open at one 
  13612. time to 7, and set the number protected from being closed to 2, type the 
  13613. following in the CONFIG.SYS file. 
  13614.  
  13615. FCBS=7,2
  13616.  
  13617.  
  13618. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13619.  
  13620. FDISK Command:  /QUERY Parameter 
  13621.  
  13622. Displays a list of all partitions and free space on the hard disks of the 
  13623. system.  For example, here is a query that returned information about 4 
  13624. partitions and a free space entry: 
  13625.  
  13626. Name     Partition   Vtype   FStype   Drive   Status   Start   Size
  13627. System 1   C:        01      04       1        1       00     30
  13628. System 2    :        01      01       1        1       30     10
  13629. OS2-HPFS   D:        02      07       2        1       00     60
  13630. data-vol   E:        02      06       1        0       40     70
  13631. 01000061    :        03      00       2        0       60     55
  13632.  
  13633. To display a list of all partitions and free space on the hard disks of the 
  13634. system, type the following: 
  13635.  
  13636. FDISK /QUERY
  13637.  
  13638.  
  13639. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13640.  
  13641. FDISK Command:  /CREATE:name Parameter 
  13642.  
  13643. Creates a primary partition or logical drive in an extended partition.  You can 
  13644. specify an optional name for the created partition. You must specify the type 
  13645. of partition being created by using the /VTYPE:n option where n = 1 for a 
  13646. primary partition and 2 for a logical drive in an extended partition. 
  13647.  
  13648. To create a logical drive in an extended partition on disk 1 with the name 
  13649. OS2FAT, type the following: 
  13650.  
  13651. FDISK /CREATE:OS2FAT /VTYPE:2 /DISK:1
  13652.  
  13653.  
  13654. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13655.  
  13656. FDISK Command:  /DELETE Parameter 
  13657.  
  13658. Deletes a logical drive or primary partition.  This parameter must be used with 
  13659. one or more options.  You can use /DELETE:all to delete all logical drives on a 
  13660. disk.  If you use /DELETE:all, however, you must specify the disk using the 
  13661. /DISK option. 
  13662.  
  13663. To delete a logical drive with the name OS2FAT, type the following: 
  13664.  
  13665. FDISK /DELETE /NAME:OS2FAT
  13666.  
  13667. To delete all logical drives on disk 2, type the following: 
  13668.  
  13669. FDISK /DELETE:all /DISK:2
  13670.  
  13671.  
  13672. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13673.  
  13674. FDISK Command:  /SETNAME:name Parameter 
  13675.  
  13676. Specifies names for primary partitions or logical drives and makes them 
  13677. bootable from the Boot Manager.  If name is left blank, the boot name is 
  13678. removed and the partition will not be bootable from the Boot Manager menu. 
  13679.  
  13680. To specify the name DOS4.0 of a primary partition, type the following: 
  13681.  
  13682. FDISK /SETNAME:DOS4.0
  13683.  
  13684.  
  13685. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13686.  
  13687. FDISK Command:  /SETACCESS Parameter 
  13688.  
  13689. Sets a primary DOS partition as accessible.  Once a primary DOS partition has 
  13690. been set as accessible, all other primary DOS partitions on the same drive are 
  13691. inaccessible. 
  13692.  
  13693. If there are two primary DOS partitions on a hard disk, specifying this 
  13694. parameter with no options makes the previously inaccessible partition 
  13695. accessible and changes the previously accessible partition to inaccessible. 
  13696.  
  13697. To specify a primary DOS partition as accessible, type the following: 
  13698.  
  13699. FDISK /SETACCESS
  13700.  
  13701.  
  13702. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13703.  
  13704. FDISK Command:  /STARTABLE Parameter 
  13705.  
  13706. Specifies a partition as startable. 
  13707.  
  13708. To specify a partition as startable, type the following: 
  13709.  
  13710. FDISK /STARTABLE
  13711.  
  13712.  
  13713. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13714.  
  13715. FDISK Command:  /FILE:filename Parameter 
  13716.  
  13717. Processes all FDISK commands in the specified file allowing the batching of 
  13718. FDISK commands.  You must have commas separating the arguments of each command 
  13719. in the file and the commands are processed just once.  For example, the file, 
  13720. MYFILE, contains the following commands: 
  13721.  
  13722. /query
  13723. /create:OS2,/vtype:1,/disk:1,/name:01000030,/size:20
  13724. /startable,/name:OS2
  13725. /query,/name:OS2
  13726.  
  13727. The processing of these commands is as follows: 
  13728.  
  13729. Command 1       Displays a list of all partitions and unused space on all hard 
  13730.                 disks. 
  13731.  
  13732. Command 2       Creates a primary partition on disk 1 with a size of 20MB in 
  13733.                 the free space alias 01000030 and assigns it a name of OS2. 
  13734.  
  13735. Command 3       Sets the partition named OS2 to be startable on the Boot 
  13736.                 Manager menu. 
  13737.  
  13738. Command 4       Displays the partition information of the partition named OS2. 
  13739.  
  13740. To process FDISK commands in the file MYFILE, type the following: 
  13741.  
  13742. FDISK /FILE:myfile
  13743.  
  13744.  
  13745. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13746.  
  13747. FDISK Command:  /parameter /NAME:name Option 
  13748.  
  13749. Options limit the actions of the FDISK command and parameters.  This option 
  13750. indicates the name of a partition.  A name can be up to eight characters in 
  13751. length and is case-sensitive.  The /NAME option can be used with all FDISK 
  13752. parameters except /FILE. 
  13753.  
  13754. Note:   During a QUERY operation, a temporary name is assigned to every 
  13755.         partition and free space that does not have a boot name assigned.  This 
  13756.         name is not set as the partition name, but is only used as a temporary 
  13757.         identifier for you.  Because you do not have a visual representation of 
  13758.         the Boot Manager menu, these temporary names can be used in place of 
  13759.         real names for the NAME option. 
  13760.  
  13761. To delete a partition named dos, type the following: 
  13762.  
  13763. FDISK /DELETE /NAME:dos
  13764.  
  13765.  
  13766. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13767.  
  13768. FDISK Command:  /parameter /DISK:n Option 
  13769.  
  13770. Options limit the actions of the FDISK command and parameters.  This option 
  13771. specifies the number of the hard disk that you want to work with using the 
  13772. FDISK command and parameters.  The /DISK option can be used with all FDISK 
  13773. parameters except /FILE. 
  13774.  
  13775. To display all partitions on drive 2, type the following: 
  13776.  
  13777. FDISK /QUERY /DISK:2
  13778.  
  13779.  
  13780. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13781.  
  13782. FDISK Command:  /parameter /FSTYPE:x Option 
  13783.  
  13784. Options limit the actions of the FDISK command and parameters.  This option 
  13785. specifies the file system type of the partition.  The Type x = DOS, FAT, IFS, 
  13786. Free, or other.  The /FSTYPE option can be used with all FDISK parameters 
  13787. except /FILE and /SETACCESS. 
  13788.  
  13789. To display a partition with a FAT file system, type the following: 
  13790.  
  13791. FDISK /QUERY /FSTYPE:FAT
  13792.  
  13793.  
  13794. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13795.  
  13796. FDISK Command:  /parameter /START:m Option 
  13797.  
  13798. Options limit the actions of the FDISK command and parameters.  This option 
  13799. specifies the partition starting location.  The m = t or b where t = top of the 
  13800. partition and b = bottom of the partition.  The /START option can be used with 
  13801. all FDISK parameters except /FILE. 
  13802.  
  13803. To create a primary partition starting at the top of the partition, type the 
  13804. following: 
  13805.  
  13806. FDISK /CREATE /START:t
  13807.  
  13808.  
  13809. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13810.  
  13811. FDISK Command:  /parameter /SIZE:m Option 
  13812.  
  13813. Options limit the actions of the FDISK command and parameters.  This option 
  13814. specifies the size of the partition where m is the size in MB.  The /SIZE 
  13815. option can be used with all FDISK parameters except /FILE. 
  13816.  
  13817. To create a primary partition with a size of 8MB, type the following: 
  13818.  
  13819. FDISK /CREATE /SIZE:8
  13820.  
  13821.  
  13822. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13823.  
  13824. FDISK Command:  /parameter /VTYPE:n Option 
  13825.  
  13826. Options limit the actions of the FDISK command and parameters.  This option 
  13827. specifies the type of the partition.  The value of n can be as follows: 
  13828.  
  13829. 0    Space is not usable 
  13830.  
  13831. 1    Primary partition (not shared) 
  13832.  
  13833. 2    Logical drive (shared in an extended partition) 
  13834.  
  13835.      Free space that can be used to create a primary or extended partition. 
  13836.  
  13837. The /VTYPE option can be used with all FDISK parameters except /FILE, 
  13838. /SETACCESS, and /STARTABLE. 
  13839.  
  13840. To display unusable space on a disk, type the following: 
  13841.  
  13842. FDISK /QUERY /VTYPE:0
  13843.  
  13844. To specify a primary partition to be displayed, type the following: 
  13845.  
  13846. FDISK /QUERY /VTYPE:1
  13847.  
  13848. To specify a logical drive in an extended partition to be displayed, type the 
  13849. following: 
  13850.  
  13851. FDISK /QUERY /VTYPE:2
  13852.  
  13853. To display free space that can be used to create a primary or extended 
  13854. partition, type the following: 
  13855.  
  13856. FDISK /QUERY /VTYPE:3
  13857.  
  13858.  
  13859. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13860.  
  13861. FDISK Command:  /parameter /BOOTABLE:s Option 
  13862.  
  13863. Options limit the actions of the FDISK command and parameters.  This option 
  13864. indicates the bootable status of partitions; s is 0 for partitions that are not 
  13865. bootable; s is 1 for partitions that are bootable.  The /BOOTABLE option can be 
  13866. used with all FDISK parameters except /FILE. 
  13867.  
  13868. To display all partitions that are bootable from the Boot Manager menu, type 
  13869. the following: 
  13870.  
  13871. FDISK /QUERY /BOOTABLE:1
  13872.  
  13873.  
  13874. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13875.  
  13876. FDISK Command:  /BOOTMGR Option 
  13877.  
  13878. Options limit the actions of the FDISK command and parameters.  This option 
  13879. specifies an action for the Boot Manager partition. 
  13880.  
  13881. To create the Boot Manager partition, type the following: 
  13882.  
  13883. FDISK  /CREATE /BOOTMGR
  13884.  
  13885.  
  13886. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13887.  
  13888. An allocated space on a hard disk that is defined by size and accessibility. A 
  13889. non-shareable partition is called a primary partition.  A shareable partition 
  13890. is called an extended partition and can contain multiple logical drives, each 
  13891. of which can be assigned different versions of an operating system such as the 
  13892. OS/2 operating system.  All versions of DOS, however, must reside in a primary 
  13893. partition. 
  13894.  
  13895.  
  13896. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13897.  
  13898. FILES Command:  n Parameter 
  13899.  
  13900. Specifies a number from 20 to 255 that indicates the maximum number of files 
  13901. that can be open at the same time.  This means that a DOS session can access 
  13902. the number of files that you specify in the CONFIG.SYS file.  The default value 
  13903. is 20. 
  13904.  
  13905. To specify a maximum of 40 files to be open at the same time in a DOS session, 
  13906. type the following in the CONFIG.SYS file: 
  13907.  
  13908. FILES=40
  13909.  
  13910.  
  13911. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13912.  
  13913. FIND Command:  /V Parameter 
  13914.  
  13915. Displays all lines that do not contain the specified string. 
  13916.  
  13917. To display all lines that do not include the word CHAPTER in a file named 
  13918. BOOK.TXT, enter the following. 
  13919.  
  13920. FIND /V "CHAPTER" BOOK.TXT
  13921.  
  13922.  
  13923. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13924.  
  13925. FIND Command:  /C Parameter 
  13926.  
  13927. Displays the count of lines that contain a match for the string.  If /C is 
  13928. specified with /N, FIND ignores /N. If /C is specified with /V, FIND returns 
  13929. the count of lines that do not contain the string. 
  13930.  
  13931. To display a count of the number of lines in a file named BOOK.TXT that include 
  13932. the word CHAPTER, enter the following: 
  13933.  
  13934. FIND /C "CHAPTER" BOOK.TXT
  13935.  
  13936.  
  13937. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13938.  
  13939. FIND Command:  /N Parameter 
  13940.  
  13941. Puts the relative line number in front of each matching line. 
  13942.  
  13943. To display the line number where each occurrence of CHAPTER is found in the 
  13944. text of the file named BOOK.TXT, enter the following: 
  13945.  
  13946. FIND /N "CHAPTER" BOOK.TXT
  13947.  
  13948.  
  13949. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13950.  
  13951. FIND Command:  /I Parameter 
  13952.  
  13953. Ignores the case of characters when searching for a string in a file. 
  13954.  
  13955. To make a search for the string CHAPTER not case-sensitive in the file 
  13956. BOOK.TXT, enter the following: 
  13957.  
  13958. FIND /I "CHAPTER" BOOK.TXT
  13959.  
  13960.  
  13961. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13962.  
  13963. FIND Command:  "String" Parameter 
  13964.  
  13965. Specifies the string to search for.  Remember to enclose the string in double 
  13966. quotes.  An uppercase string does not match a lowercase string. 
  13967.  
  13968. To display all the lines from files named BOOK1 and BOOK2 (in that order) that 
  13969. contain the word CHAPTER, enter the following: 
  13970.  
  13971. FIND "CHAPTER" BOOK1 BOOK2
  13972.  
  13973.  
  13974. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13975.  
  13976. FIND Command:  Drive, Path, and Filename Parameters 
  13977.  
  13978. Specifies the drive, path, and name of the file to be searched. 
  13979.  
  13980.  
  13981. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13982.  
  13983. FOR Command:  %variable Parameter 
  13984.  
  13985. Specifies any character, including 0 through 9, entered at the command prompt. 
  13986.  
  13987.  
  13988. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13989.  
  13990. FOR Command:  %%c Parameter 
  13991.  
  13992. Specifies any character, including 0 through 9.  Note that this does not 
  13993. conflict with the %0 through %9 batch parameter substitutions because two % 
  13994. symbols (%%) are required when you use FOR loop substitution in batch 
  13995. processing. 
  13996.  
  13997.  
  13998. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13999.  
  14000. FOR Command:  Set Parameter 
  14001.  
  14002. Specifies one or more items to which the % variable parameter or the %%c 
  14003. parameter will be set. 
  14004.  
  14005.  
  14006. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14007.  
  14008. FOR Command:  Command Parameter 
  14009.  
  14010. Specifies the OS/2 command to be run. 
  14011.  
  14012.  
  14013. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14014.  
  14015. FORMAT Command:  Drive Parameter 
  14016.  
  14017. Specifies the drive to be formatted. 
  14018.  
  14019. To format a 5.25-inch high-capacity diskette in high-capacity diskette drive B, 
  14020. enter the following: 
  14021.  
  14022. FORMAT B:
  14023.  
  14024.  
  14025. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14026.  
  14027. FORMAT Command:  /ONCE Parameter 
  14028.  
  14029. Specifies that only one diskette is to be formatted.  You use this parameter 
  14030. when you want to format only one diskette and do not want to be asked by a 
  14031. system message if you want to format another diskette.  After one diskette is 
  14032. formatted, no system message is displayed and you are returned to the command 
  14033. prompt. 
  14034.  
  14035. To format one diskette on drive A, enter the following: 
  14036.  
  14037. FORMAT A: /ONCE
  14038.  
  14039.  
  14040. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14041.  
  14042. FORMAT Command:  /4 Parameter 
  14043.  
  14044. Formats a 360KB diskette in a 1.2MB drive. This parameter is intended to allow 
  14045. use of 360KB diskettes in 1.2MB drives only. Diskettes formatted with this 
  14046. parameter on a 1.2MB drive may not be reliably read or written in a 360KB 
  14047. drive. 
  14048.  
  14049. To format a 360KB diskette in a 1.2MB drive, enter the following: 
  14050.  
  14051. FORMAT A: /4
  14052.  
  14053. You can also type: 
  14054.  
  14055. FORMAT A: /N:9 /T:40
  14056.  
  14057.  
  14058. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14059.  
  14060. FORMAT Command:  /T:tracks and /N:sectors Parameters 
  14061.  
  14062. Formats a diskette to the number of tracks (/T) and number of sectors (/N) 
  14063. specified. If /T is not specified, the default is 80. 
  14064.  
  14065. Use /N to format a 3.5-inch diskette to a specific number of sectors per track. 
  14066. The default depends on the diskette drive being used. However, if the diskette 
  14067. you are formatting has a smaller capacity than the diskette drive, you must 
  14068. specify a value for /N. 
  14069.  
  14070. Use the following values to specify tracks and sectors for the diskette type 
  14071. shown: 
  14072.  
  14073. 360KB (5.25 in.) /T:40 /N:9 
  14074.  
  14075. 720KB (3.5 in.) /T:80 /N:9 
  14076.  
  14077. 1.2MB (5.25 in. /T:80 /N:15 
  14078.  
  14079. 1.44MB (3.5 in.) /T:80 /N:18 
  14080.  
  14081. 2.88MB (3.5 in.) /T:80 /N:36 
  14082.  
  14083. To format a 3.5-inch 720KB diskette in a 1.44MB drive (drive A), enter the 
  14084. following: 
  14085.  
  14086. FORMAT A: /T:80 /N:9
  14087.  
  14088.  
  14089. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14090.  
  14091. FORMAT Command: /L Parameter 
  14092.  
  14093. Specifies the long format procedure used to format and install the file system 
  14094. on an IBM read/write optical disc.  Formatting an optical disc the first time 
  14095. requires about 20 minutes. Reformatting a previously formatted optical disc 
  14096. requires only a few minutes when you do not use the /L parameter. 
  14097.  
  14098. To format and install the file system on a read-write optical disc, enter the 
  14099. following: 
  14100.  
  14101. FORMAT D: /L
  14102.  
  14103. where drive D is designated as the optical disc drive. 
  14104.  
  14105.  
  14106. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14107.  
  14108. FORMAT Command:  /V:label Parameter 
  14109.  
  14110. Specifies the volume label. A volume label can be up to 11 characters long and 
  14111. is used to identify the disk. If you do not specify a volume label, you are 
  14112. prompted to do so after formatting is completed. 
  14113.  
  14114. To format a diskette in drive A and give the diskette a volume label of MYDISK, 
  14115. enter the following: 
  14116.  
  14117. FORMAT A: /V:MYDISK
  14118.  
  14119. To include blanks in a volume label, enclose the volume label in quotation 
  14120. marks.  For example, to label a diskette My Disk, enter the following: 
  14121.  
  14122. FORMAT A:/v:"My Disk"
  14123.  
  14124.  
  14125. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14126.  
  14127. FORMAT Command:  /F:xxxx Parameter 
  14128.  
  14129. Specifies the size to which the diskette is to be formatted. FORMAT prepares 
  14130. the diskette with the appropriate number of tracks and sectors. The values are 
  14131. as follows: 
  14132.  
  14133. 360KB (5.25 in.)         360, 360K, 360KB 
  14134.  
  14135. 720KB (3.5 in.)          720, 720K, 720KB 
  14136.  
  14137. 1.2MB (5.25 in.)         1200, 1200K, 1200KB, 1.2, 1.2M, 1.2MB 
  14138.  
  14139. 1.44MB (3.5 in.)         1440, 1440K, 1440KB, 1.44, 1.44M, 1.44MB 
  14140.  
  14141. 2.88MB (3.5 in.)         2880, 2880K, 2880KB, 2.88, 2.88M, 2.88MB 
  14142.  
  14143. To format a 3.5-inch 720KB diskette in a 1.4MB drive (drive A), enter the 
  14144. following: 
  14145.  
  14146. FORMAT A: /F:720
  14147.  
  14148.  
  14149. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14150.  
  14151. FORMAT Command:  /FS:xxxx Parameter 
  14152.  
  14153. Specifies that FORMAT is to execute another file system's format program. 
  14154.  
  14155. To format a hard disk partition on drive D for the High Performance File 
  14156. System, enter the following: 
  14157.  
  14158. FORMAT D: /FS:HPFS
  14159.  
  14160. To change the HPFS partition on drive D to a FAT type partition, type the 
  14161. following: 
  14162.  
  14163. FORMAT D: /FS:FAT
  14164.  
  14165.  
  14166. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14167.  
  14168. FSACCESS Command: ! (exclamation) Parameter 
  14169.  
  14170. The ! (exclamation) parameter means the following drive letter or sequence 
  14171. should not be mapped to OS/2 drives. 
  14172.  
  14173.  
  14174. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14175.  
  14176. FSACCESS Command: DOSletter Parameter 
  14177.  
  14178. Specifies a local drive letter (a following colon is optional). 
  14179.  
  14180.  
  14181. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14182.  
  14183. FSACCESS Command: DOSletter - DOSletter Parameter 
  14184.  
  14185. The minus sign (-) indicates a sequence of drive letters between the two 
  14186. letters. 
  14187.  
  14188.  
  14189. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14190.  
  14191. FSACCESS Command: DOSletter = OS/2drive Parameter 
  14192.  
  14193. The equals sign (=)  means to map a local DOS drive letter to an OS/2 drive. 
  14194. OS/2drive is an OS/2 drive letter (a following colon is optional). 
  14195.  
  14196.  
  14197. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14198.  
  14199. GOTO Command:  Label Parameter 
  14200.  
  14201. Directs commands to run beginning with the line immediately after label. 
  14202.  
  14203. To go to a section in your batch file that has a label :EXIT, if the error 
  14204. level of the program you are running is 1 or greater, type the following in the 
  14205. batch file: 
  14206.  
  14207. IF ERRORLEVEL 1 GOTO EXIT
  14208.  .
  14209.  .
  14210. :EXIT
  14211.  
  14212. To show an indefinite sequence of "IBM RIBBONS ..." and "GOTO LOOP" messages on 
  14213. your screen, type the following in the batch file: 
  14214.  
  14215. :LOOP
  14216. @ECHO IBM RIBBONS ...
  14217. @ECHO GOTO LOOP
  14218. @GOTO LOOP
  14219.  
  14220. Press Ctrl+Break to stop running the batch file. 
  14221.  
  14222.  
  14223. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14224.  
  14225. GRAFTABL Command:  nnn Parameter 
  14226.  
  14227. Specifies a three-digit number, indicating the graphic code page to be used, 
  14228. which can have a value of: 
  14229.  
  14230. 437   U.S. 
  14231.  
  14232. 850   Multilingual 
  14233.  
  14234. 860   Portuguese 
  14235.  
  14236. 863   Canada (French-speaking) 
  14237.  
  14238. To specify the U.S. 437 graphic code page, enter the following: 
  14239.  
  14240. GRAFTABL 437
  14241.  
  14242.  
  14243. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14244.  
  14245. GRAFTABL Command:  ? Parameter 
  14246.  
  14247. Displays the number of the graphic code page currently being used and a list of 
  14248. code page options. 
  14249.  
  14250. To display the number of the graphic code page currently being used, and a list 
  14251. of graphic code page options, enter the following: 
  14252.  
  14253. GRAFTABL ?
  14254.  
  14255.  
  14256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14257.  
  14258. GRAFTABL Command:  /STA Parameter 
  14259.  
  14260. Displays the number of the graphic code page currently being used. 
  14261.  
  14262. To display the number of the graphic code page currently being used, enter the 
  14263. following: 
  14264.  
  14265. GRAFTABL /STA
  14266.  
  14267.  
  14268. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14269.  
  14270. HELP Command:  ON and OFF Parameters 
  14271.  
  14272. Turns the help line on or off. 
  14273.  
  14274. To display a help line as a part of the command prompt, reminding you which 
  14275. keys to press to return to the desktop, enter the following: 
  14276.  
  14277. HELP ON
  14278.  
  14279.  
  14280. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14281.  
  14282. HELP Command:  message help Parameter 
  14283.  
  14284. Identifies the system message prefix and number, when necessary, for which 
  14285. additional information is being requested. It is not necessary to type the 
  14286. prefix and leading zeros. 
  14287.  
  14288. To request additional help for error message number SYS0003, type the 
  14289. following: 
  14290.  
  14291. HELP 3
  14292.  
  14293. HELP then displays the original message, followed by an explanation and action 
  14294. statements. 
  14295.  
  14296.  
  14297. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14298.  
  14299. HELP Command:  Book Parameter 
  14300.  
  14301. Identifies the online book (.INF file) to be searched for a specified topic. If 
  14302. you do not specify a book name, HELP searches the OS/2 Command Reference. 
  14303.  
  14304. To view information in the OS/2 Command Reference about the COPY command, enter 
  14305. the following at the OS/2 command prompt: 
  14306.  
  14307. HELP CMDREF COPY
  14308.  
  14309. To view information about functions in the REXX Information, enter the 
  14310. following at the OS/2 command prompt: 
  14311.  
  14312. HELP REXX FUNCTIONS
  14313.  
  14314.  
  14315. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14316.  
  14317. HELP Command:  Topic Parameter 
  14318.  
  14319. Identifies the topic for which additional information is being requested. 
  14320.  
  14321. To view information about the COPY command, enter the following at the OS/2 
  14322. command prompt: 
  14323.  
  14324. HELP COPY
  14325.  
  14326.  
  14327. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14328.  
  14329. IF Command:  NOT Parameter 
  14330.  
  14331. Reverses the truth value of conditional parameters from true to false or false 
  14332. to true. 
  14333.  
  14334.  
  14335. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14336.  
  14337. IF Command: ERRORLEVEL Number Parameter 
  14338.  
  14339. True if the previous program had an exit code of number or higher. The number 
  14340. is specified as a decimal value. 
  14341.  
  14342.  
  14343. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14344.  
  14345. IF Command:  String Parameter 
  14346.  
  14347. True when the first string is identical to the second string. 
  14348.  
  14349. The corresponding characters of each string must both be uppercase or lowercase 
  14350. to be identical. 
  14351.  
  14352. A blank string is not valid syntax. 
  14353.  
  14354.  
  14355. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14356.  
  14357. IF Command:  EXIST Filename Parameter 
  14358.  
  14359. True if the file name is found in the specified directory.  Global file-name 
  14360. characters (? and *) are allowed as a file name. 
  14361.  
  14362.  
  14363. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14364.  
  14365. IF Command:  Command Parameter 
  14366.  
  14367. Specifies the OS/2 command to be run when one of the conditional parameters 
  14368. listed is true. 
  14369.  
  14370.  
  14371. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14372.  
  14373. IFS Command:  Drive, Path, and Filename Parameters 
  14374.  
  14375. Specifies the drive, path, and file name of the file system program. This 
  14376. program contains the parameters needed to work with disks formatted for a 
  14377. particular file system. 
  14378.  
  14379.  
  14380. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14381.  
  14382. IFS Command:  Arguments Parameter 
  14383.  
  14384. Specifies the parameters of the identified file system driver. 
  14385.  
  14386.  
  14387. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14388.  
  14389. IFS Command:  Drive, Path, and Filename Parameters 
  14390.  
  14391. Specifies the drive, path, and file name of the file system program. For HPFS, 
  14392. The program is HPFS.IFS. 
  14393.  
  14394. To install the High Performance File System, the OS/2 Installation program 
  14395. places the following statement in the CONFIG.SYS file: 
  14396.  
  14397. IFS=C:\OS2\HPFS.IFS /C:64
  14398.  
  14399.  
  14400. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14401.  
  14402. IFS Command:  /C Parameter 
  14403.  
  14404. Specifies the amount of memory in KB that is used for file system disk caching. 
  14405. If this parameter is omitted, the default value is 10% of the available 
  14406. physical memory. A dash (-) may be used in place of a slash (/) 
  14407.  
  14408. To install the High Performance File System, the OS/2 Installation program 
  14409. places the following statement in the CONFIG.SYS file: 
  14410.  
  14411. IFS=C:\OS2\HPFS.IFS /C:64
  14412.  
  14413.  
  14414. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14415.  
  14416. IFS Command:  /AUTOCHECK Parameter 
  14417.  
  14418. Specifies the drives that the operating system checks at startup time to 
  14419. determine if the file system associated with a drive is in an inconsistent 
  14420. state. A file system could be in an inconsistent state when files were left 
  14421. open. This can happen when: 
  14422.  
  14423. o The computer was turned off without selecting the Shut down choice from the 
  14424.   menu of the desktop. 
  14425.  
  14426. o Electrical power to the computer was interrupted. 
  14427.  
  14428. The OS/2 operating system runs the CHKDSK program with the /F option to correct 
  14429. any problem caused by improper system shutdown. Each time you format a drive 
  14430. for the High Performance File System, the operating system updates the IFS 
  14431. statement in the CONFIG.SYS file with the appropriate AUTOCHECK parameter. 
  14432.  
  14433. Assume the following statement appears in the CONFIG.SYS file: 
  14434.  
  14435. IFS=C:\OS2\HPFS.IFS /C:64 /AUTOCHECK:DF
  14436.  
  14437. Each time it starts, the operating system checks drives D and F; if necessary, 
  14438. it runs the CHKDSK program. 
  14439.  
  14440.  
  14441. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14442.  
  14443. IFS Command:  /CRECL:x Parameter 
  14444.  
  14445. Specifies the maximum record size for caching where the maximum record size (x) 
  14446. is a multiple of 2KB.  The smallest maximum record size for caching is 2KB and 
  14447. the largest is 64KB.  The default is 4KB. 
  14448.  
  14449. To set the cache size to 64KB and the maximum record size to 4KB, type the 
  14450. following in the CONFIG.SYS file: 
  14451.  
  14452. IFS=C:\OS2\HPFS.IFS /C:64 /CRECL:4
  14453.  
  14454.  
  14455. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14456.  
  14457. An actual DOS program product that is purchased independently of the OS/2 
  14458. operating system such as IBM DOS Version 5.0.  You can run these programs with 
  14459. the OS/2 operating system by starting a DOS session with a specific DOS 
  14460. version. 
  14461.  
  14462.  
  14463. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14464.  
  14465. IOPL Command:  YES and NO Parameters 
  14466.  
  14467. NO prevents I/O privilege from being granted; YES permits I/O privilege to be 
  14468. granted. 
  14469.  
  14470. To permit I/O privileges to processing programs, type the following in the 
  14471. CONFIG.SYS file: 
  14472.  
  14473. IOPL=YES
  14474.  
  14475.  
  14476. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14477.  
  14478. IOPL Command:  List Parameter 
  14479.  
  14480. Restricts the set of programs with this privilege. These are the names of the 
  14481. programs that require I/O privilege. Use a comma to separate the names of the 
  14482. programs. 
  14483.  
  14484. To allow I/O privileges to be granted to programs named PROC2 and PROC3, type 
  14485. the following in the CONFIG.SYS file: 
  14486.  
  14487. IOPL=PROC2,PROC3
  14488.  
  14489.  
  14490. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14491.  
  14492. JOIN Command:  Drive and Directory Parameters.
  14493.  
  14494. Identifies the drives that are joined.  The first drive is the one you want 
  14495. identified as the path on the second drive. 
  14496.  
  14497. To join drive A to the path C:\DRIVEA and access drive A as the DRIVEA 
  14498. subdirectory on drive C, enter the following: 
  14499.  
  14500. JOIN A: C:\DRIVEA
  14501.  
  14502.  
  14503. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14504.  
  14505. JOIN Command:  /D Parameter 
  14506.  
  14507. Turns off a JOIN action. 
  14508.  
  14509. To turn off the JOIN action on drive A, enter the following: 
  14510.  
  14511. JOIN A: /D
  14512.  
  14513.  
  14514. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14515.  
  14516. KEYB Command:  Layout Parameter 
  14517.  
  14518. Specifies the keyboard layout.  The values are as follows: 
  14519.  
  14520. AR      Arabic 
  14521.  
  14522. BE      Belgium 
  14523.  
  14524. BR      Brazil 
  14525.  
  14526. CF      Canada (French) 
  14527.  
  14528. CS      Czechoslovakia 
  14529.  
  14530. DK      Denmark 
  14531.  
  14532. SU      Finland 
  14533.  
  14534. FR      France 
  14535.  
  14536. GR      Germany 
  14537.  
  14538. HE      Hebrew 
  14539.  
  14540. HU      Hungary 
  14541.  
  14542. IS      Iceland 
  14543.  
  14544. IT      Italy 
  14545.  
  14546. JP      Japan 
  14547.  
  14548. KR      Republic of Korea 
  14549.  
  14550. LA      Latin America 
  14551.  
  14552. NL      Netherlands 
  14553.  
  14554. NO      Norway 
  14555.  
  14556. PL      Poland 
  14557.  
  14558. PO      Portugal 
  14559.  
  14560. SP      Spain 
  14561.  
  14562. SV      Sweden 
  14563.  
  14564. SF      Switzerland (French) 
  14565.  
  14566. SG      Switzerland (German) 
  14567.  
  14568. TR      Turkey 
  14569.  
  14570. TW      Republic of China 
  14571.  
  14572. UK      United Kingdom 
  14573.  
  14574. US      United States 
  14575.  
  14576. YU      Yugoslavia 
  14577.  
  14578. To switch to the Portuguese keyboard using the keyboard layout, PO, type the 
  14579. following: 
  14580.  
  14581. KEYB PO
  14582.  
  14583.  
  14584. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14585.  
  14586. KEYB Command:  Subcountry Parameter 
  14587.  
  14588. Specifies a specific keyboard layout for countries that have more than one 
  14589. layout.  The subcountry codes for those countries are as follows: 
  14590.  
  14591. 243, 245       Czechoslovakia 
  14592.  
  14593. 189, 120       France 
  14594.  
  14595. 141, 142       Italy 
  14596.  
  14597. 166, 168       United Kingdom 
  14598.  
  14599. If you do not specify a subcountry code for these countries, the OS/2 operating 
  14600. system uses the first subcountry code listed. 
  14601.  
  14602. To switch to the French keyboard using the French keyboard layout, FR, and the 
  14603. French enhanced keyboard, 120, type the following in the CONFIG.SYS file: 
  14604.  
  14605. KEYB FR 120
  14606.  
  14607.  
  14608. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14609.  
  14610. KEYS Command:  ON and OFF Parameters 
  14611.  
  14612. (ON) Permits previous commands to be retrieved, changed, and reissued. 
  14613.  
  14614. To enable the retrieving, changing and reissuing of commands, enter the 
  14615. following: 
  14616.  
  14617. KEYS ON
  14618.  
  14619. (OFF) Prevents previously issued commands from being retrieved. 
  14620.  
  14621. To stop retrieving commands, enter the following: 
  14622.  
  14623. KEYS OFF
  14624.  
  14625.  
  14626. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14627.  
  14628. KEYS Command:  List Parameter 
  14629.  
  14630. Causes a list of previously issued commands to appear. 
  14631.  
  14632. To display the list of commands in the queue, enter the following: 
  14633.  
  14634. KEYS LIST
  14635.  
  14636. Note:   KEYS LIST only displays commands entered and stored at the command 
  14637.         prompt when KEYS ON is active.  They are stored there until KEYS ON is 
  14638.         issued again. 
  14639.  
  14640.  
  14641. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14642.  
  14643. LABEL Command:  Drive Parameter 
  14644.  
  14645. Specifies the disk to be labeled. 
  14646.  
  14647. To display the volume label of drive A and be prompted by the system for the 
  14648. new label, enter the following: 
  14649.  
  14650. LABEL A:
  14651.  
  14652.  
  14653. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14654.  
  14655. LABEL Command:  Label Parameter 
  14656.  
  14657. Specifies the volume label that identifies the disk.  This can be up to 11 
  14658. characters.  All characters acceptable in file names are acceptable in the 
  14659. volume label.  Unlike file names, however, the volume label does not contain a 
  14660. period between the eighth and ninth characters. 
  14661.  
  14662. To create a volume-label name of FIXEDISKC for your hard disk, drive C, type 
  14663. the following: 
  14664.  
  14665. LABEL C:FIXEDISKC
  14666.  
  14667.  
  14668. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14669.  
  14670. LASTDRIVE Command:  x Parameter 
  14671.  
  14672. Specifies a drive letter from A through Z.  The minimum value for this 
  14673. parameter is the letter that specifies the number of drives installed on your 
  14674. system.  For example, one drive = A, two drives = B, and so on. 
  14675.  
  14676. To set the last drive = to M, giving your system access to 13 logical drives, 
  14677. type the following in the CONFIG.SYS file: 
  14678.  
  14679. LASTDRIVE=M
  14680.  
  14681.  
  14682. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14683.  
  14684. LIBPATH Command:  Drive and Path Parameters 
  14685.  
  14686. Specifies a directory to be searched for dynamic link libraries. You can search 
  14687. for more than one directory by specifying additional paths, separated by 
  14688. semicolons. The paths are searched in the order specified. 
  14689.  
  14690. To specify the LIB subdirectory as the directory to be searched for dynamic 
  14691. link libraries, type the following in the CONFIG.SYS file: 
  14692.  
  14693. LIBPATH=C:\;C:\LIB;
  14694.  
  14695.  
  14696. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14697.  
  14698. LOADHIGH Command:  Drive and Path Parameter 
  14699.  
  14700. Specifies the drive and directory of the DOS TSR program to be loaded into an 
  14701. upper memory block (UMB). 
  14702.  
  14703.  
  14704. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14705.  
  14706. LOADHIGH Command:  Filename Parameters 
  14707.  
  14708. Specifies the complete name of the DOS TSR program to be loaded into an upper 
  14709. memory block (UMB). 
  14710.  
  14711.  
  14712. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14713.  
  14714. LOADHIGH Command:  Arguments Parameter 
  14715.  
  14716. Specifies optional parameters for the TSR program to be run. 
  14717.  
  14718. To load the APPEND program with the parameters C:\OS2 and C:\TOOLS into a UMB, 
  14719. enter the following: 
  14720.  
  14721. LOADHIGH APPEND C:\OS2;C:\TOOLS
  14722.  
  14723.  
  14724. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14725.  
  14726. MAKEINI Command:  User and System Parameters 
  14727.  
  14728. If you receive a message stating that the OS2.INI file is corrupted, the 
  14729. OS2.INI file installed on your system must be replaced by another valid copy of 
  14730. the OS2.INI file. 
  14731.  
  14732. To re-create the user and system OS2SYS.INI files follow the steps listed in 
  14733. the examples push button. 
  14734.  
  14735. To re-create a new user INI file, enter: 
  14736.  
  14737. MAKEINI OS2.INI INI.RC
  14738.  
  14739. To re-create a new system INI file, enter: 
  14740.  
  14741. MAKEINI OS2SYS.INI INISYS.RC
  14742.  
  14743.  
  14744. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14745.  
  14746. MAXWAIT Command:  x Parameter 
  14747.  
  14748. Specifies the number of seconds that must elapse before a regular class thread 
  14749. that is waiting to access the processor receives an increase in priority. 
  14750.  
  14751. You can specify a number from 1 through 255. 
  14752.  
  14753. To cause a process to wait up to 15 seconds before it receives a temporary 
  14754. increase in priority, type the following in the CONFIG.SYS file: 
  14755.  
  14756. MAXWAIT=15
  14757.  
  14758.  
  14759. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14760.  
  14761. MEM Command: /P Parameter 
  14762.  
  14763. Displays the status of programs that are currently loaded into memory. 
  14764.  
  14765.  
  14766. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14767.  
  14768. MEM Command: /D Parameter 
  14769.  
  14770. Displays the status of currently loaded programs, internal drivers, and other 
  14771. programming information. 
  14772.  
  14773.  
  14774. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14775.  
  14776. MEM Command: /C Parameter 
  14777.  
  14778. Displays the status of programs loaded into conventional memory and the upper 
  14779. memory area. 
  14780.  
  14781.  
  14782. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14783.  
  14784. MEMMAN Command:  SWAP and NOSWAP Parameters 
  14785.  
  14786. Permits segment swapping (SWAP) or prevents segment swapping (NOSWAP). 
  14787.  
  14788. To permit segment swapping, type the following in the CONFIG.SYS file: 
  14789.  
  14790. MEMMAN=SWAP
  14791.  
  14792. To run a time-dependent application and prevent the OS/2 operating system from 
  14793. swapping the contents of storage to disk, type the following in the CONFIG.SYS 
  14794. file: 
  14795.  
  14796. MEMMAN=NOSWAP
  14797.  
  14798.  
  14799. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14800.  
  14801. MEMMAN Command:  MOVE and NOMOVE Parameters 
  14802.  
  14803. These parameters are provided for OS/2 1.3 compatibility. 
  14804.  
  14805.  
  14806. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14807.  
  14808. MEMMAN Command:  PROTECT Parameter 
  14809.  
  14810. Enables certain APIs to allocate and use protected memory.  This action can 
  14811. also be called protected dynalinks. 
  14812.  
  14813.  
  14814. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14815.  
  14816. MKDIR Command:  Drive and Path Parameters 
  14817.  
  14818. Specifies the drive and directory name. 
  14819.  
  14820. To make a subdirectory named REPORTS within the root directory on drive C, 
  14821. enter the following: 
  14822.  
  14823. MD C:\REPORTS
  14824.  
  14825. You can also create more than one directory at a time. 
  14826.  
  14827. To make two separate directories named FIRST and SECOND in the root directory 
  14828. on drive C, enter the following: 
  14829.  
  14830. MD C:\FIRST C:\SECOND
  14831.  
  14832.  
  14833. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14834.  
  14835. MODE Command:  Device Parameter 
  14836.  
  14837. Specifies the complete name of the device. 
  14838.  
  14839.  
  14840. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14841.  
  14842. MODE Command:  Arguments Parameter 
  14843.  
  14844. Specifies the parameters of the identified device. 
  14845.  
  14846.  
  14847. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14848.  
  14849. MODE Command:  COM# Parameter 
  14850.  
  14851. Specifies the asynchronous communication port numbers (1 through 4). 
  14852.  
  14853. To query the status of asynchronous COM port 1, type the following: 
  14854.  
  14855. MODE COM1
  14856.  
  14857. You can specify port numbers 1 through 4. 
  14858.  
  14859.  
  14860. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14861.  
  14862. MODE Command:  Baud Parameter 
  14863.  
  14864. Specifies the transmission rate on COM ports where the hardware capabilities of 
  14865. DMA are not supported by the system.  The transmission rate can be: 110, 150, 
  14866. 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400, or 57600.  On 
  14867. COM ports where the hardware capabilities of DMA are supported by the system, 
  14868. the baud rates supported can be: 300, 600, 1200, 2400, 4800, 9600, 19200, 
  14869. 38400, 57600, 76800, 115200, 138240, 172800, 230400, or 345600. (It is not 
  14870. necessary to type the ending zeros for the high baud rates).  The availability 
  14871. of this support can be determined by querying the current status of a COM port. 
  14872. If a COM port has this capability, the status will be displayed as ENHANCED=ON 
  14873. together with the RXDMA=, TXDMA= parameter strings.  (You must specify at least 
  14874. the first two digits of the desired rate).  If you do not specify a 
  14875. transmission rate, the default is 1200. 
  14876.  
  14877. Note:   The Async device driver is designed to handle high baud rates under 
  14878.         optimum conditions.  To achieve successful data transfer operations at 
  14879.         high baud rates, the following conditions should be met: 
  14880.  
  14881. o The connecting cables should be free from electrical noise. 
  14882. o The DMA capability should be available. 
  14883. o Other programs should not be active on the system because operations at high 
  14884.   baud rates require many processor cycles. 
  14885. o There should be no overflow of the receive buffer of the Async device driver. 
  14886. o Applications should not use the Error or Break Replacement options. 
  14887.  
  14888.  
  14889. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14890.  
  14891. MODE Command:  Parity Parameter 
  14892.  
  14893. Specifies the following values: N (none), O (odd), E (even), M (mark), or S 
  14894. (space).  None means that there is no parity bit. Odd means odd parity; even 
  14895. means even parity. Mark parity means that the parity bit is always 1. Space 
  14896. parity means that the parity bit is always 0. If parity is not specified, the 
  14897. default is E. 
  14898.  
  14899.  
  14900. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14901.  
  14902. Mode Command:  Databits Parameter 
  14903.  
  14904. Specifies the value of data bits. The values are 5, 6, 7, or 8 bits of data, 
  14905. with the default of 7. 
  14906.  
  14907.  
  14908. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14909.  
  14910. MODE Command:  Stopbits Parameter 
  14911.  
  14912. Specifies the value of stop bits.  Values are 1, 1.5, or 2. Either 1 or 1.5 is 
  14913. valid if databits is specified as 5. If stopbits is specified as 1.5, only 5 is 
  14914. valid for databits. The default for this parameter is 2 when the baud rate is 
  14915. 110; otherwise, the default is 1. 
  14916.  
  14917.  
  14918. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14919.  
  14920. MODE Command:  P Parameter 
  14921.  
  14922. In a DOS session, specifies a time-out value of approximately 30 seconds for 
  14923. DOS programs that go directly to the hardware. The P parameter does not provide 
  14924. infinite retries as in previous versions of DOS. 
  14925.  
  14926.  
  14927. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14928.  
  14929. MODE Command:  TO Parameter 
  14930.  
  14931. Specifies the type of processing.  ON allows write infinite timeout processing. 
  14932. If OFF is specified, normal timeout processing is done. The default mode is 
  14933. TO=OFF, which causes a timeout to occur in 60 seconds. 
  14934.  
  14935. To ensure that a printer write timeout never occurs, enter the following: 
  14936.  
  14937. MODE COM1:12,,,,TO=ON
  14938.  
  14939.  
  14940. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14941.  
  14942. MODE Command:  XON Parameter 
  14943.  
  14944. Sets automatic transmit flow control. This mode of operation involves receiving 
  14945. special characters in order to control the flow of data. ON allows and OFF 
  14946. prevents automatic transmit flow control.  The default mode is XON=OFF.  If 
  14947. this parameter is not specified, its current value is unchanged. 
  14948.  
  14949. To prevent automatic transmit flow control, enter the following: 
  14950.  
  14951. MODE COM1:12,,,,XON=OFF
  14952.  
  14953.  
  14954. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14955.  
  14956. MODE Command:  IDSR Parameter 
  14957.  
  14958. Sets input handshaking using 'data set ready' (DSR).  ON allows and OFF 
  14959. prevents input handshaking using 'data set ready' (DSR).  The default mode is 
  14960. IDSR=ON.  If this parameter is not specified, its current value is unchanged. 
  14961.  
  14962. To allow input handshaking using DSR, enter the following: 
  14963.  
  14964. MODE COM1:12,,,,IDSR=ON
  14965.  
  14966.  
  14967. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14968.  
  14969. MODE Command:  ODSR Parameter 
  14970.  
  14971. Sets output handshaking using 'data set ready' (DSR).  ON allows and OFF 
  14972. prevents output handshaking using 'data set ready' (DSR).  The default mode is 
  14973. ODSR=ON.  If this parameter is not specified, its current value is unchanged. 
  14974.  
  14975. To allow output handshaking using DSR, enter the following: 
  14976.  
  14977. MODE COM1:12,,,,ODSR=ON
  14978.  
  14979.  
  14980. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14981.  
  14982. MODE Command:  OCTS Parameter 
  14983.  
  14984. Sets output handshaking using 'clear to send' (CTS).  ON allows and OFF 
  14985. prevents output handshaking using 'clear to send' (CTS).  The default mode is 
  14986. OCTS=ON.  If this parameter is not specified, its current value is unchanged. 
  14987.  
  14988. To allow output handshaking using CTS, enter the following: 
  14989.  
  14990. MODE COM1:12,,,,OCTS=OFF
  14991.  
  14992.  
  14993. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14994.  
  14995. MODE Command:  DTR Parameter 
  14996.  
  14997. Sets 'data terminal ready' (DTR).  ON allows 'data terminal ready' (DTR), OFF 
  14998. prevents DTR, and HS allows input handshaking using DTR.  The default mode is 
  14999. DTR=ON. If this parameter is not specified, its current value is unchanged. 
  15000.  
  15001. To allow data terminal ready, enter the following: 
  15002.  
  15003. MODE COM1:12,,,,DTR=ON
  15004.  
  15005.  
  15006. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15007.  
  15008. MODE Command:  RTS Parameter 
  15009.  
  15010. Sets 'request to send' (RTS).  ON allows 'request to send' (RTS), OFF prevents 
  15011. RTS, HS allows input handshaking using RTS, and TOG allows RTS toggling on 
  15012. transmit mode.  The default mode is RTS=ON.  If this parameter is not 
  15013. specified, its current value is unchanged. 
  15014.  
  15015. To allow RTS toggling in transmit mode, enter the following: 
  15016.  
  15017. MODE COM1:12,,,,RTS=TOG
  15018.  
  15019.  
  15020. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15021.  
  15022. MODE Command:  BUFFER Parameter 
  15023.  
  15024. Sets extended hardware buffering.  The values are ON, OFF, and AUTO. 
  15025.  
  15026. ON enables extended hardware buffering.  This setting permits maximum device 
  15027. performance but may not be compatible with devices that require strict timing 
  15028. of events. 
  15029.  
  15030. OFF disables extended hardware buffering.  This is the default setting when the 
  15031. MODE command is issued to a serial port that does not support extended hardware 
  15032. buffering. 
  15033.  
  15034. AUTO sets the device driver to run in automatic protocol-override mode. This 
  15035. setting adjusts device-driver parameters, depending on the state of these 
  15036. device-driver protocols: 
  15037.  
  15038. o Output handshaking using CTS (Clear to Send) or DSR (Data Set Ready) 
  15039. o Input sensitivity using DSR 
  15040. o Automatic Transmit Flow Control (XON) 
  15041.  
  15042. In enhanced mode (ENHANCED=ON), the BUFFER= parameter cannot be used to set 
  15043. Extended Hardware Buffering, because the system automatically controls it for 
  15044. its maximum use. 
  15045.  
  15046. To permit maximum device performance, enter the following: 
  15047.  
  15048. MODE COM1:12,,,,BUFFER=AUTO
  15049.  
  15050.  
  15051. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15052.  
  15053. MODE Command:  ENHANCED Parameter 
  15054.  
  15055. Enables (ENHANCED=ON) or disables (ENHANCED=OFF) the enhanced mode support 
  15056. provided by the hardware on a COM port.  In enhanced mode, transfer operations 
  15057. are performed either in enhanced FIFO mode or in DMA mode.  In enhanced FIFO 
  15058. mode, the full capacity of the hardware FIFO buffer is automatically used and 
  15059. controlled by the system. 
  15060.  
  15061. In DMA mode, data transfer is done with the help of the DMA chip, which 
  15062. relieves much of the interrupt-driven system overhead, and the system can 
  15063. achieve the maximum performance gain.  If a COM port has this capability, the 
  15064. MODE command from the query status request displays an ENHANCED= string. 
  15065. Issuing this parameter to a COM port that does not have this capability will 
  15066. result in an error message.  The initial value of this parameter is ENHANCED=ON 
  15067. unless the user disables enhanced mode. 
  15068.  
  15069. The system can use the DMA capability and the advanced function features 
  15070. provided by the hardware serial device only in enhanced mode.  So, the system 
  15071. allows the user to disable the enhanced mode only when no DMA channel is 
  15072. simultaneously requested to a COM port.  When the enhanced mode is disabled, 
  15073. the system does not use the advanced function features of a COM port, and the 
  15074. hardware FIFO buffer is controlled by the BUFFER= parameter. 
  15075.  
  15076. To turn enhanced mode on, enter the following: 
  15077.  
  15078. MODE COM1:12,,,,ENHANCED=ON
  15079.  
  15080.  
  15081. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15082.  
  15083. MODE Command:  RXDMA Parameter 
  15084.  
  15085. This parameter controls the DMA receive operations and has three options: 
  15086.  
  15087. o AUTO - This is the initial default mode where the system automatically 
  15088.   controls the DMA receive operations.  In enhanced mode, the system attempts 
  15089.   to run receive operations in DMA mode.  If no available DMA channel exists, 
  15090.   then it reverts to enhanced FIFO mode operation.  When enhanced mode is off, 
  15091.   the system runs in conventional FIFO mode. 
  15092. o OFF - In enhanced mode, with DMA capability off, the system runs in enhanced 
  15093.   FIFO mode.  This feature is useful when the user wants to save the number of 
  15094.   available DMA channels to allow other devices or COM ports to use them.  For 
  15095.   example, the user might choose not to use a DMA channel for a low-baud 
  15096.   transmission rate, but save it for the port that is running with a higher 
  15097.   baud rate. 
  15098. o ON - If ON is requested, the system tries to assign a DMA channel to a COM 
  15099.   port for a receive operation.  If a DMA channel is unavailable at that 
  15100.   moment, the MODE command displays an error message.  A DMA channel cannot be 
  15101.   reassigned until RXDMA=AUTO or RXDMA=OFF is requested or until ENHANCED=OFF 
  15102.   is specified.  This option is valid in enhanced mode only. 
  15103.  
  15104. To turn on DMA receive operations, enter the following: 
  15105.  
  15106. MODE COM1:12,,,,RXDMA=ON
  15107.  
  15108.  
  15109. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15110.  
  15111. MODE Command:  TXDMA Parameter 
  15112.  
  15113. This parameter controls the DMA transmit operations and has three options: 
  15114.  
  15115. o AUTO - This is the initial default mode where the system automatically 
  15116.   controls the DMA transmit operations.  In enhanced mode, the system attempts 
  15117.   to run transmit operations in DMA mode.  If no available DMA channel exists, 
  15118.   then it reverts to enhanced FIFO mode operation.  When enhanced mode is off, 
  15119.   the system runs in conventional FIFO mode. 
  15120. o OFF - In enhanced mode, with DMA capability off, the system runs in enhanced 
  15121.   FIFO mode.  When the enhanced mode is off, the system does not use the 
  15122.   advanced function features provided by the serial device.  It runs in 
  15123.   conventional FIFO mode. 
  15124. o ON - If ON is requested, the system tries to assign a DMA channel to a COM 
  15125.   port for a transmit operation.  If a DMA channel is unavailable at that 
  15126.   moment, the MODE command displays an error message.  A DMA channel cannot be 
  15127.   reassigned until TXDMA=AUTO or TXDMA=OFF is requested or until ENHANCED=OFF 
  15128.   is specified.  This option is valid in enhanced mode only. 
  15129.  
  15130. To turn on DMA transmit operations, enter the following: 
  15131.  
  15132. MODE COM1:12,,,,TXDMA=ON
  15133.  
  15134.  
  15135. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15136.  
  15137. MODE Command:  CONx Parameter 
  15138.  
  15139. Specifies the display number that the current MODE command is being directed 
  15140. towards.  This parameter is designed for use on systems using more than one 
  15141. display.  Once the command has been issued, the CONx parameter does not have to 
  15142. be issued unless the next MODE command is going to address another display.  If 
  15143. your system has only one display, you do not need to use the CONx parameter 
  15144.  
  15145. To set a mode on display number 1: 
  15146.  
  15147. MODE CON1
  15148.  
  15149. To set a mode on display number 2: 
  15150.  
  15151. MODE CON2
  15152.  
  15153. Here are some examples using the CONx parameter: 
  15154.  
  15155. Set a color 80x43 mode on display number 1: 
  15156.  
  15157. MODE CON1 CO80,43
  15158.  
  15159. Set a monochrome mode on display number 2: 
  15160.  
  15161. MODE CON2 MONO
  15162.  
  15163. Set a color 80x50 mode on the first base video handler (BVH) display in the 
  15164. list that it supports: 
  15165.  
  15166. MODE CON0 CO80,50
  15167. or 
  15168.  
  15169. MODE CON CO80,50
  15170.  
  15171. The exception to the rule occurs if the MODE command is entered using the CONx 
  15172. parameter prior to issuing the preceding example.  If that occurs, the MODE 
  15173. command will be targeted to the display the CONx parameter was last directed 
  15174. to. 
  15175.  
  15176. The number used to designate the display number is based upon the order that 
  15177. the BVH displays are specified in the system's CONFIG.SYS file on the SET 
  15178. VIDEO_DEVICES= line. 
  15179.  
  15180. Support for CONx is restricted to OS/2 full-screen sessions only and does not 
  15181. have any effect on DOS or OS/2 window sessions. 
  15182.  
  15183.  
  15184. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15185.  
  15186. MODE Command:  Display Parameter 
  15187.  
  15188. Specifies the display mode.  The options are: 40, 80, 132, BW40, BW80, BW132, 
  15189. CO40, CO80, CO132, or MONO. The values 40, 80, and 132 specify a display width 
  15190. in number of characters per line.  CO and BW refer to a color graphics monitor 
  15191. adapter with color (CO) or without (BW). MONO specifies the monochrome mode, 
  15192. which always has a display of 80 characters per line.  The 132-character width 
  15193. is supported only by monitors with the XGA video adapter. 
  15194.  
  15195. VIO window sessions support only 80-column modes. 
  15196.  
  15197. To switch the active display adapter to the color graphics monitor adapter, 
  15198. enter the following: 
  15199.  
  15200. MODE CO40
  15201.  
  15202.  
  15203. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15204.  
  15205. MODE Command:  Rows Parameter 
  15206.  
  15207. Specifies the number of rows to select.  Valid values are 25, 43, or 50, 
  15208. depending on the display adapter attached.  For example, with an enhanced 
  15209. display adapter, you can specify a 43-line display: 
  15210.  
  15211. MODE CO80,43
  15212.  
  15213. If the rows parameter is not specified, the value does not change.  The initial 
  15214. value for rows is 25. The default is the last value you entered. 
  15215.  
  15216.  
  15217. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15218.  
  15219. MODE Command:  LPT# or PRN Parameter 
  15220.  
  15221. Specifies the printer number.  The pound sign (#) defines printer number 1, 2, 
  15222. or 3. PRN is an acceptable device name for LPT1. 
  15223.  
  15224. If you are using a network printer, the MODE command supports LPT4 through LPT9 
  15225. for printing to a network printer. 
  15226.  
  15227. To set up your printer as LPT1 and accept the system defaults (80 characters 
  15228. per line and 6 lines per vertical inch), enter the following: 
  15229.  
  15230. MODE LPT1 ,,,
  15231.  
  15232.  
  15233. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15234.  
  15235. MODE Command:  Chars Parameter 
  15236.  
  15237. Specifies the characters per line. The value is either 80 or 132. The default 
  15238. is 80. 
  15239.  
  15240. To set up your printer as LPT2 and use 132 characters per line and 8 lines per 
  15241. inch, enter the following: 
  15242.  
  15243. MODE LPT2 132,8,,
  15244.  
  15245.  
  15246. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15247.  
  15248. MODE Command:  Lines Parameter 
  15249.  
  15250. Specifies the lines per inch of vertical spacing. The value is either 6 or 8. 
  15251. The default is 6. 
  15252.  
  15253. To set up your printer as LPT2 and specify 8 lines per inch for vertical 
  15254. spacing, enter the following: 
  15255.  
  15256. MODE LPT2 ,8,,
  15257.  
  15258.  
  15259. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15260.  
  15261. MODE Command:  P Parameter 
  15262.  
  15263. Tells MODE to continuously try to send output to the printer if a timeout error 
  15264. occurs. 
  15265.  
  15266. To set up your printer as LPT2 and specify infinite retry, enter the following: 
  15267.  
  15268. MODE LPT2 ,,P
  15269.  
  15270.  
  15271. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15272.  
  15273. MODE Command:  State Parameter 
  15274.  
  15275. Sets diskette verification ON or OFF.  VER=ON turns on diskette verification; 
  15276. VER=OFF turns off diskette verification. 
  15277.  
  15278.  
  15279. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15280.  
  15281. MOVE Command:  Drive, Path, Filename Parameters 
  15282.  
  15283. The source drive is always the same as the target drive.  If no path is 
  15284. specified for the target file, MOVE uses the current directory. 
  15285.  
  15286. The first file specified is the source file.  The second file is the target 
  15287. file.  If the second parameter is a directory, files are moved into that 
  15288. directory and their names are not changed. 
  15289.  
  15290.  
  15291. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15292.  
  15293. PATCH Command:  Drive, Path, Filename Parameters 
  15294.  
  15295. With no options entered, specifies the name of the file to be patched 
  15296. interactively. 
  15297.  
  15298. With the /A option (applying a patch automatically), specifies the name of the 
  15299. file containing the instructions for patching one or more files. 
  15300.  
  15301.  
  15302. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15303.  
  15304. PATCH Command:  /A Parameter 
  15305.  
  15306. Specifies automatic mode.  In this mode, the filename parameter refers to a 
  15307. file that contains instructions for patching one or more files.  If /A is not 
  15308. specified, interactive mode is assumed. 
  15309.  
  15310.  
  15311. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15312.  
  15313. PATH Command:  Drive and Path Parameters 
  15314.  
  15315. Specifies the drives and directories to be searched. 
  15316.  
  15317. To search the MEMOS subdirectory on drive A and then search the REPORTS 
  15318. directory on drive C, enter the following: 
  15319.  
  15320. PATH A:\MEMOS;C:\REPORTS
  15321.  
  15322. You can use the current path to .CMD or batch files (in OS/2 sessions) as a 
  15323. replaceable parameter.  Assume you want to add the path to the ABC subdirectory 
  15324. on drive A to the existing path known to CMD.EXE.  Enter the following: 
  15325.  
  15326. PATH %PATH%;A:\ABC
  15327.  
  15328.  
  15329. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15330.  
  15331. PAUSE Command:  Comment Parameter 
  15332.  
  15333. Specifies a comment to be displayed during the pause in processing.  It is 
  15334. displayed in a batch file only if ECHO is ON. 
  15335.  
  15336. To suspend processing of your commands in a batch file so that you can change 
  15337. diskettes, type the following in your batch file: 
  15338.  
  15339. ECHO CHANGE DISKETTE IN DRIVE A
  15340. PAUSE
  15341.  
  15342.  
  15343. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15344.  
  15345. PAUSEONERROR Command:  YES and NO Parameters 
  15346.  
  15347. YES causes the system to pause.  If errors have been detected in the CONFIG.SYS 
  15348. file, the system pauses before starting the specified user interface or command 
  15349. processor and displays a prompt. Processing does not continue until you press 
  15350. Enter. 
  15351.  
  15352. NO prevents the system from pausing before starting the user interface or 
  15353. command processor. 
  15354.  
  15355. If if there is not a PAUSEONERROR statement in the CONFIG.SYS file, the default 
  15356. is true, and PAUSEONERROR is equal to YES. 
  15357.  
  15358. To pause the screen and read any error messages generated during the processing 
  15359. of the CONFIG.SYS file, enter the following: 
  15360.  
  15361. PAUSEONERROR=YES
  15362.  
  15363.  
  15364. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15365.  
  15366. PICVIEW Command:  Drive, Path, Filename Parameters 
  15367.  
  15368. Specifies the drive, directory, and name of the picture file to be viewed. 
  15369.  
  15370.  
  15371. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15372.  
  15373. PICVIEW Command:  /P Parameter 
  15374.  
  15375. Sends the specified picture file to be printed. 
  15376.  
  15377.  
  15378. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15379.  
  15380. PICVIEW Command:  /S Parameter 
  15381.  
  15382. Specifies that the Picture Viewer window is to return to the default position 
  15383. on the screen. 
  15384.  
  15385.  
  15386. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15387.  
  15388. PMREXX Command:  Drive, Path, Filename Parameters 
  15389.  
  15390. Specifies the drive, directory, and file name of the .CMD file to be displayed. 
  15391.  
  15392.  
  15393. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15394.  
  15395. PMREXX Command:  Arguments Parameter 
  15396.  
  15397. Specifies the arguments that are indicated in REXX programs, such as other OS/2 
  15398. commands or environment variables to be displayed as output by PMREXX. 
  15399.  
  15400. To display the current PATH and DPATH statements in the CONFIG.SYS file that 
  15401. you have indicated in the REXX program, SAMPLE.CMD, enter the following: 
  15402.  
  15403. PMREXX Sample PATH DPATH
  15404.  
  15405.  
  15406. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15407.  
  15408. PRINT Command:  /D:device Parameter 
  15409.  
  15410. Specifies the print device.  If not specified, the default device is LPT1. The 
  15411. acceptable device names are PRN, LPT1, LPT2, and LPT3. 
  15412.  
  15413. If you are using a network printer, the PRINT command supports LPT4 through 
  15414. LPT9 for printing to a network printer. 
  15415.  
  15416. To print a file named C:\LISTING\REPORT.STA on the LPT2 print device, enter the 
  15417. following: 
  15418.  
  15419. PRINT /D:LPT2 C:\LISTING\REPORT.STA
  15420.  
  15421.  
  15422. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15423.  
  15424. PRINT Command:  /B Parameter 
  15425.  
  15426. Prevents Ctrl+Z characters in the file from being interpreted as end-of-file 
  15427. indicators.  The entire file is printed as is, without end-of-file character 
  15428. (Ctrl+Z) processing. 
  15429.  
  15430. To prevent Ctrl+Z characters from being interpreted as end-of-file characters 
  15431. when a file named LISTING prints, enter the following: 
  15432.  
  15433. PRINT /B LISTING
  15434.  
  15435.  
  15436. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15437.  
  15438. PRINT Command:  Drive, Path, Filename Parameters 
  15439.  
  15440. Specifies the complete name of the file to be printed, including the drive and 
  15441. directory where the file is located. 
  15442.  
  15443. To print a file named REPORTS in the current directory, enter the following: 
  15444.  
  15445. PRINT REPORTS
  15446.  
  15447. A file name is not required when using the /C and /T parameters. 
  15448.  
  15449.  
  15450. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15451.  
  15452. PRINT Command:  /C Parameter 
  15453.  
  15454. Cancels the file that is currently printing if spooling is active for the 
  15455. specified device. The /C parameter works only in OS/2 sessions. 
  15456.  
  15457. To cancel the file that is currently printing on LPT1 (the default print 
  15458. device), enter the following: 
  15459.  
  15460. PRINT /C
  15461.  
  15462.  
  15463. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15464.  
  15465. PRINT Command:  /T Parameter 
  15466.  
  15467. Cancels all files waiting to be printed and the job currently printing if 
  15468. spooling is active for the specified device. The /T parameter works only in 
  15469. OS/2 sessions. 
  15470.  
  15471. To cancel all files in the LPT2 print queue and any file currently printing, 
  15472. enter the following: 
  15473.  
  15474. PRINT /D:LPT2 /T
  15475.  
  15476.  
  15477. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15478.  
  15479. PRINTMONBUFSIZE Command:  x Parameter 
  15480.  
  15481. Specifies the size of the parallel-port device-driver buffer.  Each x 
  15482. corresponds to LPT1, LPT2, and LPT3 character monitor buffer size (in bytes) 
  15483. respectively.  The minimum value permitted is 134 and the maximum value is 
  15484. 2048.  If you specify a value that is outside the valid range, a default value 
  15485. of 134 is used. 
  15486.  
  15487. To set the parallel-port device-driver buffer size for LPT1 as 2048 bytes, for 
  15488. LPT2 as 134 bytes, and for LPT3 as 134 bytes, type the following in the 
  15489. CONFIG.SYS file: 
  15490.  
  15491. PRINTMONBUFSIZE=2048,134,134
  15492.  
  15493.  
  15494. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15495.  
  15496. PRIORITY Command:  ABSOLUTE and DYNAMIC Parameters 
  15497.  
  15498. Provides absolute priority calculation or results in a dynamic calculation of 
  15499. priorities.  The default is DYNAMIC. 
  15500.  
  15501. To change the PRIORITY statement so the OS/2 operating system does not vary the 
  15502. priorities of threads as they are running, type the following in the CONFIG.SYS 
  15503. file: 
  15504.  
  15505. PRIORITY=ABSOLUTE
  15506.  
  15507.  
  15508. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15509.  
  15510. PRIORITY_DISK_IO Command:  YES and NO Parameters 
  15511.  
  15512. YES specifies that applications running in the foreground are to receive 
  15513. priority for disk access over applications running in the background. 
  15514.  
  15515. NO specifies that all applications (foreground and background) are to be 
  15516. treated equally with regard to disk access.  The default is YES. 
  15517.  
  15518. To specify that applications in the foreground are to receive priority for disk 
  15519. access, type the following in the CONFIG.SYS file: 
  15520.  
  15521. PRIORITY_DISK_IO=YES
  15522.  
  15523. To specify that all applications (foreground and background) are to be treated 
  15524. equally with regard to disk access, type the following in the CONFIG.SYS file: 
  15525.  
  15526. PRIORITY_DISK_IO=NO
  15527.  
  15528.  
  15529. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15530.  
  15531. PROMPT Command:  Text Parameter 
  15532. The system command prompt can contain any of the following special characters. 
  15533. You must precede each character with a dollar sign ($): 
  15534.  
  15535. $     The $ character 
  15536. _     A carriage-return line-feed sequence 
  15537. A     The & character 
  15538. B     The | character 
  15539. C     The ( character 
  15540. D     The current date 
  15541. E     ASCII code 27 (escape) 
  15542. F     The ) character 
  15543. G     The > character 
  15544. H     The backspace symbol 
  15545. I     The help line 
  15546. L     The < character 
  15547. N     The default drive 
  15548. P     The current directory of the default drive 
  15549. Q     The = character 
  15550. R     The return code 
  15551. S     A space character 
  15552. T     The current time 
  15553. V     The version number 
  15554.  
  15555.  
  15556. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15557.  
  15558. PROTECTONLY Command:  NO and YES Parameters 
  15559.  
  15560. Selects both DOS and OS/2 operating environments (NO), or selects OS/2 sessions 
  15561. only (YES).  The default is NO. 
  15562.  
  15563. To set up your system for OS/2 sessions only, type the following in the 
  15564. CONFIG.SYS file: 
  15565.  
  15566. PROTECTONLY=YES
  15567.  
  15568. To set up your system for both OS/2 and DOS sessions, type the following in the 
  15569. CONFIG.SYS file: 
  15570.  
  15571. PROTECTONLY=NO
  15572.  
  15573.  
  15574. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15575.  
  15576. PROTSHELL Command:  Filename Parameter 
  15577.  
  15578. Represents the complete name of the file, including its extension, that 
  15579. contains the user interface. 
  15580.  
  15581.  
  15582. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15583.  
  15584. PROTSHELL Command:  Arguments Parameter 
  15585.  
  15586. Specifies the parameters required by the user interface. The standard OS/2 user 
  15587. interface requires the name of the Presentation Manager* configuration file, 
  15588. the name of the Presentation Manager program file, and the name of the OS/2 
  15589. command processor. 
  15590.  
  15591.  
  15592. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15593.  
  15594. PSTAT Command:  /C Parameter 
  15595.  
  15596. Displays the current process and thread-related information on the system. For 
  15597. each process, displays the following: 
  15598.  
  15599. o Process ID 
  15600. o Parent process ID 
  15601. o Session ID 
  15602. o Process name 
  15603.  
  15604. For each thread, displays the following: 
  15605.  
  15606. o Thread ID 
  15607. o Thread state 
  15608. o Thread priority 
  15609. o Block ID 
  15610.  
  15611.  
  15612. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15613.  
  15614. PSTAT Command:  /S Parameter 
  15615.  
  15616. Displays system-semaphore information for each thread.  For each thread, 
  15617. displays the following: 
  15618.  
  15619. o Process module name 
  15620. o Process ID 
  15621. o Session 
  15622. o Index 
  15623. o Number of references 
  15624. o Number of requests 
  15625. o Flag 
  15626. o Name of the system semaphore 
  15627.  
  15628.  
  15629. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15630.  
  15631. PSTAT Command:  /L Parameter 
  15632.  
  15633. Displays the dynamic-link libraries for each process. 
  15634.  
  15635. o Process module name 
  15636. o Process ID 
  15637. o Session ID 
  15638. o Library list 
  15639.  
  15640.  
  15641. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15642.  
  15643. PSTAT Command:  /M Parameter 
  15644.  
  15645. Displays shared information for each process. 
  15646.  
  15647. o Handle 
  15648. o Selector 
  15649. o Number of references 
  15650. o Name of the shared memory 
  15651.  
  15652.  
  15653. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15654.  
  15655. PSTAT Command:  /P:pid Parameter 
  15656.  
  15657. Displays information related to the ID of the specified process. 
  15658.  
  15659. o Process ID 
  15660. o Parent process ID 
  15661. o Session ID 
  15662. o Process module name 
  15663. o Dynamic-link libraries 
  15664. o Shared memory data 
  15665.  
  15666. For each thread associated with the process, displays the following: 
  15667.  
  15668. o Thread ID 
  15669. o Thread priority 
  15670. o Thread status 
  15671. o Block ID 
  15672. o Semaphore information 
  15673.  
  15674.  
  15675. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15676.  
  15677. RECOVER Command:  Drive, Path, Filename Parameters 
  15678.  
  15679. Specifies the complete name of the file to be recovered.  You can recover one 
  15680. or more files. 
  15681.  
  15682. To recover a file named LETTER.TXT in the root directory of drive A, enter the 
  15683. following: 
  15684.  
  15685. RECOVER A:\LETTER.TXT
  15686.  
  15687. To recover all the files on drive A, enter the following: 
  15688.  
  15689. RECOVER A:
  15690.  
  15691.  
  15692. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15693.  
  15694. REM Command:  Comment Parameter 
  15695.  
  15696. Contains any string of up to 123 characters. 
  15697.  
  15698. To display REM and the remark, THIS IS AN INVENTORY PROGRAM, from within a 
  15699. batch file, type the following: 
  15700.  
  15701. REM THIS IS AN INVENTORY PROGRAM
  15702.  
  15703. To prevent the OS/2 operating system from interpreting the piping symbol (|), 
  15704. enclose it in double quotes. 
  15705.  
  15706. REM USE DOUBLE QUOTES "|" DIR
  15707.  
  15708.  
  15709. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15710.  
  15711. RENAME Command:  Drive, Path, Filename Parameters 
  15712.  
  15713. Specifies the file to be renamed (filename1) and specifies the new filename 
  15714. (filename2).  The filename may also be the name of a directory you want to 
  15715. rename. Specify a path only with the first directory name (filename1 
  15716. parameter). Do not use the global file-name characters (* and ?) when renaming 
  15717. a directory. 
  15718.  
  15719. To change the name of a file from MEMOS to LETTERS in the current directory on 
  15720. the current drive, enter the following: 
  15721.  
  15722. REN MEMOS LETTERS
  15723.  
  15724. To change the extension of all files in the current directory of the current 
  15725. drive from .OLD to .NEW, enter the following: 
  15726.  
  15727. REN *.OLD *.NEW
  15728.  
  15729. To rename a program named MY.COM in the LEVEL1 subdirectory on drive B to 
  15730. YOUR.COM, enter the following: 
  15731.  
  15732. REN B:\LEVEL1\MY.COM YOUR.COM
  15733.  
  15734.  
  15735. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15736.  
  15737. REPLACE Command:  Drive, Path, Filename Parameters 
  15738.  
  15739. Specifies the file from the source drive and directory that is to replace a 
  15740. file on the target drive and directory. 
  15741.  
  15742. To replace the LETTERS file on drive A with the LETTERS file on drive C, enter 
  15743. the following: 
  15744.  
  15745. REPLACE C:LETTERS A:
  15746.  
  15747. You can also use the global characters * and ? when specifying a file name. 
  15748.  
  15749. To replace all files on drive C that have an extension of .EXE with files from 
  15750. drive A that have the same file name and extension, enter the following: 
  15751.  
  15752. REPLACE A:*.EXE C:
  15753.  
  15754.  
  15755. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15756.  
  15757. REPLACE Command:  /A Parameter 
  15758.  
  15759. Copies all files specified by the source that do not exist on the target.  This 
  15760. allows you to add files to the target without overwriting the files that 
  15761. already exist on the target. You cannot use /A and /S together. 
  15762.  
  15763. To copy all files from the current directory on drive C (that do not exist on 
  15764. drive A) to drive A, without overwriting the files that currently exist on 
  15765. drive A, enter the following: 
  15766.  
  15767. REPLACE C:*.* A: /A
  15768.  
  15769.  
  15770. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15771.  
  15772. REPLACE Command:  /S Parameter 
  15773.  
  15774. Searches all directories of the target drive and path for the files matching 
  15775. the file name specified. If only the target drive is specified, the default 
  15776. path is assumed. You cannot use /A and /S together. 
  15777.  
  15778. To replace the files found in all directories of drive C with files matching 
  15779. the source file name of YEARLY in the current directory on drive A, enter the 
  15780. following: 
  15781.  
  15782. REPLACE A:YEARLY C:\ /S
  15783.  
  15784.  
  15785. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15786.  
  15787. REPLACE Command:  /P Parameter 
  15788.  
  15789. Prompts you as each file is encountered on the target. This allows you to 
  15790. selectively replace or add files. 
  15791.  
  15792. To be prompted with (Y/N?) before replacing each file from the root directory 
  15793. on drive C to the root directory on drive A, enter the following: 
  15794.  
  15795. REPLACE C:\*.* A:\ /P
  15796.  
  15797.  
  15798. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15799.  
  15800. REPLACE Command:  /R Parameter 
  15801.  
  15802. Replaces files that are read-only on the target. 
  15803.  
  15804. To replace all files on drive C (including read-only files) with files of the 
  15805. same name from drive A, enter the following: 
  15806.  
  15807. REPLACE A:*.* C: /R
  15808.  
  15809.  
  15810. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15811.  
  15812. REPLACE Command:  /W Parameter 
  15813.  
  15814. Waits for you to insert a diskette before beginning to search for source files. 
  15815.  
  15816. To replace the LETTERS file on drive A with the LETTERS file on drive C, and 
  15817. have the system wait for you to insert a diskette before searching for source 
  15818. files, enter the following: 
  15819.  
  15820. REPLACE C:LETTERS A: /W
  15821.  
  15822.  
  15823. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15824.  
  15825. REPLACE Command:  /U Parameter 
  15826.  
  15827. Updates only those files on the target drive that are older than those on the 
  15828. source drive.  You cannot use the /A and /U parameters together. 
  15829.  
  15830. To replace all files on drive C named LETTER.FMT with a new LETTER.FMT file 
  15831. from drive A, enter the following: 
  15832.  
  15833. REPLACE A:LETTER.FMT C:\ /U  /S
  15834.  
  15835.  
  15836. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15837.  
  15838. REPLACE Command:  /F Parameter 
  15839.  
  15840. Causes REPLACE to fail if the source file contains extended attributes and the 
  15841. destination file system does not support extended attributes. If the /F 
  15842. parameter is not specified, REPLACE will succeed if the source file contains 
  15843. extended attributes and the destination file system does not support them.  The 
  15844. extended attributes are not copied. If the /F parameter is not specified and 
  15845. the source file contains needed extended attributes, REPLACE will fail if the 
  15846. destination file system does not support extended attributes.  In this 
  15847. instance, a message appears. 
  15848.  
  15849. Assume you want to replace a file named REPORTS.TXT to the STATUS directory on 
  15850. drive D.  You also want REPLACE to fail if drive D does not support extended 
  15851. attributes.  Enter the following: 
  15852.  
  15853. REPLACE REPORTS.TXT D:\STATUS /F
  15854.  
  15855.  
  15856. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15857.  
  15858. RESTORE Command:  Drive, Path, Filename Parameters 
  15859.  
  15860. Source drive specifies the drive that contains the files you backed up.  The 
  15861. target drive and path specify the location to which you want the files 
  15862. restored. 
  15863.  
  15864. To restore a file named MONDAY to the REPORTS subdirectory on drive C from the 
  15865. backup diskette in drive A, enter the following: 
  15866.  
  15867. RESTORE A: C:\REPORTS\MONDAY
  15868.  
  15869.  
  15870. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15871.  
  15872. RESTORE Command:  /P Parameter 
  15873.  
  15874. Prompts for permission to restore any files on the target disk that match the 
  15875. file specification and are read-only or that have changed since they were last 
  15876. backed up. 
  15877.  
  15878. In the following example, assume that the backup diskette is in drive A and you 
  15879. are restoring to the current directory in drive C.  To be prompted with (Y/N)? 
  15880. before restoring any read-only file or file changed since the last time you did 
  15881. a backup, enter the following: 
  15882.  
  15883. RESTORE A: C:*.* /P
  15884.  
  15885.  
  15886. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15887.  
  15888. RESTORE Command:  /M Parameter 
  15889.  
  15890. Restores only those files on the target disk that have been modified since the 
  15891. last backup. 
  15892.  
  15893. To restore files that were changed or deleted since they were last backed up, 
  15894. enter the following: 
  15895.  
  15896. RESTORE A: C:*.* /M
  15897.  
  15898.  
  15899. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15900.  
  15901. RESTORE Command:  /B:mm-dd-yy Parameter 
  15902.  
  15903. Restores only those files on the target disk last modified on or before the 
  15904. given date. 
  15905.  
  15906. To restore all files changed on or before November 12, 1988, type the following 
  15907. (using the current date format): 
  15908.  
  15909. RESTORE A: C: /B:11-12-88
  15910.  
  15911.  
  15912. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15913.  
  15914. RESTORE Command:  /A:mm-dd-yy Parameter 
  15915.  
  15916. Restores only those files on the target disk last modified on or after the 
  15917. given date. 
  15918.  
  15919. To restore all files changed on or after November 12, 1988, type the following 
  15920. (using the current date format): 
  15921.  
  15922. RESTORE A: C: /A:11-12-88
  15923.  
  15924.  
  15925. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15926.  
  15927. RESTORE Command:  /E:hh:mm:ss Parameter 
  15928.  
  15929. Restores only those files on the target disk last modified before the given 
  15930. time. 
  15931.  
  15932. To restore only those files that were changed at or earlier than 11:45 a.m., 
  15933. enter the following: 
  15934.  
  15935. RESTORE A: C: /E:11:45:00
  15936.  
  15937.  
  15938. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15939.  
  15940. RESTORE Command:  /L:hh:mm:ss Parameter 
  15941.  
  15942. Restores only those files on the target disk that were last modified at or 
  15943. after the given time. 
  15944.  
  15945. To restore only those files that were changed at or later than 11:45 a.m., 
  15946. enter the following: 
  15947.  
  15948. RESTORE A: C: /L:11:45:00
  15949.  
  15950.  
  15951. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15952.  
  15953. RESTORE Command:  /S Parameter 
  15954.  
  15955. Restores any subdirectories from the backup diskette to the target disk if they 
  15956. do not exist on the target disk. 
  15957.  
  15958. To restore all files (including subdirectories) on the backup diskettes in 
  15959. drive A to drive C, enter the following: 
  15960.  
  15961. RESTORE A: C:\*.* /S
  15962.  
  15963.  
  15964. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15965.  
  15966. RESTORE Command:  /N Parameter 
  15967.  
  15968. Restores any files from the backup diskette to the target disk that do not 
  15969. exist on the target disk. 
  15970.  
  15971. To restore files that no longer exist on the target drive, enter the following: 
  15972.  
  15973. RESTORE A: C: /N
  15974.  
  15975.  
  15976. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15977.  
  15978. RESTORE Command:  /F Parameter 
  15979.  
  15980. Causes RESTORE to fail if the source file contains extended attributes and the 
  15981. destination file system does not support extended attributes. If the /F 
  15982. parameter is not specified, RESTORE will succeed if the source file contains 
  15983. extended attributes and the destination file system does not support them.  The 
  15984. extended attributes are not copied. If the /F parameter is not specified and 
  15985. the source file contains needed extended attributes, RESTORE will fail if the 
  15986. destination file system does not support extended attributes.  In this 
  15987. instance, a message appears. 
  15988.  
  15989. Assume you want to restore a file named REPORTS.TXT to the STATUS directory on 
  15990. drive D.  You also want RESTORE to fail if drive D does not support extended 
  15991. attributes.  Enter the following: 
  15992.  
  15993. RESTORE REPORTS.TXT D:\STATUS /F
  15994.  
  15995.  
  15996. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15997.  
  15998. RESTORE Command:  /D Parameter 
  15999.  
  16000. Displays a list of files on the backup disk that matches the files specified in 
  16001. filename without restoring any files. 
  16002.  
  16003. To display the files on the backup disk that match the files that were backed 
  16004. up by the BACKUP command without restoring them, enter the following: 
  16005.  
  16006. RESTORE /D
  16007.  
  16008.  
  16009. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16010.  
  16011. RD Command:  Drive and Path Parameters 
  16012.  
  16013. Specifies the directory to be removed.  You can: 
  16014.  
  16015. o Remove a subdirectory from a root directory 
  16016. o Remove a subdirectory from within another directory 
  16017. o Remove more than one directory (OS/2 sessions only) 
  16018.  
  16019. To remove a subdirectory named REPORTS from your root directory on the current 
  16020. drive, delete all the files and subdirectories within REPORTS, and enter the 
  16021. following: 
  16022.  
  16023. RD \REPORTS
  16024.  
  16025. To remove a subdirectory named ANNUAL within a subdirectory REPORTS, which is 
  16026. in the root directory on the current drive, enter the following: 
  16027.  
  16028. RD \REPORTS\ANNUAL
  16029.  
  16030. To remove the subdirectory REPORTS from the SALES directory and the 
  16031. subdirectory PROGS from the ACCT directory (OS/2 sessions only), enter the 
  16032. following: 
  16033.  
  16034. RD \SALES\REPORTS \ACCT\PROGS
  16035.  
  16036.  
  16037. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16038.  
  16039. RMSIZE Command:  x Parameter 
  16040.  
  16041. Specifies a number from 0 through 640, representing a multiple of 1024 bytes. 
  16042.  
  16043. To set the size of the DOS environment to 512KB, type the following in the 
  16044. CONFIG.SYS file: 
  16045.  
  16046. RMSIZE=512
  16047.  
  16048.  
  16049. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16050.  
  16051. RUN Command:  Drive, Path, Filename Parameters 
  16052.  
  16053. Specifies the complete name of the file, including its extension, that contains 
  16054. the system program you want to run. 
  16055.  
  16056. To run a system checkout program named MARY.EXE located in the UTILS directory, 
  16057. type the following in the CONFIG.SYS file. 
  16058.  
  16059. RUN=C:\UTILS\MARY.EXE
  16060.  
  16061.  
  16062. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16063.  
  16064. RUN Command:  Arguments Parameter 
  16065.  
  16066. Specifies information that you want to pass to the program. 
  16067.  
  16068.  
  16069. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16070.  
  16071. RUN Command:  Drive and Path Parameter 
  16072.  
  16073. Specifies the drive and path of the LOGDAEM.EXE program. 
  16074.  
  16075. The default drive and path of LOGDAEM.EXE is C:\OS2\SYSTEM. 
  16076.  
  16077.  
  16078. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16079.  
  16080. RUN=LOGDAEM.EXE Command:  /E:filename Parameter 
  16081.  
  16082. Specifies the path and file name of the local error-log file. 
  16083.  
  16084. To specify C:\OS2\SYSTEM as the path for the error-log file LOG0001.DAT, type 
  16085. the following in the CONFIG.SYS file: 
  16086.  
  16087. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT
  16088.  
  16089.  
  16090. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16091.  
  16092. RUN=LOGDAEM.EXE Command:  /W:x Parameter 
  16093.  
  16094. Sets the size of the error logging file to a specified size (x) in KB.  The 
  16095. default is 64KB, the minimum is 4KB.  If an error-log file does not already 
  16096. exist and you do not supply a /W parameter, then an error-log file will be 
  16097. started with a length of 64KB. 
  16098.  
  16099. To set the size of the error-log file, LOG0001.DAT, with the path C:\OS2\SYSTEM 
  16100. to 32KB, type the following in the CONFIG.SYS file: 
  16101.  
  16102. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  16103.  
  16104.  
  16105. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16106.  
  16107. SET Command:  String Parameter 
  16108.  
  16109. The first string is the name of a system variable or replaceable parameter. 
  16110. The second string is the value you want to assign to the system variable or 
  16111. replaceable parameter. 
  16112.  
  16113. Do not use any of these characters in string:  =  :   >   <   | 
  16114.  
  16115.  
  16116. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16117.  
  16118. SETBOOT Command:  /T:x Parameter 
  16119.  
  16120. Sets the timeout value of the Boot Manager menu timer. 
  16121.  
  16122. The value of x is the time in seconds that the Boot Manager menu will remain 
  16123. displayed before the default system starts. 
  16124.  
  16125. A specified value of 0 seconds bypasses the menu entirely, starting the default 
  16126. system immediately without intervention. 
  16127.  
  16128. To set the Boot Manager selection timer to 15 seconds, type the following: 
  16129.  
  16130. SETBOOT /T:15
  16131.  
  16132.  
  16133. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16134.  
  16135. SETBOOT Command:  /T:NO Parameter 
  16136.  
  16137. Disables the Boot Manager selection timer.  When you specify NO as the timeout 
  16138. value, the timer is disabled leaving the Boot Manager menu displayed until you 
  16139. make a selection. 
  16140.  
  16141. To disable the Boot Manager selection timer, type the following: 
  16142.  
  16143. SETBOOT /T:NO
  16144.  
  16145.  
  16146. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16147.  
  16148. SETBOOT Command:  /M:m Parameter 
  16149.  
  16150. Sets the mode for the Boot Manager menu. 
  16151.  
  16152. m = n  sets normal mode 
  16153. m = a  sets advanced mode 
  16154.  
  16155. :n sets the mode to display only the aliases of the partitions that are able to 
  16156. be selected; :a sets the mode to display additional information that is 
  16157. displayed in the advanced mode of the Boot Manager menu. 
  16158.  
  16159. To set the normal mode for the Boot Manager menu, type the following: 
  16160.  
  16161. SETBOOT /M:n
  16162.  
  16163. To set the Boot Manager menu to advanced mode, type the following: 
  16164.  
  16165. SETBOOT /M:a
  16166.  
  16167.  
  16168. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16169.  
  16170. SETBOOT Command:  /Q Parameter 
  16171.  
  16172. Queries the currently set startup environment.  Returns the default partition 
  16173. alias, timeout value, mode, and drive letter assignments for unattended 
  16174. operation. 
  16175.  
  16176. To query the current startup environment, type the following: 
  16177.  
  16178. SETBOOT /Q
  16179.  
  16180.  
  16181. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16182.  
  16183. SETBOOT Command:  /B Parameter 
  16184.  
  16185. Performs an orderly shutdown of the system and then restarts the system. 
  16186.  
  16187. To shutdown and then restart the system, type the following: 
  16188.  
  16189. SETBOOT /B
  16190.  
  16191.  
  16192. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16193.  
  16194. SETBOOT Command:  /X:x Parameter 
  16195.  
  16196. Sets the system startup index to indicate the partition to be started.  The 
  16197. value x may be set from 0 to 3. 
  16198.  
  16199. The Boot Manager will start the partition corresponding to the index.  It then 
  16200. decreases this value by 1 while the value is greater than 1.  If you do not set 
  16201. this value before you start the system again, then the Boot Manager will start 
  16202. a different partition. 
  16203.  
  16204. A value of 0 sets the Boot Manager to attended mode and provides for a default 
  16205. system selection. 
  16206.  
  16207. A value of 1 to 3 in this index puts the Boot Manager in unattended mode.  In 
  16208. this case, all attended mode functions are bypassed, including the Boot Manager 
  16209. menu.  This feature is provided as a mechanism that unattended mode can use to 
  16210. implement a fallback startup sequence; that is, if a system fails to get to 
  16211. your program to set the index, the subsequent startup would try to start the 
  16212. next fallback system and so on. 
  16213.  
  16214. To set the startup index to put Boot Manager in attended mode, type the 
  16215. following: 
  16216.  
  16217. SETBOOT /X:0
  16218.  
  16219. To set the startup index to put the Boot Manager in unattended mode, type the 
  16220. following: 
  16221.  
  16222. SETBOOT /X:3
  16223.  
  16224.  
  16225. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16226.  
  16227. SETBOOT Command:  /N:name Parameter 
  16228.  
  16229. Sets the partition or logical drive specified by the alias name and its 
  16230. corresponding index value as the operating system to be started. 
  16231.  
  16232. Up to four pair-combinations can be given, one for each index value, 0 to 3. An 
  16233. alias is case-sensitive, and if it contains blanks, the /N parameter:name pair 
  16234. must be enclosed in quotation marks. 
  16235.  
  16236. The following shows you the number values for N: 
  16237.  
  16238. N = 0 assigns the specified alias as the default operating system. 
  16239. N = 1 to 3 specifies the alias to be started when the corresponding index is 
  16240. chosen to start. 
  16241.  
  16242. To specify the logical drive with the alias MYSYSTEM as the default operating 
  16243. system to be started, type the following: 
  16244.  
  16245. SETBOOT /0:MYSYSTEM
  16246.  
  16247.  
  16248. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16249.  
  16250. SHELL Command:  Drive, Path, Filename Parameters 
  16251.  
  16252. Specifies the complete name of the file, including its extension, that contains 
  16253. the DOS command processor. 
  16254.  
  16255.  
  16256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16257.  
  16258. SHELL Command:  Arguments Parameter 
  16259.  
  16260. Specifies the parameters of your command processor.  If you are using 
  16261. COMMAND.COM as your command processor, any parameters of COMMAND.COM can be 
  16262. used as SHELL statement arguments. 
  16263.  
  16264. To install COMMAND.COM as the command processor, type the following in the 
  16265. CONFIG.SYS file: 
  16266.  
  16267. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  16268.  
  16269.  
  16270. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16271.  
  16272. SORT Command:  /R Parameter 
  16273.  
  16274. Reverses the sort; that is, sorts from Z through A. 
  16275.  
  16276. To sort a file named BOOK1 in reverse order and write the output to a file 
  16277. named REV, enter the following: 
  16278.  
  16279. SORT /R <BOOK1 >REV
  16280.  
  16281.  
  16282. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16283.  
  16284. SORT Command:  /+n Parameter 
  16285.  
  16286. Sorts starting with column n, where n is some number.  If you do not specify 
  16287. this parameter, SORT begins sorting from column 1. 
  16288.  
  16289. To sort a file named BOOK1 starting at column 1, and send the output to your 
  16290. screen, enter the following: 
  16291.  
  16292. SORT <BOOK1
  16293.  
  16294. To sort a file named CALENDAR.88, starting at column 7, type the following: 
  16295.  
  16296. SORT /+7 <CALENDAR.88
  16297.  
  16298.  
  16299. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16300.  
  16301. SPOOL Command:  /D:device Parameter 
  16302.  
  16303. Specifies the input device. This is the device the application program uses for 
  16304. printing. Acceptable parallel device names are PRN, LPT1, LPT2, and LPT3.  If 
  16305. not specified, the default device is LPT1.  Serial devices cannot be specified 
  16306. as input devices. 
  16307.  
  16308.  
  16309. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16310.  
  16311. SPOOL Command:  /O:device Parameter 
  16312.  
  16313. Specifies the output device. This is the actual device to which output from the 
  16314. application program is to be sent. If this parameter is not specified, the 
  16315. default is the same as the input device. COM1 through COM4 can be specified as 
  16316. output devices when a device is attached to the serial port. Acceptable 
  16317. parallel device names include PRN, LPT1, LPT2, and LPT3. 
  16318.  
  16319.  
  16320. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16321.  
  16322. SPOOL Command:  /Q Parameter 
  16323.  
  16324. Queries existing device redirections.  /Q specifies to display the current 
  16325. device redirection selections.  The default setup, if no previous redirection 
  16326. has been specified, is to have each input device directed to its corresponding 
  16327. output device (that is, LPT1 directed to LPT1, LPT2 directed to LPT2, and so 
  16328. on). 
  16329.  
  16330.  
  16331. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16332.  
  16333. START Command:  "Program Title" Parameter 
  16334.  
  16335. Specifies the title you want for your program, which is displayed in the 
  16336. Startup folder. The program title must be enclosed in double quotation marks 
  16337. and cannot exceed 60 bytes. 
  16338.  
  16339. If you do not specify program title, the file name of your program is displayed 
  16340. in the Startup folder. 
  16341.  
  16342. The use of a double-byte (DBCS) character counts as two bytes. If a title is 
  16343. longer than 60 bytes, it is shortened.  DBCS means a set of characters in which 
  16344. each character is represented by two bytes.  Languages such as Japanese, 
  16345. Chinese, and Korean, which contain more characters than can be represented by 
  16346. 256 code points, require double-byte character sets.  As each character 
  16347. requires two bytes, the entering, displaying, and printing of DBCS characters 
  16348. requires hardware and software that can support DBCS. 
  16349.  
  16350.  
  16351. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16352.  
  16353. START Command:  /K Parameter 
  16354.  
  16355. Indicates to start the program indirectly through the command processor, 
  16356. CMD.EXE, and to keep the session when the program has finished. If the 
  16357. application is a Presentation Manager application, the default is /N; 
  16358. otherwise, the default is /K. 
  16359.  
  16360.  
  16361. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16362.  
  16363. START Command:  /C Parameter 
  16364.  
  16365. Indicates to start the program indirectly through the command processor, 
  16366. CMD.EXE, and end the session when the command is complete.  If the session 
  16367. created by the START command is displayed when the command ends, the system 
  16368. determines which session to display next. 
  16369.  
  16370.  
  16371. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16372.  
  16373. START Command:  /N Parameter 
  16374.  
  16375. Indicates to start the program directly without invoking the command processor, 
  16376. CMD.EXE. Do not enclose the command in quotation marks.  The command you 
  16377. specify cannot be an internal command or a batch file. 
  16378.  
  16379. To start XCOPY directly without invoking the CMD.EXE command processor, copy 
  16380. the complete contents of the root directory on drive C to drive A, and display 
  16381. XCOPY C-A as the program title, type the following: 
  16382.  
  16383. START "XCOPY C-A" /N XCOPY C:\ A:
  16384.  
  16385.  
  16386. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16387.  
  16388. START Command:  /F Parameter 
  16389.  
  16390. Makes the program the foreground session. If this parameter is not specified, 
  16391. the program becomes a background session. If the /FS, /WIN or /PM parameter is 
  16392. specified, the program becomes the foreground session. 
  16393.  
  16394. To run the XCOPY command in the foreground session, enter the following: 
  16395.  
  16396. START "XCOPY C-A" /F XCOPY C:\ A:\
  16397.  
  16398.  
  16399. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16400.  
  16401. The START command:  /PGM parameter. 
  16402.  
  16403. START interprets a quoted string as the name of the program to be executed. 
  16404. For example, assume you use a program named MY EDITOR.  You can start the MY 
  16405. EDITOR program and use the default title, or you can start MY EDITOR and give 
  16406. it a different name. 
  16407.  
  16408. To start MY EDITOR without specifying a title, enter the following: 
  16409.  
  16410. START /PGM "MY EDITOR"
  16411.  
  16412. To start MY EDITOR and give it a title, enter the following: 
  16413.  
  16414. START "MY FAVORITE EDITOR" /PGM "MY EDITOR"
  16415.  
  16416. The name MY FAVORITE EDITOR would appear on the Window List, rather than the 
  16417. name of the program, MY EDITOR. 
  16418.  
  16419. If the /PGM parameter is not used, START interprets the first quoted string as 
  16420. the name of a user-supplied title, and the second quoted string as the command 
  16421. to be passed to another session that is running CMD.EXE. 
  16422.  
  16423.  
  16424. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16425.  
  16426. START Command:  /FS Parameter 
  16427.  
  16428. Indicates that this application is a full-screen DOS or OS/2 application that 
  16429. must run in a separate session independent of Presentation Manager. 
  16430.  
  16431. To start the XCOPY command in a full-screen session and copy the files from 
  16432. drive A to drive B, enter the following: 
  16433.  
  16434. START "XCOPY A-B" /FS XCOPY A:\ B:
  16435.  
  16436.  
  16437. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16438.  
  16439. START Command:  /WIN Parameter 
  16440.  
  16441. Indicates that this is an OS/2 application that runs within an OS/2 or DOS 
  16442. window. 
  16443.  
  16444. To start a batch file named CRAYON.CMD in an OS/2 window session, enter the 
  16445. following: 
  16446.  
  16447. START /WIN CRAYON.CMD
  16448.  
  16449. To start a batch file named MYFILE.BAT in a DOS window session, enter the 
  16450. following: 
  16451.  
  16452. START /WIN MYFILE.BAT
  16453.  
  16454.  
  16455. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16456.  
  16457. START Command:  /PM Parameter 
  16458.  
  16459. Indicates that this application is a Presentation Manager application. 
  16460.  
  16461. To start the CRAYON.EXE program to run as a Presentation Manager program, enter 
  16462. the following: 
  16463.  
  16464. START "CRAYON GAME" /PM CRAYON.EXE
  16465.  
  16466.  
  16467. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16468.  
  16469. START Command:  /DOS Parameter 
  16470.  
  16471. Starts the program as a DOS program. Useful for forcing FAPI or BOUND 
  16472. applications to run in a DOS session.  To start a COMMAND.COM session, enter 
  16473. the following: 
  16474.  
  16475. START /DOS
  16476.  
  16477. To start a COMMAND.COM session in a window, enter the following: 
  16478.  
  16479. START /WIN /DOS
  16480.  
  16481. To start a full-screen COMMAND.COM session, enter the following: 
  16482.  
  16483. START /FS /DOS
  16484.  
  16485.  
  16486. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16487.  
  16488. START Command:  /MAX Parameter 
  16489.  
  16490. Requests that a Presentation Manager (PM) or any window application starts in a 
  16491. maximized state.  It has no effect for full screen.  A PM application may 
  16492. choose not to honor the request. 
  16493.  
  16494. To start a Presentation Manager or any window application in a maximized state, 
  16495. enter the following: 
  16496.  
  16497. START /MAX
  16498.  
  16499.  
  16500. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16501.  
  16502. START Command:  /MIN Parameter 
  16503.  
  16504. Requests that a Presentation Manager (PM) or any window application starts in a 
  16505. minimized (icon) state.  This has no effect for full screen.  A PM application 
  16506. may choose not to honor the request. 
  16507.  
  16508. To start a Presentation Manager or any  window application in a minimized 
  16509. (icon) state, enter the following: 
  16510.  
  16511. START /MIN
  16512.  
  16513.  
  16514. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16515.  
  16516. START Command:  /B Parameter 
  16517.  
  16518. Requests that an application be started in a background session. 
  16519.  
  16520. To start the XCOPY command in a background session, enter the following: 
  16521.  
  16522. START "XCOPY C-A" /B XCOPY C:\ A:\
  16523.  
  16524.  
  16525. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16526.  
  16527. START Command:  /I Parameter 
  16528.  
  16529. Causes the new session to inherit the environment defined by the SET statements 
  16530. in the CONFIG.SYS file instead of the CMD.EXE environment of the current 
  16531. session. 
  16532.  
  16533. To start the ACCT.EXE program to run as a full-screen program and cause the new 
  16534. session to inherit the environment defined by the SET statements in the 
  16535. CONFIG.SYS file, enter the following: 
  16536.  
  16537. START "ACCOUNT" /FS /I ACCT.EXE
  16538.  
  16539.  
  16540. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16541.  
  16542. START Command:  Command and Command Inputs Parameters 
  16543.  
  16544. Specifies an OS/2 internal or external command, a .CMD batch file, or any OS/2 
  16545. program you want to pass to the command processor you are starting. 
  16546.  
  16547. Command inputs are arguments for the command you requested. 
  16548.  
  16549. To start XCOPY in a new OS/2 session, copy the complete contents of the root 
  16550. directory on drive C to the root directory on drive A, and display XCOPY C-A as 
  16551. the program title, enter the following: 
  16552.  
  16553. START "XCOPY C-A" XCOPY C:\ A:\
  16554.  
  16555.  
  16556. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16557.  
  16558. SUBST Command:  Drive and Path Parameters 
  16559.  
  16560. Specifies the drive letter you want to substitute for the drive and path that 
  16561. follow. 
  16562.  
  16563. To substitute the drive letter G for the path C:\OS2\OS2.DTP, enter the 
  16564. following: 
  16565.  
  16566. SUBST G: C:\OS2\OS2.DTP
  16567.  
  16568. You can now enter DIR G: instead of entering DIR C:\OS2\OS2.DTP. 
  16569.  
  16570.  
  16571. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16572.  
  16573. SUBST Command:  /D Parameter 
  16574.  
  16575. Deletes a substituted drive and path. 
  16576.  
  16577. To delete substitutions currently in effect on drive G, enter the following: 
  16578.  
  16579. SUBST G: /D
  16580.  
  16581.  
  16582. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16583.  
  16584. SWAPPATH Command:  Drive and Path Parameter 
  16585.  
  16586. Specifies the location of the swap file. 
  16587.  
  16588. To store the swap file in the C:\OS2\SYSTEM directory, type the following in 
  16589. the CONFIG.SYS file: 
  16590.  
  16591. SWAPPATH=C:\OS2\SYSTEM
  16592.  
  16593.  
  16594. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16595.  
  16596. SWAPPATH Command:  Minfree Parameter 
  16597.  
  16598. Specifies the amount of disk space in KB at which point the system will begin 
  16599. to warn you that the swap file has increased to a size that leaves less than 
  16600. this amount of free space remaining on the disk.  This means that the OS/2 
  16601. operating system will not stop increasing the size of the swap file when the 
  16602. minfree value is reached, but will warn you that you are running out of disk 
  16603. space.  The default value for all systems regardless of the amount of physical 
  16604. memory is 2048KB. 
  16605.  
  16606.  
  16607. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16608.  
  16609. SWAPPATH Command:  Initial Parameter 
  16610.  
  16611. Specifies the size of the swap file initially allocated by the operating system 
  16612. at time of installation.  This value is variable and depends on the amount of 
  16613. physical memory in the system. 
  16614.  
  16615. You can modify the initial size of the swap file up to the size of the free 
  16616. space on the partition containing the swap file.  You must, however, leave 
  16617. space on the partition equal to the minfree value.  For example, to specify 
  16618. 18MB as the initial size of a swap file on a partition with 20MB of free space 
  16619. and a minfree value of 2MB, type the following in the CONFIG.SYS file: 
  16620.  
  16621. SWAPPATH=C:\OS2\SYSTEM 2048 18432
  16622.  
  16623. The following table displays the initial default size of the swap file for 
  16624. systems with the indicated physical memory: 
  16625.  
  16626. Memory              Initial Size 
  16627.  
  16628. 4MB                 6144KB 
  16629.  
  16630. 5MB                 5120KB 
  16631.  
  16632. 6MB                 5120KB 
  16633.  
  16634. 7MB                 4096KB 
  16635.  
  16636. 8MB                 4096KB 
  16637.  
  16638. 9MB                 3072KB 
  16639.  
  16640. 10MB                3072KB 
  16641.  
  16642. 11MB                2048KB 
  16643.  
  16644. 12MB                2048KB 
  16645.  
  16646. Note:   If a system does not have at least 4MB of memory, the size of the swap 
  16647.         file defaults to 1MB and increases as needed. 
  16648.  
  16649. The default statement in the CONFIG.SYS file for the initial size of a swap 
  16650. file on a system with 8MB of physical memory would be: 
  16651.  
  16652. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  16653.  
  16654.  
  16655. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16656.  
  16657. SYSLOG Command:  /S Parameter 
  16658.  
  16659. Suspends error logging of entries into the system. 
  16660.  
  16661. To suspend error logging, type the following: 
  16662.  
  16663. SYSLOG /S
  16664.  
  16665.  
  16666. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16667.  
  16668. SYSLOG Command:  /R Parameter 
  16669.  
  16670. Resumes error logging of entries into the system. 
  16671.  
  16672. To resume error logging, type the following: 
  16673.  
  16674. SYSLOG /R
  16675.  
  16676.  
  16677. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16678.  
  16679. SYSLOG Command:  /P:pathname Parameter 
  16680.  
  16681. Redirects the current error-log file to the file specified in your path 
  16682. statement. 
  16683.  
  16684. To redirect the current error-log file to the file LOG0001.DAT in the path 
  16685. C:\OS2\SYSTEM, type the following: 
  16686.  
  16687. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT
  16688.  
  16689.  
  16690. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16691.  
  16692. SYSLOG Command:  /W:x Parameter 
  16693.  
  16694. Sets the size of the new error-log file to a specified size (x) in KB.  The 
  16695. default is 64KB, the minimum is 4KB.  If an error-log file does not already 
  16696. exist and you do not supply a /W parameter, then a new error-log file will be 
  16697. started with a length of 64KB. 
  16698.  
  16699. You cannot decrease the size of an existing log file or increase the size of a 
  16700. log file that has already wrapped.  You can, however, increase the size of a 
  16701. log file that has not yet wrapped. 
  16702.  
  16703. To set the size of a new error-log file named LOG0001.DAT, with the path 
  16704. C:\OS2\SYSTEM, to 32KB, type the following: 
  16705.  
  16706. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  16707.  
  16708.  
  16709. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16710.  
  16711. THREADS Command:  x Parameter 
  16712.  
  16713. Specifies a number from 64 through 4095. 
  16714.  
  16715. To have the system handle up to 512 active threads, type the following in the 
  16716. CONFIG.SYS file: 
  16717.  
  16718. THREADS=512
  16719.  
  16720.  
  16721. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16722.  
  16723. TIME Command:  Hours, Minutes, Seconds Parameters 
  16724.  
  16725. hh    Specifies the hours.  The new hours must be entered using 0 to 23 only. 
  16726.  
  16727. mm    Specifies the minutes. The new minutes must be entered using 0 to 59 
  16728.       only. 
  16729.  
  16730. ss    Specifies the seconds. The new seconds must be entered using 0 to 59 
  16731.       only. 
  16732.  
  16733. cc    Specifies the hundredths of seconds. The new hundredths of seconds must 
  16734.       be entered using 0 to 99 only. 
  16735.  
  16736. To enter or change the time in the system to 8:20 a.m. without being prompted 
  16737. by the system, enter the following: 
  16738.  
  16739. TIME 8:20
  16740.  
  16741.  
  16742. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16743.  
  16744. TIMESLICE Command:  x Parameter 
  16745.  
  16746. Selects the minimum TIMESLICE value in milliseconds. This value must be an 
  16747. integer greater than or equal to 32. 
  16748.  
  16749. To change the minimum and maximum time slice allowed to 35 milliseconds, type 
  16750. the following in the CONFIG.SYS file: 
  16751.  
  16752. TIMESLICE=35
  16753.  
  16754.  
  16755. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16756.  
  16757. TIMESLICE Command:  y Parameter 
  16758.  
  16759. Selects the maximum TIMESLICE value in milliseconds.  This value must be an 
  16760. integer greater than or equal to the minimum value, and less than 65536. 
  16761.  
  16762. To change the maximum time slice allowed to 125 milliseconds and the minimum 
  16763. time slice to 45 milliseconds, type the following in the CONFIG.SYS file: 
  16764.  
  16765. TIMESLICE=45,125
  16766.  
  16767.  
  16768. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16769.  
  16770. TRACE Command:  ON and OFF Parameters 
  16771.  
  16772. Controls dynamic and static trace points from the OS/2 command prompt. 
  16773.  
  16774. o If the OFF parameter is used by itself, removes all dynamic and static trace 
  16775.   points. 
  16776.  
  16777. o If the ON parameter is used by itself, turns on all static trace points. 
  16778.  
  16779. To turn on all static trace points, enter the following: 
  16780.  
  16781. TRACE ON
  16782.  
  16783.  
  16784. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16785.  
  16786. TRACE Command:  ON and OFF Parameters 
  16787.  
  16788. Sets up the Trace facility in the CONFIG.SYS file. If you do not specify a 
  16789. TRACE or TRACEBUF statement in the CONFIG.SYS file, there is no trace buffer 
  16790. and tracing is not available. 
  16791.  
  16792. To trace all static system events, type the following in the CONFIG.SYS file: 
  16793.  
  16794. TRACE=ON
  16795.  
  16796.  
  16797. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16798.  
  16799. TRACE Command:  Major Code Spec Parameter 
  16800.  
  16801. Specifies a decimal value between 0 and 255 that represents the major event 
  16802. code to be set for static tracing.  Minor codes associated with major codes can 
  16803. be specified to achieve greater granularity in tracing. 
  16804.  
  16805.  
  16806. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16807.  
  16808. TRACE Command:  Minor Code Spec Parameters, static and dynamic.
  16809.  
  16810. For static trace points, specifies a decimal value between 1 and 255 that 
  16811. represents a static trace event within the specified major code. 
  16812.  
  16813. For dynamic trace points, specifies a decimal value between 1 and 65535 that 
  16814. represents a dynamic trace event within a specified trace definition file. 
  16815.  
  16816. Note:   Static and Dynamic trace points cannot be activated within the same 
  16817.         trace command.  It you want to activate both static and dynamic trace 
  16818.         points you will have to issue two separate commands. 
  16819.  
  16820.  
  16821. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16822.  
  16823. TRACE Command:  Event Type Spec Parameters.
  16824.  
  16825. The event type defined within a TRACE command allows a trace definition to 
  16826. create a subset of events dynamic or static within a module.  The association 
  16827. of groups and types allows for greater granularity of tracing system events. 
  16828.  
  16829.  
  16830. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16831.  
  16832. TRACE Command:  x Parameter 
  16833.  
  16834. Specifies a number from 0 through 255, indicating the major event code to be 
  16835. traced or not to be traced.  A major event code is the number the OS/2 
  16836. operating system assigns to a major system event, such as opening a file, 
  16837. writing to a file, or sending output to the screen.  Your technical coordinator 
  16838. can supply numbers for these codes. 
  16839.  
  16840. To indicate a major event code (15) is to be traced, enter the following: 
  16841.  
  16842. TRACE=ON 15
  16843.  
  16844.  
  16845. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16846.  
  16847. TRACE Command:  TDF Spec Parameter 
  16848.  
  16849. Specifies the name of a trace definition file that contains dynamic trace 
  16850. points for dynamic link libraries. The dynamic trace points are assigned 
  16851. numbers between 1 and 65535. For example, to trace DOSCALL1 (2, 4, 5, 6, 7, and 
  16852. 8), enter the following: 
  16853.  
  16854. TRACE ON DOSCALL1 (2, 4-8)
  16855.  
  16856. This TRACE command remains in effect until one of the following occurs: 
  16857.  
  16858. o The system is powered off. 
  16859.  
  16860. o The operating system removes the dynamic link library. 
  16861.  
  16862. o You enter either of the following commands: 
  16863.  
  16864.     TRACE OFF
  16865.  
  16866.   or 
  16867.  
  16868.     TRACE OFF DOSCALL1
  16869.  
  16870.   Notice that the event list is not specified. 
  16871.  
  16872.  
  16873. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16874.  
  16875. TRACE Command:  TDF Keyword Parameter 
  16876.  
  16877. Specifies the dynamic trace points for the system kernel.  Minor codes, groups, 
  16878. and types can be specified to promote easier recognition in system tracing. 
  16879.  
  16880. To activate all dynamic trace points enter the keyword KERNEL without any minor 
  16881. code specifications as follows: 
  16882.  
  16883. TRACE ON KERNEL
  16884.  
  16885. To trace specific dynamic trace points (5, 7, and 19), enter the following: 
  16886.  
  16887. TRACE ON KERNEL (5, 7, 19)
  16888.  
  16889. To trace on the kernel group keyword MEM, enter the following: 
  16890.  
  16891. TRACE ON KERNEL (MEM)
  16892.  
  16893. To trace on the kernel type keyword API, enter the following: 
  16894.  
  16895. TRACE ON KERNEL (API)
  16896.  
  16897. To enable the association group MEM and types PRE and API, enter the following: 
  16898.  
  16899. TRACE ON KERNEL (MEM=PRE+API)
  16900.  
  16901. The TRACE command remains in effect until one of the following occurs: 
  16902.  
  16903. o The system is powered off. 
  16904.  
  16905. o The operating system removes the dynamic link library. 
  16906.  
  16907. o You enter either of the following commands: 
  16908.  
  16909.   To turn off all tracing, enter the following: 
  16910.  
  16911.     TRACE OFF
  16912.  
  16913.   To turn off all KERNEL tracing, enter the following: 
  16914.  
  16915.     TRACE OFF KERNEL
  16916.  
  16917.   To turn off all tracing associated with the major code 5, enter the 
  16918.   following: 
  16919.  
  16920.     TRACE OFF 5
  16921.  
  16922.   Notice that the event list is not specified. 
  16923.  
  16924.  
  16925. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16926.  
  16927. TRACE Command:  /S Parameter 
  16928.  
  16929. Suspends tracing activity without removing the existing set of trace points. 
  16930.  
  16931.  
  16932. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16933.  
  16934. TRACE Command:  /R Parameter 
  16935.  
  16936. Resumes tracing activity for the currently specified set of trace points. 
  16937.  
  16938.  
  16939. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16940.  
  16941. TRACE Command:  /C Parameter 
  16942.  
  16943. Clears the contents of the trace buffer. 
  16944.  
  16945.  
  16946. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16947.  
  16948. TRACE Command:  /P Parameter 
  16949.  
  16950. Specifies the processes to be traced in the system, either a specific process 
  16951. ID or all future processes. 
  16952.  
  16953. To activate tracing for all current and future processes, enter: 
  16954.  
  16955. /P:ALL.
  16956.  
  16957. To activate tracing for selected processes, specify the process identification 
  16958. (pid). (This number is a hexadecimal value supplied by the PSTAT command) 
  16959.  
  16960. To specify tracing the process ID (pid) of hexadecimal value 0056, enter the 
  16961. following: 
  16962.  
  16963. TRACE ON /P:56
  16964.  
  16965. o Multiple process IDs can be specified. 
  16966. o Trace options of Static and Dynamic cannot be used in the same TRACE command. 
  16967.  
  16968.  
  16969. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16970.  
  16971. TRACEBUF Command:  X Parameter 
  16972.  
  16973. Specifies a number from 1 through 63, representing a multiple of 1024 bytes. 
  16974.  
  16975. To increase the size of the trace buffer to 10KB, type the following in the 
  16976. CONFIG.SYS file: 
  16977.  
  16978. TRACEBUF=10
  16979.  
  16980.  
  16981. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16982.  
  16983. TREE Command:  Drive Parameter 
  16984.  
  16985. Specifies the drive containing the directories to be listed. 
  16986.  
  16987. To list the directory names on drive C, enter the following: 
  16988.  
  16989. TREE C:
  16990.  
  16991.  
  16992. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16993.  
  16994. TREE Command:  /F Parameter 
  16995.  
  16996. Displays the names of files in the root directory and in all the 
  16997. subdirectories. 
  16998.  
  16999. To list the directory paths and the names of all files in the root directory 
  17000. and each subdirectory on drive C, enter the following: 
  17001.  
  17002. TREE C: /F
  17003.  
  17004.  
  17005. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17006.  
  17007. TREE Command:  Print Option 
  17008.  
  17009. To have a directory listing sent to a printer, enter the following: 
  17010.  
  17011. TREE >PRN
  17012.  
  17013.  
  17014. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17015.  
  17016. TREE Command:  Pause Option 
  17017.  
  17018. To display directory names on the screen and pause with the message --More-- 
  17019. after a full screen of information appears, enter the following: 
  17020.  
  17021. TREE | MORE
  17022.  
  17023.  
  17024. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17025.  
  17026. TYPE Command:  Drive, Path, Filename Parameters 
  17027.  
  17028. Specifies the names of the files to be displayed, including the drive and 
  17029. directory location. 
  17030.  
  17031. To display the file FILE1.TXT in the STATUS directory on drive C, enter the 
  17032. following: 
  17033.  
  17034. TYPE C:\STATUS\FILE1.TXT
  17035.  
  17036. You can display the contents of more than one file at a time. To display the 
  17037. files FILE1.TXT in the STATUS directory on drive C and FILE2.TXT on drive A, 
  17038. enter the following: 
  17039.  
  17040. TYPE C:\STATUS\FILE1.TXT A:FILE2.TXT
  17041.  
  17042.  
  17043. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17044.  
  17045. TYPE Command:  Print Option 
  17046.  
  17047. To have the contents of a file named FRIDAY in the current directory sent to a 
  17048. printer, enter the following: 
  17049.  
  17050. TYPE FRIDAY >PRN
  17051.  
  17052.  
  17053. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17054.  
  17055. TYPE Command:  Pause Option 
  17056.  
  17057. To look at a file named FRIDAY in the current directory and have the display 
  17058. pause with the message --More-- after a full screen of information appears, 
  17059. enter the following: 
  17060.  
  17061. TYPE FRIDAY | MORE
  17062.  
  17063.  
  17064. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17065.  
  17066. UNDELETE Command: Drive Path and Filename Parameters 
  17067.  
  17068. Specifies the drive, directory, and name of the file or set of files to 
  17069. recover.  If not specified, all files in the current directory will be 
  17070. restored. 
  17071.  
  17072.  
  17073. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17074.  
  17075. UNDELETE Command: /L Parameter 
  17076.  
  17077. Lists deleted files that are available to be recovered without recovering the 
  17078. files. 
  17079.  
  17080.  
  17081. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17082.  
  17083. UNDELETE Command: /A Parameter 
  17084.  
  17085. Recovers all deleted files if they are still present without prompting for 
  17086. confirmation on each file. 
  17087.  
  17088.  
  17089. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17090.  
  17091. UNDELETE Command: /S Parameter 
  17092.  
  17093. Includes all files in the specified directory and all subdirectories. 
  17094.  
  17095.  
  17096. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17097.  
  17098. UNDELETE Command: /F Parameter 
  17099.  
  17100. Removes files so they cannot be recovered. 
  17101.  
  17102.  
  17103. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17104.  
  17105. UNPACK Command:  Drive, Path, Filename Parameters 
  17106.  
  17107. Specifies the drive, directory location, and name of the file to be unpacked or 
  17108. copied.  A compressed file usually has a @ as the last character of the file 
  17109. name. 
  17110.  
  17111. This file can actually contain many files compressed end to end.  If this is 
  17112. the case, specifying a single source file name may yield several files after 
  17113. decompression.  All of these files may go to different destinations 
  17114. (directories).  Their destinations, however, will be displayed on the screen 
  17115. during decompression.  You must specify the source file name. 
  17116.  
  17117. To unpack a compressed file named FORMAT.CO@ from the current directory on 
  17118. drive A to the OS2 directory on drive C, enter the following: 
  17119.  
  17120. UNPACK A:FORMAT.CO@ C:\OS2
  17121.  
  17122.  
  17123. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17124.  
  17125. UNPACK Command:  Drive and Path Parameters 
  17126.  
  17127. Specifies the drive and directory to which the file should be placed after it 
  17128. is decompressed or copied. 
  17129.  
  17130. If a target drive is specified without a path, the path information stored in 
  17131. the compressed file will be added to the target drive and the files will be 
  17132. unpacked (copied) there.  If both target drive and path are specified, the 
  17133. target drive and path information will override any target path information 
  17134. stored in the compressed file. 
  17135.  
  17136. To unpack a compressed file named FORMAT.CO@ from the current drive and 
  17137. directory to the OS2 subdirectory on drive C, enter the following: 
  17138.  
  17139. UNPACK FORMAT.CO@ C:\OS2
  17140.  
  17141.  
  17142. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17143.  
  17144. UNPACK Command:  /V Parameter 
  17145.  
  17146. Verifies that data written to a disk was written correctly. This option causes 
  17147. UNPACK to run slower because a check is made for each entry recorded on the 
  17148. disk. 
  17149.  
  17150. To verify the compressed files on drive A are correctly unpacked and copied to 
  17151. drive C, enter the following: 
  17152.  
  17153. UNPACK A:\*.* C:\ /V
  17154.  
  17155.  
  17156. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17157.  
  17158. UNPACK Command:  /F Parameter 
  17159.  
  17160. Specifies that files with extended attributes should not be unpacked or copied 
  17161. if the destination file system does not support extended attributes. 
  17162.  
  17163. To specify that extended attributes should not be discarded when unpacking or 
  17164. copying files from drive A to drive C (when drive C does not support extended 
  17165. attributes), enter the following: 
  17166.  
  17167. UNPACK A:\*.* C:\ /F
  17168.  
  17169.  
  17170. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17171.  
  17172. UNPACK Command:  /SHOW Parameter 
  17173.  
  17174. Displays the target path and file name information saved in the packed file for 
  17175. every compressed file contained within the file specified by the source file 
  17176. name.  If /SHOW is specified, the source file name is the only other valid 
  17177. parameter. 
  17178.  
  17179. To display the destination path and file name for every compressed file in the 
  17180. packed file, BUNDLE.DA@, enter the following: 
  17181.  
  17182. UNPACK BUNDLE.DA@ /SHOW
  17183.  
  17184.  
  17185. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17186.  
  17187. UNPACK Command:  /N:filename Parameter 
  17188.  
  17189. Specifies one particular file to extract and decompress from a source file 
  17190. containing multiple files compressed end to end. 
  17191.  
  17192. To specify the file, FORMAT.CO@, to be extracted and decompressed from a packed 
  17193. file, BUNDLE.DA@, containing multiple compressed files, enter the following: 
  17194.  
  17195. UNPACK BUNDLE.DA@ /N:FORMAT.COM
  17196.  
  17197.  
  17198. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17199.  
  17200. VERIFY Command:  ON and OFF Parameters 
  17201.  
  17202. ON verifies that your files are written correctly to the disk. OFF turns 
  17203. verification off.  This is the default value. 
  17204.  
  17205. To verify that your files are written correctly to the disk, enter the 
  17206. following: 
  17207.  
  17208. VERIFY ON
  17209.  
  17210.  
  17211. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17212.  
  17213. VIEW Command:  Drive, Path, Filename Parameters 
  17214.  
  17215. Specifies the drive, directory, and file name of the .INF file to be displayed. 
  17216.  
  17217.  
  17218. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17219.  
  17220. VIEW Command:  Topic Parameter 
  17221.  
  17222. Specifies the topic in the IPF online document that is to be displayed.  This 
  17223. topic must be in the Contents of the IPF document. 
  17224.  
  17225. To display the Functions topic in the REXX.INF file that is located in the 
  17226. OS2\BOOK directory on drive C, enter the following: 
  17227.  
  17228. VIEW C:\OS2\BOOK\REXX FUNCTIONS
  17229.  
  17230.  
  17231. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17232.  
  17233. VMDISK Command: Source Drive Parameter 
  17234.  
  17235. Specifies the source drive, which is the diskette drive where the DOS startup 
  17236. diskette resides.  Supported formats are: 360KB, 720KB, 1.2MB, 1.44MB, and 
  17237. 2.88MB. 
  17238.  
  17239.  
  17240. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17241.  
  17242. VMDISK Command: Target Drive and Path Parameter 
  17243.  
  17244. Specifies the target drive and path for the image file of the DOS startup 
  17245. diskette.  If the target drive and path are omitted, the default is the current 
  17246. drive and path. The target drive must have a greaater available capacity than 
  17247. the total capacity of the source drive. 
  17248.  
  17249.  
  17250. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17251.  
  17252. VMDISK Command: Filename Parameter 
  17253.  
  17254. Specifies the file name of the image file of the DOS startup diskette.  This 
  17255. file name must be provided. 
  17256.  
  17257.  
  17258. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17259.  
  17260. VOL Command:  Drive Parameter 
  17261.  
  17262. Specifies the disk volume label to be displayed. 
  17263.  
  17264. To display the volume labels of both drive C and drive D, enter the following: 
  17265.  
  17266. VOL C: D:
  17267.  
  17268.  
  17269. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17270.  
  17271. XCOPY Command:  Source Drive, Path, Filename Parameters 
  17272.  
  17273. Gives the source file name specification.  The source specification can be the 
  17274. name of a directory or file.  If it is a directory, XCOPY copies all files to 
  17275. the target specification.  If it is a file name, XCOPY copies the file to the 
  17276. target specification.  The target specification can be an existing directory or 
  17277. file or the name of the new directory or file you want to create. 
  17278.  
  17279. To copy the files in the MEMOS subdirectory on drive C to a newly created 
  17280. subdirectory named LETTERS on drive A, enter the following: 
  17281.  
  17282. XCOPY C:\MEMOS A:\LETTERS
  17283.  
  17284.  
  17285. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17286.  
  17287. XCOPY Command:  Target Drive, Path, Filename Parameters 
  17288.  
  17289. Gives the target file name specification, which can be the name of a file or 
  17290. directory.  If it is a file name, XCOPY copies the file to the target 
  17291. specification.  The target specification can also be a directory or file or the 
  17292. name of the new directory or file you want to create. 
  17293.  
  17294. To copy the MEMOS subdirectory on drive C, including all subdirectories and 
  17295. files within it, to a newly created subdirectory named LETTERS on drive A, 
  17296. enter the following: 
  17297.  
  17298. XCOPY C:\MEMOS A:\LETTERS
  17299.  
  17300.  
  17301. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17302.  
  17303. XCOPY Command:  /D Parameter 
  17304.  
  17305. Copies files that have been modified on or after the specified date. The date 
  17306. format varies depending on the COUNTRY statement in the CONFIG.SYS file. The 
  17307. date formats are as follows:  /D:mm-dd-yy, /D:dd-mm-yy, and /D:yy-mm-dd. 
  17308.  
  17309. To copy files changed on or after November 12, 1988 in the MEMOS subdirectory 
  17310. to the root directory on drive A, enter the following: 
  17311.  
  17312. XCOPY C:\MEMOS A:\ /D:11-12-88
  17313.  
  17314.  
  17315. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17316.  
  17317. XCOPY Command:  /S Parameter 
  17318.  
  17319. Copies subdirectories. Without this parameter, XCOPY works only within a 
  17320. directory.  This parameter does not create the corresponding directory on the 
  17321. target if no files have been found on the source. 
  17322.  
  17323. To copy the subdirectories and their contents from the root directory on drive 
  17324. C to the root directory on drive A, enter the following: 
  17325.  
  17326. XCOPY C:\ A:\ /S
  17327.  
  17328.  
  17329. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17330.  
  17331. XCOPY Command:  /E Parameter 
  17332.  
  17333. When used with the /S parameter, this copies the entire tree structure while 
  17334. creating corresponding source directories on the target even if no files have 
  17335. been found on those source directories. 
  17336.  
  17337. To copy the REPORTS subdirectory on drive C, including all files and 
  17338. subdirectories within it, to the root directory on drive A, enter the 
  17339. following: 
  17340.  
  17341. XCOPY C:\REPORTS A:\ /S /E
  17342.  
  17343.  
  17344. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17345.  
  17346. XCOPY Command:  /P Parameter 
  17347.  
  17348. Prompts you before performing a physical copy. With this parameter, XCOPY 
  17349. copies on a file-by-file basis. 
  17350.  
  17351. To be prompted with (Y/N?) before each file is copied from the MEMOS 
  17352. subdirectory on drive C to the LETTERS subdirectory on drive A, enter the 
  17353. following: 
  17354.  
  17355. XCOPY C:\MEMOS A:\LETTERS /P
  17356.  
  17357.  
  17358. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17359.  
  17360. XCOPY Command:  /V Parameter 
  17361.  
  17362. Verifies that data written to a disk has been written correctly. This option 
  17363. causes XCOPY to run slower. 
  17364.  
  17365. To verify that the files written from drive C to drive A are recorded properly, 
  17366. enter the following: 
  17367.  
  17368. XCOPY C:\ A:\ /V
  17369.  
  17370.  
  17371. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17372.  
  17373. XCOPY Command:  /A Parameter 
  17374.  
  17375. Copies archived files only.  This parameter does not turn off the archive bit 
  17376. of the source file. 
  17377.  
  17378. To copy only those files that have the archive bit set on without changing the 
  17379. attribute of source drive C when it is copied, type the following: 
  17380.  
  17381. XCOPY C:\ A:\ /A
  17382.  
  17383.  
  17384. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17385.  
  17386. XCOPY Command:  /M Parameter 
  17387.  
  17388. Copies archived files only.  Unlike /A, this parameter turns off the archive 
  17389. bit of the source file.  So when you regularly back up the source disk with 
  17390. XCOPY, using this parameter increases the efficiency of copying.  You should be 
  17391. aware that the BACKUP command also uses the archive bit. If both the /A and /M 
  17392. parameters are specified, the one specified last is the one used. 
  17393.  
  17394. To copy files whose archive bit is set on from the root directory on drive C to 
  17395. the root directory on drive A, then turn the archive bit of the source file 
  17396. off, enter the following: 
  17397.  
  17398. XCOPY C:\ A:\ /M
  17399.  
  17400.  
  17401. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17402.  
  17403. XCOPY Command:  /F Parameter 
  17404.  
  17405. Causes the XCOPY to fail if the source file contains extended attributes and 
  17406. the destination file system does not support extended attributes. If the /F 
  17407. parameter is not specified, the XCOPY will succeed if the source file contains 
  17408. extended attributes and the destination file system does not support them.  The 
  17409. extended attributes are not copied. If the /F parameter is not specified and 
  17410. the source file contains needed extended attributes, the XCOPY will fail if the 
  17411. destination file system does not support extended attributes.  In this 
  17412. instance, a message appears. 
  17413.  
  17414. Assume you want to XCOPY a file named REPORTS.TXT to the STATUS directory on 
  17415. drive D.  You also want the XCOPY to fail if drive D does not support extended 
  17416. attributes.  Enter the following: 
  17417.  
  17418. XCOPY REPORTS.TXT D:\STATUS /F
  17419.