home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s003 / 10.ddi / CMDREF / OS2_BOOK_CMDREF.INF (.txt)
Encoding:
OS/2 Help File  |  1992-03-30  |  388.0 KB  |  17,415 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. Canada (French-speaking)      Country Code:  002  Code Pages:  863, 850 
  2414. Czechoslovakia                Country Code:  042  Code Pages:  852, 850 
  2415. Denmark                       Country Code:  045  Code Pages:  865, 850 
  2416. Finland                       Country Code:  358  Code Pages:  437, 850 
  2417. France                        Country Code:  033  Code Pages:  437, 850 
  2418. Germany                       Country Code:  049  Code Pages:  437, 850 
  2419. Hebrew-speaking               Country Code:  972  Code Pages:  862 (Note 1), 
  2420.                               437 
  2421.                               Country Code:  972  Code Pages:  862 (Note 1), 
  2422.                               850 
  2423. Hungary                       Country Code:  036  Code Pages:  852, 850 
  2424. Iceland                       Country Code:  354  Code Pages:  850, 861 
  2425. Italy                         Country Code:  039  Code Pages:  437, 850 
  2426. Japan                         Country Code:  081  Code Pages:  932 (Note 2), 
  2427.                               437, 850 
  2428.                               Country Code:  081  Code Pages:  942 (Note 2), 
  2429.                               437, 850 
  2430. Korea                         Country Code:  082  Code Pages:  934 (Note 2), 
  2431.                               437, 850 
  2432.                               Country Code:  082  Code Pages:  944 (Note 2), 
  2433.                               437, 850 
  2434. Latin America                 Country Code:  003  Code Pages:  437, 850 
  2435. Netherlands                   Country Code:  031  Code Pages:  437, 850 
  2436. Norway                        Country Code:  047  Code Pages:  865, 850 
  2437. Poland                        Country Code:  048  Code Pages:  852, 850 
  2438. Portugal                      Country Code:  351  Code Pages:  860, 850 
  2439. Republic of China             Country Code:  088  Code Pages:  938 (Note 2), 
  2440.                               437, 850 
  2441.                               Country Code:  088  Code Pages:  948 (Note 2), 
  2442.                               437, 850 
  2443. Spain                         Country Code:  034  Code Pages:  437, 850 
  2444. Sweden                        Country Code:  046  Code Pages:  437, 850 
  2445. Switzerland                   Country Code:  041  Code Pages:  437, 850 
  2446. Turkey                        Country Code:  090  Code Pages:  857, 850 
  2447. United Kingdom                Country Code:  044  Code Pages:  437, 850 
  2448. United States                 Country Code:  001  Code Pages:  437, 850 
  2449. Yugoslavia                    Country Code:  038  Code Pages:  852, 850 
  2450.  
  2451. Note 1    Code pages 862 and 864 are supported only with a country supplement 
  2452.           available only in certain countries. 
  2453. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  2454.           the Asian version of the OS/2 operating system on Asian hardware. 
  2455.  
  2456.  
  2457. ΓòÉΓòÉΓòÉ <hidden> COUNTRY Examples ΓòÉΓòÉΓòÉ
  2458.  
  2459. To set the date and time format for Canada (French), use 002 as the country 
  2460. code and 863 as the desired code page.  Specify COUNTRY.SYS as the file 
  2461. containing the country information and type the following statement in your 
  2462. CONFIG.SYS file. 
  2463.  
  2464. COUNTRY=002,C:\OS2\SYSTEM\COUNTRY.SYS
  2465.  
  2466. To specify the drive, directory, and name of the file that contains the country 
  2467. information to be used, type the following statement in your CONFIG.SYS file. 
  2468.  
  2469. C:\OS2\SYSTEM\COUNTRY.SYS.
  2470.  
  2471.  
  2472. ΓòÉΓòÉΓòÉ 4.23. CREATEDD - Create Dump Diskette ΓòÉΓòÉΓòÉ
  2473.  
  2474. Creates a dump diskette for use with the Stand-Alone Dump procedure. 
  2475.  
  2476. This command is intended to be used with the aid of your technical coordinator. 
  2477.  
  2478.  
  2479. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ CREATEDD ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ target ΓöÇΓöÇΓöÇΓöÇΓöñ
  2480.    ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ                   drive
  2481.  
  2482. Related Commands:  TRACE, TRACEBUF, TRACEFMT 
  2483.  
  2484. The CREATEDD utility program prepares a diskette for an OS/2 memory dump. If a 
  2485. dump requires more than one diskette, the first diskette must be prepared with 
  2486. CREATEDD while the rest can be any formatted diskettes. 
  2487.  
  2488. Note:   As with other formatting operations, when you use CREATEDD to format a 
  2489.         diskette that already contains information, all of the information on 
  2490.         the diskette is erased. 
  2491.  
  2492.  
  2493. ΓòÉΓòÉΓòÉ <hidden> Stand-Alone Dump Facility ΓòÉΓòÉΓòÉ
  2494.  
  2495. This procedure is intended to be used with the aid of your technical 
  2496. coordinator. 
  2497.  
  2498. The Stand-Alone Dump facility provides an image of all of the physical memory 
  2499. in the system.  Stand-Alone means when the dump is started, all system 
  2500. activities stop and only the dump process continues. 
  2501.  
  2502. Note:   The Stand-Alone Dump facility is intended for use at the direction of 
  2503.         OS/2 support personnel. A dump is performed when a problem is difficult 
  2504.         to reproduce, or other methods of problem determination do not identify 
  2505.         the problem. The diskettes containing dump information are sent to an 
  2506.         OS/2 support location for analysis and problem determination. 
  2507.  
  2508. There are two procedures that need to be done to use the Stand-Alone Dump 
  2509. facility. They are as follows: 
  2510.  
  2511.  1. Create a dump dislette by using CREATEDD 
  2512.  2. Perform the Stand-Alone Dump procedure 
  2513.  
  2514.  
  2515. ΓòÉΓòÉΓòÉ <hidden> Stand-Alone Dump Procedure ΓòÉΓòÉΓòÉ
  2516.  
  2517. This procedure is intended to be used with the aid of your technical 
  2518. coordinator. 
  2519.  
  2520. Warning:  Performing a stand-alone dump is similar to restarting the system. 
  2521. Use caution when using a stand-alone dump. While dumping is taking place, all 
  2522. system activities in progress in all windows and full screens will stop and 
  2523. modified files might not be saved. 
  2524.  
  2525. Running a Stand-Alone Dump 
  2526.  
  2527.  1. Start the Stand-Alone Dump facility. 
  2528.  
  2529.     The Stand-Alone Dump facility can be started either manually or with the 
  2530.     TRAPDUMP utility program.  The following describes both ways. 
  2531.  
  2532.    o MANUAL: Press and hold down the Ctrl and Alt Keys, and press the Num Lock 
  2533.      key twice. After a few seconds, the screen clears and the following 
  2534.      message is displayed: 
  2535.  
  2536.           Insert the dump diskette created by the CREATEDD utility
  2537.           into drive A and press any key to continue.
  2538.  
  2539.    o TRAPDUMP Utility Program: 
  2540.  
  2541.      Warning:  Enabling TRAPDUMP automatically allows your system to initiate a 
  2542.      stand-alone dump every time an error occurs in the application code.  You 
  2543.      do not want to enable TRAPDUMP unless you really need to troubleshoot your 
  2544.      operating system and have been instructed to do so by your technical 
  2545.      coordinator. 
  2546.  
  2547.      To enable TRAPDUMP, type the following statement in the CONFIG.SYS file: 
  2548.  
  2549.           TRAPDUMP=ON
  2550.  
  2551.      By adding this statement, TRAPDUMP automatically initiates a stand-alone 
  2552.      dump when a trap occurs that normally would force ending the application 
  2553.      (for example, General Protection   Fault - 000D). 
  2554.  
  2555.      When dumping is initiated, the screen clears and the following message is 
  2556.      displayed: 
  2557.  
  2558.           Insert the dump diskette created by the CREATEDD utility into drive A
  2559.           and press any key to continue.
  2560.  
  2561.  2. When instructed, insert the diskette labeled Dump Diskette 1 and press any 
  2562.     key. This action starts the dump process. The following message is 
  2563.     displayed: 
  2564.  
  2565.         The storage dump is being performed...
  2566.  
  2567.  3. When the system dump is complete, or the current dump diskette is full, the 
  2568.     following messages are displayed: 
  2569.  
  2570.         The storage address ranges on this diskette are:
  2571.  
  2572.              beginning - ending memory address on the disk
  2573.  
  2574.         Press any key to continue.
  2575.  
  2576.  4. After you press a key, the following message is displayed: 
  2577.  
  2578.         The diskette is full.
  2579.         Insert another formatted diskette in drive A.
  2580.  
  2581.         Press any key to continue.
  2582.  
  2583.     Insert the next dump diskette into drive A and press any key. This action 
  2584.     continues the dump process and the following message is displayed: 
  2585.  
  2586.              The storage dump is being performed...
  2587.  
  2588.         WARNING: Any data on the dump diskettes will be overwritten by the
  2589.                  Stand-Alone Dump Facility.
  2590.  
  2591.  5. Repeat steps 3 and 4 until the dumping is completed. 
  2592.  
  2593. Ending a Stand-Alone Dump 
  2594.  
  2595. There are two ways to end a stand-alone dump: 
  2596.  
  2597.     1. When the stand-alone dump is complete and more than one diskette has 
  2598.        been used, the following messages are displayed: 
  2599.  
  2600.               Insert storage dump diskette number 1 to complete dump.
  2601.  
  2602.               Press any key to continue.
  2603.  
  2604.        This allows the control program to write the dump summary record and end 
  2605.        the dump process. 
  2606.     2. To end a stand-alone dump before it is completed, re-insert the first 
  2607.        dump diskette when you are prompted to insert another diskette. 
  2608.  
  2609.        This ends the dump, but allows the dump summary record to be written on 
  2610.        the first diskette. 
  2611.  
  2612. After the process has ended, the following messages are displayed: 
  2613.  
  2614. The storage dump has completed. Remove the dump diskette and restart
  2615. the system.
  2616.  
  2617.  
  2618. ΓòÉΓòÉΓòÉ <hidden> CREATEDD Examples ΓòÉΓòÉΓòÉ
  2619.  
  2620. To prepare the diskettes for the Stand-Alone Dump procedure, do the following: 
  2621.  
  2622.  1. Select an OS/2 command prompt. 
  2623.  2. To create a dump diskette in drive A, type the following: 
  2624.  
  2625.         CREATEDD A:
  2626.  
  2627.     Note:   CREATEDD.EXE must be in your current directory or path. 
  2628.  
  2629.  
  2630.  3. The following message is displayed: 
  2631.  
  2632.         Insert a new diskette in drive A:
  2633.         and press Enter when you are ready.
  2634.  
  2635.  4. When you press Enter, the following message is displayed: 
  2636.  
  2637.         Are you using a 1.44 megabyte diskette in drive A: (Y/N)?
  2638.  
  2639.  5. Select Y for yes, or N for no and press Enter. CREATEDD displays the 
  2640.     following message: 
  2641.  
  2642.         The operating system dump diskette
  2643.         is being created.
  2644.  
  2645.  6. After the command prompt reappears, use the FORMAT command to format the 
  2646.     remaining diskettes.  This number will vary with the amount of random 
  2647.     access memory (RAM) in your system.  A minimum of 4 diskettes is suggested. 
  2648.  7. Label the diskette that you created with the CREATEDD command as DUMP 
  2649.     diskette 1. The diskettes that you created using the FORMAT command should 
  2650.     be labeled as DUMP DISKETTE 2 and so on. 
  2651.  
  2652.  
  2653. ΓòÉΓòÉΓòÉ <hidden> SAA ΓòÉΓòÉΓòÉ
  2654.  
  2655. Trademark of the IBM Corporation. 
  2656.  
  2657.  
  2658. ΓòÉΓòÉΓòÉ <hidden> Personal System/2 ΓòÉΓòÉΓòÉ
  2659.  
  2660. Trademark of the IBM Corporation. 
  2661.  
  2662.  
  2663. ΓòÉΓòÉΓòÉ <hidden> Quietwriter ΓòÉΓòÉΓòÉ
  2664.  
  2665. Trademark of the IBM Corporation. 
  2666.  
  2667.  
  2668. ΓòÉΓòÉΓòÉ <hidden> Proprinter ΓòÉΓòÉΓòÉ
  2669.  
  2670. Trademark of the IBM Corporation. 
  2671.  
  2672.  
  2673. ΓòÉΓòÉΓòÉ <hidden> PS/2 ΓòÉΓòÉΓòÉ
  2674.  
  2675. Trademark of the IBM Corporation. 
  2676.  
  2677.  
  2678. ΓòÉΓòÉΓòÉ 4.24. DATE - Set System Date ΓòÉΓòÉΓòÉ
  2679.  
  2680. Displays or changes the date known to the system and resets the date on your 
  2681. computer's clock. This date is recorded in the directory when you create or 
  2682. change a file. 
  2683.  
  2684. DATE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2685.                        Γö£ΓöÇΓöÇΓöÇΓöÇ  mm-dd-yy  ΓöÇΓöÇΓöÇΓöÇΓöñ
  2686.                        Γö£ΓöÇΓöÇΓöÇΓöÇ  dd-mm-yy  ΓöÇΓöÇΓöÇΓöÇΓöñ
  2687.                        ΓööΓöÇΓöÇΓöÇΓöÇ  yy-mm-dd  ΓöÇΓöÇΓöÇΓöÇΓöÿ
  2688.  
  2689. Related Commands:  COUNTRY, TIME 
  2690.  
  2691. The OS/2 operating system accepts a slash (/), a period (.), and a dash (-), as 
  2692. the valid date separator for your country. 
  2693.  
  2694. Enter this command without a parameter to display the system date and be 
  2695. prompted about changing it. 
  2696.  
  2697. It is not necessary to change the date every day because your system hardware 
  2698. is programmed to change months and years correctly, whether the month has 31, 
  2699. 30, 29, or 28 days.  If you must change the date, enter DATE at the command 
  2700. prompt or from a batch file. If you do not want to change the date shown, press 
  2701. Enter. 
  2702.  
  2703. Note that the COUNTRY command in your CONFIG.SYS file allows you to change the 
  2704. format in which the date is displayed and entered. 
  2705.  
  2706.  
  2707. ΓòÉΓòÉΓòÉ <hidden> DATE Examples ΓòÉΓòÉΓòÉ
  2708.  
  2709. To display the system date and be prompted about changing it, enter the 
  2710. following: 
  2711.  
  2712. DATE
  2713.  
  2714. To change the date in the system to June 20 1990 without being prompted by the 
  2715. system, enter the following: 
  2716.  
  2717. DATE 06/20/90
  2718.  
  2719. or 
  2720.  
  2721. DATE 06-20-90
  2722.  
  2723. or 
  2724.  
  2725. DATE 06.20.90
  2726.  
  2727.  
  2728. ΓòÉΓòÉΓòÉ 4.25. DDINSTAL - Install Automated Device Drivers ΓòÉΓòÉΓòÉ
  2729.  
  2730. Provides an automated way to install new device drivers after the operating 
  2731. system has been installed. 
  2732.  
  2733. DDINSTAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2734.                ΓööΓöÇ drive ΓöÇΓöÿ      ΓööΓöÇ path ΓöÇΓöÿ
  2735.  
  2736. Enter this command without a parameter to start a step-by-step procedure with 
  2737. which you install device-driver files. 
  2738.  
  2739. These files are provided on a separate diskette called a Device Support 
  2740. diskette.  This diskette contains an xxx.DDP (device-driver profile) file that 
  2741. controls the installation process.  The DDINSTAL program uses the information 
  2742. from the device-driver profile to add the necessary statements to CONFIG.SYS 
  2743. and to copy all the support files into their appropriate directories on the 
  2744. hard disk. 
  2745.  
  2746. After typing DDINSTAL you are prompted to insert the Device Support diskette in 
  2747. drive A and to press Enter when ready.  If any files are not copied because 
  2748. they would replace open dynamic-link libraries or programs, those files are 
  2749. copied to a temporary subdirectory.  You are then prompted to insert the 
  2750. Installation diskette and restart the system.  After the system restarts, 
  2751. DDINSTAL.EXE automatically continues the device driver installation.  The 
  2752. remaining files in the temporary subdirectory are copied and the CONFIG.SYS 
  2753. statements are added to C:\CONFIG.SYS.  After DDINSTAL has installed the device 
  2754. driver, press Ctrl+Alt+Del to restart the system. 
  2755.  
  2756. If all of the files are copied successfully from the Device Support diskette, 
  2757. the statements in the CONFIG.SYS file are added to C:\CONFIG.SYS.  Press 
  2758. Ctrl+Alt+Del to restart the system. 
  2759.  
  2760.  
  2761. ΓòÉΓòÉΓòÉ <hidden> DDINSTAL Examples ΓòÉΓòÉΓòÉ
  2762.  
  2763. To start a step-by-step procdure with which you install device-driver files, 
  2764. enter the following: 
  2765.  
  2766. DDINSTAL
  2767.  
  2768.  
  2769. ΓòÉΓòÉΓòÉ 4.26. DEBUG - Assist in Testing and Debugging Executable Files ΓòÉΓòÉΓòÉ
  2770.  
  2771. DEBUG Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2772.       ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ filename ΓöÇΓöÇΓöÿ
  2773.  
  2774. Use the DEBUG command without a location and file name to access the DOS DEBUG 
  2775. environment and be able to enter all DEBUG commands in response to the DEBUG 
  2776. prompt, a hyphen (-).  Refer to the documentation that came with your DOS 
  2777. operating system for more information about the DEBUG command. 
  2778.  
  2779. The following is a list of DEBUG commands: 
  2780.  
  2781. ?         Displays a list of the DEBUG commands. 
  2782.  
  2783. A         Assembles 8086/8087/8088 mnemonics. 
  2784.  
  2785. C         Compares two portions of memory. 
  2786.  
  2787. D         Displays the contents of a portion of memory. 
  2788.  
  2789. E         Enters data into memory starting at a specified address. 
  2790.  
  2791. F         Fills a range of memory with specified values. 
  2792.  
  2793. G         Runs the executable file that is in memory. 
  2794.  
  2795. H         Performs hexadecimal arithmetic. 
  2796.  
  2797. I         Displays one byte value from a specified port. 
  2798.  
  2799. L         Loads the contents of a file or disk sectors into memory. 
  2800.  
  2801. M         Copies the contents of a block of memory. 
  2802.  
  2803. N         Specifies a file for an L or W command, or specifies the parameters 
  2804.           for the file you are testing. 
  2805.  
  2806. O         Sends one byte value to an output port. 
  2807.  
  2808. P         Executes a loop, a repeated string instruction, a software interrupt, 
  2809.           or a subroutine. 
  2810.  
  2811. Q         Stops the DEBUG session. 
  2812.  
  2813. R         Displays or alters the contents of one or more registers. 
  2814.  
  2815. S         Searches a portion of memory for a specified pattern of one or more 
  2816.           byte values. 
  2817.  
  2818. T         Processes one instruction and then displays the contents of all 
  2819.           registers, the status of all flags, and the decoded form of the 
  2820.           instruction that DEBUG will process next. 
  2821.  
  2822. U         Disassembles bytes and displays the corresponding source statements. 
  2823.  
  2824. W         Writes the file being tested to a disk. 
  2825.  
  2826. XA        Allocates expanded memory. 
  2827.  
  2828. XD        Deallocates expanded memory. 
  2829.  
  2830. XM        Maps expanded memory pages. 
  2831.  
  2832. XS        Displays the status of expanded memory. 
  2833.  
  2834.  
  2835. ΓòÉΓòÉΓòÉ <hidden> DEBUG Examples ΓòÉΓòÉΓòÉ
  2836.  
  2837. To access the DOS DEBUG environment, type the following: 
  2838.  
  2839. DEBUG
  2840.  
  2841. Refer to the documentation that came with your DOS operating system for more 
  2842. examples using the DEBUG command. 
  2843.  
  2844.  
  2845. ΓòÉΓòÉΓòÉ 4.27. DETACH - Process Programs Noninteractively ΓòÉΓòÉΓòÉ
  2846.  
  2847. Starts and simultaneously detaches an OS/2 program from its command processor. 
  2848.  
  2849. DETACH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2850.  
  2851. Any program that is started with DETACH must be able to process programs 
  2852. independently outside the control of the command processor.  DETACH should not 
  2853. issue any input or output calls to the keyboard, the mouse, or the display. 
  2854.  
  2855. You can detach any program, command, or file that does not require the use of a 
  2856. screen (for example, internal commands and batch (.CMD) files).  The OS/2 
  2857. operating system detaches CMD.EXE when it runs the internal command or batch 
  2858. file. For example, if you type DETACH DIR, it is changed to the equivalent of 
  2859. DETACH CMD.EXE /C DIR. 
  2860.  
  2861. CMD.EXE uses the value of the COMSPEC environment variable to locate the 
  2862. CMD.EXE that should be detached before it runs internal commands and batch 
  2863. files. 
  2864.  
  2865. You can use DETACH with redirection sequences to redirect a program's standard 
  2866. input and output to devices other than the keyboard and the display.  This 
  2867. allows the program to run noninteractively. 
  2868.  
  2869.  
  2870. ΓòÉΓòÉΓòÉ <hidden> DETACH      Examples ΓòÉΓòÉΓòÉ
  2871.  
  2872. To start and detach a batch program named SAMPLE.CMD from its command 
  2873. processor, enter the following: 
  2874.  
  2875. DETACH SAMPLE.CMD
  2876.  
  2877. To detach the CL command for compiling the TEST.C file and redirect the output 
  2878. to LPT1, enter the following: 
  2879.  
  2880. DETACH CL -C TEST.C > LPT1
  2881.  
  2882.  
  2883. ΓòÉΓòÉΓòÉ 4.28. DEVICE - Install Device Drivers ΓòÉΓòÉΓòÉ
  2884.  
  2885. Installs a device driver by specifying the path and complete file name of the 
  2886. device driver in your CONFIG.SYS file. 
  2887.  
  2888. DEVICE=ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  2889.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  2890.  
  2891. Related Commands:  BASEDEV 
  2892.  
  2893. A device driver is a file that contains the code needed so that the OS/2 
  2894. operating system can recognize the device and correctly process information 
  2895. received from or sent to that device. It loads standard default drivers that 
  2896. support standard system display terminals, keyboards, printers, diskette 
  2897. drives, hard disk drives, and serial devices.  You can, however, replace these 
  2898. or add other devices by coding and loading a device driver using DEVICE 
  2899. statements in the CONFIG.SYS file.  DEVICE statements are processed in the 
  2900. order in which they appear in the CONFIG.SYS file. 
  2901.  
  2902. Any time you add or make changes to the CONFIG.SYS file, you must restart the 
  2903. system in order for the new device or change to become effective. Remember, the 
  2904. CONFIG.SYS file is read only during system startup.  Anything added to this 
  2905. file after system initialization does not work until you restart the system. 
  2906.  
  2907. Your OS/2 diskettes contain the following device drivers: 
  2908.  
  2909. ANSI.SYS            Allows extended screen and keyboard support for DOS 
  2910.                     sessions. 
  2911.  
  2912. COM.SYS             Allows OS/2 application programs or system programs, such 
  2913.                     as SPOOL, to use serial devices. 
  2914.  
  2915. EGA.SYS             Allows DOS programs that require Enhanced Graphics Adapter 
  2916.                     support to be run. 
  2917.  
  2918. EXTDSKDD.SYS        Allows access to an external diskette drive referencing a 
  2919.                     logical drive letter. 
  2920.  
  2921. LOG.SYS             Allows system error logging using the SYSLOG utility 
  2922.                     program. 
  2923.  
  2924. MOUSE.SYS           Provides support for pointing devices. 
  2925.  
  2926. PMDD.SYS            Provides pointer draw support for OS/2 sessions 
  2927.  
  2928. POINTDD.SYS         Provides mouse pointer draw support. 
  2929.  
  2930. TOUCH.SYS           Provides support for touch devices. 
  2931.  
  2932. VDISK.SYS           Installs a simulated disk called a virtual disk. 
  2933.  
  2934. VEMM.SYS            Provides DOS Expanded Memory Manager. 
  2935.  
  2936. VXMS.SYS            Provides DOS Extended Memory Specification. 
  2937.  
  2938. The Device Support diskette that comes with the OS/2 operating system contains 
  2939. Printer device drivers.  Refer to the Master Help Index for information about 
  2940. installing these files. 
  2941.  
  2942.  
  2943. ΓòÉΓòÉΓòÉ 4.28.1. Install DOS and OS/2 Device Drivers ΓòÉΓòÉΓòÉ
  2944.  
  2945. Both DOS and OS/2 device drivers can be loaded with the DEVICE statement.  OS/2 
  2946. device drivers are initialized when you start the OS/2 operating system and can 
  2947. process requests from either DOS or OS/2 programs.  DOS device drivers are also 
  2948. initialized when you start the OS/2 operating system but they can only process 
  2949. requests from DOS programs. 
  2950.  
  2951. You can also install a device driver by using one of the following: 
  2952.  
  2953. o OS/2 System Installation program 
  2954. o DDINSTAL command 
  2955. o System Editor 
  2956.  
  2957. OS/2 System Installation is a menu-driven program designed to guide you through 
  2958. the installation process of installing OS/2 2.0 on all systems supported by 
  2959. OS/2 2.0.  It installs the device drivers that are required for your system's 
  2960. operation. It also installs device drivers supplied on separate Device Support 
  2961. diskettes. 
  2962.  
  2963. DDINSTAL provides an automated way to install device drivers after you have 
  2964. installed the OS/2 operating system. Any device that you can add comes with a 
  2965. separate diskette called a Device Support diskette.  That diskette has a device 
  2966. driver profile (a file with a .DDP extension) that controls the installation 
  2967. process. DDINSTAL uses the information from that profile to add the necessary 
  2968. statements to CONFIG.SYS and to copy all the support files into their 
  2969. appropriate directories on the hard disk. 
  2970.  
  2971. Some device drivers are very simple. They do not have, nor do they depend on, 
  2972. other support files to operate.  Because of their simplicity, you can easily 
  2973. install these types of device drivers without much trouble by using an editor 
  2974. such as the System Editor and adding a DEVICE statement in your CONFIG.SYS 
  2975. file. 
  2976.  
  2977.  
  2978. ΓòÉΓòÉΓòÉ <hidden> DEVICE Examples ΓòÉΓòÉΓòÉ
  2979.  
  2980. To specify a device driver named PRINTER.SYS located in the OS2 directory type 
  2981. the following in your CONFIG.SYS file: 
  2982.  
  2983. DEVICE=OS2\PRINTER.SYS
  2984.  
  2985. To specify a device driver named PRINTER.SYS located in the OS2 directory and 
  2986. activate a G switch option, type the following in the CONFIG.SYS file: 
  2987.  
  2988. DEVICE=OS2\PRINTER.SYS /G
  2989.  
  2990.  
  2991. ΓòÉΓòÉΓòÉ 4.29. DEVICE (ANSI.SYS) - Install Extended Display and Keyboard Support ΓòÉΓòÉΓòÉ
  2992.  
  2993. Allows you to use extended keyboard and display support in DOS sessions. This 
  2994. device driver has no effect on OS/2 sessions. 
  2995.  
  2996.                                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2997.                                                            Γöé
  2998. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ ANSI.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöñ
  2999.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇΓöÇΓöÇ /X ΓöÇΓöÇΓöÇΓöñ
  3000.                                                Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöñ
  3001.                                                ΓööΓöÇΓöÇΓöÇ /K ΓöÇΓöÇΓöÇΓöÿ
  3002.  
  3003. Related Commands:  ANSI 
  3004.  
  3005. You specify this support by placing this DEVICE statement in your CONFIG.SYS 
  3006. file.  Then, when you start the OS/2 operating system and switch to a DOS 
  3007. session, the standard input and standard output support is replaced with the 
  3008. extended functions. These functions allow you to redefine keys, manipulate the 
  3009. cursor, and change display color attributes. If you no longer want the extended 
  3010. functions for DOS sessions, you can remove the DEVICE=C:\OS2\MDOS\ANSI.SYS 
  3011. statement from your CONFIG.SYS file and restart the system. 
  3012.  
  3013.  
  3014. ΓòÉΓòÉΓòÉ <hidden> ANSI.SYS Examples ΓòÉΓòÉΓòÉ
  3015.  
  3016. To provide extended functions for DOS sessions, type the following statement in 
  3017. your CONFIG.SYS file and restart the system. 
  3018.  
  3019. DEVICE=C:\OS2\MDOS\ANSI.SYS
  3020.  
  3021. To install ANSI.SYS and be able to redefine your extended key values, type the 
  3022. following in the CONFIG.SYS file: 
  3023.  
  3024. DEVICE=C:\OS2\MDOS\ANSI.SYS /X
  3025.  
  3026. To enable ANSI.SYS to retain the number of rows specified by the MODE command, 
  3027. type the following in the CONFIG.SYS file: 
  3028.  
  3029. DEVICE=C:\OS2\MDOS\ANSI.SYS /L
  3030.  
  3031. To allow a system with an enhanced keyboard to be functionally compatible with 
  3032. the conventional keyboard, type the following in the CONFIG.SYS file: 
  3033.  
  3034. DEVICE=C:\OS2\MDOS\ANSI.SYS /K
  3035.  
  3036.  
  3037. ΓòÉΓòÉΓòÉ 4.30. DEVICE (COM.SYS) - Install Serial Device Support ΓòÉΓòÉΓòÉ
  3038.  
  3039. Allows OS/2 application programs or system programs, such as SPOOL, to use 
  3040. serial devices. 
  3041.  
  3042. Device drivers that support serial ports COM1 through COM4 must be listed 
  3043. before the DEVICE=C:\OS2\COM.SYS statement in the CONFIG.SYS file, or the port 
  3044. will be unavailable to COM.SYS. 
  3045.  
  3046. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ COM.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3047.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3048.  
  3049. The COM.SYS and COMDMA.SYS system files support ports COM1, COM2, COM3, and 
  3050. COM4. 
  3051.  
  3052. This device driver supports applications with the following RS-232C (serial 
  3053. device) interface functions: 
  3054.  
  3055. o Duplex communication 
  3056. o Automatic flow control (XON/XOFF) for both transmit and receive 
  3057. o Various modem line handshaking modes 
  3058. o Standard and nonstandard baud rates 
  3059. o Receive data-error character replacement. 
  3060.  
  3061. It also supports these system features: 
  3062.  
  3063. o Multiple active COM ports 
  3064. o Read and write request queueing 
  3065. o Interrupt-driven I/O processing 
  3066. o Internal transmit and receive data buffers 
  3067. o Several device status query functions. 
  3068.  
  3069. COM.SYS does not provide any support for devices that are attached to the COM 
  3070. port.  Instead, it provides enabling support for the asynchronous 
  3071. communications interface itself.  Application programs, subsystems, and system 
  3072. programs must provide the support needed to use devices attached to the COM 
  3073. port. 
  3074.  
  3075. This device driver allows other device drivers that support specific COM ports 
  3076. to be installed, provided that they are listed before COM.SYS in the CONFIG.SYS 
  3077. file.  This allows support for: 
  3078.  
  3079. o A special device for an application program's use that is not adequately 
  3080.   supported by this device driver 
  3081. o Additional COM ports beside COM1 through COM4 
  3082. o Enhanced device driver function for a COM port (which might be required for 
  3083.   certain subsystem support). 
  3084.  
  3085.  
  3086. ΓòÉΓòÉΓòÉ <hidden> COM.SYS Examples ΓòÉΓòÉΓòÉ
  3087.  
  3088. To provide file system support for communications ports COM1 through COM4, 
  3089. ensure the device drivers that support serial ports COM1 COM2, COM3, and COM4 
  3090. are listed before the COM statement as in your CONFIG.SYS file as follows: 
  3091.  
  3092. DEVICE=C:\OS2\printer1.SYS
  3093. DEVICE=C:\OS2\printer2.SYS
  3094. DEVICE=C:\OS2\printer3.SYS
  3095. DEVICE=C:\OS2\printer4.SYS
  3096. DEVICE=C:\OS2\COM.SYS
  3097.  
  3098. To provide file system support for communications ports COM1 through COM4 for 
  3099. PS/2 models 90 and 95, ensure the device drivers that support serial ports 
  3100. COM1, COM2, COM3, and COM4 are listed before the COM statement as in the 
  3101. CONFIG.SYS file as follows: 
  3102.  
  3103. DEVICE=C:\OS2\printer1.SYS
  3104. DEVICE=C:\OS2\printer2.SYS
  3105. DEVICE=C:\OS2\printer3.SYS
  3106. DEVICE=C:\OS2\printer4.SYS
  3107. DEVICE=C:\OS2\COMDMA.SYS
  3108.  
  3109.  
  3110. ΓòÉΓòÉΓòÉ 4.31. DEVICE (EGA.SYS) - Install Enhanced Graphics Support ΓòÉΓòÉΓòÉ
  3111.  
  3112. Supports the EGA register interface. 
  3113.  
  3114. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ EGA.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3115.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3116.  
  3117. The EGA.SYS device driver provides support for the EGA register interface in 
  3118. DOS sessions. EGA.SYS must be installed for those application programs that use 
  3119. the EGA register interface. 
  3120.  
  3121.  
  3122. ΓòÉΓòÉΓòÉ <hidden> EGA.SYS Examples ΓòÉΓòÉΓòÉ
  3123.  
  3124. To provide support for the EGA register interface in DOS sessions, type the 
  3125. following statement in your CONFIG.SYS file: 
  3126.  
  3127. DEVICE=C:\OS2\EGA.SYS
  3128.  
  3129.  
  3130. ΓòÉΓòÉΓòÉ 4.32. DEVICE (EXTDSKDD.SYS) - Assign a Drive Letter to a Diskette Drive ΓòÉΓòÉΓòÉ
  3131.  
  3132. Allows you to access a disk using a logical drive letter. 
  3133.  
  3134. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ EXTDSKDD.SYSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3135.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3136.  
  3137.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3138.                                    Γöé
  3139. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D:d ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3140.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /T:t ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3141.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S:s ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3142.       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H:h ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3143.       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F:f ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3144.  
  3145. More than one external device driver can be installed at the same time.  The 
  3146. maximum number is the total number of physical diskette drives installed in 
  3147. your system. Installed virtual disks do not affect the drive letter assignments 
  3148. described here if DEVICE=C:\OS2\VDISK.SYS statements are listed after 
  3149. DEVICE=C:\OS2\EXTDSKDD.SYS statements in the CONFIG.SYS file. 
  3150.  
  3151.  
  3152. ΓòÉΓòÉΓòÉ 4.32.1. Assign Drive Letters ΓòÉΓòÉΓòÉ
  3153.  
  3154. The first physical internal diskette drive is designated drive A. The second 
  3155. internal diskette drive is designated drive B. Other devices or device drivers 
  3156. are assigned letter values (beginning with C) based on the order in which they 
  3157. are encountered.  The existence of internal diskette drives and hard disks is 
  3158. checked first; then the CONFIG.SYS file is checked for device drivers. For the 
  3159. OS/2 operating system to recognize an external physical device, the CONFIG.SYS 
  3160. file must have the correct device driver information. 
  3161.  
  3162. The drive letter B is automatically used, even if there is only one physical 
  3163. drive; thus, a machine with only one diskette drive has two logical diskette 
  3164. drives: A and B. In this case, a specified parameter of /D:1 is an error. The 
  3165. first hard disk or the first block device driver cannot assign a drive letter 
  3166. lower than C. 
  3167.  
  3168.  
  3169. ΓòÉΓòÉΓòÉ <hidden> EXTDSKDD.SYS Examples ΓòÉΓòÉΓòÉ
  3170.  
  3171. To specify the first physical diskette drive, accessed as A: from the command 
  3172. prompt, type the following statement in your CONFIG.SYS file and restart your 
  3173. system: 
  3174.  
  3175. DEVICE=C:\OS2\EXTDSKDD.SYS /D:0
  3176.  
  3177. Physical Diskette Drive Table 
  3178.  
  3179. 0 = accessed as A 
  3180. 1 = accessed as B 
  3181. 2 = accessed as D or E external drives only 
  3182.  
  3183. To specify the number of tracks as 36 per side of the physical diskette 
  3184. accessed from the command prompt, type the following statement in your 
  3185. CONFIG.SYS file and restart your system: 
  3186.  
  3187. DEVICE=C:\OS2\EXTDSKDD.SYS /T:36
  3188.  
  3189. The tracks-per-side default is 80 
  3190. Valid tracks per side are 1 through 99 
  3191.  
  3192. To specify the number of sectors as 20 for the physical diskette accessed from 
  3193. the command prompt, type the following statement in your CONFIG.SYS file and 
  3194. restart your system: 
  3195.  
  3196. DEVICE=C:\OS2\EXTDSKDD.SYS /S:20
  3197.  
  3198. The sectors-per-track default is 80 
  3199. Valid sectors per track are 1 through 99 
  3200.  
  3201. To specify the maximum number of heads as 15 for the physical diskette drive 
  3202. accessed from the command prompt, type the following statement in your 
  3203. CONFIG.SYS file and restart your system: 
  3204.  
  3205. DEVICE=C:\OS2\EXTDSKDD.SYS /H:15
  3206.  
  3207. The heads default is 2 
  3208. Valid number of heads is 1 through 99 
  3209.  
  3210. To specify the device type (form factor) 0 for the physical diskette drive 
  3211. accessed from the command prompt, type the following statement in your 
  3212. CONFIG.SYS file and restart your system: 
  3213.  
  3214. DEVICE=C:\OS2\EXTDSKDD.SYS /F:0
  3215.  
  3216. The device type default is 2 
  3217. 0 = 360KB Diskette Drives 
  3218. 1 = 1.2MB Diskette Drives 
  3219. 2 = 720KB 
  3220.  
  3221. To copy from an internal diskette drive to the same drive, and specify a 1.2MB 
  3222. drive as the first (A) diskette drive, a 320/360KB drive as the second (B) 
  3223. diskette drive, and a hard disk (C), type the following statement in the 
  3224. CONFIG.SYS file: 
  3225.  
  3226. DEVICE=C:\OS2\EXTDSKDD.SYS /D:0 /T:80 /S:15 /H:2 /F:1
  3227.  
  3228. The first physical drive can now be referred to as either A or D. 
  3229.  
  3230.  
  3231. ΓòÉΓòÉΓòÉ 4.33. DEVICE (LOG.SYS) - Install Logging Service Device Driver ΓòÉΓòÉΓòÉ
  3232.  
  3233. Activates the System Logging Service device driver. 
  3234.  
  3235. DEVICE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ LOG.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3236.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3237.  
  3238. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3239.             ΓööΓöÇ /E:x ΓöÇΓöÿ ΓööΓöÇ /A:x ΓöÇΓöÿ  ΓööΓöÇ /OFF ΓöÇΓöÿ
  3240.  
  3241. Related Commands:  SYSLOG, RUN (LOGGING) 
  3242.  
  3243. You must include a RUN=LOGDAEM.EXE command in the CONFIG.SYS file in addition 
  3244. to this DEVICE=LOG.SYS statement.  These two commands and their parameters 
  3245. allow the System Logging Service to retrieve log data and keep the data in 
  3246. specific error-log files.  LOG.SYS is the file name of the System Logging 
  3247. Service device driver. 
  3248.  
  3249.  
  3250. ΓòÉΓòÉΓòÉ <hidden> LOG.SYS Examples ΓòÉΓòÉΓòÉ
  3251.  
  3252. To set the size of the System Logging Service error-log buffer to 32KB, type 
  3253. the following in the CONFIG.SYS file: 
  3254.  
  3255. DEVICE=C:\OS2\LOG.SYS /E:32
  3256.  
  3257. To set the size of the System Logging Service error-log device driver entry 
  3258. alert notification buffer to 64KB, type the following in the CONFIG.SYS file: 
  3259.  
  3260. DEVICE=C:\OS2\LOG.SYS /A:64
  3261.  
  3262. To turn error logging off, type the following in the CONFIG.SYS file: 
  3263.  
  3264. DEVICE=C:\OS2\LOG.SYS /OFF
  3265.  
  3266.  
  3267. ΓòÉΓòÉΓòÉ 4.34. DEVICE (MOUSE) - Install a Mouse Device Driver ΓòÉΓòÉΓòÉ
  3268.  
  3269. Implements support for pointing devices. To effectively use a mouse, you must 
  3270. also load the POINTDD.SYS device driver. In addition, you must include these 
  3271. statements in the CONFIG.SYS file in the following order: 
  3272.  
  3273. o A device-dependent statement that gives the file name containing the 
  3274.   information for the mouse you use, along with its model number and the COM 
  3275.   port to which it is connected 
  3276.  
  3277. o A device-independent statement that identifies the mouse to MOUSE.SYS 
  3278.  
  3279. All statements for serial mouse device drivers must precede any COM.SYS 
  3280. statements in the CONFIG.SYS file so that both device drivers are installed 
  3281. correctly. 
  3282.  
  3283. Device Dependent Statement
  3284.  
  3285. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3286.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3287.  
  3288. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3289.        ΓööΓöÇ SERIAL=COMn  ΓöÇΓöÿ
  3290.  
  3291. Device Independent Statement
  3292.  
  3293. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ MOUSE.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3294.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3295.  
  3296. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3297.        Γö£ΓöÇ  QSIZE=q  ΓöÇΓöñ
  3298.        ΓööΓöÇ TYPE=name ΓöÇΓöÿ
  3299.  
  3300. If you want to install an IBM Personal System/2* Mouse on your computer, type 
  3301. the following in the CONFIG.SYS file: 
  3302.  
  3303. DEVICE=C:\OS2\POINTDD.SYS
  3304. DEVICE=C:\OS2\MOUSE.SYS
  3305.  
  3306. Assume you want to install the PC Mouse System serial mouse on your computer 
  3307. and have it use COM port 2 for all sessions.  You would type the following in 
  3308. the CONFIG.SYS file: 
  3309.  
  3310. DEVICE=C:\OS2\POINTDD.SYS
  3311. DEVICE=C:\OS2\PCLOGIC.SYS SERIAL=COM2
  3312. DEVICE=C:\OS2\MOUSE.SYS TYPE=PCLOGIC$
  3313. DEVICE=C:\OS2\COM.SYS
  3314.  
  3315. Note:   For IBM PS/2* Models 90 and 95, the final DEVICE= statement should be: 
  3316.  
  3317.                 DEVICE=C:\OS2\COMDMA.SYS
  3318.  
  3319. COM.SYS must be loaded after the mouse statements so that the mouse can gain 
  3320. access to the COM port.  For all PS/2 models except Models 90 and 95, the 
  3321. device driver is COM.SYS.  For models 90 and 95, the device driver is 
  3322. COMDMA.SYS. The preceding example dedicates the COM2 port to the mouse. When 
  3323. your system is started, the mouse device driver is loaded and takes the COM2 
  3324. port, leaving the COM1 and COM3 ports available for the COM.SYS device driver 
  3325. to use. You then get a message, as the COM.SYS device driver is being 
  3326. installed, that tells you that the installation on COM2 port was not 
  3327. successful. This message is followed by an additional message: 
  3328.  
  3329. The device adapter could not be located.
  3330.  
  3331. The device adapter is not available because the port has been claimed by the 
  3332. mouse. 
  3333.  
  3334.  
  3335. ΓòÉΓòÉΓòÉ <hidden> MOUSE.SYS Examples ΓòÉΓòÉΓòÉ
  3336.  
  3337. To install an IBM Personal System/2 Mouse on your computer, type the following 
  3338. in the CONFIG.SYS file: 
  3339.  
  3340. DEVICE=C:\OS2\POINTDD.SYS
  3341. DEVICE=C:\OS2\MOUSE.SYS
  3342.  
  3343. To install the PC Mouse System serial mouse on your computer and have it use 
  3344. COM port 2 for all sessions, type the following in the CONFIG.SYS file: 
  3345.  
  3346. DEVICE=C:\OS2\POINTDD.SYS
  3347. DEVICE=C:\OS2\PCLOGIC.SYS SERIAL=COM2
  3348. DEVICE=C:\OS2\MOUSE.SYS TYPE=PCLOGIC$
  3349. DEVICE=C:\OS2\COM.SYS
  3350.  
  3351. For IBM PS/2 Models 90 and 95, the final DEVICE= statement should be: 
  3352.  
  3353. DEVICE=C:\OS2\COMDMA.SYS
  3354.  
  3355.  
  3356. ΓòÉΓòÉΓòÉ 4.35. DEVICE (PMDD.SYS) - Install Presentation Manager Draw Support ΓòÉΓòÉΓòÉ
  3357.  
  3358. Provides pointer draw device-driver support for OS/2 sessions. 
  3359.  
  3360. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ PMDD.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3361.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3362.  
  3363. The DEVICE=PMDD.SYS statement is added to your CONFIG.SYS file when you install 
  3364. the OS/2 operating system. When the system starts, it uses the PMDD.SYS device 
  3365. driver to provide pointer draw support for OS/2 sessions. 
  3366.  
  3367. If the PMDD.SYS device statement is removed from your CONFIG.SYS file, your 
  3368. system will not restart.  If this happens, do the following: 
  3369.  
  3370.  1. Insert the OS/2 Installation Program diskette.  When the logo screen 
  3371.     appears, proceed to the Welcome screen and press Esc. 
  3372.  2. Copy the file, CONFIG.BAK, into the root directory. You now have a generic 
  3373.     backup CONFIG.SYS file that you can rename to be your CONFIG.SYS file. 
  3374.  3. Use the System Editor to edit the CONFIG.SYS file. 
  3375.  4. Restart the system. 
  3376.  
  3377. The following shows the PMDD.SYS statement. 
  3378.  
  3379. DEVICE=C:\OS2\PMDD.SYS
  3380.  
  3381.  
  3382. ΓòÉΓòÉΓòÉ <hidden> PMDD.SYS Examples ΓòÉΓòÉΓòÉ
  3383.  
  3384. To provide pointer draw support for OS/2 sessions, type the following statement 
  3385. in your CONFIG.SYS file: 
  3386.  
  3387. DEVICE=C:\OS2\PMDD.SYS
  3388.  
  3389. Note:   If this statement is not in your CONFIG.SYS file, your system will not 
  3390.         start. 
  3391.  
  3392.  
  3393. ΓòÉΓòÉΓòÉ 4.36. DEVICE (POINTDD.SYS) - Install Mouse Pointer Draw Support ΓòÉΓòÉΓòÉ
  3394.  
  3395. Provides mouse-pointer draw support. To effectively use a mouse, you must load 
  3396. this device driver, in addition to specifying the appropriate mouse 
  3397. device-driver statements in the CONFIG.SYS file. 
  3398.  
  3399. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ POINTDD.SYSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3400.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  3401.  
  3402. Related Commands:  DEVICE MOUSE 
  3403.  
  3404. Text modes 0, 1, 2, 3, and 7 are the only modes supported.  For graphic modes 
  3405. D, E, F, and 10, the EGA.SYS device driver must also be installed. 
  3406.  
  3407. POINTDD.SYS provides draw support in all text modes for OS/2 sessions; 
  3408. POINTDD.SYS tracks (provides mode information) for all advanced function modes 
  3409. on the 8514A.  It tracks for CGA, EGA, and VGA graphic modes in OS/2 sessions. 
  3410.  
  3411.  
  3412. ΓòÉΓòÉΓòÉ <hidden> POINTDD.SYS Examples ΓòÉΓòÉΓòÉ
  3413.  
  3414. To provide mouse-pointer draw support in all text modes for OS/2 sessions, type 
  3415. the following statement in your CONFIG.SYS file: 
  3416.  
  3417. DEVICE=C:\OS2\POINTDD.SYS
  3418.  
  3419.  
  3420. ΓòÉΓòÉΓòÉ 4.37. DEVICE (TOUCH.SYS) - Install a Device Driver for Touch Devices ΓòÉΓòÉΓòÉ
  3421.  
  3422. Implements support for touch devices.  For a touch device to be effectively 
  3423. used, the POINTDD.SYS device driver and appropriate mouse device-driver support 
  3424. must be loaded. In addition, these statements must be included in the 
  3425. CONFIG.SYS file in the following order: 
  3426.  
  3427. o A device-dependent statement that gives the name of the file containing the 
  3428.   information for the touch device you use. 
  3429.  
  3430. o A device-independent statement that identifies the touch device to TOUCH.SYS 
  3431.  
  3432. Device Dependent Statement
  3433.  
  3434. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3435.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3436.  
  3437. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇCODEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇINITΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöé
  3438.  
  3439.  
  3440. Device Independent Statement
  3441.  
  3442. DEVICE = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ TOUCH.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3443.             ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3444.  
  3445. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3446.        Γö£ΓöÇ  QSIZE=q  ΓöÇΓöñ
  3447.        ΓööΓöÇ TYPE=name ΓöÇΓöÿ
  3448.  
  3449. When the OS/2* operating system detects a touch device installed on your 
  3450. computer, the Install program automatically loads the required device-driver 
  3451. support necessary to enable the touch device.  The touch device shares the 
  3452. auxiliary device (mouse) port on the system with the mouse by allowing the 
  3453. mouse to connect to the touch device, which is then connected to the system. 
  3454.  
  3455. The Install program automatically adds the following statements to the 
  3456. CONFIG.SYS file: 
  3457.  
  3458. DEVICE=C:\OS2\PDITOU0x.SYS CODE=C:\OS2TOUCO21.BIN INIT=C:TOUCH.INI
  3459. DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  3460. RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  3461. DEVICE=C:\OS2\MOUSE.SYS TYPE=PDIMOU$
  3462.  
  3463. where x is 1 or 2 depending on the bus architecture of your computer, 
  3464. TOUCO21D.BIN is the touch-device microcode binary file, and TOUCH.INI is a text 
  3465. file containing default parameter settings. 
  3466.  
  3467. The RUN=CALIBRAT.EXE statement is to activate the Calibration program.  This 
  3468. program performs the dual actions of downloading calibration-constant data to 
  3469. the touch device each time the system is started, and enabling recalibration of 
  3470. the touch device at initial setup, and when the device is moved to a new 
  3471. location. 
  3472.  
  3473. To recalibrate the touch device, enter the following at an OS/2 command prompt: 
  3474.  
  3475. C:
  3476. CD \OS2
  3477. CALIBRAT -U
  3478.  
  3479. Note:   The use of the "-U" option updates the existing CALIBRAT.DAT file with 
  3480.         new calibration data. 
  3481.  
  3482.  
  3483. ΓòÉΓòÉΓòÉ <hidden> TOUCH.SYS Examples ΓòÉΓòÉΓòÉ
  3484.  
  3485. The entry in the CONFIG.SYS file for the combined mouse and touch 
  3486. device-dependent driver is as follows: 
  3487.  
  3488. DEVICE=C:\OS2\PDITOU0x.SYS CODE=TOUCO21D.BIN INIT=TOUCH.INI
  3489.  
  3490. where x is 1 or 2 depending on the bus architecture of your computer, 
  3491. TOUCO21D.BIN is the touch-device microcode binary file, and TOUCH.INI is a text 
  3492. file containing default parameter settings. 
  3493.  
  3494. The entry in the CONFIG.SYS file for the touch device-independent driver is as 
  3495. follows: 
  3496.  
  3497. DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  3498.  
  3499.  
  3500. ΓòÉΓòÉΓòÉ 4.38. DEVICE (VDISK.SYS) - Install a Virtual Disk ΓòÉΓòÉΓòÉ
  3501.  
  3502. Installs a virtual disk. 
  3503.  
  3504. Any DEVICE=C:\OS2\VDISK.SYS statements must be listed after any 
  3505. DEVICE=C:\OS2\EXTDSKDD.SYS statements in CONFIG.SYS to avoid affecting logical 
  3506. drive letter assignments. 
  3507.  
  3508. DEVICE= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ VDISK.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇ
  3509.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  3510.  
  3511. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  3512.    ΓööΓöÇΓö¼ΓöÇ bytes ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3513.      ΓööΓöÇΓöÇ  , ΓöÇΓöÇΓöÇΓöÿ  ΓööΓö¼ΓöÇ sectors ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3514.                    ΓööΓöÇΓöÇΓöÇΓöÇ  ,  ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓö¼ΓöÇ directories ΓöÇΓö¼ΓöÇΓöÿ
  3515.                                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ  , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3516.  
  3517. The parameters, bytes, sectors, and directories are positional parameters. Use 
  3518. a comma when you do not want to alter the default value of the parameter for 
  3519. which the  comma is being used.  This tells the system to skip past the value 
  3520. it is looking for at this position, insert the default value, and proceed to 
  3521. the next value. 
  3522.  
  3523. The following example shows how to install a 160KB virtual disk with 128-byte 
  3524. sectors and 64 directory entries. Note that all parameters are being specified. 
  3525.  
  3526. DEVICE=C:\OS2\VDISK.SYS 160 128 64
  3527.  
  3528. If you decide to use the default value of any of the parameters, such as the 
  3529. sector size and directory entries, you can enter commas where the values should 
  3530. be. 
  3531.  
  3532. DEVICE=C:\OS2\VDISK.SYS 160,,
  3533.  
  3534. Assume that you want to specify a value for directories and accept the defaults 
  3535. for bytes and sectors. The value for directories should be preceded by two 
  3536. commas, as in this example: 
  3537.  
  3538. DEVICE=C:\OS2\VDISK.SYS ,,32
  3539.  
  3540. However, to indicate only the sectors parameter as the default, you must use 
  3541. two commas as follows: 
  3542.  
  3543. DEVICE=C:\OS2\VDISK.SYS 160,,64
  3544.  
  3545. VDISK displays a message to tell you that it is installed and gives you the 
  3546. drive letter that is assigned to the virtual disk. 
  3547.  
  3548. If the virtual disk size specified is too large to fit in storage, VDISK tries 
  3549. to make a 16KB virtual disk. This may result in a virtual disk with a different 
  3550. number of directory entries than the number you specified with directories. 
  3551.  
  3552.  
  3553. ΓòÉΓòÉΓòÉ <hidden> VDISK.SYS Examples ΓòÉΓòÉΓòÉ
  3554.  
  3555. To install a 160KB virtual disk with 128-byte sectors and 64 directory entries, 
  3556. enter the following in your CONFIG.SYS and restart your system: 
  3557.  
  3558. DEVICE=C:\OS2\VDISK.SYS 160 128 64
  3559.  
  3560. Note:   In the preceding example all parameters are specified in the following 
  3561.         order, bytes, sectors, and directories. 
  3562.  
  3563. You can enter commas for the default values of any of the parameters where the 
  3564. real values should be.  The above example would then be as follows: 
  3565.  
  3566. DEVICE=C:\OS2\VDISK.SYS 160,,
  3567.  
  3568. However, to indicate only the sectors parameter as the default, you must use 
  3569. two commas as follows: 
  3570.  
  3571. DEVICE=C:\OS2\VDISK.SYS 160,,64
  3572.  
  3573. Parameter Default Table 
  3574.  
  3575. Bytes = 64 
  3576.  
  3577. Sectors = 128 
  3578.  
  3579. Directories = 64 
  3580.  
  3581. To specify a value for directories and accept the defaults for bytes. and 
  3582. sectors, enter the following in your CONFIG.SYS file and restart your system: 
  3583.  
  3584. DEVICE=C:\OS2\VDISK.SYS ,,32
  3585.  
  3586.  
  3587. ΓòÉΓòÉΓòÉ <hidden> Non-IBM Trademarks ΓòÉΓòÉΓòÉ
  3588.  
  3589. The following terms, denoted by a double asterisk (**) in this information, are 
  3590. trademarks of other companies as follows: 
  3591.  
  3592. Intel is a trademark of Intel Corporation. 
  3593. Logitech is a trademark of Logitech, Inc. 
  3594. Lotus is a trademark of Lotus Development Corporation. 
  3595. Microsoft is a trademark of Microsoft Corporation. 
  3596. Visi-On is a trademark of Visicorp. 
  3597.  
  3598.  
  3599. ΓòÉΓòÉΓòÉ 4.39. DEVICE (VEMM.SYS) - Provide DOS Expanded Memory Manager ΓòÉΓòÉΓòÉ
  3600.  
  3601. Provides Expanded Memory Manager (EMM) for DOS sessions. 
  3602.  
  3603. DEVICE= ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ VEMM.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  3604.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ n ΓöÇΓöÿ
  3605.  
  3606. Related Commands:  PROTECTONLY 
  3607.  
  3608. VEMM.SYS is a virtual device driver that provides the 
  3609. Lotus**/Intel**/Microsoft** (LIM) Version 4.0 Expanded Memory Specification 
  3610. (EMS) emulation to DOS sessions.  VEMM.SYS allows DOS applications to allocate 
  3611. and map expanded memory on the Intel 8086 family of computers. 
  3612.  
  3613. Any DEVICE=C:\OS2\VEMM.SYS n statements must be listed before any 
  3614. DEVICE=C:\OS2\MDOS\VXMS.SYS statements in the CONFIG.SYS file since VEMM 
  3615. searches for unused addresses between 640KB and 1MB. 
  3616.  
  3617. The following example shows the statement you type in the CONFIG.SYS file: 
  3618.  
  3619. DEVICE=C:\OS2\VEMM.SYS n
  3620.  
  3621.  
  3622. ΓòÉΓòÉΓòÉ <hidden> VEMM.SYS Examples ΓòÉΓòÉΓòÉ
  3623.  
  3624. To provide a virtual device driver that provides Lotus**/Intel**/Microsoft** 
  3625. (LIM) Version 4.0 Expanded Memory Specification (EMS) emulation to DOS sessions 
  3626. with an EMM of 10KB, type the following statement in your CONFIG.SYS file and 
  3627. restart your system: 
  3628.  
  3629. DEVICE=C:\OS2\VEMM.SYS 10
  3630.  
  3631. The Default is 4096KB (4MB) 
  3632.  
  3633.  
  3634. ΓòÉΓòÉΓòÉ 4.40. DEVICE (VXMS.SYS) - Provide DOS Extended Memory Specification ΓòÉΓòÉΓòÉ
  3635.  
  3636. Provides Extended Memory Specification (XMS) for DOS sessions. 
  3637.  
  3638. DEVICE= ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ VXMS.SYS ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  3639.           ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γö£ΓöÇ XMMLIMIT=g,i ΓöÇΓöñ
  3640.                                               Γö£ΓöÇΓöÇΓöÇ HMAMIN=d ΓöÇΓöÇΓöÇΓöñ
  3641.                                               Γö£ΓöÇ NUMHANDLES=n ΓöÇΓöñ
  3642.                                               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ UMB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3643.                                               ΓööΓöÇΓöÇΓöÇΓöÇ NOUMB ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3644.  
  3645. VXMS.SYS is a virtual device driver that provides Extended Memory Specification 
  3646. (XMS) emulation to DOS sessions.  XMS allows DOS applications to access more 
  3647. than 1MB of memory, under XMS control. 
  3648.  
  3649. If multiple DOS session support is requested during Installation, the system 
  3650. places the following statements in the CONFIG.SYS file to provide the XMS, VDD, 
  3651. and Load DOS High support to DOS sessions. 
  3652.  
  3653. DOS=HIGH,UMB
  3654. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  3655.  
  3656. Any DEVICE=C:\OS2\MDOS\VXMS.SYS statements must be listed after 
  3657. DEVICE=C:\OS2\VEMM.SYS statements in the CONFIG.SYS file because VXMS reserves 
  3658. all available addresses between 640KB and 1MB for use as upper memory blocks 
  3659. (UMBs).  VXMS will not be installed if some other device driver has already 
  3660. reserved the region from 1MB to 1MB+64KB. 
  3661.  
  3662.  
  3663. ΓòÉΓòÉΓòÉ <hidden> VXMS.SYS Examples ΓòÉΓòÉΓòÉ
  3664.  
  3665. To provide Extended Memory Specification (XMS) emulation to allow DOS 
  3666. applications access to greater than 1MB of memory, under XMS control, type the 
  3667. following statement in your CONFIG.SYS file: 
  3668.  
  3669. DEVICE=C:\OS2\MDOS\VXMS.SYS
  3670.  
  3671. To set the global (system-wide) maximum memory usage of the VXMS driver to g 
  3672. KB, and a DOS session maximum of i KB, type the following in your CONFIG.SYS 
  3673. file and restart your system: 
  3674.  
  3675. DEVICE=C:\OS2\MDOS\VXMS.SYS /XMMLIMIT=g,i
  3676.  
  3677. The default is /XMMLIMIT=4096,1024 
  3678.  
  3679. To set the minimum request size (in KB) for a High Memory Area (HMA) request to 
  3680. succeed, type the following in your CONFIG.SYS file and restart your system. 
  3681. Values are restricted to the range of 0 to 63. 
  3682.  
  3683. DEVICE=C:\OS2\MDOS\VXMS.SYS /HMAMIN=d
  3684.  
  3685. The default is /HMAMIN=0 
  3686.  
  3687. To set the number of handles available in each DOS session, type the following 
  3688. in your CONFIG.SYS file and restart your system.  Values are restricted to the 
  3689. range of 0 to 128. 
  3690.  
  3691. DEVICE=C:\OS2\MDOS\VXMS.SYS /NUMHANDLES=n
  3692.  
  3693. The default is /NUMHANDLES=32 
  3694.  
  3695. To instruct XMS to create upper memory blocks, type the following in your 
  3696. CONFIG.SYS file and restart your system: 
  3697.  
  3698. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  3699.  
  3700. The default is  /off 
  3701.  
  3702. To instruct XMS not to create upper memory blocks, type the following in your 
  3703. CONFIG.SYS file and restart your system: 
  3704.  
  3705. DEVICE=C:\OS2\MDOS\VXMS.SYS /NOUMB
  3706.  
  3707. The default is  /NOUMB 
  3708.  
  3709.  
  3710. ΓòÉΓòÉΓòÉ 4.41. DEVICEHIGH - Load DOS Device Driver into Upper Memory ΓòÉΓòÉΓòÉ
  3711.  
  3712. Loads a specified DOS device driver into an available upper memory block (UMB) 
  3713. for a DOS session. 
  3714.  
  3715. DEVICEHIGH= Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  3716.             ΓööΓöÇ SIZE=xx ΓöÇΓöÿΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  3717.  
  3718. Related Commands:  LOADHIGH, DOS (UMB/NOUMB) 
  3719.  
  3720. DOS device drivers are normally loaded into low memory (below 640KB) in DOS 
  3721. sessions.  However, when you type the DEVICEHIGH= statement into your 
  3722. CONFIG.SYS file, the operating system will attempt to load the specified DOS 
  3723. device driver into an available upper memory block (UMB).  If a UMB is not 
  3724. available, the device driver will be loaded into low memory as is done for a 
  3725. DEVICE= statement.  To enable UMBs, type the DOS=UMB statement in the 
  3726. CONFIG.SYS file. 
  3727.  
  3728.  
  3729. ΓòÉΓòÉΓòÉ <hidden> DEVICEHIGH Examples ΓòÉΓòÉΓòÉ
  3730.  
  3731. To load the ANSI.SYS device driver into an upper memory block (UMB), type the 
  3732. following in the CONFIG.SYS file: 
  3733.  
  3734. DEVICEHIGH=C:\OS2\MDOS\ANSI.SYS
  3735.  
  3736.  
  3737. ΓòÉΓòÉΓòÉ 4.42. DEVINFO - Prepare Devices for Code-Page Switching ΓòÉΓòÉΓòÉ
  3738.  
  3739. DEVINFO statements prepare a device (such as your keyboard, display terminal, 
  3740. and printer) for code-page switching.  Separate DEVINFO statements are required 
  3741. for each device to be used for code-page switching. 
  3742.  
  3743. DEVINFOΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  3744.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  3745.  
  3746. There are three different DEVINFO statements you can use: 
  3747.  
  3748. KBD               Prepares a keyboard for code-page switching.  The keyboard 
  3749.                   statement specifies your keyboard layout ID (keyboard country 
  3750.                   and subcountry codes) and a file named KEYBOARD.DCP that 
  3751.                   contains a keyboard layout table for translating keystrokes 
  3752.                   into the characters of each code page supported by the OS/2 
  3753.                   operating system.  Refer to the KEYB command for a table 
  3754.                   containing the keyboard country and subcountry codes. 
  3755.  
  3756. SCR               Prepares a display screen for code page switching.  The 
  3757.                   display statement specifies your display name and a file 
  3758.                   named VIOTBL.DCP that contains a video font table for 
  3759.                   displaying characters in each of the code pages supported by 
  3760.                   the OS/2 operating system. 
  3761.  
  3762. LPT#              Prepares a printer for code page switching.  The printer 
  3763.                   statement specifies your printer name and a file with a .DCP 
  3764.                   extension that contains a printer font table for each code 
  3765.                   page supported by the OS/2 operating system. 
  3766.  
  3767.  
  3768. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Device Examples ΓòÉΓòÉΓòÉ
  3769.  
  3770. Keyboard Examples 
  3771.  
  3772. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  3773. the CONFIG.SYS file: 
  3774.  
  3775. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  3776.  
  3777. To prepare the enhanced French keyboard 120, type the following in the 
  3778. CONFIG.SYS file: 
  3779.  
  3780. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  3781.  
  3782. Display Examples 
  3783.  
  3784. To prepare a CGA display, type the following in the CONFIG.SYS file: 
  3785.  
  3786. DEVINFO=SCR,CGA,C:\OS2\VIOTBL.DCP
  3787.  
  3788. To prepare an EGA display, type the following in the CONFIG.SYS file: 
  3789.  
  3790. DEVINFO=SCR,EGA,C:\OS2\VIOTBL.DCP
  3791.  
  3792. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  3793.  
  3794. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  3795.  
  3796. To prepare a BGA display, type the following in the CONFIG.SYS file: 
  3797.  
  3798. DEVINFO=SCR,BGA,C:\OS2\VIOTBL.DCP
  3799.  
  3800. Printers Examples 
  3801.  
  3802. To prepare a Proprinter* Model II as your first parallel printer, type the 
  3803. following statement in the CONFIG.SYS file: 
  3804.  
  3805. DEVINFO=LPT1,4201,C:\OS2\4201.DCP,ROM=(437,0)
  3806.  
  3807. To set up an IBM Quietwriter* III and use code page 850 and 860, in addition to 
  3808. 437, enter: 
  3809.  
  3810. DEVINFO=LPT1,5202,C:\OS2\5202.DCP,ROM=(437,011),
  3811. (437,085),(437,254),
  3812. (437,159),(850,254),(850,159),
  3813. (860,011),(860,085)
  3814.  
  3815. Note:   The above statement must appear as one line in your CONFIG.SYS file. 
  3816.  
  3817.  
  3818. ΓòÉΓòÉΓòÉ 4.43. DEVINFO (Display) - Prepare a Display for Code-Page Switching ΓòÉΓòÉΓòÉ
  3819.  
  3820. Prepares a display for system code-page switching. 
  3821.  
  3822. DEVINFO = SCR ΓöÇΓöÇ ,device, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  3823.                            ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  3824.  
  3825. This statement is one of the interrelated CONFIG.SYS statements required for 
  3826. successful code-page switching. The other statements are: CODEPAGE and COUNTRY 
  3827.  
  3828. The display statement specifies your display name and a file named VIOTBL.DCP 
  3829. that contains a video font table for displaying characters in each of the code 
  3830. pages supported by the system. 
  3831.  
  3832. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  3833.  
  3834. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  3835.  
  3836.  
  3837. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Display Examples ΓòÉΓòÉΓòÉ
  3838.  
  3839. To prepare a CGA display, type the following in the CONFIG.SYS file: 
  3840.  
  3841. DEVINFO=SCR,CGA,C:\OS2\VIOTBL.DCP
  3842.  
  3843. To prepare a EGA display, type the following in the CONFIG.SYS file: 
  3844.  
  3845. DEVINFO=SCR,EGA,C:\OS2\VIOTBL.DCP
  3846.  
  3847. To prepare a VGA display, type the following in the CONFIG.SYS file: 
  3848.  
  3849. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  3850.  
  3851. To prepare a BGA display, type the following in the CONFIG.SYS file: 
  3852.  
  3853. DEVINFO=SCR,BGA,C:\OS2\VIOTBL.DCP
  3854.  
  3855.  
  3856. ΓòÉΓòÉΓòÉ 4.44. DEVINFO (Keyboard) - Prepare Keyboard for Code-Page Switching ΓòÉΓòÉΓòÉ
  3857.  
  3858. Prepares a keyboard for system code-page switching. 
  3859.  
  3860. DEVINFO = KBDΓöÇΓöÇΓöÇ ,layout, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  3861.                            ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  3862.  
  3863. This statement is one of the interrelated CONFIG.SYS statements required for 
  3864. successful code-page switching. The other statements are: CODEPAGE and COUNTRY 
  3865.  
  3866. The DEVINFO=KBD statement specifies your keyboard layout and a file named 
  3867. KEYBOARD.DCP that contains a keyboard layout table for translating keystrokes 
  3868. into the characters of each code page supported by the system. 
  3869.  
  3870. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  3871. the CONFIG.SYS file: 
  3872.  
  3873. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  3874.  
  3875. Remember the following if you want to prepare an enhanced keyboard.  All 
  3876. countries have at least one Sub-Country code supported by the OS/2 operating 
  3877. system.  Several countries such as France, Italy, and the United Kingdom have 
  3878. two.  Because these countries have more than one keyboard layout, the 
  3879. subcountry code allows you to select the keyboard you want.  If you do not 
  3880. specify a subcountry code for these countries, DEVINFO uses the default 
  3881. subcountry codes: FR189 (for France), IT141 (for Italy), and UK166 (for the 
  3882. United Kingdom). 
  3883.  
  3884. To prepare the enhanced French keyboard 120, type the following in the 
  3885. CONFIG.SYS file: 
  3886.  
  3887. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  3888.  
  3889.  
  3890. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Keyboard Examples ΓòÉΓòÉΓòÉ
  3891.  
  3892. To specify the name of the file KEYBOARD.DCP, that contains the keyboard 
  3893. layouts, found in the C:\OS2 subdirectory, type the following in the 
  3894. CONFIG.SYS: 
  3895.  
  3896. DEVINFO=KBD,layout C:\OS2\KEYBOARD.DCP.
  3897.  
  3898. To prepare a U.S. keyboard using the keyboard layout, US, type the following in 
  3899. the CONFIG.SYS file: 
  3900.  
  3901. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  3902.  
  3903. To prepare the enhanced French keyboard 120, type the following in the 
  3904. CONFIG.SYS file: 
  3905.  
  3906. DEVINFO=KBD,FR120,C:\OS2\KEYBOARD.DCP
  3907.  
  3908.  
  3909. ΓòÉΓòÉΓòÉ 4.45. DEVINFO (Printer) - Prepare a Printer for Code-Page Switching ΓòÉΓòÉΓòÉ
  3910.  
  3911. Prepares a parallel printer for system code-page switching. 
  3912.  
  3913. DEVINFO = PRN ΓöÇΓö¼ΓöÇ,device, ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇ
  3914.          LPT# ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  3915.  
  3916. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3917.      ΓööΓöÇ ,ROM= ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ nnn ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  3918.                 Γöé             Γöé     Γöé
  3919.                 Γöé     ΓööΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÿ     Γöé
  3920.                 ΓööΓöÇΓöÇΓöÇ (nnn,fontid) ΓöÇΓö¼ΓöÇΓöÿ
  3921.                                   Γöé
  3922.                    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3923.  
  3924. This statement is one of the interrelated CONFIG.SYS statements required for 
  3925. successful code-page switching. The other statements are: CODEPAGE and COUNTRY. 
  3926.  
  3927. This DEVINFO statement specifies your printer name and a file with a .DCP 
  3928. extension that contains a printer font table for each code page supported by 
  3929. the system. 
  3930.  
  3931. If you want to prepare a Proprinter Model II as your first parallel printer, 
  3932. type the following statement in the CONFIG.SYS file: 
  3933.  
  3934. DEVINFO=LPT1,4201,C:\OS2\4201.DCP,ROM=(437,0)
  3935.  
  3936. If you want to use fonts other than the defaults, include the code page and 
  3937. font combinations on the ROM parameter in the correct order (imbedded fonts 
  3938. first). For example, if you want to set up an IBM Quietwriter III and use code 
  3939. page 850 and 860, in addition to 437, enter: 
  3940.  
  3941. DEVINFO=LPT1,5202,C:\OS2\5202.DCP,ROM=(437,011),
  3942. (437,085),(437,254),
  3943. (437,159),(850,254),(850,159),
  3944. (860,011),(860,085)
  3945.  
  3946. This statement must appear as one line in your CONFIG.SYS file. 
  3947.  
  3948. If you do not correctly specify the required file names, or if you specify 
  3949. incorrect code pages in your CODEPAGE statement (those other than the two 
  3950. supported by the country code in your COUNTRY statement), the device is not 
  3951. prepared for code page switching.  If a drive and path are not specified, the 
  3952. operating system looks for the file in the root directory of the default drive. 
  3953.  
  3954. Also, remember that the keyword ROM is significant only for printers.  Each ROM 
  3955. specification can be a pair of values enclosed in parentheses, where the first 
  3956. value is the system code page, and the second value is the number of a font 
  3957. that is in read-only storage or in a cartridge installed in the printer.  If 
  3958. multiple fonts are not used, specify only the system code pages, separated by 
  3959. commas and without the parentheses. 
  3960.  
  3961.  
  3962. ΓòÉΓòÉΓòÉ <hidden> DEVINFO Printer Examples ΓòÉΓòÉΓòÉ
  3963.  
  3964. To prepare a Proprinter Model II as your first parallel printer, type the 
  3965. following statement in the CONFIG.SYS file: 
  3966.  
  3967. DEVINFO=LPT1,4201,C:\OS2\4201.DCP,ROM=(437,0)
  3968.  
  3969. To set up an IBM Quietwriter III and use code page 850 and 860, in addition to 
  3970. 437, type the following statements in your CONFIG.SYS file: 
  3971.  
  3972. DEVINFO=LPT1,5202,C:\OS2\5202.DCP,ROM=(437,011),
  3973. (437,085),(437,254),
  3974. (437,159),(850,254),(850,159),
  3975. (860,011),(860,085)
  3976.  
  3977. NOTE: The above statement must appear as one line in your CONFIG.SYS file. 
  3978.  
  3979.  
  3980. ΓòÉΓòÉΓòÉ 4.46. DIR - Display Files in a Directory ΓòÉΓòÉΓòÉ
  3981.  
  3982. Lists the files and subdirectories in a directory. 
  3983.  
  3984. DIR ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3985.       ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ ΓööΓöÇ filename ΓöÇΓöÿ  Γöé
  3986.      Γöé                                        Γöé
  3987.      ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3988.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3989.                                Γöé
  3990. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3991.          Γöé  Γö£ΓöÇΓöÇ/W ΓöÇΓöñ  Γöé
  3992.          Γöé  ΓööΓöÇ /F ΓöÇΓöÿ  Γöé
  3993.          Γö£ΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöñ
  3994.          Γö£ΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöñ
  3995.          Γö£ΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöñ
  3996.          Γö£ΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöñ
  3997.          Γö£ΓöÇΓöÇΓöÇΓöÇ /O ΓöÇΓöÇΓöÇΓöÇΓöñ
  3998.          Γö£ΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöñ
  3999.          Γö£ΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöñ
  4000.          ΓööΓöÇΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4001.  
  4002. Related Commands:  CHDIR, MKDIR, RMDIR, TREE. 
  4003.  
  4004. Typing DIR, without a parameter, lists the files in the current directory. You 
  4005. can also: 
  4006.  
  4007. o List the files in the parent directory of the current directory by typing DIR 
  4008.   .. 
  4009. o Send the directory listing to your printer by typing DIR >PRN 
  4010.  
  4011. The system displays the name, size (in bytes), and the date and time you placed 
  4012. the information in the file. DIR also displays the disk volume label and volume 
  4013. serial number.  It also gives the total number of files, the number of bytes 
  4014. used in the files displayed, and the amount of free space (in bytes) remaining 
  4015. on the disk. 
  4016.  
  4017. Note that directory entries for hidden system files are not listed, even if 
  4018. they are present.  Also, if you do not specify a file name extension, the 
  4019. default is *, which indicates that all files with that file name (regardless of 
  4020. the extension) should be displayed. DIR displays files consecutively on the 
  4021. screen if you specify multiple file names. You can include a drive and path 
  4022. when specifying multiple file names and may also use the global file-name 
  4023. characters * and ? in the file name you specify. 
  4024.  
  4025.  
  4026. ΓòÉΓòÉΓòÉ <hidden> DIR Examples ΓòÉΓòÉΓòÉ
  4027.  
  4028. To list files in a directory named REPORTS on drive B, enter the following: 
  4029.  
  4030. DIR B:\REPORTS
  4031.  
  4032. To list files in the current directory that have the file name LETTER with any 
  4033. extension, enter the following: 
  4034.  
  4035. DIR LETTER
  4036.  
  4037. To list all files in the current directory that have the extension .BAT, enter 
  4038. the following: 
  4039.  
  4040. DIR *.BAT
  4041.  
  4042. To pause the directory listing for the current directory, enter the following: 
  4043.  
  4044. DIR /P
  4045.  
  4046. To display the current directory listing horizontally on your screen, enter the 
  4047. following: 
  4048.  
  4049. DIR /W
  4050.  
  4051. To display the contents of the current directory in alphabetic order, and then 
  4052. the contents of all its subdirectories, type the following: 
  4053.  
  4054. DIR /S/O
  4055.  
  4056. To display the files but not the directories in the current directory and all 
  4057. its subdirectories, type the following: 
  4058.  
  4059. DIR /S/A:-D
  4060.  
  4061. To display files and directories by date and time, with the earliest first, and 
  4062. in alphabetic order if the dates are identical, type the following: 
  4063.  
  4064. DIR /O:DN
  4065.  
  4066. To display all files by size, largest first, but omit directory names, type the 
  4067. following: 
  4068.  
  4069. DIR /S /A:-D /O:-S
  4070.  
  4071. To select wide display mode for files created using a file system other than 
  4072. File Allocation Table (FAT) on a FAT file system drive, enter the following: 
  4073.  
  4074. DIR /N /W
  4075.  
  4076. To force drives formatted with the FAT file system to be displayed in the HPFS 
  4077. (High Performance File System) format, enter the following: 
  4078.  
  4079. DIR /N
  4080.  
  4081. To display both FAT file names and long file names in the subdirectory OS2.DTP, 
  4082. enter the following: 
  4083.  
  4084. DIR C:\OS2\OS2.DTP /R
  4085.  
  4086. To send a list of fully qualified file names (path and file name) beginning 
  4087. with REPORT.A to the file FILES.DAT, enter the following: 
  4088.  
  4089. DIR /F REPORT.A >FILES.DAT
  4090.  
  4091.  
  4092. ΓòÉΓòÉΓòÉ 4.47. DISKCACHE - Allocate Storage Blocks ΓòÉΓòÉΓòÉ
  4093.  
  4094. Specifies the number of blocks of storage to allocate for control information 
  4095. and for use by the disk cache. 
  4096.  
  4097.  
  4098. DISKCACHE = ΓöÇΓöÇΓöÇΓöÇ n ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4099.                      ΓööΓöÇ ,LW ΓöÇΓöÿ ΓööΓöÇ ,T ΓöÇΓöÿ ΓööΓöÇ ,AC:x ΓöÇΓöÿ
  4100.  
  4101. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  4102. command prompt. 
  4103.  
  4104. The disk cache allows a portion of the system storage to be used as an 
  4105. additional hard disk buffer.  DISKCACHE speeds up application programs that 
  4106. read hard disks by keeping hard disk data frequently accessed in a cache 
  4107. buffer. When an application program requests hard disk data that is already in 
  4108. the cache buffer, the disk cache sends the data directly to the application 
  4109. program.  This method of accessing data is much faster than if the data had to 
  4110. be read from the disk each time. 
  4111.  
  4112. Specifying this statement increases the speed of your system.  However, when 
  4113. you increase the size of your disk cache you also decrease the size of 
  4114. available storage.  For this reason, you may want to experiment with the number 
  4115. of blocks you specify to get maximum performance. The recommended disk cache 
  4116. sizes should be based on the amount of memory that is available in the system, 
  4117. not the disk size. 
  4118.  
  4119. Note:   You need to select Shut down from the menu of the desktop before 
  4120.         turning off your system.  Failure to do so can cause loss of data if 
  4121.         the contents of the cache buffers have not been erased and written to 
  4122.         disk. 
  4123.  
  4124. General DISKCACHE parameters size guidelines are as follows: 
  4125.  
  4126. o Systems with up to 5MB of physical memory should use a disk cache size of 
  4127.   64KB. 
  4128. o Systems with 6MB or more of physical memory should use a disk cache size of 
  4129.   256KB. 
  4130. o In most situations a threshold size of 32 is recommended 
  4131.  
  4132. The amount of storage required for control information is determined by the 
  4133. total size of one or more hard disks.  When the amount of storage you specify 
  4134. in the DISKCACHE statement is not available, the system displays an error 
  4135. message.  When the amount of storage you specify in the DISKCACHE statement is 
  4136. not sufficient to support the total hard disk size, the disk cache does not 
  4137. work.  The disk cache is allocated at system startup, and there is no dynamic 
  4138. adjustment of its size. 
  4139.  
  4140. It is recommended that the threshold size be set at 32 unless the software 
  4141. product you are using is disk intensive and the manufacturer supplies 
  4142. information on the block size required.  If the block size is defined in terms 
  4143. of byte count, divide the byte count by 512 and round up the quotient to the 
  4144. nearest whole number to determine the threshold value. 
  4145.  
  4146. The disk device driver for the Personal System/2 Models 55sx, 65, 70, 80, 90, 
  4147. and 95 provides direct-access storage disk-cache support for use with hard 
  4148. disks.  This device driver controls operation of the cache, which is allocated 
  4149. by the system and taken out of storage above 1MB.  The cache is run as a 
  4150. write-through cache to maintain data integrity.  Sectors passed to the disk 
  4151. device driver for writing on the disk are guaranteed to be written out to the 
  4152. disk on successful return from the device driver. 
  4153.  
  4154.  
  4155. ΓòÉΓòÉΓòÉ <hidden> DISKCACHE Examples ΓòÉΓòÉΓòÉ
  4156.  
  4157. To set your disk cache size to 64KB with the default threshold of 4 and 
  4158. lazy-write as the default, type the following statement in the CONFIG.SYS file: 
  4159.  
  4160. DISKCACHE=64,LW
  4161.  
  4162. To set the recommended disk cache size of 64KB with a threshold size of 32, for 
  4163. a 2MB to 3MB system, type the following statement in the CONFIG.SYS file: 
  4164.  
  4165. DISKCACHE=64,32
  4166.  
  4167. To set the recommended disk cache size to 64, with the default threshold of 4, 
  4168. with lazy-write on, and have AUTOCHECK check the FAT partition, drive D, for 
  4169. data consistency, type the following in the CONFIG.SYS file: 
  4170.  
  4171. DISKCACHE=64,LW,4,AC:D
  4172.  
  4173. To set the recommended disk cache size of 192KB with a threshold size of 32, 
  4174. for a 4 to 5MB system, type the following statement in the CONFIG.SYS file: 
  4175.  
  4176. DISKCACHE=192,32
  4177.  
  4178. To set the recommended disk cache size of 256KB with a threshold size of 32, 
  4179. for a 6MB or greater system type the following statement in the CONFIG.SYS 
  4180. file: 
  4181.  
  4182. DISKCACHE=256,32
  4183.  
  4184. Disk Cache Table: 
  4185.  
  4186. Disk cache block size values are 64 to 7200. 
  4187. Disk cache block size default value is 64. 
  4188. Disk cache threshold number of sectors values are 4 to 128. 
  4189. Disk cache threshold number of sectors default value is 4. 
  4190.  
  4191.  
  4192. ΓòÉΓòÉΓòÉ 4.48. DISKCOMP - Compare Diskettes ΓòÉΓòÉΓòÉ
  4193.  
  4194. Compares the contents of the diskette in the source drive to the contents of 
  4195. the diskette in the target drive. 
  4196.  
  4197. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DISKCOMP ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4198.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4199.  
  4200. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4201.    ΓööΓöÇ source drive ΓöÇΓöÿ    ΓööΓöÇ target drive ΓöÇΓöÿ
  4202.  
  4203. Related Commands:  DISKCOPY 
  4204.  
  4205. Enter this command without a parameter to start a step-by-step procedure to 
  4206. compare the contents of diskettes in different diskette drives. 
  4207.  
  4208. DISKCOMP does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  4209. SUBST command in effect. Also, DISKCOMP does not work on network drives. 
  4210.  
  4211. Observe these restrictions when using DISKCOMP: 
  4212.  
  4213. o Use DISKCOMP only between diskettes of the same size and storage capacity. 
  4214. o Do not use DISKCOMP to compare information between 5.25-inch and 3.5-inch 
  4215.   diskettes. 
  4216. o Follow the examples under the COMP command to compare files between 5.25-inch 
  4217.   and 3.5-inch media. 
  4218.  
  4219. Return Codes  DISKCOMP issues a return code of 0 for normal completion or 
  4220. displays the appropriate error message. 
  4221.  
  4222.  
  4223. ΓòÉΓòÉΓòÉ <hidden> DISKCOMP Examples ΓòÉΓòÉΓòÉ
  4224.  
  4225. To compare the complete contents of a diskette in drive B to a diskette in 
  4226. drive A, enter the following: 
  4227.  
  4228. DISKCOMP B: A:
  4229.  
  4230.  
  4231. ΓòÉΓòÉΓòÉ 4.49. DISKCOPY - Copy Diskettes ΓòÉΓòÉΓòÉ
  4232.  
  4233. Copies the contents of the diskette in the source drive to the diskette in the 
  4234. target drive.  If necessary, the target diskette is formatted during the copy. 
  4235. Neither the source nor the target drive can be a hard disk or a virtual drive. 
  4236. DISKCOPY also displays the volume serial number of the target diskette. 
  4237.  
  4238. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DISKCOPY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4239.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  4240.  
  4241. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4242.    ΓööΓöÇ source drive ΓöÇΓöÿ    ΓööΓöÇ target drive ΓöÇΓöÿ
  4243.  
  4244. Related Commands:  DISKCOMP 
  4245.  
  4246. DISKCOPY does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  4247. SUBST command in effect. 
  4248.  
  4249. It is important to note that DISKCOPY automatically formats (prepares) the 
  4250. target diskette with the same number of sides and sectors per track as the 
  4251. source diskette before copying the contents of the source diskette to it. 
  4252.  
  4253. Observe these restrictions when using DISKCOPY: 
  4254.  
  4255. o Use DISKCOPY only between diskettes of the same size and storage capacity. 
  4256. o Do not use DISKCOPY to copy information between 5.25-inch and 3.5-inch 
  4257.   diskettes.  Follow the examples under the COPY command to copy files between 
  4258.   5.25-inch and 3.5-inch diskettes. 
  4259.  
  4260. Because of the OS/2 multitasking operating environment, DISKCOPY locks the 
  4261. diskettes to prevent any other program from reading or writing to the diskettes 
  4262. while copying is being performed.  If errors are detected on either diskette 
  4263. during the copy operation, DISKCOPY shows the drive, track, and side where it 
  4264. found the error, and proceeds with the copying. 
  4265.  
  4266. Return Codes:  DISKCOPY issues a return code of 0 for normal completion or 
  4267. displays the appropriate error message. 
  4268.  
  4269.  
  4270. ΓòÉΓòÉΓòÉ <hidden> DISKCOPY Examples ΓòÉΓòÉΓòÉ
  4271.  
  4272. To copy the complete contents of a diskette in drive B to a diskette in drive 
  4273. A, enter the following: 
  4274.  
  4275. DISKCOPY B: A:
  4276.  
  4277.  
  4278. ΓòÉΓòÉΓòÉ 4.50. DOSKEY - Recall DOS Commands ΓòÉΓòÉΓòÉ
  4279.  
  4280. Recalls DOS commands, edits command lines, and creates macros. 
  4281.  
  4282. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ DOSKEY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4283.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  4284.  
  4285.      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4286.                          Γöé
  4287. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4288.         Γö£ΓöÇ /REINSTALL ΓöÇΓöÇΓöñ   Γöö Macroname=text Γöÿ
  4289.         Γö£ΓöÇ /BUFSIZE=n ΓöÇΓöÇΓöñ
  4290.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4291.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /H ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4292.         ΓööΓö¼ΓöÇ/OVERSTRIKEΓöÇΓö¼Γöÿ
  4293.          ΓööΓöÇΓöÇ /INSERT ΓöÇΓöÇΓöÿ
  4294.  
  4295. Recalling a Command 
  4296.  
  4297. To recall a command, use the following keys: 
  4298.  
  4299. Up Arrow            Recalls the DOS command you used before the one displayed. 
  4300.  
  4301. Down Arrow          Recalls the DOS command you used after the one displayed. 
  4302.  
  4303. Page Up             Recalls the first DOS command you used in the current 
  4304.                     session. 
  4305.  
  4306. Page Down           Recalls the most recent DOS command you used. 
  4307.  
  4308. Editing the Command Line 
  4309.  
  4310. To edit the current command line, use the following DOSKEY editing keys: 
  4311.  
  4312. Left Arrow               Moves the cursor back one character. 
  4313.  
  4314. Right Arrow              Moves the cursor forward one character. 
  4315.  
  4316. Ctrl+Left Arrow          Moves the cursor back one word. 
  4317.  
  4318. Ctrl+Right Arrow         Moves the cursor forward one word. 
  4319.  
  4320. Home                     Moves the cursor to the beginning of the line. 
  4321.  
  4322. End                      Moves the cursor to the end of the line. 
  4323.  
  4324. Esc                      Clears the command from the screen. 
  4325.  
  4326. F1                       Copies one character from the template to the DOS 
  4327.                          command line. 
  4328.  
  4329. F2                       Searches forward in the template for the next key you 
  4330.                          type after pressing F2.  DOSKEY inserts the text from 
  4331.                          the template up to but not including the character you 
  4332.                          specify. 
  4333.  
  4334. F3                       Copies the remainder of the template to the command 
  4335.                          line.  DOSKEY begins copying characters from the 
  4336.                          position in the template that corresponds to the 
  4337.                          position indicated by the cursor on the command line. 
  4338.  
  4339. F4                       Deletes characters, beginning with the first character 
  4340.                          in the template, up to a character you specify. 
  4341.  
  4342. F5                       Copies the current command into the template and 
  4343.                          clears the command line. 
  4344.  
  4345. F6                       Places an end-of-file character (Ctrl+Z) at the end of 
  4346.                          the current command line. 
  4347.  
  4348. F7                       Displays all commands stored in memory with their 
  4349.                          associated numbers.  These numbers are assigned in 
  4350.                          order from the first command to the most recent. 
  4351.  
  4352. Alt+F7                   Deletes all commands stored in memory. 
  4353.  
  4354. F8                       Searches memory for a command that you want DOSKEY to 
  4355.                          display.  To use this editing key, type the first few 
  4356.                          characters of the command you want to find and press 
  4357.                          F8.  The commands that start with the characters you 
  4358.                          specified are displayed beginning with the most recent 
  4359.                          as you repeat pressing F8. 
  4360.  
  4361. F9                       Prompts you for a command number and displays the 
  4362.                          command associated with the number you specify. 
  4363.  
  4364. Alt+F10                  Deletes all macro definitions. 
  4365.  
  4366. Creating a Macro 
  4367.  
  4368. To create macros that process one or more DOS commands, use the following 
  4369. special characters to control command operations: 
  4370.  
  4371. $G or $g            Redirects output.  Use these special characters to send 
  4372.                     output to a device or a file instead of to the screen. 
  4373.                     These characters are equivalent to the output redirection 
  4374.                     symbol (>). 
  4375.  
  4376. $G$G or $g$g        Appends output to the end of a file rather than replacing 
  4377.                     the data in the file.  These double characters are 
  4378.                     equivalent to the (>>) symbols for appending redirected 
  4379.                     output. 
  4380.  
  4381. $L or $l            Redirects input.  Use these special characters to read 
  4382.                     input from a device or a file instead of from the keyboard. 
  4383.                     These characters are equivalent to the redirection symbol 
  4384.                     for input (<). 
  4385.  
  4386. $B or $b            Sends macro output to a command.  These characters are 
  4387.                     equivalent to the pipe (|). 
  4388.  
  4389. $T or $t            Separates commands.  Use these special characters to 
  4390.                     separate commands when you are creating macros or typing 
  4391.                     commands at a DOS command prompt. 
  4392.  
  4393. $$                  Specifies the dollar-sign character ($). 
  4394.  
  4395. $1 through $9       Represents any command-line information you want to specify 
  4396.                     when you run a macro.  These special characters are batch 
  4397.                     parameters that enable you to use different data on the 
  4398.                     command line each time you run a macro.  The $1 character 
  4399.                     in a DOSKEY command is similar to the %1 character in a 
  4400.                     batch program. 
  4401.  
  4402. $*                  Represents all the command-line information you want to 
  4403.                     specify when you run a macro.  Everything you type on the 
  4404.                     command line after a macro name is substituted for the $* 
  4405.                     in the macro. 
  4406.  
  4407. Running a Macro 
  4408.  
  4409. To run a macro, type the macro name starting at the first position on the 
  4410. command line.  If the macro was defined with $* or any of the batch parameters 
  4411. $1 through $9, use a space to separate parameters. 
  4412.  
  4413. Creating a Macro with the Same Name as a DOS Command 
  4414.  
  4415. You might want to create a macro with the same name as a DOS command.  This can 
  4416. be useful, for example, if you always use a certain command with specific 
  4417. parameters.  To specify whether you want to run the macro or the DOS command, 
  4418. follow these guidelines: 
  4419.  
  4420. o To run the macro, begin typing the macro name immediately after the command 
  4421.   prompt, with no space between the prompt and the command name. 
  4422. o To process the command, insert one or more spaces between the command prompt 
  4423.   and the command name. 
  4424.  
  4425.  
  4426. ΓòÉΓòÉΓòÉ <hidden> DOSKEY Examples ΓòÉΓòÉΓòÉ
  4427.  
  4428. To create a macro that searches for a file in the current directory and all 
  4429. sub-directories, type the following: 
  4430.  
  4431. DOSKEY FILEFIND=DIR/S/F/A$*
  4432.  
  4433. You can use the DOSKEY command in a batch program to create a macro. 
  4434.  
  4435. To run the FILEFIND macro to find all files with a file name of COMMAND and any 
  4436. extension on drive C, type the following: 
  4437.  
  4438. FILEFIND C:\COMMAND.*
  4439.  
  4440. You cannot run a macro from a batch program. 
  4441.  
  4442. To delete a macro, type the following: 
  4443.  
  4444. DOSKEY macroname=
  4445.  
  4446. The /M (macro) and /H (history) parameters are useful for creating batch 
  4447. programs to save macros and commands.  To create a batch program named 
  4448. MACINIT.BAT that includes all DOSKEY macros, type the following: 
  4449.  
  4450. DOSKEY /M > MACINIT.BAT
  4451.  
  4452. To use the MACINIT.BAT file, edit it to include the DOSKEY command at the 
  4453. beginning of each macro line. 
  4454.  
  4455. To create a batch program named TMP.BAT that contains recently used commands, 
  4456. type the following: 
  4457.  
  4458. DOSKEY /H > TMP.BAT
  4459.  
  4460. To define a macro with multiple commands, type $t to separate commands as in 
  4461. the following: 
  4462.  
  4463. DOSKEY tx=cd\TEMP$tDIR/W *
  4464.  
  4465. In the above example, the tx macro changes the current directory to TEMP and 
  4466. then displays a directory listing, using the wide display format.  You can use 
  4467. $* at the end of the macro to append other parameters to the DIR command when 
  4468. you run tx. 
  4469.  
  4470. The following macro uses a batch parameter for a new directory name.  The macro 
  4471. first creates a new directory and then changes to it from the current 
  4472. directory. 
  4473.  
  4474. DOSKEY mc=md $1$tcd 1
  4475.  
  4476. To use the preceding macro to create and change to a directory named BOOKS, 
  4477. type the following: 
  4478.  
  4479. mc BOOKS
  4480.  
  4481. To  create a macro that uses batch parameters for moving a file or group of 
  4482. files, type the following: 
  4483.  
  4484. DOSKEY mv=COPY $1 $2 $t DEL $1
  4485.  
  4486.  
  4487. ΓòÉΓòÉΓòÉ 4.51. DOS (UMB/NOUMB) - Specify Upper Memory Block Availability ΓòÉΓòÉΓòÉ
  4488.  
  4489. Specifies whether the DOS kernel will reside in the high memory area (HMA) and 
  4490. whether the operating system or DOS applications will control upper memory 
  4491. blocks (UMBs). 
  4492.  
  4493. DOS=ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ HIGH ΓöÇΓö¼ΓöÇΓöÇ,ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ UMB ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4494.          ΓööΓöÇ LOW ΓöÇΓöÇΓöÿ      ΓööΓöÇ NOUMB ΓöÇΓöÿ
  4495.  
  4496. Related Commands:  DEVICEHIGH, LOADHIGH 
  4497.  
  4498. You need to have a DOS=HIGH/LOW,UMB/NOUMB statement in the CONFIG.SYS file to 
  4499. determine if the DOS kernel resides in high or low memory and to determine the 
  4500. control of upper memory blocks (UMBs). Upper memory blocks are provided by the 
  4501. XMS device driver.  Therefore, you must have a VXMS.SYS statement in your 
  4502. CONFIG.SYS file to have upper memory blocks available. 
  4503.  
  4504. Note:   The high memory area (HMA) refers to space between 1MB and 1MB + 64KB. 
  4505.         Upper memory blocks (UMBs) are between 640KB and 1MB. 
  4506.  
  4507. If DOS=HIGH/LOW,UMB is in the CONFIG.SYS file, the operating system controls 
  4508. the upper memory blocks.  This means that DOS applications can be loaded into 
  4509. upper memory but cannot allocate UMBs. 
  4510.  
  4511. If DOS=HIGH/LOW,NOUMB is in the CONFIG.SYS file, the operating system will not 
  4512. control any UMBs and DOS applications can allocate UMBs but cannot be loaded 
  4513. there.  DOS=HIGH/LOW,NOUMB must be specified in the CONFIG.SYS file for a DOS 
  4514. application to allocate UMBs. 
  4515.  
  4516.  
  4517. ΓòÉΓòÉΓòÉ <hidden> DOS=UMB/NOUMB Examples ΓòÉΓòÉΓòÉ
  4518.  
  4519. To specify DOS applications to be loaded into UMBs and the DOS kernel to reside 
  4520. in the high memory area, type the following in the CONFIG.SYS file: 
  4521.  
  4522. DOS=HIGH,UMB
  4523.  
  4524. To specify DOS applications to be loaded into UMBs and the DOS kernel to reside 
  4525. in conventional memory, type the following in the CONFIG.SYS file: 
  4526.  
  4527. DOS=LOW,UMB
  4528.  
  4529. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  4530. the high memory area, type the following in the CONFIG.SYS file: 
  4531.  
  4532. DOS=HIGH,NOUMB
  4533.  
  4534. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  4535. conventional memory, type the following in the CONFIG.SYS file: 
  4536.  
  4537. DOS=LOW,NOUMB
  4538.  
  4539.  
  4540. ΓòÉΓòÉΓòÉ 4.52. DPATH - Set Search Path ΓòÉΓòÉΓòÉ
  4541.  
  4542. Gives application programs the search path to data files that are outside the 
  4543. current directory. The DPATH environment variable can only be set using the SET 
  4544. command in OS/2 sessions. 
  4545.  
  4546. DPATH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4547.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  4548.            Γöé                                Γöé
  4549.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4550.  
  4551. Related Commands:  APPEND, PATH, and SET. 
  4552.  
  4553. Typing DPATH without a parameter displays the current value of the DPATH 
  4554. environment variable. Typing DPATH ; clears the DPATH environment variable. 
  4555. DPATH indicates what directories applications should search for their data 
  4556. files (if an application program uses the DPATH directory list). 
  4557.  
  4558. DPATH is a system environment variable, which means that application programs 
  4559. can query the environment for its value, and, depending on what they find, 
  4560. change their behavior. 
  4561.  
  4562. Like the PATH command, the number of directories you can specify with DPATH is 
  4563. limited only by the length of the command line.  The length of a DPATH command 
  4564. can be up to six characters less that the maximum number of characters allowed 
  4565. on the command line.  Once you set a search path for data files with DPATH, the 
  4566. path remains in effect for the current command processor until you replace it 
  4567. with another DPATH command. 
  4568.  
  4569. DPATH differs from the APPEND command in how it operates. DPATH tells 
  4570. applications what directories it should search in order to find data files, and 
  4571. it is up to the applications to recognize DPATH.  With the APPEND command, 
  4572. however, application programs are able to find files without recognizing that 
  4573. the APPEND command is in effect. 
  4574.  
  4575.  
  4576. ΓòÉΓòÉΓòÉ <hidden> DPATH Examples ΓòÉΓòÉΓòÉ
  4577.  
  4578. To display the current value of the DPATH environment variable, enter the 
  4579. following: 
  4580.  
  4581. DPATH
  4582.  
  4583. To clear the DPATH environment variable enter the following:. 
  4584.  
  4585. DPATH ;
  4586.  
  4587. To set a DPATH statement to indicate to applications to search for data files 
  4588. in the TOOLS, UTILS, and DATA directories, type this statement in your 
  4589. CONFIG.SYS file: 
  4590.  
  4591. DPATH=C:\TOOLS;C:\UTILS;C:\DATA;
  4592.  
  4593. To specify the current path to data files as a replaceable parameter by 
  4594. appending the paths of the ABC and XYZ subdirectories to the DPATH statement 
  4595. already in effect, type the following in your CONFIG,SYS file: 
  4596.  
  4597. DPATH %DPATH%;C:\ABC;C:\XYZ;
  4598.  
  4599.  
  4600. ΓòÉΓòÉΓòÉ <hidden> Template ΓòÉΓòÉΓòÉ
  4601.  
  4602. The template is a memory buffer that holds the last command you typed. 
  4603.  
  4604.  
  4605. ΓòÉΓòÉΓòÉ 4.53. EAUTIL - Split and Join Extended File Attributes ΓòÉΓòÉΓòÉ
  4606.  
  4607. Allows you to split (save) extended attributes from a file and then rejoin the 
  4608. extended attributes to the file. 
  4609.  
  4610. EAUTIL ΓöÇΓöÇΓöÇ datafile ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  4611.                       ΓööΓöÇ holdfile ΓöÇΓöÿ   Γö£ΓöÇ /S ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  4612.                                        Γöé      ΓööΓöÇ /R ΓöÇΓöÿ Γöé
  4613.                                        ΓööΓöÇ /J ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  4614.                                               Γö£ΓöÇ /O ΓöÇΓöñ
  4615.                                               ΓööΓöÇ /M ΓöÇΓöÿ
  4616. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4617.            ΓööΓöÇ /P ΓöÇΓöÿ
  4618.  
  4619. Related Commands:  IFS 
  4620.  
  4621. An extended attribute is a mechanism that allows an application to attach 
  4622. information to a file or directory (file system object). Extended attributes 
  4623. are used to describe the object to another application, to the operating 
  4624. system, or to the file system program that manages the file or directory. 
  4625.  
  4626. EAUTIL allows you to split extended attributes from a data file or program file 
  4627. and place them in a hold file as data.  After you do this, you can use the file 
  4628. with other applications or file systems that do not recognize or are not able 
  4629. to process extended attributes. By saving extended attributes to a hold file, 
  4630. you prevent them from being erased or lost. The command also allows you to join 
  4631. extended attributes contained in the hold file to the data file. 
  4632.  
  4633. Return Codes: 
  4634.  
  4635. 0 - Normal completion 
  4636. 1 - File not found 
  4637. 4 - Ended due to error 
  4638.  
  4639.  
  4640. ΓòÉΓòÉΓòÉ <hidden> EAUTIL Examples ΓòÉΓòÉΓòÉ
  4641.  
  4642. To place extended attributes from a file named MODULE.TXT into a file named 
  4643. ATTRIB.MOD, enter the following: 
  4644.  
  4645. EAUTIL MODULE.TXT ATTRIB.MOD /S
  4646.  
  4647. To replace the extended attributes in the ATTRIB.MOD file with the extended 
  4648. attributes of the NEWFILE.EA, enter the following: 
  4649.  
  4650. EAUTIL NEWFILE.EA ATTRIB.MOD /R /S
  4651.  
  4652. To preserve extended file attributes in a file named MODULE.TXT and copy that 
  4653. file's extended attributes to a file named ATTRIB.MOD, enter the following: 
  4654.  
  4655. EAUTIL MODULE.TXT ATTRIB.MOD /P /S
  4656.  
  4657. To join the extended attributes in the ATTRIB.MOD hold file with the MODULE.TXT 
  4658. data file, enter the following: 
  4659.  
  4660. EAUTIL MODULE.TXT ATTRIB.MOD /J
  4661.  
  4662. To overwrite the extended attributes in the MODULE.TXT file with the extended 
  4663. attributes in the NEWFILE.EA hold file, enter the following: 
  4664.  
  4665. EAUTIL MODULE.TXT NEWFILE.EA /O /J
  4666.  
  4667. To merge the extended attributes in the NEWFILE.EA hold file into the extended 
  4668. attributes in the MODULE.TXT data file, enter the following: 
  4669.  
  4670. EAUTIL MODULE.TXT NEWFILE.EA /M /J
  4671.  
  4672.  
  4673. ΓòÉΓòÉΓòÉ 4.54. ECHO - Display Commands as They Process ΓòÉΓòÉΓòÉ
  4674.  
  4675. Allows or prevents the screen display of OS/2 commands as they are run from a 
  4676. batch file. ECHO does not interfere with messages produced while commands are 
  4677. running. 
  4678.  
  4679. ECHO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4680.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4681.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4682.                       ΓööΓöÇΓöÇΓöÇΓöÇ message ΓöÇΓöÇΓöÇΓöÿ
  4683.  
  4684. Related Commands:  PAUSE and REM 
  4685.  
  4686. Enter this command without a parameter to display the current ECHO state. 
  4687.  
  4688. You can control (|) and redirect (>) output from a batch file. 
  4689.  
  4690. To prevent DOS from interpreting the | and > symbols, enclose them in double 
  4691. quotes. 
  4692.  
  4693. ECHO OFF
  4694. ECHO PIPING "|"
  4695. ECHO REDIRECTION ">"
  4696.  
  4697. To prevent the OS/2 operating system from interpreting the | and > symbols, 
  4698. precede them with a ^ symbol. The ^ symbol tells the system to interpret the 
  4699. next character input, but not to display it. 
  4700.  
  4701. ECHO OFF
  4702. ECHO PIPING ^|
  4703. ECHO REDIRECTION ^>
  4704.  
  4705. You can also control how batch-file lines or command lines are displayed. To 
  4706. prevent the system from displaying a batch-file line, place an @ before the 
  4707. command. 
  4708.  
  4709. @ECHO ON
  4710. @REM THIS LINE IS NOT DISPLAYED
  4711. REM THIS LINE IS DISPLAYED
  4712. @FILE1
  4713.  
  4714. To display lines of text in a batch file, but prevent the display of command 
  4715. lines, follow this example: 
  4716.  
  4717. @ECHO OFF
  4718. REM THIS LINE WILL NOT BE DISPLAYED
  4719. ECHO THIS LINE WILL BE DISPLAYED
  4720.  
  4721. In the following example, the system first displays ECHO OFF but does not 
  4722. display the REM or first DIR C:\OS2\SAMPLE.ABC commands because ECHO is OFF. 
  4723. However, the system still displays the output of the DIR command.  Next, ECHO 
  4724. ON is processed and the system displays the DIR C:\OS2\SAMPLE.ABC command with 
  4725. the DIR output. 
  4726.  
  4727. ECHO OFF
  4728. REM **** COMMAND DISPLAY IS NOW OFF
  4729. DIR C:\OS2\SAMPLE.ABC
  4730. ECHO ON
  4731. DIR C:\OS2\SAMPLE.ABC
  4732.  
  4733. When the above batch file is run, the following is displayed: 
  4734.  
  4735. ECHO OFF
  4736.  
  4737. The volume label in drive C is OS2.
  4738. Directory of C:\
  4739.  
  4740. SAMPLE.ABC        1234   7-17-88   12:14p
  4741.           1 File(s)   141312 bytes free
  4742.  
  4743. DIR C:\OS2\SAMPLE.ABC
  4744.  
  4745. The volume label in drive C is OS2.
  4746. Directory of C:\
  4747.  
  4748. SAMPLE.ABC        1234   7-17-88   12:14p
  4749.           1 Files(s)  141312 bytes free
  4750.  
  4751.  
  4752. ΓòÉΓòÉΓòÉ <hidden> ECHO Examples ΓòÉΓòÉΓòÉ
  4753.  
  4754. To show all commands on your screen as they are processed, enter the following: 
  4755.  
  4756. ECHO ON
  4757.  
  4758. To display the message, PROGRAM FAILED, on your screen, whether ECHO is ON or 
  4759. OFF, enter the following: 
  4760.  
  4761. ECHO PROGRAM FAILED
  4762.  
  4763. To prevent DOS from interpreting the | and > symbols, enclose them in double 
  4764. quotes. 
  4765.  
  4766. ECHO OFF
  4767. ECHO PIPING "|"
  4768. ECHO REDIRECTION ">"
  4769.  
  4770. To prevent the OS/2 operating system from interpreting the | and > symbols, 
  4771. precede them with a ^ symbol. The ^ symbol tells the system to interpret the 
  4772. next character input, but not to display it. 
  4773.  
  4774. ECHO OFF
  4775. ECHO PIPING ^|
  4776. ECHO REDIRECTION ^>
  4777.  
  4778. To prevent DOS from displaying a batch-file line, place an @ before the 
  4779. command. 
  4780.  
  4781. @ECHO ON
  4782. @REM THIS LINE IS NOT DISPLAYED
  4783. REM THIS LINE IS DISPLAYED
  4784. @FILE1
  4785.  
  4786. To display lines of text in a batch file, but prevent the display of command 
  4787. lines, follow this example: 
  4788.  
  4789. @ECHO OFF
  4790. REM THIS LINE WILL NOT BE DISPLAYED
  4791. ECHO THIS LINE WILL BE DISPLAYED
  4792.  
  4793.  
  4794. ΓòÉΓòÉΓòÉ 4.55. ENDLOCAL - Restore Environment Variables ΓòÉΓòÉΓòÉ
  4795.  
  4796. Restores the drive, directory, and environment variables that were in effect 
  4797. before the SETLOCAL command was processed. 
  4798.  
  4799.  
  4800. ENDLOCAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4801.  
  4802. Related Commands:  SETLOCAL 
  4803.  
  4804. This command ends the SETLOCAL command, restoring the previous drive, 
  4805. directory, and environment settings.  You can issue an ENDLOCAL command even if 
  4806. no SETLOCAL command is running. 
  4807.  
  4808. If you want to insert the ENDLOCAL command within a batch file to restore the 
  4809. drive, directory, and environmental variables, follow this example: 
  4810.  
  4811. PATH
  4812. SETLOCAL
  4813. A:
  4814. CD \XYZ
  4815. PATH A:\;A:\MISCPGM
  4816. PATH
  4817. ENDLOCAL
  4818. PATH
  4819.  
  4820. Note that the PATH command with no parameters displays the current value for 
  4821. PATH.  You can see that the original current drive, directory, and environment 
  4822. value for PATH are saved when SETLOCAL is issued, and restored when ENDLOCAL is 
  4823. issued. 
  4824.  
  4825.  
  4826. ΓòÉΓòÉΓòÉ <hidden> ENDLOCAL Examples ΓòÉΓòÉΓòÉ
  4827.  
  4828. To insert the ENDLOCAL command within a batch file to restore the drive, 
  4829. directory, and environmental variables, follow this example: 
  4830.  
  4831. PATH
  4832. SETLOCAL
  4833. A:
  4834. CD \XYZ
  4835. PATH A:\;A:\TOOLS
  4836. PATH
  4837. DPATH A:\UTILS;A:\DATA
  4838. DPATH
  4839. ENDLOCAL
  4840. PATH
  4841.  
  4842.  
  4843. ΓòÉΓòÉΓòÉ 4.56. ERASE or DEL - Delete Files ΓòÉΓòÉΓòÉ
  4844.  
  4845. Deletes one or more files.  Use ERASE or DEL interchangeably. 
  4846.  
  4847.  
  4848. ERASE ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  filename ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  4849.        Γöé ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ Γöé  Γö£ΓöÇ /P ΓöÇΓöñ
  4850. DEL ΓöÇΓöÇΓöÇΓöÿ Γöé                      ΓööΓöÇ filename ΓöÇΓöÿ Γöé  ΓööΓöÇ /N ΓöÇΓöÿ
  4851.          ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4852.  
  4853. Do not use ERASE or DEL to delete a subdirectory name; use the remove directory 
  4854. (RD/RMDIR) command.  You can use ERASE or DEL to delete the contents of a 
  4855. subdirectory.  In addition, read-only and hidden files, such as the operating 
  4856. system files of IBMBIO.COM and IBMDOS.COM, cannot be deleted. 
  4857.  
  4858. When erasing all files in a directory, the system displays the name of the 
  4859. directory, along with the message: 
  4860.  
  4861. Are you sure (Y/N)?
  4862.  
  4863. Enter a Y (yes) to erase all the files in the directory or enter an N (no) to 
  4864. end the DEL or ERASE command. 
  4865.  
  4866.  
  4867. ΓòÉΓòÉΓòÉ <hidden> ERASE or DEL Examples ΓòÉΓòÉΓòÉ
  4868.  
  4869. To erase a file named MONDAY from the current directory on the current drive, 
  4870. enter the following: 
  4871.  
  4872. ERASE MONDAY
  4873.  
  4874. To erase all files in the current directory on drive C, enter the following: 
  4875.  
  4876. ERASE C:*.*
  4877.  
  4878. To erase all files in the REPORTS subdirectory on drive C, enter the following: 
  4879.  
  4880. ERASE C:\REPORTS\*.*
  4881.  
  4882. To erase a file named FRIDAY from the REPORTS subdirectory on drive C, enter 
  4883. the following: 
  4884.  
  4885. ERASE C:\REPORTS\FRIDAY
  4886.  
  4887. To erase all files with a .ABC extension from the REPORTS subdirectory in the 
  4888. root directory on drive C, enter the following: 
  4889.  
  4890. ERASE C:\REPORTS\*.ABC
  4891.  
  4892. To review before erasing all files in the MYDIR directory and display each file 
  4893. name, giving you the option to erase it or not erase it, enter the following: 
  4894.  
  4895. ERASE C:\MYDIR\*.* /P
  4896.  
  4897. To delete the contents of the REPORTS subdirectory on drive C and not be 
  4898. prompted Are you sure (Y/N)?, enter the following: 
  4899.  
  4900. ERASE C:\REPORTS /N
  4901.  
  4902.  
  4903. ΓòÉΓòÉΓòÉ 4.57. EXIT - End a Command Processor ΓòÉΓòÉΓòÉ
  4904.  
  4905. Ends or closes the current command processor (CMD.EXE or COMMAND.COM) and 
  4906. returns to the previous one, or to the desktop if no previous session exists. 
  4907.  
  4908.  
  4909. EXIT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4910.  
  4911. Related Commands:  CMD and COMMAND 
  4912.  
  4913. To close the current command processor and return to the previous command 
  4914. processor, or the desktop, enter EXIT. 
  4915.  
  4916. If you are running a program, you must first end the program before typing 
  4917. EXIT.  If no previous command processor exists, typing EXIT returns you to the 
  4918. desktop. 
  4919.  
  4920.  
  4921. ΓòÉΓòÉΓòÉ <hidden> EXIT Examples ΓòÉΓòÉΓòÉ
  4922.  
  4923. To return to the previous command processor or the desktop after you have 
  4924. finished running your program, enter the following: 
  4925.  
  4926. EXIT
  4927.  
  4928.  
  4929. ΓòÉΓòÉΓòÉ 4.58. EXTPROC - Define an External Batch Processor ΓòÉΓòÉΓòÉ
  4930.  
  4931. Defines an external batch processor for a batch file. 
  4932.  
  4933. EXTPROC Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  4934.         ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  4935.  
  4936. This command is useful if you have your own batch processor and want to 
  4937. substitute it for the OS/2 batch processor. 
  4938.  
  4939. You must include the EXTPROC command as the first statement in any batch file 
  4940. you want processed by your batch processor. CMD.EXE calls your batch processor 
  4941. to process your batch-file statements. 
  4942.  
  4943. For example, if you wanted to use a batch processor called MYBATCH.EXE, located 
  4944. in the C:\BATCH directory, to run some of your batch files, type the following 
  4945. in your batch file: 
  4946.  
  4947. EXTPROC C:\BATCH\MYBATCH.EXE
  4948.  
  4949.  
  4950. ΓòÉΓòÉΓòÉ <hidden> EXTPROC Examples ΓòÉΓòÉΓòÉ
  4951.  
  4952. To use a batch processor called MYBATCH.EXE, located in the C:\BATCH directory, 
  4953. to run some of your batch files, type the following in your batch file: 
  4954.  
  4955. EXTPROC C:\BATCH\MYBATCH.EXE
  4956.  
  4957.  
  4958. ΓòÉΓòÉΓòÉ 4.59. FCBS - Use File Control Blocks ΓòÉΓòÉΓòÉ
  4959.  
  4960. Determines file-control-block (FCB) management information for DOS sessions. 
  4961.  
  4962. This statement has no effect in OS/2 sessions. 
  4963.  
  4964.  
  4965. FCBS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ m ,n ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4966.  
  4967. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  4968. prompt. 
  4969.  
  4970. A file control block (FCB) is a record that contains all of the information 
  4971. about a file (for example, its structure, length, and name).  If a program 
  4972. tries to open more than the number of files specified in the FCBS statement, 
  4973. the system closes the least-recently used file control block and opens the new 
  4974. file. 
  4975.  
  4976. Some application programs use file control blocks to create, open, delete, 
  4977. read, and write to files.  New programs written for the operating system 
  4978. usually use internal file IDs (handles) for file input/output. 
  4979.  
  4980. If a program tries to open more than the number of file control blocks 
  4981. specified in the FCBS statement, the system closes the least-recently used FCB 
  4982. and opens a new file.  The files that are protected from being closed are not 
  4983. included in the list of least-recently used FCBs.  If a program tries to read 
  4984. or write to a file that has been closed because it is the least-recently used 
  4985. FCB, the system displays an error message. 
  4986.  
  4987. In addition, the value of the first number must be greater than or equal to the 
  4988. value of the second number.  If you set the two values equal to each other in 
  4989. the FCBS statement and a program tries to open more than the total number of 
  4990. file control blocks you specified, no files can be closed.  If a program tries 
  4991. to open more than the number of file control blocks you specified, no new files 
  4992. are opened. 
  4993.  
  4994.  
  4995. ΓòÉΓòÉΓòÉ <hidden> FCBS Examples ΓòÉΓòÉΓòÉ
  4996.  
  4997. To specify the total number of file control blocks that can be open at one time 
  4998. to 15, type the following in the CONFIG.SYS file: 
  4999.  
  5000. FCBS=15
  5001.  
  5002. To set the total number of file control block files that can be open at one 
  5003. time to 10, and set the number protected from being closed to 3, type the 
  5004. following in the CONFIG.SYS file. 
  5005.  
  5006. FCBS=10,3
  5007.  
  5008.  
  5009. ΓòÉΓòÉΓòÉ 4.60. FDISK - Partition Hard Disks ΓòÉΓòÉΓòÉ
  5010.  
  5011. Allows you to create or delete a primary partition or a logical drive in an 
  5012. extended partition. 
  5013.  
  5014.  
  5015. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5016.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5017.  
  5018. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISK ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5019.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5020.  
  5021.                                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5022.                                                            Γöé
  5023. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /QUERY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  5024.               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /CREATE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇ /NAME:name  ΓöÇΓöÇΓöÇΓöñ
  5025.               Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /DELETE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /DISK:n ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5026.               Γö£ΓöÇΓöÇ /SETNAME:name  ΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /FSTYPE:x ΓöÇΓöÇΓöÇΓöñ
  5027.               Γö£ΓöÇ /SETACCESS        ΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /START:m ΓöÇΓöÇΓöÇΓöÇΓöñ
  5028.               Γö£ΓöÇΓöÇΓöÇΓöÇ /STARTABLE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /SIZE:m ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5029.               ΓööΓöÇΓöÇ /FILE:filename ΓöÇΓöÇΓöÇΓöÿ  Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /VTYPE:n ΓöÇΓöÇΓöÇΓöÇΓöñ
  5030.                                        Γö£ΓöÇΓöÇΓöÇ /BOOTABLE:s ΓöÇΓöÇΓöÇΓöñ
  5031.                                        ΓööΓöÇΓöÇΓöÇ /BOOTMGR ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5032.  
  5033. Related Commands: FDISKPM, SETBOOT 
  5034.  
  5035. Related Information: Hard Disk Information 
  5036.  
  5037. o The Fixed Disk Utility (FDISK) - Full-screen 
  5038.  
  5039.   The full-screen version of FDISK is used during installation of the operating 
  5040.   system.  It provides users with the same functions as the FDISKPM version. 
  5041.   The full-screen version supports windows and looks and acts much the same as 
  5042.   FDISKPM but it does not support a mouse. 
  5043.  
  5044. o The Fixed Disk Utility (FDISK) - Command Line 
  5045.  
  5046.   Use the FDISK command at the command prompt to establish or change partition 
  5047.   values.  Use the parameters and options with the FDISK command to specify and 
  5048.   limit the values and characteristics of the partitions. 
  5049.  
  5050. The following syntax shows how to use the FDISK command to take advantage of 
  5051. the Boot Manager for unattended environments: 
  5052.  
  5053. FDISK /parameter:value /option:value
  5054.  
  5055. The Boot Manager allows you to create up to four primary partitions on a hard 
  5056. disk.  A primary partition is an area on the hard disk that cannot be shared. A 
  5057. partition that cannot be shared means that only one entity can reside there and 
  5058. only one primary partition can be active at one time.  The data of an operating 
  5059. system in a primary partition cannot be accessed by an operating system in 
  5060. another primary partition but it can be accessed by a logical drive in an 
  5061. extended partition. 
  5062.  
  5063. You can create an extended partition in place of one of the four primary 
  5064. partitions. This partition can be subdivided into multiple logical drives.  You 
  5065. can install a different operating system on each of the logical drives.  These 
  5066. logical drives are shareable; any data installed on these logical drives can be 
  5067. used by an operating system running from any other logical drive on your 
  5068. system, if the file systems are compatible. 
  5069.  
  5070. Note:   All versions of DOS must be in a primary partition.  Other operating 
  5071.         systems can be installed on logical drives in an extended partition. 
  5072.  
  5073. Return codes:  FDISK issues a return code of 0 for normal completion or the 
  5074. appropriate error message. 
  5075.  
  5076.  
  5077. ΓòÉΓòÉΓòÉ <hidden> FDISK Examples ΓòÉΓòÉΓòÉ
  5078.  
  5079. The /QUERY parameter displays a list of all partitions and free space on the 
  5080. hard disks of the system.  For example, here is a query that returned 
  5081. information about 4 partitions and a free space entry: 
  5082.  
  5083. Name     Partition   Vtype   FStype   Drive   Status   Start  Size
  5084.  
  5085. System 1   C:        01      04       1        1       00     30
  5086. System 2    :        01      01       1        1       30     10
  5087. OS2-HPFS   D:        02      07       2        1       00     60
  5088. data-vol   E:        02      06       1        0       40     70
  5089. 01000061    :        03      00       2        0       60     55
  5090.  
  5091. To display a list of all partitions and free space on your system, type the 
  5092. following: 
  5093.  
  5094. FDISK /QUERY
  5095.  
  5096. To create a logical drive in an extended partition on disk 1 with the name 
  5097. OS2FAT, type the following: 
  5098.  
  5099. FDISK /CREATE:OS2FAT /VTYPE:2 /DISK:1
  5100.  
  5101. To delete a logical drive with the name OS2FAT, type the following: 
  5102.  
  5103. FDISK /DELETE /NAME:OS2FAT
  5104.  
  5105. To specify the name DOS4.0 of a partition, type the following: 
  5106.  
  5107. FDISK /SETNAME:DOS4.0
  5108.  
  5109. To specify a partition as accessible, type the following: 
  5110.  
  5111. FDISK /SETACCESS
  5112.  
  5113. To specify a partition as startable, type the following: 
  5114.  
  5115. FDISK /STARTABLE
  5116.  
  5117. To process FDISK commands in the file MYFILE, type the following: 
  5118.  
  5119. FDISK /FILE:myfile
  5120.  
  5121. You can create a file to process FDISK commands.  You must have commas 
  5122. separating the arguments of each command in the file and the commands are 
  5123. processed just once. For example, the file, MYFILE, contains the following 
  5124. commands: 
  5125.  
  5126. /query
  5127. /create:OS2,/vtype:1,/disk:1,/name:01000030,/size:20
  5128. /startable,/name:OS2
  5129. /query,/name:OS2
  5130.  
  5131. The processing of these commands is as follows: 
  5132.  
  5133. Command 1       Displays a list of all partitions and unused space on all hard 
  5134.                 disks. 
  5135.  
  5136. Command 2       Creates a primary partition on disk 1 with a size of 20MB in 
  5137.                 the free space name 01000030 and assigns it a name of OS2. 
  5138.  
  5139. Command 3       Sets the partition named OS2 to be startable on the Boot 
  5140.                 Manager menu. 
  5141.  
  5142. Command 4       Displays the partition information of the partition named OS2. 
  5143.  
  5144. Options limit the actions of the FDISK command and parameters. 
  5145.  
  5146. To delete a partition named dos, type the following: 
  5147.  
  5148. FDISK /DELETE /NAME:dos
  5149.  
  5150. To display all partitions on drive 2, type the following: 
  5151.  
  5152. FDISK /QUERY /DISK:2
  5153.  
  5154. To display a partition with a FAT file system, type the following: 
  5155.  
  5156. FDISK /QUERY /FSTYPE:FAT
  5157.  
  5158. To create a primary partition starting at the top of the partition, type the 
  5159. following: 
  5160.  
  5161. FDISK /CREATE /START:t
  5162.  
  5163. To create a primary partition with a size of 8MB, type the following: 
  5164.  
  5165. FDISK /CREATE /SIZE:8
  5166.  
  5167. To display unusable space on a disk, type the following: 
  5168.  
  5169. FDISK /QUERY /VTYPE:0
  5170.  
  5171. To specify a primary partition to be displayed, type the following: 
  5172.  
  5173. FDISK /QUERY /VTYPE:1
  5174.  
  5175. To specify a logical drive in an extended partition to be displayed, type the 
  5176. following: 
  5177.  
  5178. FDISK /QUERY /VTYPE:2
  5179.  
  5180. To display free space that can be used to create a primary or extended 
  5181. partition, type the following: 
  5182.  
  5183. FDISK /QUERY /VTYPE:3
  5184.  
  5185. To display all partitions that are bootable from the Boot Manager menu, type 
  5186. the following: 
  5187.  
  5188. FDISK /QUERY /BOOTABLE:1
  5189.  
  5190. To create the Boot Manager partition, type the following: 
  5191.  
  5192. FDISK  /CREATE /BOOTMGR
  5193.  
  5194.  
  5195. ΓòÉΓòÉΓòÉ 4.61. FDISKPM - Partition Hard Disks ΓòÉΓòÉΓòÉ
  5196.  
  5197. Allows you to create or delete a primary partition or a logical drive in an 
  5198. extended partition. 
  5199.  
  5200. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FDISKPM ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5201.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  5202.  
  5203. Related Commands: FDISK  Related Information: Hard Disk Information 
  5204.  
  5205. FDISKPM presents menus and displays to guide you through the tasks necessary to 
  5206. set up your hard disks. Help is available for all selectable items and entry 
  5207. fields within FDISKPM. 
  5208.  
  5209. You can use the choices on the Options menu to: 
  5210.  
  5211. o Install the Boot Manager partition. 
  5212. o Create a primary partition or logical drive. 
  5213. o Add a partition to the Boot Manager menu. 
  5214. o Change the partition name. 
  5215. o Assign the accessibility of primary partitions. 
  5216. o Specify startup values such as a default partition, startup selection time, 
  5217.   or mode for the Boot Manager menu. 
  5218. o Remove a partition from the Boot Manager menu. 
  5219. o Delete a primary partition or logical drive. 
  5220. o Set a primary partition as installable. 
  5221. o Specify a primary partition as being startable. 
  5222. o Exit FDISKPM. 
  5223.  
  5224.  
  5225. ΓòÉΓòÉΓòÉ <hidden> FDISKPM Examples ΓòÉΓòÉΓòÉ
  5226.  
  5227. To start FDISKPM to set up the hard disks on your system, enter the following: 
  5228.  
  5229. FDISKPM
  5230.  
  5231.  
  5232. ΓòÉΓòÉΓòÉ 4.62. FILES - Set Maximum Number of Files ΓòÉΓòÉΓòÉ
  5233.  
  5234. Determines the maximum number of files available in DOS sessions. 
  5235.  
  5236. This statement has no effect in OS/2 sessions. 
  5237.  
  5238. FILES = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ nΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5239.  
  5240. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  5241. prompt. 
  5242.  
  5243. When a DOS session is started, 20 files are available to be used by all 
  5244. programs running in that DOS session.  A file is in use when a program is 
  5245. processing some kind of operation in it.  When a program is using a file for 
  5246. its operation, that file is unavailable to another program.  The file is 
  5247. returned to availability when the program has finished its operation and the 
  5248. file is closed. 
  5249.  
  5250. Regardless of the FILES= setting, all DOS programs are initialized to a maximum 
  5251. of 20 files.  It is the responsibility of an application to increase the number 
  5252. of files up to the maximum set by the FILES= statement. 
  5253.  
  5254. Placing a FILES= statement in the CONFIG.SYS file increases the default value 
  5255. for all DOS sessions.  Each session can also be customized by changing the 
  5256. appropriate DOS setting. 
  5257.  
  5258.  
  5259. ΓòÉΓòÉΓòÉ <hidden> FILES Examples ΓòÉΓòÉΓòÉ
  5260.  
  5261. To specify a maximum of 40 files to be open at the same time in a DOS session, 
  5262. type the following in the CONFIG.SYS file: 
  5263.  
  5264. FILES=40
  5265.  
  5266.  
  5267. ΓòÉΓòÉΓòÉ 4.63. FIND - Search Files for Strings of Text ΓòÉΓòÉΓòÉ
  5268.  
  5269. Searches for a specific string of text in a file or files and sends the 
  5270. specified lines to your output device. 
  5271.  
  5272.                                   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5273.                                                         Γöé
  5274. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ FIND ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇ
  5275.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            Γö£ΓöÇΓö¼ΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5276.                                     Γöé ΓööΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ Γöé
  5277.                                     Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇ /I ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5278.                                     ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5279.  
  5280. ΓöÇΓöÇ "string" ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  5281.                ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 Γöé
  5282.               Γöé                                        Γöé
  5283.               ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5284.  
  5285. It is important to note: 
  5286.  
  5287. o You must type the phrase or word in quotation marks in the exact format 
  5288.   (uppercase or lowercase) in which it is written in the text. Two single 
  5289.   quotes in succession are not equivalent to quotation marks. 
  5290. o When searching for strings that contain quotation marks, an extra set of 
  5291.   quotation marks must be entered both before and after the string.  For 
  5292.   example, to find the string "Quotation Marks" in a file named PUNCTUATION, 
  5293.   enter the following: 
  5294.  
  5295.     FIND ""Quotation Marks"" PUNCTUATION
  5296.  
  5297. o You must specify the specific file name you want the FIND command to search. 
  5298.   Global characters such as the asterisk (*) or question mark (?) do not work. 
  5299. o You can specify parameter /V together with /C or /N, but parameter /N cannot 
  5300.   be used with /C. 
  5301. o Within a search string containing quotation marks, you can represent 
  5302.   quotation marks by preceding the double quotation mark character with a 
  5303.   backslash (\).  For example: 
  5304.  
  5305.     FIND "SAY \"Hello\"" FILE1
  5306.  
  5307. Return Codes:  FIND issues a return code of 0 for normal completion. 
  5308.  
  5309.  
  5310. ΓòÉΓòÉΓòÉ <hidden> FIND Examples ΓòÉΓòÉΓòÉ
  5311.  
  5312. To display all lines that do not include the word CHAPTER in a file named 
  5313. BOOK.TXT, enter the following. 
  5314.  
  5315. FIND /V "CHAPTER" BOOK.TXT
  5316.  
  5317. To display a count of the number of lines in a file named BOOK.TXT that include 
  5318. the word CHAPTER, enter the following: 
  5319.  
  5320. FIND /C "CHAPTER" BOOK.TXT
  5321.  
  5322. To display the line number where each occurrence of CHAPTER is found in the 
  5323. text of the file named BOOK.TXT, enter the following: 
  5324.  
  5325. FIND /N "CHAPTER" BOOK.TXT
  5326.  
  5327. To make a search for the string CHAPTER not case-sensitive in the file 
  5328. BOOK.TXT, enter the following: 
  5329.  
  5330. FIND /I "CHAPTER" BOOK.TXT
  5331.  
  5332. To display all the lines from files named BOOK1 and BOOK2 (in that order) that 
  5333. contain the word CHAPTER, enter the following: 
  5334.  
  5335. FIND "CHAPTER" BOOK1 BOOK2
  5336.  
  5337. To find a string that has quotation marks such as "Boca Raton, FL." in a file 
  5338. named CITIES, enter the following: 
  5339.  
  5340. FIND ""Boca Raton, FL."" CITIES
  5341.  
  5342.  
  5343. ΓòÉΓòÉΓòÉ 4.64. FOR - Process Commands Repetitively ΓòÉΓòÉΓòÉ
  5344.  
  5345. Allows repetitive running of OS/2 commands. 
  5346.  
  5347. To use FOR from the OS/2 command prompt: 
  5348.  
  5349.  
  5350. FOR ΓöÇΓöÇΓöÇ % variable ΓöÇΓöÇΓöÇ IN ΓöÇΓöÇΓöÇ (set) ΓöÇΓöÇΓöÇ DO ΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓöñ
  5351.  
  5352. To use FOR from a batch file: 
  5353.  
  5354.  
  5355. FOR ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ %%c ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ IN ΓöÇΓöÇΓöÇΓöÇ (set) ΓöÇΓöÇΓöÇΓöÇ DO ΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöñ
  5356.  
  5357. It is important to note that: 
  5358.  
  5359. o The items in parentheses specify the "set," which can include file and path 
  5360.   names. 
  5361.  
  5362. o An item in the set can contain the global file-name characters * or ?. 
  5363.  
  5364. o Use only one percent sign ( % ) before the variable if you are processing 
  5365.   from the command prompt; use two percent signs ( %% ) if you are using the 
  5366.   variable in a batch file. 
  5367.  
  5368. o For OS/2 sessions, piping and redirection can be used with the FOR command. 
  5369.  
  5370.   The following example shows three C-language program files being compiled and 
  5371.   compiler messages being saved in three files that have a .OUT extension. 
  5372.  
  5373.     FOR %1 IN ( FILE1 FILE2 FILE3 ) DO CL /C %1.C > %1.OUT 2>&1
  5374.  
  5375.   For DOS sessions, piping and redirection are not used with the FOR command. 
  5376.  
  5377. o For OS/2 sessions, you can specify more than one FOR command at a command 
  5378.   prompt. 
  5379.  
  5380.   For example, type the following in order to print these files: FILE1.C, 
  5381.   FILE1.LST, FILE2.C, FILE2.LST, FILE3.C, FILE3.LST: 
  5382.  
  5383.     FOR %1 IN ( FILE1 FILE2 FILE3 ) DO FOR %J IN ( C LST ) DO PRINT %1.%J
  5384.  
  5385. In the following example, FOR sequentially sets the %%D parameter to each item 
  5386. in the set and then evaluates the command you want to run (TYPE). 
  5387.  
  5388. Assume you want a batch file to process the commands, TYPE FILE1 and TYPE 
  5389. FILE2, and have the result be the same as if you typed both commands from the 
  5390. command prompt: 
  5391.  
  5392. FOR %%D IN (FILE1 FILE2) DO TYPE %%D
  5393.  
  5394. Assume you want to process the commands TYPE FILE1 and TYPE FILE2 from the 
  5395. command prompt: 
  5396.  
  5397. FOR %H IN (FILE1 FILE2) DO TYPE %H
  5398.  
  5399.  
  5400. ΓòÉΓòÉΓòÉ <hidden> FOR Examples ΓòÉΓòÉΓòÉ
  5401.  
  5402. To compile three C-language program files and save the compiler messages in 
  5403. three files that have a .OUT extension, enter the following: 
  5404.  
  5405. FOR %1 IN ( FILE1 FILE2 FILE3 ) DO CL /C %1.C > %1.OUT 2>&1
  5406.  
  5407. Piping and redirection are not available for DOS sessions. 
  5408.  
  5409. To specify more than one FOR command for OS/2 sessions at a command prompt and 
  5410. print the files FILE1.C, FILE1.LST, FILE2.C, FILE2.LST, FILE3.C, and FILE3.LST, 
  5411. enter the following: 
  5412.  
  5413. FOR %1 IN ( FILE1 FILE2 FILE3 ) DO FOR %J IN ( C LST ) DO PRINT %1.%J
  5414.  
  5415. To process the commands, TYPE FILE1 and TYPE FILE2, and have the result be the 
  5416. same as if you typed both commands from the command prompt enter the following: 
  5417.  
  5418. FOR %%D IN (FILE1 FILE2) DO TYPE %%D
  5419.  
  5420. To process the commands TYPE FILE1 and TYPE FILE2 from the command prompt enter 
  5421. the following: 
  5422.  
  5423. FOR %H IN (FILE1 FILE2) DO TYPE %H
  5424.  
  5425.  
  5426. ΓòÉΓòÉΓòÉ 4.65. FORMAT - Prepare a Disk for Use ΓòÉΓòÉΓòÉ
  5427.  
  5428. Formats a disk in the specified drive to accept OS/2 files by marking the 
  5429. directory and file allocation tables on the disk. FORMAT also checks the disk 
  5430. for defects. 
  5431.  
  5432. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ FORMAT ΓöÇΓöÇΓöÇΓöÇ drive ΓöÇΓöÇΓöÇΓöÇΓöÇ
  5433.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  5434.  
  5435.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5436.                                      Γöé
  5437. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5438.                Γö£ΓöÇΓöÇΓöÇ /ONCE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5439.                Γö£ΓöÇΓöÇΓöÇ /4 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5440.                Γö£ΓöÇΓöÇΓöÇ /T:tracks ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5441.                Γö£ΓöÇΓöÇΓöÇ /N:sectors ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5442.                Γö£ΓöÇΓöÇΓöÇ /F:xxxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5443.                Γö£ΓöÇΓöÇΓöÇ /FS:xxxxx ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5444.                Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5445.                ΓööΓöÇΓöÇΓöÇ /V ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  5446.                         ΓööΓöÇ :label ΓöÇΓöÿ
  5447.  
  5448. Related Commands:  IFS, LABEL, and VOL 
  5449.  
  5450. If you format a drive for the High Performance File System, FORMAT checks the 
  5451. IFS statement in the CONFIG.SYS file to determine if the drive is listed with 
  5452. the /AUTOCHECK parameter. If the drive is listed, FORMAT does not update the 
  5453. IFS statement. If the drive is not listed, FORMAT adds the drive letter. 
  5454.  
  5455. If you format a diskette or hard disk that already contains information, all 
  5456. the information is erased.  Also, be sure to specify a drive letter, followed 
  5457. by a colon (for example, A:); otherwise, the system displays an error message 
  5458. that you have not specified a target drive. 
  5459.  
  5460. Be sure to set up an OS/2 partition on all hard disks before formatting them. 
  5461. FORMAT does not recognize a hard disk as being an OS/2 disk if an OS/2 or a DOS 
  5462. partition does not exist.  When FORMAT finds such a disk, it skips to the next 
  5463. disk and begins formatting it. 
  5464.  
  5465. Do not attempt to format a diskette to an incorrect capacity, because such a 
  5466. diskette will not store your data reliably. 
  5467.  
  5468. By default, the FORMAT command attempts to format the media to the maximum 
  5469. capacity of the diskette drive.  The /F:xxxx parameter allows you to format 
  5470. 3.5-inch diskettes to less than the maximum capacity of the diskette drive. 
  5471.  
  5472. FORMAT does not work on drives that have an ASSIGN, JOIN, or SUBST command in 
  5473. effect. Also, FORMAT does not work on network drives. 
  5474.  
  5475. FORMAT does work on the IBM read/write optical disc drive.  To format and 
  5476. install the file system on an optical disc the first time requires about 20 
  5477. minutes using the /L parameter.  Reformatting a previously formatted optical 
  5478. disc requires only a few minutes when you do not use the /L parameter. 
  5479.  
  5480. Return Codes: 
  5481.  
  5482. 0 - Normal completion 
  5483.  
  5484. 3 - Ended by user 
  5485.  
  5486. 4 - Ended due to error 
  5487.  
  5488. 5 - Ended due to NO response when user was prompted to format a hard disk 
  5489.  
  5490. 6 - FORMAT was unable to process another file system's format program 
  5491.  
  5492. 7 - Volume not supported by another file system's format program. 
  5493.  
  5494.  
  5495. ΓòÉΓòÉΓòÉ <hidden> FORMAT Examples ΓòÉΓòÉΓòÉ
  5496.  
  5497. To format a 5.25-inch high-capacity diskette in high-capacity diskette drive B, 
  5498. enter the following: 
  5499.  
  5500. FORMAT B:
  5501.  
  5502. To format one diskette on drive A, enter the following: 
  5503.  
  5504. FORMAT A: /ONCE
  5505.  
  5506. To format a 360KB diskette in a 1.2MB drive, enter the following: 
  5507.  
  5508. FORMAT B: /4
  5509.  
  5510. You can also enter: 
  5511.  
  5512. FORMAT B: /N:9 /T:40
  5513.  
  5514. To format a 3.5-inch 720KB diskette in a 1.44MB drive (drive A), enter the 
  5515. following: 
  5516.  
  5517. FORMAT A: /T:80 /N:9
  5518.  
  5519. To format a diskette in drive A and give the diskette a volume label of MYDISK, 
  5520. enter the following: 
  5521.  
  5522. FORMAT A: /V:MYDISK
  5523.  
  5524. To label a diskette using blanks as in the label My Disk, enter the following: 
  5525.  
  5526. FORMAT A:/v:"My Disk"
  5527.  
  5528. To format a 3.5-inch 720KB diskette in a 1.4MB drive (drive A), enter the 
  5529. following: 
  5530.  
  5531. FORMAT A: /F:720
  5532.  
  5533. To format a hard disk partition on drive D for the High Performance File 
  5534. System, enter the following: 
  5535.  
  5536. FORMAT D: /FS:HPFS
  5537.  
  5538. To change the HPFS partition on drive D to a FAT partition, enter the 
  5539. following: 
  5540.  
  5541. FORMAT D: /FS:FAT
  5542.  
  5543. To format and install the file system on a read/write optical disc, enter the 
  5544. following: 
  5545.  
  5546. FORMAT D: /L
  5547.  
  5548. where drive D is designated as the optical disc drive. 
  5549.  
  5550.  
  5551. ΓòÉΓòÉΓòÉ 4.66. FSACCESS - Change Access to the OS/2 File System from DOS Sessions ΓòÉΓòÉΓòÉ
  5552.  
  5553.            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5554.                                                  Γöé
  5555. FSACCESS ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöñ
  5556.              ΓööΓöÇ ! ΓöÇΓöÿ Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ DOSletter ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5557.                      Γö£ΓöÇ DOSletter - DOSletter ΓöÇΓöñ
  5558.                      ΓööΓöÇΓöÇ DOSletter = OS2drive ΓöÇΓöÿ
  5559.  
  5560. Related Commands: FSFILTER, VMDISK 
  5561.  
  5562. Related Information: Starting a Specific Version of DOS 
  5563.  
  5564. FSACCESS can be called multiple times to re-assign drive letters, make new 
  5565. drives accessible, or remove access to drives.  Drives cannot be in use (the 
  5566. current drive) when remapped. 
  5567.  
  5568. When a specific version of DOS is started from an image file, references to 
  5569. drive A in that session access the image file.  The use of the physical 
  5570. diskette drive A is not available. 
  5571.  
  5572. The command 
  5573.  
  5574. FSACCESS A:
  5575.  
  5576. closes the image file and maps drive letter A to the physical diskette drive A. 
  5577.  
  5578. Note:   Specifying no parameters displays the current drive mappings. 
  5579.  
  5580.  
  5581. ΓòÉΓòÉΓòÉ <hidden> FSACCESS Examples ΓòÉΓòÉΓòÉ
  5582.  
  5583. FSACCESS            Displays which DOS drive letters are mapped to OS/2 drives. 
  5584.                     The format will be: 
  5585.  
  5586.                     Local DOSletter is mapped to OS/2drive 
  5587.  
  5588.                                         Local C: is mapped to OS/2 C:
  5589.                                         Local D: is mapped to OS/2 D:
  5590.                                         Local E: is mapped to OS/2 E:
  5591.  
  5592. FSACCESS K          Registers DOS drive letter K.  All references for K will 
  5593.                     now be sent to the OS/2 file system. (Allows DOS drive 
  5594.                     letter K to access an OS/2 file system). 
  5595.  
  5596. FSACCESS !E         Removes access of DOS drive letter E to the OS/2 file 
  5597.                     system. 
  5598.  
  5599. FSACCESS !E-H       Removes access of DOS drive letters E, F, G, and H to the 
  5600.                     OS/2 file system. 
  5601.  
  5602. FSACCESS M=C        Causes functions specifying DOS drive letter M to be routed 
  5603.                     to the OS/2 file system as function requests for drive C. 
  5604.  
  5605.  
  5606. ΓòÉΓòÉΓòÉ 4.67. FSFILTER -  Access the OS/2 File System from DOS Sessions ΓòÉΓòÉΓòÉ
  5607.  
  5608. DEVICE= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ FSFILTER.SYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5609.  
  5610. Related Commands: FSACCESS, VMDISK 
  5611.  
  5612. Related Information: Starting a Specific Version of DOS 
  5613.  
  5614. FSFILTER is a DOS device driver that provides access to OS/2 disk partitions 
  5615. when running a specific version of DOS.  This device driver is provided in the 
  5616. OS2\MDOS directory, and must be loaded by the CONFIG.SYS file that is processed 
  5617. by the specific version of DOS. 
  5618.  
  5619. Do this by copying FSFILTER.SYS to the diskette or disk partition that will be 
  5620. started, and add the following statement to the CONFIG.SYS file of the diskette 
  5621. or disk partition from which the DOS session will be started. 
  5622.  
  5623. DEVICE=FSFILTER.SYS
  5624.  
  5625. The FSFILTER statement must be the first DEVICE= statement in the CONFIG.SYS 
  5626. file.  In addition, it must precede any statement with a reference to a file 
  5627. stored in an HPFS partition. 
  5628.  
  5629.  
  5630. ΓòÉΓòÉΓòÉ <hidden> FSFILTER Examples ΓòÉΓòÉΓòÉ
  5631.  
  5632. To be able to access the OS/2 file system from a specific version of DOS 
  5633. running in a disk partition or from a diskette, type the following in the 
  5634. CONFIG.SYS file of the disk partition or the diskette: 
  5635.  
  5636. DEVICE=FSFILTER.SYS
  5637.  
  5638.  
  5639. ΓòÉΓòÉΓòÉ <hidden> Hard Disk Information ΓòÉΓòÉΓòÉ
  5640.  
  5641. The following is a brief description of the hard disk architecture in the OS/2 
  5642. 2.0 operating system to help you plan ahead and be able to use the Boot 
  5643. Manager. 
  5644.  
  5645. A hard disk is divided into partitions.  A partition defines the area of the 
  5646. hard disk that belongs to a particular operating system. 
  5647.  
  5648. Although each hard disk can be divided into multiple primary partitions and/or 
  5649. one extended partition, the first hard disk must have a primary partition. 
  5650. Each extended partition can be further divided into one or more logical drives. 
  5651.  
  5652. The assignment of drive letters is done by the operating system's volume 
  5653. manager at start time.  The first hard disk is searched for an active primary 
  5654. OS2/DOS partition and the letters starting with "C" are sequentially assigned. 
  5655. After all volumes in primary partitions have been assigned, the logical drives 
  5656. in extended partitions are assigned drive letters sequentially. 
  5657.  
  5658. Important facts to remember are: 
  5659.  
  5660. o An operating system only assigns drive letters to file system types it 
  5661.   supports.  For example, DOS would not assign a drive letter to an HPFS 
  5662.   partition. 
  5663. o Only one primary partition per drive is accessible at a time. 
  5664. o All logical drives in an extended partition are accessible if their file 
  5665.   systems are recognizable by the operating system in use. 
  5666.  
  5667. You can assign names to logical drives to simplify their identity. These names 
  5668. are important especially in the event of a hardware reconfiguration such as 
  5669. adding other hard disks to the system.  The logical drive names assigned to the 
  5670. original hard disk will not change and still identify the same area on the 
  5671. disk, unlike the drive letters which could change because of the 
  5672. reconfiguration. 
  5673.  
  5674. You select the logical drive when you start the system. You will see a menu, 
  5675. and you can either select an operating system to start or let the default 
  5676. operating system start. 
  5677.  
  5678.  
  5679. ΓòÉΓòÉΓòÉ <hidden> Presentation Manager ΓòÉΓòÉΓòÉ
  5680.  
  5681. Trademark of the IBM Corporation. 
  5682.  
  5683.  
  5684. ΓòÉΓòÉΓòÉ 4.68. GOTO - Transfer Processing to a Specified Label ΓòÉΓòÉΓòÉ
  5685.  
  5686. Transfers control to the line that follows the one containing the appropriate 
  5687. label. 
  5688.  
  5689.  
  5690. GOTO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ label ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5691.  
  5692. Related Commands:  IF 
  5693.  
  5694. It is important to note that: 
  5695.  
  5696. o A label is a set of characters within your batch file that indicates what 
  5697.   action the operating system is to take.  It can be a name or a string of 
  5698.   characters, the first eight characters being significant (making it 
  5699.   different). 
  5700.  
  5701. o A label is indicated by a colon (:), followed by the label name. If you 
  5702.   specify a label that is not defined in the batch file, the current processing 
  5703.   of the batch file ends. 
  5704.  
  5705. o A label cannot contain a period (.). 
  5706.  
  5707. o The operating system does not display labels within a batch file while it 
  5708.   processes the batch file.  Therefore, nonreferenced labels provide a 
  5709.   convenient way for placing comments (within your batch file) that the 
  5710.   operating system does not display when it processes the file. 
  5711.  
  5712.  
  5713. ΓòÉΓòÉΓòÉ <hidden> GOTO Examples ΓòÉΓòÉΓòÉ
  5714.  
  5715. To go to a section in your batch file that has a label of WXYZ, if the error 
  5716. level of the program you are running is 1 or greater, type the following in 
  5717. your batch file: 
  5718.  
  5719. IF ERRORLEVEL 1 GOTO WXYZ
  5720.  .
  5721.  .
  5722. :WXYZ
  5723.  
  5724. To show an indefinite sequence of the message "Be Prepared !" on your screen, 
  5725. type the following in the batch file: 
  5726.  
  5727. :LOOP
  5728. @ECHO Be Prepared !
  5729. @GOTO LOOP
  5730.  
  5731. This file will continue to run until you press Ctrl+Break. 
  5732.  
  5733.  
  5734. ΓòÉΓòÉΓòÉ 4.69. GRAFTABL - Display Extended Character Sets ΓòÉΓòÉΓòÉ
  5735.  
  5736. Loads a table of additional characters into memory for graphics mode. Because 
  5737. GRAFTABL is a DOS command, it has no effect on OS/2 sessions. 
  5738.  
  5739.  
  5740. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ GRAFTABL ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5741.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇΓöÇ nnn ΓöÇΓöÇΓöÇΓöñ
  5742.                                         Γö£ΓöÇΓöÇΓöÇΓöÇ ? ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5743.                                         ΓööΓöÇΓöÇΓöÇ /STA ΓöÇΓöÇΓöÇΓöÿ
  5744.  
  5745. Enter this command without a parameter to display the current graphics 
  5746. code-page table that is loaded. 
  5747.  
  5748. GRAFTABL allows the ASCII extended character set to be displayed when display 
  5749. adapters are being used for graphics. GRAFTABL works only for modes 4, 5, and 6 
  5750. of the Color Graphics Adapter, Enhanced Graphics Adapter, and Video Graphics 
  5751. Array. 
  5752.  
  5753. Return Codes: 
  5754.  
  5755. 0 - No previously loaded character table exists and a code page is now 
  5756. resident. 
  5757. 1 - A previously loaded character table exists.  If a new table was requested, 
  5758. it replaces the previous table at its original location. 
  5759. 2 - No previously loaded character table exists and no new table is loaded. 
  5760. 3 - Incorrect parameter 
  5761. 4 - Incorrect DOS version 
  5762.  
  5763.  
  5764. ΓòÉΓòÉΓòÉ <hidden> GRAFTABL Examples ΓòÉΓòÉΓòÉ
  5765.  
  5766. To specify the Multilingual 850 graphic code page, enter the following: 
  5767.  
  5768. GRAFTABL 850
  5769.  
  5770. To display the number of the graphic code page currently being used, and a list 
  5771. of graphic code-page options, enter the following: 
  5772.  
  5773. GRAFTABL ?
  5774.  
  5775. To display the number of the graphic code page currently being used, enter the 
  5776. following: 
  5777.  
  5778. GRAFTABL /STA
  5779.  
  5780.  
  5781. ΓòÉΓòÉΓòÉ 4.70. HELP - Provide System Help ΓòÉΓòÉΓòÉ
  5782.  
  5783. Provides a help line as part of the command prompt, displays help information 
  5784. for warning and error messages, or displays a specific topic within a book. 
  5785.  
  5786. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ HELP ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  5787.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5788.                                      Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5789.                                      Γö£ΓöÇΓöÇΓöÇ message help ΓöÇΓöÇΓöñ
  5790.                                      ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ topic ΓöÇΓöÿ
  5791.                                       ΓööΓöÇ book ΓöÇΓöÿ
  5792.  
  5793. Enter this command without a parameter to display the HELP options available 
  5794. for the current mode of operation. These options allow you to: 
  5795.  
  5796. o Return to the desktop. 
  5797. o Switch to the next session 
  5798. o Exit the current OS/2 session 
  5799. o Get additional help on error and warning messages. 
  5800.  
  5801. If you are writing an application program or working with unfamiliar software, 
  5802. it is advisable to specify HELP OFF, or messages from your program might not 
  5803. appear on the display screen. 
  5804.  
  5805. If you specify HELP ON, the value of the PROMPT environment is overwritten 
  5806. until you specify HELP OFF.  Specifying HELP OFF resets the prompt back to the 
  5807. default system prompts for DOS and OS/2 sessions. 
  5808.  
  5809.  
  5810. ΓòÉΓòÉΓòÉ 4.70.1. Obtain Help on System Messages ΓòÉΓòÉΓòÉ
  5811.  
  5812. To request help for a message, enter HELP with the message number. HELP then 
  5813. displays the original message, which is usually followed by explanation and 
  5814. action statements. If the original message contains variable data, such as the 
  5815. name of a file, HELP substitutes three asterisks (***) for the variable data 
  5816. when it responds to your help request. In addition, if you enter an incorrect 
  5817. message ID, you get a message stating "No help is available for the message ID 
  5818. number requested." 
  5819.  
  5820. If HELP is unable to find the help message file (OSO001H.MSG) in the current 
  5821. directory, it searches for the file in the directories contained in the DPATH 
  5822. and APPEND statements. 
  5823.  
  5824.  
  5825. ΓòÉΓòÉΓòÉ <hidden> HELP Examples ΓòÉΓòÉΓòÉ
  5826.  
  5827. To display the HELP options available for the current operating environment, 
  5828. enter the following: 
  5829.  
  5830. HELP
  5831.  
  5832. To display a help line as a part of the command prompt, reminding you which 
  5833. keys to press to return to the desktop, enter the following: 
  5834.  
  5835. HELP ON
  5836.  
  5837. To request additional help for error message number SYS0003, enter the 
  5838. following: 
  5839.  
  5840. HELP 3
  5841.  
  5842. To view information in the OS/2 Command Reference about the COPY command, enter 
  5843. the following at the OS/2 command prompt: 
  5844.  
  5845. HELP CMDREF COPY
  5846.  
  5847. To view information about functions in the REXX Information, enter the 
  5848. following at the OS/2 command prompt: 
  5849.  
  5850. HELP REXX FUNCTIONS
  5851.  
  5852. To view information about the COPY command, enter the following at the OS/2 
  5853. command prompt: 
  5854.  
  5855. HELP COPY
  5856.  
  5857.  
  5858. ΓòÉΓòÉΓòÉ 4.71. IF - Process Commands Conditionally ΓòÉΓòÉΓòÉ
  5859.  
  5860. Allows conditional processing of OS/2 commands.  When the condition is true, 
  5861. the operating system processes the command; otherwise, it skips the command and 
  5862. processes the next command in the file. 
  5863.  
  5864. Piping and redirection should not be specified on the IF command line. 
  5865.  
  5866. IF ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇ ERRORLEVEL ΓöÇΓöÇΓöÇ number ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5867.      ΓööΓöÇ NOT ΓöÇΓöÿ  ΓööΓöÇ string1==string2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5868.  
  5869. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  5870.      ΓööΓöÇ EXIST ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓöÿ
  5871.                 ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  5872.  
  5873. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  command  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5874.  
  5875. For readability, the file name parameters are shown on a separate line in this 
  5876. diagram.  When you type the IF command, you can specify either an error level, 
  5877. string, or a file name. 
  5878.  
  5879. Related Commands:  GOTO 
  5880.  
  5881.  
  5882. ΓòÉΓòÉΓòÉ <hidden> IF Examples ΓòÉΓòÉΓòÉ
  5883.  
  5884. To reverse the truth value of conditional parameters from true to false or 
  5885. false to true, type the following statements in your batch file. 
  5886.  
  5887. COPY MARY\*.* NAMES\*.*
  5888. IF NOT ERRORLEVEL 1 GOTO STEP2
  5889. ECHO COPY FAILED
  5890. PAUSE
  5891. GOTO END
  5892. :STEP2
  5893. ECHO COPY PROCEDURE COMPLETED SUCCESSFULLY
  5894. :END
  5895.  
  5896. To test the system to see if the DPATH statement is defined, and to define it 
  5897. as C:\OS2, and then test to see that it was set, type the following statements 
  5898. in your batch file. 
  5899.  
  5900. IF "%DPATH%" == "" DPATH C:\OS2;
  5901. IF "%DPATH%" == "" GOTO LABEL
  5902. :LABEL
  5903. ECHO DPATH SET
  5904. DPATH
  5905.  
  5906. To provide the true status of your STATUS files when the first string is 
  5907. identical to the second string, type the following in your batch file: 
  5908.  
  5909. IF EXIST C:\STATUS\*.STS ECHO I have status files
  5910. IF NOT EXIST C:\STATUS\*.STS ECHO I do not have status files
  5911.  
  5912. To test if a program ended because of an error and, if so, to display "FAILED" 
  5913. on your screen, type the following in your batch file: 
  5914.  
  5915. PROGRAM.ONE C:\*.* A: /S
  5916. IF ERRORLEVEL 4 ECHO FAILED
  5917.  
  5918. To test if the %1 parameter is equal to HELP and, if so, to display "PROG1 
  5919. FAILED" on the screen, type the following in the batch file: 
  5920.  
  5921. IF %1 == HELP ECHO PROG1 FAILED
  5922.  
  5923. To test if the %1. parameter is equal to HELP. and, if so, display "PROG1 
  5924. FAILED" on the screen, type the following in the batch file: 
  5925.  
  5926. IF %1. == HELP. ECHO PROG1 FAILED
  5927.  
  5928. Notice the same character (.) added in each string.  This example avoids the 
  5929. error of using a blank in the first string. 
  5930.  
  5931. To test if FILE1 is in the current directory on the default drive and, if so, 
  5932. to process the GOTO command, type the following in the batch file: 
  5933.  
  5934. IF EXIST FILE1 GOTO END
  5935.   .
  5936.   .
  5937.   .
  5938. :END
  5939.  
  5940. To test if the file A:\%1 exists (where %1 is a replaceable parameter), type 
  5941. the following in the batch file: 
  5942.  
  5943. IF NOT EXIST A:\%1 COPY B:\%1 A:
  5944.  
  5945. If the file exists on drive A, processing continues.  If the file does not 
  5946. exist, the COPY command is processed. 
  5947.  
  5948. To test the value of the environment variable path, type the following in the 
  5949. batch file: 
  5950.  
  5951. IF "%PATH%" == "" ECHO NO PATH
  5952.  
  5953.  
  5954. ΓòÉΓòÉΓòÉ 4.72. IFS (Installable File System) - Install a File System ΓòÉΓòÉΓòÉ
  5955.  
  5956. Installs a file system (IFS) by specifying the path and complete file name of 
  5957. the file system driver in your CONFIG.SYS file. 
  5958.  
  5959. IFS =  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  5960.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ arguments ΓöÇΓöÿ
  5961.  
  5962. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  5963. command prompt. 
  5964.  
  5965. Related Commands: CACHE, CHKDSK,  FORMAT, IFS (HPFS.IFS) 
  5966.  
  5967. A file system driver is a file that contains code needed to manage disks and 
  5968. diskettes formatted for file systems other than the file allocation table 
  5969. (FAT). 
  5970.  
  5971. Any time you add or make changes to the CONFIG.SYS file, you must restart the 
  5972. system in order for the new file system or change to become effective. 
  5973. Remember, the CONFIG.SYS file is read only during system startup.  Anything 
  5974. added to this file after system initialization does not work until you restart 
  5975. the system. 
  5976.  
  5977. Use this command to replace the FAT file system with a file system of your 
  5978. choice.  This enables you to: 
  5979.  
  5980. o Use large disks more efficiently 
  5981. o Have greater file flexibility 
  5982. o Increase system performance 
  5983. o Have more than one active file system. 
  5984.  
  5985. An example of an IFS driver is HPFS.IFS 
  5986.  
  5987.  
  5988. ΓòÉΓòÉΓòÉ <hidden> IFS Examples ΓòÉΓòÉΓòÉ
  5989.  
  5990. To install the High Performance File System, the OS/2 Installation program 
  5991. places the following statement in the CONFIG.SYS file: 
  5992.  
  5993. IFS=C:\OS2\HPFS.IFS /C:64
  5994.  
  5995.  
  5996. ΓòÉΓòÉΓòÉ 4.73. IFS (HPFS.IFS) - Install the High Performance File System (HPFS) ΓòÉΓòÉΓòÉ
  5997.  
  5998. Specifies the file system program for loading the High Performance File System 
  5999. (HPFS). 
  6000.  
  6001. IFS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  6002.            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ /C:nnnn ΓöÇΓöÿ
  6003.  
  6004. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6005.            ΓööΓöÇ /AUTOCHECK:xxx ΓöÇΓöÿ   ΓööΓöÇ /CRECL:x ΓöÇΓöÿ
  6006.  
  6007. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6008. command prompt. 
  6009.  
  6010. Related Commands: CACHE, CHKDSK, FORMAT, IFS 
  6011.  
  6012. Use this command to replace the FAT file system with a file system of your 
  6013. choice such as HPFS.  This enables you to: 
  6014.  
  6015. o Use large disks more efficiently 
  6016. o Have greater file flexibility 
  6017. o Increase system performance 
  6018. o Have more than one active file system. 
  6019.  
  6020. During OS/2 installation, you were given the option of installing the High 
  6021. Performance File System (HPFS). The features of this file system include the 
  6022. following: 
  6023.  
  6024. o Cache Memory Access 
  6025.  
  6026.   The High Performance File System uses a high-speed buffer storage, known as a 
  6027.   cache, to access programs and data.  Often-used programs and data can be 
  6028.   found in memory, thereby reducing the number of times the operating system 
  6029.   must read a disk.  The maximum amount of memory that can be used as a cache 
  6030.   is 2MB regardless of how much memory is available. 
  6031.  
  6032. o Long File Names 
  6033.  
  6034.   HPFS accepts file names of up to 254 characters in length.  It also accepts 
  6035.   any number of separators (.) as part of the file name. 
  6036.  
  6037. o File Allocation 
  6038.  
  6039.   HPFS attempts to keep disk allocation for a file in contiguous sectors. 
  6040.   Because most files will be located in adjacent sectors, the number of 
  6041.   operations needed to access the file is reduced. 
  6042.  
  6043. o Extended Attributes 
  6044.  
  6045.   HPFS supports extended directory information about files and directories. 
  6046.   This information is called an extended attribute.  Through extended 
  6047.   attributes, an application can attach information to a file or directory. 
  6048.  
  6049. o "Lazy" Writing 
  6050.  
  6051.   HPFS copies data to an area in cache memory before writing data to a disk 
  6052.   according to the IFS statement specified in a CONFIG.SYS file. During OS/2 
  6053.   installation, the following IFS statement was added to the CONFIG.SYS file if 
  6054.   you selected the High Performance File System: 
  6055.  
  6056.     IFS=C:\OS2\HPFS.IFS /C:64
  6057.  
  6058. o Balanced Directory Tree 
  6059.  
  6060.   HPFS keeps track of files through a structure known as a balanced directory 
  6061.   tree.  To locate a file, HPFS reads this structure rather than reading the 
  6062.   full directory list. 
  6063.  
  6064. HPFS is an installable file system (IFS) designed to provide better performance 
  6065. than the existing file allocation table (FAT) based file system.  HPFS is 
  6066. designed to provide extremely fast access to very large disk volumes.  The OS/2 
  6067. operating system also supports the coexistence of multiple, active file systems 
  6068. on a single personal computer system, with the capability of multiple and 
  6069. different storage devices. 
  6070.  
  6071. If you select HPFS as your standard file system, the OS/2 installation 
  6072. procedure inserts an IFS statement as the first entry in the CONFIG.SYS file. 
  6073.  
  6074. System installation automatically sets up the HPFS cache for you if you format 
  6075. the primary partition with HPFS (using the OS2.INI file).  If you format the 
  6076. primary partition for FAT instead, and then later want to format another 
  6077. partition with HPFS, you need to add an IFS statement to the CONFIG.SYS file. 
  6078.  
  6079. Keep in mind that these statements are device-dependent and must be included 
  6080. before any DEVICE statements. 
  6081.  
  6082. Note:   Refer to the individual commands for further information on IFS, 
  6083.         CACHE, and RUN statements. 
  6084.  
  6085. If you start DOS (from outside the OS/2 operating system, that is, from a DOS 
  6086. partition or diskette), files on HPFS partitions are not accessible.  If you 
  6087. start a Specific Version of DOS from within the OS/2 operating system (that is, 
  6088. a version of DOS running in a DOS sesssion), then files on HPFS partitions are 
  6089. accessible. 
  6090.  
  6091. Both the FAT-based file system and installable file systems support standard 
  6092. naming conventions and the existing logical file and directory structure. 
  6093. Features of HPFS include: 
  6094.  
  6095. o File names up to 254 characters in length 
  6096. o Fast access to very large disk volumes 
  6097. o Strategic allocation of directory structures 
  6098. o Extended attribute support 
  6099. o Caching of directories, data, and file system structures 
  6100. o Processing of metacharacters that are generally used for displaying and 
  6101.   printing graphics. 
  6102. o Large file support. 
  6103.  
  6104.  
  6105. ΓòÉΓòÉΓòÉ <hidden> IFS Examples ΓòÉΓòÉΓòÉ
  6106.  
  6107. To install the High Performance File System, the OS/2 Installation program 
  6108. places the following statement in the CONFIG.SYS file: 
  6109.  
  6110. IFS=C:\OS2\HPFS.IFS /C:64
  6111.  
  6112. To indicate to the operating system to check drives D and F before it runs the 
  6113. CHKDSK program, type the following in your CONFIG.SYS file and restart your 
  6114. system: 
  6115.  
  6116. IFS=C:\OS2\HPFS.IFS /C:64 /AUTOCHECK:DF
  6117.  
  6118. To set the cache size to 64KB and the maximum record size to 4KB, type the 
  6119. following in the CONFIG.SYS file: 
  6120.  
  6121. IFS=C:\OS2\HPFS.IFS /C:64 /CRECL:4
  6122.  
  6123.  
  6124. ΓòÉΓòÉΓòÉ 4.74. IOPL - Allow Input/Output Privilege ΓòÉΓòÉΓòÉ
  6125.  
  6126. Allows I/O privilege to be granted to requesting processes in OS/2 sessions. 
  6127.  
  6128.  
  6129. IOPL = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ NO ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6130.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ YES ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6131.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ list ΓöÇΓöÇΓö¼ΓöÇΓöÿ
  6132.                                     Γöé
  6133.                          ΓööΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6134.  
  6135. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6136. command prompt. 
  6137.  
  6138. The privilege level assigned to a program determines what code segments and 
  6139. data segments it can access.  The privilege level also limits the machine 
  6140. instructions a program can process. 
  6141.  
  6142. Application programs are usually assigned privilege level 3.  This means that 
  6143. they can call routines that run at any other privilege level. However, they can 
  6144. access only their own data segments and cannot issue any I/O instructions. 
  6145.  
  6146. Programs that are granted I/O privilege run at privilege level 2.  When IOPL is 
  6147. YES, a program assigned privilege level 2, such as a subsystem that needs to 
  6148. communicate directly with a specific device, is then permitted to send or 
  6149. receive instructions to or from that device. 
  6150.  
  6151.  
  6152. ΓòÉΓòÉΓòÉ <hidden> IOPL Examples ΓòÉΓòÉΓòÉ
  6153.  
  6154. To permit I/O privileges to processing programs, type the following in the 
  6155. CONFIG.SYS file and restart your system: 
  6156.  
  6157. IOPL=YES
  6158.  
  6159. To prevent I/O privileges from processing programs, type the following in the 
  6160. CONFIG.SYS file and restart your system: 
  6161.  
  6162. IOPL=NO
  6163.  
  6164. To allow I/O privileges to be granted to programs named PROC2 and PROC3, type 
  6165. the following in the CONFIG.SYS file and restart your system: 
  6166.  
  6167. IOPL=PROC2,PROC3
  6168.  
  6169.  
  6170. ΓòÉΓòÉΓòÉ 4.75. JOIN - Join Drives ΓòÉΓòÉΓòÉ
  6171.  
  6172. Logically connects a drive to a directory on another drive. Therefore, you can 
  6173. access a drive by a directory name instead of a drive letter. You can join a 
  6174. drive only at the root directory. 
  6175.  
  6176. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ JOIN ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ drive ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6177.  ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  6178.  
  6179. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ drive\directory ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6180.                                  ΓööΓöÇ /D ΓöÇΓöÿ
  6181.  
  6182. Related Commands:  ASSIGN, SUBST 
  6183.  
  6184. Enter this command without a parameter to display the names of the drives 
  6185. currently joined. 
  6186.  
  6187. If the directory name does not exist, the OS/2 operating system creates a 
  6188. directory on the drive you specify.  A directory that already exists must be 
  6189. empty for the JOIN to work.  Also, after you issue the JOIN command, the first 
  6190. drive name is no longer correct, and if you try to use it, the operating system 
  6191. displays an error message. 
  6192.  
  6193. Note that the following commands do not work in DOS sessions on drives that 
  6194. have a JOIN command in effect: 
  6195.  
  6196. CHKDSK 
  6197. DISKCOMP 
  6198. DISKCOPY 
  6199. FORMAT 
  6200. LABEL 
  6201. RECOVER 
  6202. RESTORE 
  6203.  
  6204.  
  6205. ΓòÉΓòÉΓòÉ <hidden> JOIN Examples ΓòÉΓòÉΓòÉ
  6206.  
  6207. To join drive A to the path C:\DRIVEA and access drive A as the DRIVEA 
  6208. subdirectory on drive C, enter the following: 
  6209.  
  6210. JOIN A: C:\DRIVEA
  6211.  
  6212. To turn off the JOIN action on drive A, enter the following: 
  6213.  
  6214. JOIN A: /D
  6215.  
  6216.  
  6217. ΓòÉΓòÉΓòÉ 4.76. KEYB - Select a Keyboard Layout ΓòÉΓòÉΓòÉ
  6218.  
  6219. Selects a keyboard layout to replace the current keyboard layout for all OS/2 
  6220. and DOS sessions. 
  6221.  
  6222. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ KEYB ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6223.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ             ΓööΓöÇ layout ΓöÇΓöÿ
  6224.  
  6225. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6226.             ΓööΓöÇ subcountry ΓöÇΓöÿ
  6227.  
  6228. Related Commands:  CODEPAGE, COUNTRY, and DEVINFO 
  6229.  
  6230. If your CONFIG.SYS file contains a keyboard DEVINFO statement, then you have 
  6231. the ability to switch keyboard layouts using KEYB.  If there is no keyboard 
  6232. DEVINFO statement in the CONFIG.SYS file, typing KEYB with any layout returns 
  6233. an error message.  Typing KEYB without a layout parameter, whether there is a 
  6234. DEVINFO statement or not in your CONFIG.SYS file, causes the current keyboard 
  6235. code-page information to be displayed. 
  6236.  
  6237. KEYB is useful for quickly accessing the keyboard characters of another 
  6238. keyboard layout. KEYB must be run only from an OS/2 full-screen command prompt. 
  6239. Running KEYB from a command prompt of an OS/2 window creates unexpected 
  6240. results. 
  6241.  
  6242. KEYB prepares the keyboard in the selected layout for the system code pages.  A 
  6243. message is displayed when the code pages that are set in the CODEPAGE statement 
  6244. in the CONFIG.SYS file do not match the code pages associated with the layout 
  6245. that is being processed by KEYB. Enter a Y (yes) to load the default layout or 
  6246. an N (no) to end the KEYB command without loading the requested keyboard 
  6247. layout. Loading the default layout for a keyboard that does not match the 
  6248. country physical keyboard layout is recommended only for users who understand 
  6249. the implications for character mismatch.  If you choose to load the default 
  6250. layout, certain characters typed at the keyboard and read by a program may not 
  6251. match the characters shown on the keytops. Also, characters entered from the 
  6252. keyboard could be displayed incorrectly on the screen. 
  6253.  
  6254. If you use KEYB to switch to a keyboard layout where the keyboard code page 
  6255. does not match the system code pages, and you decide that the potential 
  6256. problems with using the default layout are too great, you must change the 
  6257. CODEPAGE statement in the CONFIG.SYS file to match the keyboard code page 
  6258. associated with the keyboard layout that you are trying to load. 
  6259.  
  6260. If you want characters displayed in the same default code page for the layout 
  6261. you specified using KEYB, change the CODEPAGE statement in the CONFIG.SYS file. 
  6262.  
  6263. The DEVINFO statement specifies the keyboard layout that the system is to start 
  6264. in, if all other required CONFIG.SYS parameters are correct.  If you do not 
  6265. specify a DEVINFO statement in your CONFIG.SYS file, the U.S. keyboard layout 
  6266. (US) is the default.  You cannot, however, use the KEYB command if no DEVINFO 
  6267. statement is given.  Only one DEVINFO is required (for the starting keyboard 
  6268. layout).  KEYB can be issued for any valid country layout, provided code-page 
  6269. support for that country has been prepared. 
  6270.  
  6271.  
  6272. ΓòÉΓòÉΓòÉ <hidden> KEYB  Examples ΓòÉΓòÉΓòÉ
  6273.  
  6274. To switch to the German keyboard using the keyboard layout, GR enter the 
  6275. following: 
  6276.  
  6277. KEYB GR
  6278.  
  6279. See the table below for the keyboard layout parameter for the country you wish 
  6280. to use. 
  6281.  
  6282. Keyboard Layout Table: 
  6283.  
  6284.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  6285.  Γòæ  AR  Arabic          Γòæ  HU  Hungary       Γòæ                           Γòæ
  6286.  Γòæ  BE  Belgium         Γòæ  IS  Iceland       Γòæ  SV  Sweden               Γòæ
  6287.  Γòæ  CF  Canada (French) Γòæ  IT  Italy         Γòæ  SF  Switzerland (French) Γòæ
  6288.  Γòæ  CS  Czechoslovakia  Γòæ  LA  Latin America Γòæ  SG  Switzerland (German) Γòæ
  6289.  Γòæ  DK  Denmark         Γòæ  NL  Netherlands   Γòæ  TR  Turkey               Γòæ
  6290.  Γòæ  SU  Finland         Γòæ  NO  Norway        Γòæ  UK  United Kingdom       Γòæ
  6291.  Γòæ  FR  France          Γòæ  PL  Poland        Γòæ  US  United States        Γòæ
  6292.  Γòæ  GR  Germany         Γòæ  PO  Portugal      Γòæ  YU  Yugoslavia           Γòæ
  6293.  Γòæ  HE  Hebrew          Γòæ  SP  Spain         Γòæ                           Γòæ
  6294.  Γòæ                      Γòæ                    Γòæ                           Γòæ
  6295.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  6296.  
  6297. To switch to the Czechoslovakian keyboard using the Czechoslovakian keyboard 
  6298. layout, CS, and the Czechoslovakian enhanced keyboard, 245, type the following 
  6299. at the command prompt of a full-screen OS/2 session. 
  6300.  
  6301. KEYB CS 245
  6302.  
  6303. For the subcountry keyboard code for the country you wish to use, select from 
  6304. the subcountry codes table below: 
  6305.  
  6306. Enhanced keyboard Table: 
  6307.  
  6308.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù
  6309.  Γòæ   Default    Alternate  Countries with more than one keyboard layout  Γòæ
  6310.  Γòæ                                                                       Γòæ
  6311.  Γòæ   243        245        Czechoslovakia                                Γòæ
  6312.  Γòæ   189        120        France                                        Γòæ
  6313.  Γòæ   141        142        Italy                                         Γòæ
  6314.  Γòæ   166        168        United Kingdom                                Γòæ
  6315.  Γòæ                                                                       Γòæ
  6316.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥
  6317.  
  6318. If you do not specify a subcountry code for these countries, the OS/2 operating 
  6319. system uses the first subcountry code listed. 
  6320.  
  6321.  
  6322. ΓòÉΓòÉΓòÉ 4.77. KEYS - Retrieve Commands ΓòÉΓòÉΓòÉ
  6323.  
  6324. Permits previously issued commands to be retrieved and edited. 
  6325.  
  6326.  
  6327. KEYS ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6328.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ OFF ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6329.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ ON ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6330.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ list ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6331.  
  6332. Enter this command without a parameter to display the status of the KEYS 
  6333. command. 
  6334.  
  6335. Entering KEYS ON disables ANSI extended keyboard support in OS/2 sessions. 
  6336.  
  6337. The amount of memory for the command queue cannot exceed 64KB.  When the queue 
  6338. is full, the oldest command is discarded as new commands are entered from the 
  6339. keyboard. 
  6340.  
  6341. Entering KEYS ON or KEYS OFF at the command prompt, sets an environment 
  6342. variable named KEYS with a value of ON or OFF.  CMD.EXE checks the KEYS 
  6343. environment variable when it starts and determines if KEYS is set to ON.  If 
  6344. so, CMD.EXE acts as an implicit KEYS ON command. 
  6345.  
  6346. KEYS ON Editing 
  6347.  
  6348. KEYS OFF Editing 
  6349.  
  6350.  
  6351. ΓòÉΓòÉΓòÉ <hidden> KEYS ON Editing Commands ΓòÉΓòÉΓòÉ
  6352.  
  6353. Use the following keys for editing commands when KEYS is set to ON: 
  6354.  
  6355. Esc                   Clears the command line and returns the cursor to the 
  6356.                       first position following the command prompt 
  6357.  
  6358. Home                  Moves the cursor to the first character in the command 
  6359.                       line 
  6360.  
  6361. End                   Moves the cursor to the last character in the command 
  6362.                       line 
  6363.  
  6364. Ins                   Inserts characters 
  6365.  
  6366. Del                   Deletes characters 
  6367.  
  6368. Left Arrow            Moves the cursor one position to the left 
  6369.  
  6370. Right Arrow           Moves the cursor one position to the right 
  6371.  
  6372. Up Arrow              Displays the previous command in the queue 
  6373.  
  6374. Down Arrow            Displays the next command in the queue 
  6375.  
  6376. Ctrl+Left Arrow       Moves the cursor to the first character of a word 
  6377.  
  6378. Ctrl+Right Arrow      Moves the cursor to the first character of the next word 
  6379.  
  6380. Ctrl+End              Deletes any character from the cursor position to the end 
  6381.                       of the line 
  6382.  
  6383. Ctrl+Home             Deletes any character from the beginning of the line to 
  6384.                       the left of the cursor position 
  6385.  
  6386. Enter                 Submits the command for processing 
  6387.  
  6388.  
  6389. ΓòÉΓòÉΓòÉ <hidden> KEYS OFF Editing Commands ΓòÉΓòÉΓòÉ
  6390.  
  6391. Use the following keys for editing command-prompt commands when KEYS is set to 
  6392. OFF: 
  6393.  
  6394. Esc                   Cancels the currently displayed command at the command 
  6395.                       prompt. 
  6396.  
  6397. Enter                 Places the command entered at the command prompt into the 
  6398.                       computer and enters it into the memory of the command 
  6399.                       queue. 
  6400.  
  6401. F1                    Displays the last command entered at the command prompt 
  6402.                       one character at a time as the F1 key is pressed and held 
  6403.                       in the down position. 
  6404.  
  6405. F2                    Displays all of the characters in the previous command up 
  6406.                       to, but not including the character you enter, for 
  6407.                       example: 
  6408.  
  6409.                       Assume you have three files named FILE1, FILE2, and FILE3 
  6410.                       on three different diskettes that you want to copy to 
  6411.                       your B drive.  One way to do this with KEYS OFF is as in 
  6412.                       the example that follows: 
  6413.  
  6414.                       1. At the [B:\] command prompt, Type COPY A:FILE1 and 
  6415.                       press Enter. 
  6416.  
  6417.                       2. The command entered into your system and stored in the 
  6418.                       command-prompt memory buffer is COPY A:FILE1. 
  6419.  
  6420.                       3. Press F2 and enter the last character number 1. 
  6421.  
  6422.                       4. As the 1 key is pressed, the previous command, COPY 
  6423.                       A:FILE1, is retrieved but the number 1 has been dropped 
  6424.                       as follows: 
  6425.  
  6426.                                             COPY A:FILE
  6427.  
  6428.                       5. The cursor is held in the last position where the 
  6429.                       number 2 can now be entered to copy the next file from 
  6430.                       the second diskette and so on, returning to step 1 and 
  6431.                       repeating until the copy process has been completed. 
  6432.  
  6433. F3                    Displays the entire command previously entered at the 
  6434.                       command prompt. 
  6435.  
  6436. F4                    Deletes all of the characters in the previous command up 
  6437.                       to, but not including, the selected character you enter; 
  6438.                       for example: 
  6439.  
  6440.                       The previous command entered is COPY FILENAME. Press F4 
  6441.                       and enter the letter F. Press F3 and the previous command 
  6442.                       FILENAME is retrieved as follows: 
  6443.  
  6444.                                             FILENAME
  6445.  
  6446. F5                    Accepts the command that is present, or has been edited 
  6447.                       at the command prompt as the current command and enters 
  6448.                       it into the command-prompt queue. 
  6449.  
  6450.  
  6451. ΓòÉΓòÉΓòÉ <hidden> KEYS Examples ΓòÉΓòÉΓòÉ
  6452.  
  6453. To enable retrieving commands, enter the following: 
  6454.  
  6455. KEYS ON
  6456.  
  6457. KEYS ON Editing 
  6458.  
  6459. To stop retrieving commands, enter the following: 
  6460.  
  6461. KEYS OFF
  6462.  
  6463. KEYS OFF Editing 
  6464.  
  6465. To display the list of commands in the queue, enter the following: 
  6466.  
  6467. KEYS LIST
  6468.  
  6469. To set a KEYS statement in the CONFIG.SYS file, type the following in your 
  6470. CONFIG.SYS file and restart your system.: 
  6471.  
  6472. SET KEYS=ON
  6473.  
  6474.  
  6475. ΓòÉΓòÉΓòÉ 4.78. LABEL - Create or Change Volume Label ΓòÉΓòÉΓòÉ
  6476.  
  6477. Creates or changes the volume identification label on a disk. 
  6478.  
  6479. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ LABEL ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  6480.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ label ΓöÇΓöÿ
  6481.  
  6482. Related Commands: VOL 
  6483.  
  6484. Enter this command without a parameter to display the current label and volume 
  6485. serial number.  LABEL prompts you if you want to change it.  Type a volume 
  6486. label up to 11 characters long and press Enter.  If you press Enter without 
  6487. entering a label, the volume label remains unchanged. 
  6488.  
  6489. Any leading blanks entered before a volume label are removed from the label, 
  6490. and the first letter of the label is automatically positioned at the first 
  6491. digit space allowed for the label. 
  6492.  
  6493. LABEL does not work in DOS sessions on drives that have an ASSIGN, JOIN, or 
  6494. SUBST command in effect. Also, LABEL does not work on network drives. 
  6495.  
  6496. Return Codes: The LABEL command issues a return code of 0 for normal 
  6497. completion. 
  6498.  
  6499.  
  6500. ΓòÉΓòÉΓòÉ <hidden> LABEL Examples ΓòÉΓòÉΓòÉ
  6501.  
  6502. To display the volume label of drive A and be prompted by the system for the 
  6503. new label, enter the following: 
  6504.  
  6505. LABEL A:
  6506.  
  6507. To create a volume-label name of FIXEDISKC for your hard disk, drive C, type 
  6508. the following: 
  6509.  
  6510. LABEL C:FIXEDISKC
  6511.  
  6512.  
  6513. ΓòÉΓòÉΓòÉ 4.79. LASTDRIVE - Number of Accessible Drives ΓòÉΓòÉΓòÉ
  6514.  
  6515. Specifies the maximum number of drives that are accessible. 
  6516.  
  6517. This statement has no effect in OS/2 sessions. 
  6518.  
  6519. LASTDRIVE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ xΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6520.  
  6521. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  6522. prompt. 
  6523.  
  6524. The value you specify with this command represents the last valid drive that is 
  6525. recognized. 
  6526.  
  6527.  
  6528. ΓòÉΓòÉΓòÉ <hidden> LASTDRIVE Examples ΓòÉΓòÉΓòÉ
  6529.  
  6530. To set the last drive = to M, giving your system access to 13 logical disks, 
  6531. type the following in the CONFIG.SYS file: 
  6532.  
  6533. LASTDRIVE=M
  6534.  
  6535.  
  6536. ΓòÉΓòÉΓòÉ 4.80. LIBPATH - Identify Dynamic Link Libraries ΓòÉΓòÉΓòÉ
  6537.  
  6538. Identifies the locations of dynamic link libraries for OS/2 programs. 
  6539.  
  6540.  
  6541. LIBPATH = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6542.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  6543.            Γöé                                Γöé
  6544.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6545.  
  6546. LIBPATH is used to identify a set of directories to be searched when the OS/2 
  6547. operating system loads dynamic link libraries. Because dynamic link library 
  6548. modules are shared globally, this command allows path searching to be defined 
  6549. globally rather than on a per-process basis (as done by the PATH command). 
  6550.  
  6551. LIBPATH is not a part of the environment and therefore cannot be viewed with 
  6552. the SET command.  Also, unlike the PATH environment variable, the current 
  6553. directory is not searched first. 
  6554.  
  6555. The installation program places this statement in your CONFIG.SYS file: 
  6556.  
  6557. LIBPATH=C:\OS2\DLL;C:\OS2\MDOS;C:\;
  6558.  
  6559.  
  6560. ΓòÉΓòÉΓòÉ <hidden> LIBPATH Examples ΓòÉΓòÉΓòÉ
  6561.  
  6562. To specify the LIB subdirectory as the directory to be searched for dynamic 
  6563. link libraries, type the following in the CONFIG.SYS file and restart your 
  6564. system: 
  6565.  
  6566. LIBPATH=C:\;C:\LIB;
  6567.  
  6568. To reset the LIBPATH statement in your CONFIG.SYS file to what is set by the 
  6569. installation program, type the following in your CONFIG.SYS file and restart 
  6570. your system: 
  6571.  
  6572. LIBPATH=C:\OS2\DLL;C:\OS2\MDOS;C:\;
  6573.  
  6574.  
  6575. ΓòÉΓòÉΓòÉ 4.81. LH or LOADHIGH - Load DOS TSR Programs into Upper Memory ΓòÉΓòÉΓòÉ
  6576.  
  6577. Loads Terminate and Stay Resident (TSR) DOS programs into an available upper 
  6578. memory block (UMB) for a DOS session. 
  6579.  
  6580. LOADHIGH ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  6581. LH         ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ arguments ΓöÇΓöÿ
  6582.  
  6583. Related Commands:  DEVICEHIGH, DOS (UMB/NOUMB) 
  6584.  
  6585. You can load a DOS TSR program into an upper memory block (UMB) by typing the 
  6586. LH or LOADHIGH command at the DOS command prompt.  If no UMB is available, the 
  6587. TSR program will be loaded into low memory (below 640KB).  To enable UMBs, type 
  6588. the DOS=UMB statement in the CONFIG.SYS file. 
  6589.  
  6590.  
  6591. ΓòÉΓòÉΓòÉ <hidden> LOADHIGH Examples ΓòÉΓòÉΓòÉ
  6592.  
  6593. To load the APPEND program with the parameters C:\OS2 and C:\TOOLS into a UMB, 
  6594. enter the following: 
  6595.  
  6596. LOADHIGH APPEND C:\OS2;C:\TOOLS
  6597.  
  6598.  
  6599. ΓòÉΓòÉΓòÉ 4.82. MAKEINI - Recover User and System INI Files ΓòÉΓòÉΓòÉ
  6600.  
  6601. System settings, such as application defaults, display options, and file 
  6602. options, are contained in the OS2.INI startup file located in the C:\OS2 
  6603. directory of your hard disk.  There is also a system file called OS2SYS.INI, 
  6604. which contains information about installed fonts and printer drivers. 
  6605.  
  6606.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ MAKEINI ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  6607.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇΓöÇ user ΓöÇΓöÇΓöñ
  6608.                                             ΓööΓöÇ system ΓöÇΓöÿ
  6609.  
  6610. If you receive a message stating that the OS2.INI file is corrupted, the 
  6611. OS2.INI file installed on your system must be replaced by another valid copy of 
  6612. the OS2.INI file. 
  6613.  
  6614. To accomplish this, use the MAKEINI program from your command prompt. 
  6615.  
  6616. Added to your system during the installation process, the MAKEINI.EXE file 
  6617. creates a new OS2.INI file containing default information.  You should 
  6618. re-create both the user and system INI files using MAKEINI (located in the 
  6619. C:\OS2 directory of your hard disk). 
  6620.  
  6621. Note:   You can rename the OS2.INI and OS2SYS.INI files to names of your choice 
  6622.         as long as the same file names are reflected in the PROTSHELL statement 
  6623.         in the CONFIG.SYS file. 
  6624.  
  6625.  
  6626. ΓòÉΓòÉΓòÉ <hidden> MAKEINI Examples ΓòÉΓòÉΓòÉ
  6627.  
  6628. Creating New INI Files 
  6629.  
  6630. Note:   The following procedure assumes that you have the OS/2 2.0 operating 
  6631.         system installed on drive C of your system.  If you have installed OS/2 
  6632.         2.0 on another drive, you must use that drive instead of drive C to do 
  6633.         the procedure. 
  6634.  
  6635. To create new user and system INI files, follow these steps: 
  6636.  
  6637.  1. Insert the Installation diskette in drive A; then, press and hold the Ctrl, 
  6638.     Alt, and Del keys together to restart the system. 
  6639.  
  6640.  2. When the screen displaying the logo appears, remove the Installation 
  6641.     diskette and insert diskette 1 into drive A. 
  6642.  
  6643.  3. Press Enter to continue. 
  6644.  
  6645.  4. Press Esc when the screen, "Welcome to OS/2," appears. 
  6646.  
  6647.  5. To change to drive C, enter: 
  6648.  
  6649.         C:
  6650.  
  6651.  6. To change to the OS2 subdirectory, enter: 
  6652.  
  6653.         CD \OS2
  6654.  
  6655.  7. To erase the current OS2.INI file, enter: 
  6656.  
  6657.         ERASE OS2.INI
  6658.  
  6659.  8. To erase the current OS2SYS.INI file, enter: 
  6660.  
  6661.         ERASE OS2SYS.INI
  6662.  
  6663.  9. To re-create a new user INI file, enter: 
  6664.  
  6665.         MAKEINI OS2.INI INI.RC
  6666.  
  6667. 10. To re-create a new system INI file, enter: 
  6668.  
  6669.         MAKEINI OS2SYS.INI INISYS.RC
  6670.  
  6671. 11. Remove diskette 1 from drive A. 
  6672.  
  6673. 12. Restart the system by pressing the Ctrl, Alt, and Del keys together. 
  6674.  
  6675.  
  6676. ΓòÉΓòÉΓòÉ 4.83. MAXWAIT - Set Maximum Wait ΓòÉΓòÉΓòÉ
  6677.  
  6678. Sets the amount of time a process waits before the system assigns it a higher 
  6679. priority. 
  6680.  
  6681. When a regular-class thread is denied the processor for a defined number of 
  6682. seconds, it receives a temporary increase in priority for a minimum time slice. 
  6683.  
  6684. MAXWAIT = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6685.  
  6686. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6687. command prompt. 
  6688.  
  6689. Related Commands:  PRIORITY, THREADS, TIMESLICE 
  6690.  
  6691. The system limits the time that a regular-class thread waits to be processed. 
  6692. When the time limit is reached, the system raises the priority of the thread to 
  6693. give it a chance to be processed. 
  6694.  
  6695. The most appropriate amount of time to set depends on the number of 
  6696. applications that must run concurrently and the kinds of activities the 
  6697. applications perform (the system default is three seconds). Experiment with 
  6698. this time to improve overall system performance. 
  6699.  
  6700.  
  6701. ΓòÉΓòÉΓòÉ <hidden> MAXWAIT Examples ΓòÉΓòÉΓòÉ
  6702.  
  6703. To cause a process to wait up to 20 seconds before it receives a temporary 
  6704. increase in priority, type the following in the CONFIG.SYS file: 
  6705.  
  6706. MAXWAIT=20
  6707.  
  6708. You can specify a number from 1 through 255. 
  6709.  
  6710.  
  6711. ΓòÉΓòÉΓòÉ 4.84. MEM - Display Used and Free Memory in DOS Environment ΓòÉΓòÉΓòÉ
  6712.  
  6713. Displays the amount of used and free memory in the DOS environment. 
  6714.  
  6715.  
  6716. MEM  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6717.                        Γö£ΓöÇ /P ΓöÇΓöñ
  6718.                        Γö£ΓöÇ /D ΓöÇΓöñ
  6719.                        ΓööΓöÇ /C ΓöÇΓöÿ
  6720.  
  6721. Related Commands: CHKDSK 
  6722.  
  6723. Use the MEM command to display information about allocated memory areas, free 
  6724. memory areas, and programs that are currently loaded into memory. 
  6725.  
  6726.  
  6727. ΓòÉΓòÉΓòÉ <hidden> MEM Examples ΓòÉΓòÉΓòÉ
  6728.  
  6729. To display the status of the total memory available in the DOS environment, 
  6730. that is, conventional, expanded, and extended, and to display a list of 
  6731. programs currently loaded into memory, type the following: 
  6732.  
  6733. MEM /P
  6734.  
  6735.  
  6736. ΓòÉΓòÉΓòÉ 4.85. MEMMAN - Select Storage Allocation ΓòÉΓòÉΓòÉ
  6737.  
  6738. Selects storage allocation options for the OS/2 environment. 
  6739.  
  6740.                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6741.                                           Γöé
  6742. MEMMAN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇ SWAP ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6743.                        Γöé  ΓööΓöÇ NOSWAP ΓöÇΓöÿ   Γöé
  6744.                        Γö£ΓöÇΓöÇΓö¼ΓöÇΓöÇ MOVE ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  6745.                        Γöé  ΓööΓöÇ NOMOVE ΓöÇΓöÿ   Γöé
  6746.                        ΓööΓöÇΓöÇΓöÇΓöÇ PROTECT ΓöÇΓöÇΓöÇΓöÇΓöÿ
  6747.  
  6748. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  6749. command prompt. 
  6750.  
  6751. Related Commands:  SWAPPATH 
  6752.  
  6753. Applications consist of groups of segments that can be either loaded into 
  6754. physical memory at the same time or called when needed.  If not enough memory 
  6755. is available to satisfy a request, the system attempts to provide more memory 
  6756. by writing the least frequently used data segments to a temporary file on a 
  6757. disk.  This file is called a swap file. 
  6758.  
  6759. Segments in the swap file are brought back into memory only as needed. 
  6760. Swapping makes it possible for applications to overcommit the amount of 
  6761. physical memory in the system. 
  6762.  
  6763. If the system is started from a hard disk, swapping (SWAP) is the system 
  6764. default; from a diskette, the default is no swapping (NOSWAP). 
  6765.  
  6766.  
  6767. ΓòÉΓòÉΓòÉ <hidden> MEMMAN Examples ΓòÉΓòÉΓòÉ
  6768.  
  6769. To permit segment swapping, type the following in the CONFIG.SYS file: 
  6770.  
  6771. MEMMAN=SWAP
  6772.  
  6773. To run a time-dependent application and prevent the OS/2 operating system from 
  6774. swapping the contents of storage to disk, type the following in the CONFIG.SYS 
  6775. file: 
  6776.  
  6777. MEMMAN=NOSWAP
  6778.  
  6779. The default is SWAP. 
  6780.  
  6781. To permit segment swapping and enable APIs to allocate and use protected 
  6782. memory, type the following in the CONFIG.SYS file: 
  6783.  
  6784. MEMMAN=SWAP,PROTECT
  6785.  
  6786. The command can be typed with a comma or a space as a separator. 
  6787.  
  6788.  
  6789. ΓòÉΓòÉΓòÉ 4.86. MD or MKDIR - Make Directory ΓòÉΓòÉΓòÉ
  6790.  
  6791. Makes new subdirectories within the root directory (the directory you are in 
  6792. when the OS/2 operating system starts) or within another subdirectory. MKDIR 
  6793. creates a multilevel directory structure, which is helpful in keeping related 
  6794. program or data files together. 
  6795.  
  6796.  
  6797. MKDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6798. MD      ΓöÇΓöÇΓöÿ        ΓööΓöÇ drive ΓöÇΓöÿ                Γöé
  6799.                 Γöé                              Γöé
  6800.                 ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6801.  
  6802. Related Commands:  CD, DIR, RD, and TREE 
  6803.  
  6804. Enter this command with a directory name to create a subdirectory within the 
  6805. current directory. Do not use the backslash (\) symbol if you have changed 
  6806. directories and you want to create a subdirectory in your current directory. 
  6807. If you use the backslash symbol, the subdirectory is created within the root 
  6808. directory. 
  6809.  
  6810. Each directory can contain file and directory names that also appear in other 
  6811. directories.  In other words, two or more files or directories can have the 
  6812. same name, if you define them in separate directories. 
  6813.  
  6814.  
  6815. ΓòÉΓòÉΓòÉ <hidden> MD or MKDIR Examples ΓòÉΓòÉΓòÉ
  6816.  
  6817. To make a subdirectory named LEDGERS within the root directory on drive C, 
  6818. enter the following: 
  6819.  
  6820. MD C:\LEDGERS
  6821.  
  6822. You can also create more than one directory at a time. 
  6823.  
  6824. To make two separate directories named ACCOUNTS and LEDGERS in the root 
  6825. directory on drive C, enter the following: 
  6826.  
  6827. MD C:\ACCOUNTS C:\LEDGERS
  6828.  
  6829.  
  6830. ΓòÉΓòÉΓòÉ 4.87. MODE - Set Operation Modes for Devices ΓòÉΓòÉΓòÉ
  6831.  
  6832. Sets operation modes for devices. 
  6833.  
  6834. MODEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ device ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6835.                                       ΓööΓöÇ arguments ΓöÇΓöÿ
  6836.  
  6837. There are four different MODE commands you can use: 
  6838.  
  6839. COM#              Sets asynchronous communications modes. 
  6840.  
  6841. Display           Sets the display modes for video adapters. 
  6842.  
  6843. LPT#              Sets parallel printer modes. 
  6844.  
  6845. DSKT              Sets diskette input/output write verification. 
  6846.  
  6847.  
  6848. ΓòÉΓòÉΓòÉ <hidden> MODE (COM#) - Set Communication Modes ΓòÉΓòÉΓòÉ
  6849.  
  6850. Sets asynchronous communications modes for both OS/2 and DOS sessions. 
  6851.  
  6852. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇ  COM#: ΓöÇΓöÇΓöÇΓöÇ baud ΓöÇΓöÇΓöÇ
  6853.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  6854.  
  6855. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6856.   ΓööΓöÇ ,parity ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6857.               ΓööΓöÇ ,databits ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6858.                             ΓööΓöÇΓöÇ ,stopbits ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6859.                                            ΓööΓöÇ ,P ΓöÇΓöÇΓöÿ
  6860.  
  6861.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6862.                                        Γöé
  6863. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6864.                Γö£ΓöÇΓöÇΓöÇ ,TO = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6865.                Γö£ΓöÇΓöÇΓöÇ ,XON = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6866.                Γö£ΓöÇΓöÇΓöÇ ,IDSR = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  6867.                Γö£ΓöÇΓöÇΓöÇ ,ODSR = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  6868.                Γö£ΓöÇΓöÇΓöÇ ,OCTS = state ΓöÇΓöÇΓöÇΓöÇΓöñ
  6869.                Γö£ΓöÇΓöÇΓöÇ ,DTR = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6870.                Γö£ΓöÇΓöÇΓöÇ ,RTS = state ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6871.                Γö£ΓöÇΓöÇΓöÇ ,BUFFER = state ΓöÇΓöÇΓöñ
  6872.                Γö£ΓöÇΓöÇΓöÇ ,ENHANCED = state Γöñ
  6873.                Γö£ΓöÇΓöÇΓöÇ ,RXDMA = state ΓöÇΓöÇΓöÇΓöñ
  6874.                ΓööΓöÇΓöÇΓöÇ ,TXDMA = state ΓöÇΓöÇΓöÇΓöÿ
  6875.  
  6876. Before using MODE to set up communications port modes, be sure the Base 
  6877. Asynchronous Communication Device Driver (COM.SYS or COMDMA.SYS) is installed. 
  6878.  
  6879. Related Commands: 
  6880.  
  6881. MODE (LPT#) - Sets parallel printer modes 
  6882.  
  6883. MODE (Display) - Sets video modes 
  6884.  
  6885. MODE (DSKT) - Sets diskette I/O write verification 
  6886.  
  6887. The parity, databits, stopbits, and P parameters are positional.  If you omit a 
  6888. positional parameter but include a parameter that follows it, you must enter a 
  6889. comma to designate the position of the omitted parameter. For example, to 
  6890. accept the defaults for the parity, stopbits, and databits parameters and 
  6891. specify the P parameter, enter the following: 
  6892.  
  6893. MODE COM1:2400,,,,P
  6894.  
  6895. Note that the P parameter can be used only in DOS sessions; baud, parity, 
  6896. databits, and stopbits can be used in either DOS or OS/2 sessions. 
  6897.  
  6898. When a positional parameter is omitted or designated only with a comma, the 
  6899. parameter returns to the original system default.  If a keyword parameter is 
  6900. omitted, the current setting of that parameter is unchanged. 
  6901.  
  6902. To set asynchronous communication modes, you can issue the command at either a 
  6903. DOS or OS/2 command prompt.  This means you can set asynchronous communication 
  6904. modes in DOS or OS/2 sessions.  You can also query the status of communications 
  6905. ports in both sessions.  The output of a MODE COMx query can be redirected, 
  6906. modified, and used as input to another MODE command. 
  6907.  
  6908. Redirection of parallel-printer output to a serial device is not supported by 
  6909. the MODE command.  However, this function is supported by the SPOOL command. 
  6910.  
  6911. The following asynchronous-communication device-driver parameters are reset by 
  6912. MODE every time it sets COM parameters when processing in OS/2 sessions. 
  6913.  
  6914. o Output handshaking using DCD (data carrier detect) is prevented. 
  6915. o Automatic receive flow control (XON or XOFF) is prevented. 
  6916.  
  6917. For DOS sessions, the states of these parameters remain unchanged. 
  6918.  
  6919.  
  6920. ΓòÉΓòÉΓòÉ <hidden> MODE COM#: Examples ΓòÉΓòÉΓòÉ
  6921.  
  6922. To query the status of asynchronous COM port 1, enter the following: 
  6923.  
  6924. MODE COM1
  6925.  
  6926. To select a baud rate of 2400, enter the following: 
  6927.  
  6928. MODE COM1:2400
  6929.  
  6930. Baud Transmission Rate Facts: 
  6931.  
  6932. o You must specify at least the first two digits of the desired rate. 
  6933. o Valid Baud Rates 
  6934.  
  6935.    110, 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400, 
  6936.    or 57600. 
  6937.  
  6938. o The default is 1200. 
  6939.  
  6940. To specify odd parity bits enter the following: 
  6941.  
  6942. MODE COM1:,O
  6943.  
  6944. Parity Values Table 
  6945.  
  6946. N (none), means that there is no parity bit. 
  6947. O (odd), means odd parity. 
  6948. E (even), even means even parity. 
  6949. M (mark), means that the parity bit is always 1. 
  6950. S (space), means that the parity bit is always 0. 
  6951. The default is E. 
  6952.  
  6953. To specify 8 data bits of data, enter the following: 
  6954.  
  6955. MODE COM1:,,8
  6956.  
  6957. The values are 5, 6, 7, or 8 bits of data, 
  6958. The default is 7. 
  6959.  
  6960. To specify 1 stop bit of data, enter the following: 
  6961.  
  6962. MODE COM1:,,,1
  6963.  
  6964. Stop-bit Value Facts. 
  6965.  
  6966. Values are 1, 1.5, or 2. 
  6967. Only 1 or 1.5 is valid if databits is specified as 5. 
  6968. If stopbits is specified as 1.5, only 5 is valid for databits. 
  6969. The default is 2 when the baud rate is 110; otherwise, the default is 1. 
  6970.  
  6971. To specify a timeout value of approximately 30 seconds, enter the following: 
  6972.  
  6973. MODE COM1:,,,,P
  6974.  
  6975. The previous 5 examples normally would be entered together on the command 
  6976. prompt or typed in a batch file as follows: 
  6977.  
  6978. MODE COM1:2400,N,8,1,P
  6979.  
  6980. To accept the defaults for the parity, stopbits, and databits parameters and 
  6981. specify the P parameter, enter the following: 
  6982.  
  6983. MODE COM1:2400,,,,P
  6984.  
  6985. To ensure that a printer write timeout never occurs, enter the following: 
  6986.  
  6987. MODE COM1:12,,,,TO=ON
  6988.  
  6989. To prevent automatic transmit flow control, enter the following: 
  6990.  
  6991. MODE COM1:12,,,,XON=OFF
  6992.  
  6993. To allow input handshaking using DSR, enter the following: 
  6994.  
  6995. MODE COM1:12,,,,IDSR=ON
  6996.  
  6997. To allow output handshaking using DSR, enter the following: 
  6998.  
  6999. MODE COM1:12,,,,ODSR=ON
  7000.  
  7001. To allow output handshaking using CTS, enter the following: 
  7002.  
  7003. MODE COM1:12,,,,OCTS=OFF
  7004.  
  7005. To allow data terminal ready, enter the following: 
  7006.  
  7007. MODE COM1:12,,,,DTR=ON
  7008.  
  7009. To allow RTS toggling in transmit mode, enter the following: 
  7010.  
  7011. MODE COM1:12,,,,RTS=TOG
  7012.  
  7013. To permit maximum device performance, enter the following: 
  7014.  
  7015. MODE COM1:12,,,,BUFFER=AUTO
  7016.  
  7017. To turn enhanced mode on, enter the following: 
  7018.  
  7019. MODE COM1:12,,,,ENHANCED=ON
  7020.  
  7021. To turn on DMA receive operations, enter the following: 
  7022.  
  7023. MODE COM1:12,,,,RXDMA=ON
  7024.  
  7025. To turn on DMA transmit operations, enter the following: 
  7026.  
  7027. MODE COM1:12,,,,TXDMA=ON
  7028.  
  7029.  
  7030. ΓòÉΓòÉΓòÉ <hidden> MODE (Display) - Set Video Modes ΓòÉΓòÉΓòÉ
  7031.  
  7032. Sets display modes for switching display adapters, sets the display mode of the 
  7033. color graphics monitor adapter, and allows you to specify the number of 
  7034. character lines on the screen. 
  7035.  
  7036. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  7037.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ CONx ΓöÇΓöÿ
  7038.  
  7039. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ display ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7040.                                  ΓööΓöÇ ,rows ΓöÇΓöÿ
  7041.  
  7042. Related Commands: 
  7043.  
  7044. MODE (COM#) - Sets communications modes 
  7045.  
  7046. MODE (LPT#) - Sets parallel-printer modes 
  7047.  
  7048. MODE (DSKT) - Sets diskette I/O write verification 
  7049.  
  7050. The display mode that is set with the MODE command affects only the current 
  7051. session in which MODE is issued.  This includes any programs or command 
  7052. processors running in this session. 
  7053.  
  7054.  
  7055. ΓòÉΓòÉΓòÉ <hidden> MODE (Display) Examples ΓòÉΓòÉΓòÉ
  7056.  
  7057. To set a mode on display number 1: 
  7058.  
  7059. MODE CON1
  7060.  
  7061. To set a mode on display number 2: 
  7062.  
  7063. MODE CON2
  7064.  
  7065. Examples using the CONx parameter: 
  7066.  
  7067. To set a color 80x43 mode on display number 1: 
  7068.  
  7069. MODE CON1 CO80,43
  7070.  
  7071. To set a monochrome mode on display number 2: 
  7072.  
  7073. MODE CON2 MONO
  7074.  
  7075. To set a color 80x50 mode on the first BVH display in the list that it 
  7076. supports: 
  7077.  
  7078. MODE CON0 CO80,50
  7079. or 
  7080.  
  7081. MODE CON CO80,50
  7082.  
  7083. To switch the active display adapter to the color graphics monitor adapter, 
  7084. enter the following: 
  7085.  
  7086. MODE CO40
  7087.  
  7088. The valid options are: 
  7089.  
  7090. 40, 80, 132, BW40, BW80, BW132, CO40, CO80, CO132, or MONO. 
  7091.  
  7092. To specify a 50-line display enter the following: the number of rows 
  7093.  
  7094. MODE CO80,50
  7095.  
  7096. Valid rows are 25, 43, or 50, depending on the display adapter 
  7097.  
  7098.  
  7099. ΓòÉΓòÉΓòÉ <hidden> MODE (LPT#) - Set Parallel Printer Modes ΓòÉΓòÉΓòÉ
  7100.  
  7101. Sets parallel-printer modes. 
  7102.  
  7103. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ MODE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ LPT# ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  7104.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ                ΓööΓöÇΓöÇΓöÇ PRN ΓöÇΓöÇΓöÇΓöÿ
  7105.  
  7106. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7107.    ΓööΓöÇ chars ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7108.               ΓööΓöÇ ,lines ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7109.                             ΓööΓöÇ ,P ΓöÇΓöÇΓöÿ
  7110.  
  7111. Related Commands: 
  7112.  
  7113. MODE (COM#) - Sets communications modes 
  7114.  
  7115. MODE (Display) - Sets video modes 
  7116.  
  7117. MODE (DSKT) - Sets diskette I/O write verification 
  7118.  
  7119. The chars, lines, and P parameters are positional.  When a positional parameter 
  7120. is omitted, but the one that follows it is specified, its position must be 
  7121. designated by a comma. Once you have issued the MODE command and specified 
  7122. values for the chars or lines parameters (or both), those values become the 
  7123. default values. 
  7124.  
  7125. Note:   The spooler ignores all mode commands for setting printer parameters 
  7126.         while the spooler is active. 
  7127.  
  7128.  
  7129. ΓòÉΓòÉΓòÉ <hidden> MODE (LPT#) Examples ΓòÉΓòÉΓòÉ
  7130.  
  7131. To set up your printer as LPT1 and accept the system defaults (80 characters 
  7132. per line and 6 lines per vertical inch), enter the following: 
  7133.  
  7134. MODE LPT1 ,,,
  7135.  
  7136. o Specifies the printer number.  The pound sign (#) defines printer number 1, 
  7137.   2, or 3. 
  7138.  
  7139. o If you are using a network printer, the MODE command supports LPT4 through 
  7140.   LPT9 for printing to a network printer. 
  7141.  
  7142. To set up your printer as LPT2 and use 132 characters per line and 8 lines per 
  7143. inch, enter the following: 
  7144.  
  7145. MODE LPT2 132,8,,
  7146.  
  7147. o The value is either 80 or 132. 
  7148.  
  7149. o The default is 80. 
  7150.  
  7151. To set up your printer as LPT3 and specify 8 lines per inch for vertical 
  7152. spacing, enter the following: 
  7153.  
  7154. MODE LPT3 ,8,,
  7155.  
  7156. o The value is either 6 or 8. 
  7157.  
  7158. o The default is 6. 
  7159.  
  7160. To set up your printer as LPT2 and specify infinite retry, enter the following: 
  7161.  
  7162. MODE LPT2 ,,P
  7163.  
  7164.  
  7165. ΓòÉΓòÉΓòÉ <hidden> MODE (DSKT) - Set Diskette I/O Write Verification ΓòÉΓòÉΓòÉ
  7166.  
  7167. Sets diskette I/O write verification. 
  7168.  
  7169. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ MODE ΓöÇΓöÇ DSKT ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7170.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                  ΓööΓöÇ VER=state ΓöÇΓöÿ
  7171.  
  7172. Related Commands: 
  7173.  
  7174. MODE (COM#) - Sets communications modes 
  7175.  
  7176. MODE (LPT#) - Sets parallel-printer modes 
  7177.  
  7178. MODE (Display) - Sets video modes 
  7179.  
  7180. This function of MODE is different from the function offered by the VERIFY 
  7181. internal command, which verifies file-system I/O write operations for each 
  7182. session. 
  7183.  
  7184. If you do not have a hard disk, a diskette (any diskette) must be present in 
  7185. drive A before the MODE command can turn diskette verification on or off. 
  7186.  
  7187.  
  7188. ΓòÉΓòÉΓòÉ <hidden> MODE (DSKT) Examples ΓòÉΓòÉΓòÉ
  7189.  
  7190. To set diskette verification to ON, enter the following: 
  7191.  
  7192. MODE VER=ON
  7193.  
  7194. To set diskette verification to OFF, enter the following:
  7195.  
  7196. MODE VER=OFF
  7197.  
  7198.  
  7199. ΓòÉΓòÉΓòÉ 4.88. MORE - Display Output One Screen at a Time ΓòÉΓòÉΓòÉ
  7200.  
  7201. Reads data from the standard input device and sends data to the standard output 
  7202. device (usually the display) one full screen at a time. After each screen, the 
  7203. OS/2 operating system pauses with the message --More-- until you press any key 
  7204. to continue. 
  7205.  
  7206. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ MORE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7207.      ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  7208.  
  7209. Related Commands:  FIND, SORT 
  7210.  
  7211. "One screen at a time" does not imply one physical window's worth of 
  7212. information at a time when used in a window session. 
  7213.  
  7214. MORE is useful for viewing long files or directories.  To view the next screen, 
  7215. press any key.  However, if you do not want to continue, press the Ctrl and 
  7216. Break keys together. 
  7217.  
  7218. Return Codes:  The MORE command issues a return code of 0 for normal 
  7219. completion. 
  7220.  
  7221.  
  7222. ΓòÉΓòÉΓòÉ <hidden> MORE Examples ΓòÉΓòÉΓòÉ
  7223.  
  7224. To display the large subdirectory C:\MYDIR one screen at a time, using the | 
  7225. symbol, enter the following: 
  7226.  
  7227. DIR C:\MYDIR | MORE
  7228.  
  7229. To display the contents of a file named MYFILES.NEW one screen at a time, using 
  7230. the redirection symbol (<), enter the following: 
  7231.  
  7232. MORE <MYFILES.NEW
  7233.  
  7234.  
  7235. ΓòÉΓòÉΓòÉ 4.89. MOVE - Move Files to Another Directory ΓòÉΓòÉΓòÉ
  7236.  
  7237. Moves one or more files from one directory to another directory on the same 
  7238. drive. 
  7239.  
  7240. MOVE ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7241.          ΓööΓöÇ drive ΓöÇΓöÿ     ΓööΓöÇ path ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7242.                                   ΓööΓöÇ filename ΓöÇΓöÿ
  7243. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7244.             ΓööΓöÇ path ΓöÇΓöÿ   ΓööΓöÇ filename ΓöÇΓöÿ
  7245.  
  7246. You can use the global file-name characters ? and * in the filename parameter 
  7247. of both the source and target files.  If you type global characters in the 
  7248. source file name, the names of the files will be displayed as the files are 
  7249. being moved. 
  7250.  
  7251.  
  7252. ΓòÉΓòÉΓòÉ <hidden> MOVE Examples ΓòÉΓòÉΓòÉ
  7253.  
  7254. To move a file named FRIDAY to a directory named WEEKLY and rename the file 
  7255. DAILY, enter the following: 
  7256.  
  7257. MOVE FRIDAY \WEEKLY\DAILY
  7258.  
  7259. To move all files in the current directory with an extension of .STA to the 
  7260. STATUS directory, enter the following: 
  7261.  
  7262. MOVE *.STA \STATUS
  7263.  
  7264.  
  7265. ΓòÉΓòÉΓòÉ 4.90. PATCH - Apply Software Repairs ΓòÉΓòÉΓòÉ
  7266.  
  7267. Allows you to apply IBM-supplied patches to make repairs to software. 
  7268.  
  7269. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ PATCH ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  7270.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                 ΓööΓöÇ drive ΓöÇΓöÿ
  7271.  
  7272. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename.ext ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7273.    ΓööΓöÇ path ΓöÇΓöÿ                       ΓööΓöÇ /A ΓöÇΓöÿ
  7274.  
  7275. PATCH should be used only by those who understand the need for a patch, how to 
  7276. make a patch, and the effect the patch has on the operation of a program. PATCH 
  7277. has prompts that guide you through inserting changes to the operating system's 
  7278. software. 
  7279.  
  7280. If you select the /A option to automatically apply patches shipped by IBM to 
  7281. make fixes to IBM-supplied code, verification is performed before the patch is 
  7282. applied.  Verification might not be done on non-IBM-supplied patches. 
  7283.  
  7284. If you decide to manually apply a patch by entering the command without any 
  7285. options, you are asked to supply an offset to indicate where the patch is to be 
  7286. made. PATCH displays the contents of the location specified by the offset and 
  7287. allows you to enter the patch.  You must enter both the offset and the patch 
  7288. contents in hexadecimal notation. 
  7289.  
  7290. When you supply a hexadecimal offset, the operating system displays the 16 
  7291. bytes at that offset and you can change any or all 16 bytes or quit without 
  7292. making any changes. The cursor is initially positioned on the first byte.  You 
  7293. can type one or two hexadecimal digits to change this byte or press the 
  7294. Spacebar to leave the byte unchanged and move to the next byte.  You can press 
  7295. Backspace to move the cursor to the previous byte if you make a mistake.  You 
  7296. can continue changing bytes until you press Enter.  If you move the cursor past 
  7297. the 16th byte, the operating system displays the next 16 bytes, allowing you to 
  7298. also change those bytes. 
  7299.  
  7300. After you press Enter, the patch information is saved in memory and the 
  7301. following message is displayed: 
  7302.  
  7303. Do you want to continue patching filename (Y/N)?
  7304.  
  7305. If you enter Y (yes), PATCH prompts for an offset. PATCH also saves any more 
  7306. patch requests in memory.  When you have entered all patches, the operating 
  7307. system displays them on your screen and asks you to verify that they should be 
  7308. applied.  If you respond with a Y, all the saved patch requests are written to 
  7309. the disk in the same order in which you entered them. 
  7310.  
  7311. If you specify automatic mode (/A), PATCH gets the information needed from a 
  7312. patch information file received from IBM. 
  7313.  
  7314. Return Codes:  PATCH issues a return code of 0 for normal completion. 
  7315.  
  7316.  
  7317. ΓòÉΓòÉΓòÉ <hidden> PATCH Examples ΓòÉΓòÉΓòÉ
  7318.  
  7319. Note:   All patches are addressed in hexadecimal. 
  7320.  
  7321. To manually PATCH an information file you created named MYFILE.EXE, enter the 
  7322. following: 
  7323.  
  7324. PATCH MYFILE.EXE
  7325.  
  7326. Note:   The /A parameter for automatic mode is designed for IBM applied 
  7327.         patches.  The following is only an example. 
  7328.  
  7329. To specify automatic mode from a PATCH information file named DATA.DAT, that 
  7330. looks like this: 
  7331.  
  7332. 123456
  7333.  
  7334. Type the following in a patch file called REPAIR.FIL: 
  7335.  
  7336. FILE DATA.DAT
  7337. VER 0 313233
  7338. CHA 0 343536
  7339.  
  7340. To start the patch process on the file DATA.DAT enter the following: 
  7341.  
  7342. PATCH REPAIR.FIL /A
  7343.  
  7344. The result of the patch would be: 
  7345.  
  7346. 456456
  7347.  
  7348. Note:   The preceding example for patching an ASCII text file and this utility 
  7349.         program would be used on an executable file. You can use the PATCH 
  7350.         command on any .EXE file as long as you understand what you want to do 
  7351.         and where the information is located within the file. 
  7352.  
  7353.  
  7354. ΓòÉΓòÉΓòÉ 4.91. PATH - Set Search Path ΓòÉΓòÉΓòÉ
  7355.  
  7356. Sets a search path for commands and programs. 
  7357.  
  7358. PATH ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7359.                ΓööΓöÇ drive ΓöÇΓöÿ                 Γöé
  7360.            Γöé                                Γöé
  7361.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ  ;  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7362.  
  7363. Related Commands:  APPEND, DPATH, and SET 
  7364.  
  7365. Enter this command without a parameter to display the paths currently in 
  7366. effect.  To delete the use of the PATH command, enter the command followed by a 
  7367. semicolon (;). 
  7368.  
  7369. Setting the PATH in the CONFIG.SYS and AUTOEXEC.BAT files lets you avoid having 
  7370. to set PATH from the command prompt each time you turn on your system. 
  7371.  
  7372. As you create your own subdirectories, you can change the PATH statement in 
  7373. your CONFIG.SYS to reflect your new directory structure. For DOS sessions, you 
  7374. update the PATH statement in your AUTOEXEC.BAT file. 
  7375.  
  7376. PATH searches specified directories for commands or batch files that the system 
  7377. did not find when it searched the current directory. PATH only finds files that 
  7378. can be run, such as files with the following extensions: .COM, .EXE, and .BAT 
  7379. (for DOS sessions), or .CMD (for OS/2 sessions). 
  7380.  
  7381. PATH is a system environment variable.  If the system cannot find an external 
  7382. command or program in your current directory, it queries the environment for a 
  7383. value for PATH. Application programs can also query the environment for the 
  7384. value of PATH and, depending on what they find, change their behavior. 
  7385.  
  7386. If you enter a command that is not found in the current directory, the system 
  7387. searches the named directories in the order in which you entered them.  The 
  7388. length of a path can be up to five characters less than the number of 
  7389. characters allowed on the command line. 
  7390.  
  7391. When you install the OS/2 operating system, the installation program places the 
  7392. following PATH statement in your CONFIG.SYS file: 
  7393.  
  7394. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS;C:\OS2\INSTALL;C:\;
  7395.  
  7396. System installation also creates the following PATH statement in your 
  7397. AUTOEXEC.BAT file for use with DOS sessions: 
  7398.  
  7399. PATH C:\OS2;C:\OS2\MDOS;C:\;
  7400.  
  7401.  
  7402. ΓòÉΓòÉΓòÉ <hidden> PATH Examples ΓòÉΓòÉΓòÉ
  7403.  
  7404. To determine the current active PATH environment, enter the following: 
  7405.  
  7406. PATH
  7407.  
  7408. To delete the current PATH environment, enter the following: 
  7409.  
  7410. PATH ;
  7411.  
  7412. To search the MEMOS subdirectory on drive A and then search the REPORTS 
  7413. directory on drive C, enter the following: 
  7414.  
  7415. PATH A:\MEMOS;C:\REPORTS
  7416.  
  7417. To add the path to the ABC subdirectory on drive A to the existing path known 
  7418. to CMD.EXE., enter the following: 
  7419.  
  7420. PATH %PATH%;A:\ABC
  7421.  
  7422.  
  7423. ΓòÉΓòÉΓòÉ 4.92. PAUSE - Suspend Batch Operation ΓòÉΓòÉΓòÉ
  7424.  
  7425. Suspends processing of the batch file and displays the following message: 
  7426.  
  7427. Press any key when ready . . .
  7428.  
  7429. PAUSE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7430.                   ΓööΓöÇ comment ΓöÇΓöÿ
  7431.  
  7432. Related Commands:  ECHO, REM 
  7433.  
  7434. Enter this command to display the message: 
  7435.  
  7436. Press any key when ready....
  7437.  
  7438. You can control how much of a batch file you want to process by placing PAUSE 
  7439. commands at strategic points in the file.  At each PAUSE statement, the system 
  7440. stops and gives you time to decide whether to stop the processing.  Press and 
  7441. hold Ctrl+Break, and type Y to stop a batch file from processing.  In a DOS 
  7442. session, press any key to continue processing.  In an OS/2 session, you cannot 
  7443. continue processing. 
  7444.  
  7445.  
  7446. ΓòÉΓòÉΓòÉ <hidden> PAUSE Examples ΓòÉΓòÉΓòÉ
  7447.  
  7448. To pause batch processing and display the message, "Press any key when 
  7449. ready...", type the following in your batch file: 
  7450.  
  7451. PAUSE
  7452.  
  7453. To suspend processing of your commands in a batch file so that you can change 
  7454. diskettes, type a statement like the following in your batch file: 
  7455.  
  7456. @ECHO INSERT COPY DISKETTE #2 IN DRIVE A
  7457. @PAUSE
  7458.  
  7459. or 
  7460.  
  7461. PAUSE INSERT COPY DISKETTE #2 IN DRIVE A
  7462.  
  7463.  
  7464. ΓòÉΓòÉΓòÉ 4.93. PAUSEONERROR - Pause CONFIG.SYS Messages ΓòÉΓòÉΓòÉ
  7465.  
  7466. Allows or prevents pausing when error messages are issued during the processing 
  7467. of the CONFIG.SYS file. 
  7468.  
  7469. PAUSEONERROR = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ YES ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7470.                        ΓööΓöÇ  NO   ΓöÇΓöÿ
  7471.  
  7472.  
  7473. ΓòÉΓòÉΓòÉ <hidden> PAUSEONERROR Examples ΓòÉΓòÉΓòÉ
  7474.  
  7475. To prevent the system from pausing before starting the user interface or 
  7476. command processor during the processing of the CONFIG.SYS file, enter the 
  7477. following: 
  7478.  
  7479. PAUSEONERROR=NO
  7480.  
  7481. To pause the screen and read any error messages generated during the processing 
  7482. of the CONFIG.SYS file, enter the following: 
  7483.  
  7484. PAUSEONERROR=YES
  7485.  
  7486. If if there is not a PAUSEONERROR statement in the CONFIG.SYS file, the default 
  7487. is true, and PAUSEONERROR is equal to YES. 
  7488.  
  7489.  
  7490. ΓòÉΓòÉΓòÉ 4.94. PICVIEW - Display a Picture File ΓòÉΓòÉΓòÉ
  7491.  
  7492. Displays a picture file. 
  7493.  
  7494. PICVIEW ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7495.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            Γö£ΓöÇ /MET ΓöÇΓöñ Γö£ΓöÇ /P ΓöÇΓöñ
  7496.                                            ΓööΓöÇ /PIF ΓöÇΓöÿ ΓööΓöÇ /S ΓöÇΓöÿ                              ΓöÇΓöÿ
  7497.  
  7498. You can select Picture Viewer from the Productivity folder or issue a PICVIEW 
  7499. command at an OS/2 command prompt. 
  7500.  
  7501. If you enter PICVIEW without a parameter at the OS/2 command prompt, the 
  7502. Picture Viewer window appears.  If you type PICVIEW with a file name, PICVIEW 
  7503. starts displaying the picture file immediately.  If you do not specify a file 
  7504. name, you can select the files to be displayed from the Picture Viewer window. 
  7505.  
  7506. To return to the OS/2 command prompt, you must select Exit from the Picture 
  7507. Viewer window. 
  7508.  
  7509.  
  7510. ΓòÉΓòÉΓòÉ <hidden> PICVIEW Examples ΓòÉΓòÉΓòÉ
  7511.  
  7512. To view a metafile named AIRPLANE, enter the following: 
  7513.  
  7514. PICVIEW AIRPLANE /MET
  7515.  
  7516. To view and exchange a picture interchange file named TRADSHOW, enter the 
  7517. following: 
  7518.  
  7519. PICVIEW TRADSHOW /PIF
  7520.  
  7521. To view a metafile named AIRPLANE and send it to be printed, enter the 
  7522. following: 
  7523.  
  7524. PICVIEW AIRPLANE /MET /P
  7525.  
  7526. To view a metafile named SHIP and then return the Picture Viewer window to the 
  7527. default position on the screen, enter the following: 
  7528.  
  7529. PICVIEW SHIP /MET /S
  7530.  
  7531.  
  7532. ΓòÉΓòÉΓòÉ 4.95. PMREXX - Display Output from REXX Procedures ΓòÉΓòÉΓòÉ
  7533.  
  7534. Displays output from REXX procedures and provides an input field for them. 
  7535.  
  7536. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ PMREXXΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7537.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  7538.  
  7539. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  7540.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ arguments ΓöÇΓöÿ
  7541.  
  7542. PMREXX is a Presentation Manager* window application that enables you to browse 
  7543. the output of your REXX procedures. 
  7544.  
  7545. You start the PMREXX program and a REXX procedure from an OS/2 command prompt. 
  7546. You do this by typing PMREXX and a target procedure name that generates an 
  7547. output or input function, as follows: 
  7548.  
  7549. PMREXX  filename.CMD arguments
  7550.  
  7551. where the arguments and .CMD extension are optional. 
  7552.  
  7553. By using PMREXX, you add the following features to REXX: 
  7554.  
  7555. o A window for the display of the output of a REXX procedure, such as: 
  7556.  
  7557.    - The SAY instruction output 
  7558.    - The STDOUT and STDERR outputs from secondary processes started from a REXX 
  7559.      procedures file 
  7560.    - The REXX TRACE output (not to be confused with OS/2 tracing). 
  7561.  
  7562. o An input window for: 
  7563.  
  7564.    - The PULL instruction in all of its forms 
  7565.    - The STDIN data for secondary processes started from a REXX procedures 
  7566.      file. 
  7567.  
  7568. o A browsing, scrolling, and clipboard capability for REXX output. 
  7569. o A selection of fonts for the output window. 
  7570. o A simple environment for experimenting with REXX instructions through the use 
  7571.   of the REXXTRY.CMD program.  REXXTRY interactively interprets REXX 
  7572.   instructions and can be started from an OS/2 command prompt. 
  7573.  
  7574. For more information about REXX and PMREXX, select REXX Information in the 
  7575. Information folder. 
  7576.  
  7577.  
  7578. ΓòÉΓòÉΓòÉ <hidden> PMREXX Examples ΓòÉΓòÉΓòÉ
  7579.  
  7580. To display the current PATH and DPATH statements in the CONFIG.SYS file that 
  7581. you have indicated in the REXX program, SAMPLE.CMD, enter the following: 
  7582.  
  7583. PMREXX Sample PATH DPATH
  7584.  
  7585.  
  7586. ΓòÉΓòÉΓòÉ 4.96. PRINT - Print Information ΓòÉΓòÉΓòÉ
  7587.  
  7588. Prints or cancels printing of one or more files. 
  7589.  
  7590.                                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  7591.                                                        Γöé
  7592. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ PRINT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇ
  7593.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               Γö£ΓöÇ /D:device ΓöÇΓöñ
  7594.                                        ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /B ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7595.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  7596.                                                          Γöé
  7597. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö┤Γöñ
  7598.    ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ             Γöé    Γöé  Γö£ΓöÇ /C ΓöÇΓöñ   Γöé
  7599.   Γöé                                   Γöé    Γöé  ΓööΓöÇ /T ΓöÇΓöÿ   Γöé
  7600.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇ /D:device ΓöÇΓöÿ
  7601.  
  7602. Related Commands:  SPOOL 
  7603.  
  7604. It is important to note that: 
  7605.  
  7606. o The /C and /T parameters are valid for OS/2 sessions only. 
  7607.  
  7608. o The /C or /T parameter cannot be used with the /B parameter. 
  7609.  
  7610. o The /C and /T parameters cannot be used together. 
  7611.  
  7612. o A file name cannot be specified with the /C or /T parameter. 
  7613.  
  7614. You can enter more than one file name (along with its appropriate parameters) 
  7615. at the command prompt.  The global file-name characters (* and ?) are allowed. 
  7616. Also, the files are queued for printing in the order in which you enter them. 
  7617.  
  7618.  
  7619. ΓòÉΓòÉΓòÉ <hidden> PRINT Examples ΓòÉΓòÉΓòÉ
  7620.  
  7621. To print a file named C:\LISTING\REPORT.STA on the LPT2 print device, enter the 
  7622. following: 
  7623.  
  7624. PRINT /D:LPT2 C:\LISTING\REPORT.STA
  7625.  
  7626. To prevent Ctrl+Z characters from being interpreted as end-of-file characters 
  7627. when a file named LISTING prints, enter the following: 
  7628.  
  7629. PRINT /B LISTING
  7630.  
  7631. To print a file named REPORTS in the current directory, enter the following: 
  7632.  
  7633. PRINT REPORTS
  7634.  
  7635. To cancel the file that is currently printing on LPT1 (the default print 
  7636. device), enter the following: 
  7637.  
  7638. PRINT /C
  7639.  
  7640. To cancel all files in the LPT2 print queue and any file currently printing, 
  7641. enter the following: 
  7642.  
  7643. PRINT /D:LPT2 /T
  7644.  
  7645.  
  7646. ΓòÉΓòÉΓòÉ 4.97. PRINTMONBUFSIZE - Set Parallel-Port Device-Driver Buffer Size ΓòÉΓòÉΓòÉ
  7647.  
  7648. Sets parallel-port device-driver buffer size. 
  7649.  
  7650. PRINTMONBUFSIZE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x,ΓöÇΓöÇ x,ΓöÇΓöÇ xΓöÇΓöÇΓöñ
  7651.  
  7652. Type this command in the CONFIG.SYS file; do not enter the command at a command 
  7653. prompt. 
  7654.  
  7655. The PRINTMONBUFSIZE= statement enables you to increase the size of the 
  7656. parallel-port device-driver buffer and thereby increase performance of data 
  7657. transfer to devices connected to the parallel port.  The parallel port device 
  7658. driver will allocate and register its monitor chain buffer based upon the value 
  7659. specified. 
  7660.  
  7661. The parallel port device driver is loaded automatically at startup by the 
  7662. operating system.  It does not require a DEVICE= statement in the CONFIG.SYS 
  7663. file and, therefore, must have a separate statement to specify the buffer size 
  7664. for LPT1, LPT2, and LPT3. 
  7665.  
  7666.  
  7667. ΓòÉΓòÉΓòÉ <hidden> PRINTMONBUFSIZE Examples ΓòÉΓòÉΓòÉ
  7668.  
  7669. To set the parallel-port device-driver buffer size for LPT1 as 2048 bytes, for 
  7670. LPT2 as 134 bytes, and for LPT3 as 134 bytes, type the following in the 
  7671. CONFIG.SYS file: 
  7672.  
  7673. PRINTMONBUFSIZE=2048,134,134
  7674.  
  7675.  
  7676. ΓòÉΓòÉΓòÉ 4.98. PRIORITY - Schedule Threads ΓòÉΓòÉΓòÉ
  7677.  
  7678. Selects priority calculation in scheduling regular-class threads. 
  7679.  
  7680. PRIORITY = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ DYNAMIC ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7681.                       ΓööΓöÇΓöÇ ABSOLUTE ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7682.  
  7683. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  7684. command prompt. 
  7685.  
  7686. Related Commands:  MAXWAIT, TIMESLICE, THREADS 
  7687.  
  7688. The system assigns a regular-class thread to any of 32 priority levels and 
  7689. dispatches it based on its display status (background or foreground), recent 
  7690. input and output activity, and frequency of processor use.  Most threads are 
  7691. assigned regular priority. 
  7692.  
  7693. Applications can adjust priorities, but the system has a built-in method of 
  7694. handling access to the processor.  The default method is Dynamic.  Changing 
  7695. this to Absolute can help achieve predictable results by determining the order 
  7696. of priority strictly on the basis of class and level. 
  7697.  
  7698.  
  7699. ΓòÉΓòÉΓòÉ <hidden> PRIORITY Examples ΓòÉΓòÉΓòÉ
  7700.  
  7701. To change the PRIORITY statement so the OS/2 operating system varies the 
  7702. priorities of threads as they are running, type the following in the CONFIG.SYS 
  7703. file and restart your system: 
  7704.  
  7705. PRIORITY=DYNAMIC
  7706.  
  7707. To change the PRIORITY statement so the OS/2 operating system does not vary the 
  7708. priorities of threads as they are running, type the following in the CONFIG.SYS 
  7709. file and restart your system: 
  7710.  
  7711. PRIORITY=ABSOLUTE
  7712.  
  7713.  
  7714. ΓòÉΓòÉΓòÉ 4.99. PRIORITY_DISK_IO - Set Disk Input/Output Priority ΓòÉΓòÉΓòÉ
  7715.  
  7716. Specifies disk input/output priority for applications running in the 
  7717. foreground. 
  7718.  
  7719. PRIORITY_DISK_IO = ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ   YES   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7720.                       ΓööΓöÇΓöÇ    NO    ΓöÇΓöÇΓöÇΓöÇΓöÿ
  7721.  
  7722. Type this command in the CONFIG.SYS file; do not enter the command at a DOS or 
  7723. OS/2 command prompt. 
  7724.  
  7725. When PRIORITY_DISK_IO=YES is specified in the CONFIG.SYS file, an application 
  7726. running in the foreground will receive disk I/O priority over applications 
  7727. running in the background.  This means that the application in the forground 
  7728. will have a better response time than applications running in the background. 
  7729.  
  7730.  
  7731. ΓòÉΓòÉΓòÉ <hidden> PRIORITY_DISK_IO Examples ΓòÉΓòÉΓòÉ
  7732.  
  7733. To specify that applications in the foreground are to receive priority for disk 
  7734. access, type the following in the CONFIG.SYS file: 
  7735.  
  7736. PRIORITY_DISK_IO=YES
  7737.  
  7738. To specify that all applications (foreground and background) are to be treated 
  7739. equally with regard to disk access, type the following in the CONFIG.SYS file: 
  7740.  
  7741. PRIORITY_DISK_IO=NO
  7742.  
  7743.  
  7744. ΓòÉΓòÉΓòÉ 4.100. PROMPT - Change System Command Prompt ΓòÉΓòÉΓòÉ
  7745.  
  7746. Changes the system command prompt. 
  7747.  
  7748. PROMPT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7749.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ text ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7750.  
  7751. Related Commands: DATE, HELP, SET, TIME, and VER 
  7752.  
  7753. Typing this command without a parameter resets the system prompt to the system 
  7754. default. PROMPT can be specified with the SET command. You can also set the 
  7755. PROMPT command in the CONFIG.SYS file. 
  7756.  
  7757. In DOS sessions, the default system prompt is the default drive letter followed 
  7758. by the > symbol.  If you are in the root directory of the default drive, your 
  7759. DOS command prompt looks like this: 
  7760.  
  7761. C>
  7762.  
  7763. The default OS/2 system prompt is the current directory of the default drive 
  7764. enclosed within bracket symbols. If you are in the \OS2 directory of the 
  7765. default drive, your OS/2 command prompt looks like this: 
  7766.  
  7767. [C:\OS2]
  7768.  
  7769.  
  7770. ΓòÉΓòÉΓòÉ <hidden> PROMPT Examples ΓòÉΓòÉΓòÉ
  7771.  
  7772. To set the command prompt to show special text, for example, GOOD MORNING, type 
  7773. the following in the CONFIG.SYS file: 
  7774.  
  7775. SET PROMPT=GOOD MORNING
  7776.  
  7777. To set the command prompt to display the current drive and directory plus the > 
  7778. character (OS/2 sessions), type the following in the CONFIG.SYS file: 
  7779.  
  7780. SET PROMPT=$P$G
  7781.  
  7782. To set the prompt to display the default drive plus the > character (DOS 
  7783. sessions), type 
  7784.  
  7785. PROMPT
  7786.  
  7787. To set the command prompt to display the date and time in OS/2 sessions, type 
  7788. the following in the CONFIG.SYS file: 
  7789.  
  7790. SET PROMPT=TIME = $T$_DATE = $D
  7791.  
  7792. If you have allowed extended keyboard and display support, you can use escape 
  7793. sequences in your prompts.  The following example sets the prompt to show help 
  7794. on the first line, the date and time on the second line, and [drive\path] on 
  7795. the current line. 
  7796.  
  7797. SET PROMPT=$i[$p]$e[s$e[2;1H$e[34;47m$d$_$t$e[0m$e[u
  7798.  
  7799. Note:   Issuing the HELP ON or HELP OFF commands will overwrite any previous 
  7800.         value you have set your prompt to. 
  7801.  
  7802.  
  7803. ΓòÉΓòÉΓòÉ 4.101. PROTECTONLY - Select Operating Environments ΓòÉΓòÉΓòÉ
  7804.  
  7805. Selects one or two operating environments. 
  7806.  
  7807. PROTECTONLY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ NO ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7808.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ YES ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  7809.  
  7810. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  7811. command prompt. 
  7812.  
  7813. Related Commands:  PROTSHELL, RMSIZE, and SHELL 
  7814.  
  7815. The OS/2 operating system requires this statement in the CONFIG.SYS file.  The 
  7816. PROTECTONLY=YES statement allows memory under 640KB, which is normally used for 
  7817. DOS programs, to be available for OS/2 programs.  When PROTECTONLY=YES, you 
  7818. cannot run programs in DOS sessions. If you later decide that you want to run 
  7819. DOS programs in the lower 640KB of memory, specify PROTECTONLY=NO.  This allows 
  7820. you to use both DOS and OS/2 programs. 
  7821.  
  7822.  
  7823. ΓòÉΓòÉΓòÉ <hidden> PROTECTONLY Examples ΓòÉΓòÉΓòÉ
  7824.  
  7825. To set up your system for OS/2 sessions only, type the following in the 
  7826. CONFIG.SYS file: 
  7827.  
  7828. PROTECTONLY=YES
  7829.  
  7830. To set up your system for both OS/2 and DOS sessions, type the following in the 
  7831. CONFIG.SYS file: 
  7832.  
  7833. PROTECTONLY=NO
  7834.  
  7835.  
  7836. ΓòÉΓòÉΓòÉ 4.102. PROTSHELL - Load a User Interface Program ΓòÉΓòÉΓòÉ
  7837.  
  7838. Loads the user interface program and OS/2 command processor. PROTSHELL also 
  7839. replaces the default OS/2 command processor, CMD.EXE, with another command 
  7840. processor. 
  7841.  
  7842. PROTSHELL = ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  7843.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  7844.  
  7845. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  7846.             ΓööΓöÇ arguments ΓöÇΓöÿ
  7847.  
  7848. Related Commands: CMD, PROTECTONLY, RMSIZE, and SHELL 
  7849.  
  7850. If you do not specify PROTSHELL in your CONFIG.SYS file, the default user 
  7851. interface for OS/2 2.0 is loaded and started with an argument of CMD.EXE. 
  7852.  
  7853. For a system that is set up for both OS/2 and DOS sessions, the user interface 
  7854. is started and automatically displayed.  The DOS command processor also is 
  7855. started but does not begin running until the DOS command prompt is selected 
  7856. from the Command Prompts folder. 
  7857.  
  7858.  
  7859. ΓòÉΓòÉΓòÉ <hidden> PROTSHELL Examples ΓòÉΓòÉΓòÉ
  7860.  
  7861. If you accept the system installation default for the PROTSHELL statement, the 
  7862. installation program places the following default statement in your CONFIG.SYS 
  7863. file: 
  7864.  
  7865. PROTSHELL=C:\OS2\PMSHELL.EXE
  7866. SET USER_INI=C:\OS2\OS2.INI
  7867. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  7868. SET OS2_SHELL=C:\OS2\CMD.EXE
  7869. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  7870.  
  7871. If you want to run the Presentation Manager* program AIRLINE.EXE instead of the 
  7872. default PMSHELL.EXE, type the following in your CONFIG.SYS file: 
  7873.  
  7874. PROTSHELL=C:\AIRLINE.EXE
  7875. SET USER_INI=C:\OS2\OS2.INI
  7876. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  7877. SET OS2_SHELL=C:\OS2\CMD.EXE
  7878.  
  7879. Note:   You should also delete the SET AUTOSTART= line from the CONFIG.SYS file 
  7880.         to disable the OS/2 Workplace Shell. 
  7881.  
  7882. If you want to pass a default batch file to CMD.EXE to establish an 
  7883. environment, type the following in your CONFIG.SYS file: 
  7884.  
  7885. PROTSHELL=C:\OS2\PMSHELL.EXE
  7886. SET USER_INI=C:\OS2\OS2.INI
  7887. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  7888. SET OS2_SHELL=C:\OS2\CMD.EXE /K INIT.CMD
  7889.  
  7890.  
  7891. ΓòÉΓòÉΓòÉ 4.103. PSTAT - Display Process Status Information ΓòÉΓòÉΓòÉ
  7892.  
  7893. Displays process, thread, system-semaphore, shared-memory, and dynamic-link 
  7894. library information. 
  7895.  
  7896. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ PSTAT ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  7897.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ                Γö£ΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöñ
  7898.                                              Γö£ΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöñ
  7899.                                              Γö£ΓöÇΓöÇΓöÇ /L ΓöÇΓöÇΓöÇΓöñ
  7900.                                              Γö£ΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöñ
  7901.                                              ΓööΓöÇ /P:pid ΓöÇΓöÿ
  7902.  
  7903. Enter this command without a parameter to display information about the 
  7904. following: 
  7905.  
  7906. o Current processes and threads 
  7907. o System semaphores 
  7908. o Shared memory for each process 
  7909. o Dynamic-link libraries 
  7910.  
  7911. PSTAT displays process status information, such as current processes and 
  7912. threads, system- semaphores, dynamic-link libraries, and shared memory.  PSTAT 
  7913. helps you determine which threads are running in the system, along with their 
  7914. current status and current priorities. 
  7915.  
  7916. This command also aids you in determining why a given thread is blocked 
  7917. (waiting for a system event), or why the thread's performance is slow (low 
  7918. priority compared to other threads.)  Moreover, it displays the process ID that 
  7919. has been assigned from each process.  The process ID can then be used as input 
  7920. to the TRACE utility program for tracing on a per-process basis. 
  7921.  
  7922.  
  7923. ΓòÉΓòÉΓòÉ <hidden> PSTAT Examples ΓòÉΓòÉΓòÉ
  7924.  
  7925. To display the current process and thread-related information on the system 
  7926. for: 
  7927.  
  7928. o Process ID 
  7929. o Parent process ID 
  7930. o Session ID 
  7931. o Process name 
  7932.  
  7933. and display values for: 
  7934.  
  7935. o Thread ID 
  7936. o Thread state 
  7937. o Thread priority 
  7938. o Block ID 
  7939.  
  7940. enter the following: 
  7941.  
  7942. PSTAT /C
  7943.  
  7944. To display system-semaphore information for each thread and display: 
  7945.  
  7946. o Process module name 
  7947. o Process ID 
  7948. o Session 
  7949. o Index 
  7950. o Number of references 
  7951. o Number of requests 
  7952. o Flag 
  7953. o Name of the system semaphore 
  7954.  
  7955. enter the following: 
  7956.  
  7957. PSTAT /S
  7958.  
  7959. To display the dynamic-link libraries for: 
  7960.  
  7961. o Process module name 
  7962. o Process ID 
  7963. o Session ID 
  7964. o Library list 
  7965.  
  7966. enter the following: 
  7967.  
  7968. PSTAT /L
  7969.  
  7970. To display the shared information for each process: 
  7971.  
  7972. o Handle 
  7973. o Selector 
  7974. o Number of references 
  7975. o Name of the shared memory 
  7976.  
  7977. enter the following: 
  7978.  
  7979. PSTAT /M
  7980.  
  7981. To display the related information on the process ID 0002. 
  7982.  
  7983. o Process ID 
  7984. o Parent process ID 
  7985. o Session ID 
  7986. o Process module name 
  7987. o Dynamic-link libraries 
  7988. o Shared memory data 
  7989.  
  7990. and display: 
  7991.  
  7992. o Thread ID 
  7993. o Thread priority 
  7994. o Thread status 
  7995. o Block ID 
  7996. o Semaphore information 
  7997.  
  7998. enter the following: 
  7999.  
  8000. PSTAT /P:2
  8001.  
  8002.  
  8003. ΓòÉΓòÉΓòÉ 4.104. RECOVER - Recover Files ΓòÉΓòÉΓòÉ
  8004.  
  8005. Recovers files from a disk that contains defective sectors. 
  8006.  
  8007. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ RECOVER ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8008.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8009.  
  8010. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8011.    Γö£ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöñ
  8012.    Γöé  ΓööΓöÇ drive ΓöÇΓöÿ                              Γöé
  8013.    Γöé                                           Γöé
  8014.    ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8015.       ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  8016.  
  8017. Related Commands:  CHKDSK 
  8018.  
  8019. OS/2 2.0 reads the specified disk, sector by sector.  If RECOVER finds a bad 
  8020. portion, the sector is marked and data is no longer allocated to it.  All the 
  8021. files on the disk can be recovered if the directory has been damaged. 
  8022.  
  8023. RECOVER cannot recover files on the disk that contains the RECOVER.EXE file or 
  8024. the disk used to start the OS/2 operating system.  RECOVER locks the drive to 
  8025. be recovered so that no other applications or processes are allowed to access 
  8026. the drive. 
  8027.  
  8028. The OS/2 message file, C:\OS2\SYSTEM\OSO001.MSG, must not be on the disk to be 
  8029. recovered.  To be sure it is not, do the following: 
  8030.  
  8031. o Copy the following files to a blank, formatted diskette; C:\OS2\RECOVER.COM, 
  8032.   C:\OS2\SYSTEM\OSO001.MSG 
  8033. o Delete these files from the disk to be recovered. 
  8034. o Start the system from the OS/2 Install Diskette. 
  8035. o At the A: prompt, type: 
  8036.  
  8037.     SETDPATH=A:\
  8038.     SETPATH=A:\
  8039.  
  8040. o Put the diskette prepared earlier into drive A and type: 
  8041.  
  8042.     RECOVER C:filenames
  8043.  
  8044. RECOVER does not work on drives that have an ASSIGN, JOIN, or SUBST command in 
  8045. effect. Also, RECOVER does not work on network drives. 
  8046.  
  8047. Note:   Use RECOVER with a specific file name or group of file names to ensure 
  8048.         that only the specified files are recovered and that other files on the 
  8049.         target disk will maintain their integrity. 
  8050.  
  8051. Extended Attributes:  RECOVER will attempt to recover the clusters that contain 
  8052. the extended attributes of a file. An extended attribute is a special area used 
  8053. for storing data that describes the file to the system or to an application. If 
  8054. errors occur in any extended attribute chain, RECOVER writes extended attribute 
  8055. information into a file that follows this naming format:  EAnnnn.REC (nnnn is a 
  8056. sequential number starting with 0000). The data from any bad sector appears in 
  8057. the file as zeroes; the original recovered file no longer contains extended 
  8058. attributes. RECOVER also recovers the file or directory associated with the 
  8059. extended attribute chain and places it in a file that follows this naming 
  8060. format:  FILEnnnn.REC.  The number in this file name corresponds to the number 
  8061. shown in the EAnnnn.REC file name. 
  8062.  
  8063. When recovering files or directories that have extended attributes, be sure to 
  8064. use OS/2 2.0 to ensure all extended file attributes are recovered. 
  8065.  
  8066.  
  8067. ΓòÉΓòÉΓòÉ 4.104.1. High Performance File System Considerations ΓòÉΓòÉΓòÉ
  8068.  
  8069. When using RECOVER on a disk formatted for the High Performance File System 
  8070. (HPFS), it is important to note the following: 
  8071.  
  8072. o RECOVER does not recover an entire disk; only individual files are recovered. 
  8073.  
  8074. o RECOVER uses the original file name.  If the old file cannot be recovered, 
  8075.   RECOVER creates a file that follows this naming format: FILEnnnn.REC and 
  8076.   places that file in the same directory as the original file. 
  8077.  
  8078. o If a sector in the damaged file cannot be recovered, RECOVER fills the area 
  8079.   occupied by the sector with zeroes in the new file, preserving the original 
  8080.   file size. 
  8081.  
  8082. Return Codes: 
  8083.  
  8084. 0 - Normal completion 
  8085. 1 - Undefined 
  8086. 2 - Undefined 
  8087. 3 - Ended by user 
  8088. 4 - Ended due to error 
  8089. 5 - Unable to read or write to one of the file allocation tables 
  8090. 6 - Unable to execute another file system's recover program 
  8091.  
  8092.  
  8093. ΓòÉΓòÉΓòÉ <hidden> RECOVER Examples ΓòÉΓòÉΓòÉ
  8094.  
  8095. To recover a file named ADDRESS.FIL in the root directory of drive A, enter the 
  8096. following: 
  8097.  
  8098. RECOVER A:\ADDRESS.FIL
  8099.  
  8100. To recover all the files on drive A, enter the following: 
  8101.  
  8102. RECOVER A:
  8103.  
  8104. To recover files on a drive that is the hard disk from which you normally start 
  8105. the operating system, follow these steps: 
  8106.  
  8107.  1. Insert the system installation diskette in diskette drive A. 
  8108.  2. Restart the system.  At the Logo panel, remove the installation diskette 
  8109.     and insert diskette 1.  Press Enter to continue. 
  8110.  3. At the first text panel that appears (Welcome to OS/2), press Esc. 
  8111.  4. If the drive containing the files to be recovered is a drive formatted for 
  8112.     HPFS, the file UHPFS.DLL has to exist on the same diskette as CHKDSK, or 
  8113.     UHPFS.DLL has to exist in a directory in the LIBPATH statement. To display 
  8114.     the LIBPATH statement, enter TYPE \CONFIG.SYS in the drive of the disk that 
  8115.     the system started from. 
  8116.  5. In order for the system to display error messages, the file OSO001.MSG has 
  8117.     to be on the same disk as CHKDSK or it has to exist in a directory in your 
  8118.     DPATH statement.  To display your DPATH statement, enter DPATH at the 
  8119.     command line. 
  8120.  6. Run CHKDSK in drive A, while specifying the letter of the drive containing 
  8121.     the files to be recovered. 
  8122.  
  8123.  
  8124. ΓòÉΓòÉΓòÉ 4.105. REM - Display Remarks ΓòÉΓòÉΓòÉ
  8125.  
  8126. Adds comments or line spacing in a batch file or a CONFIG.SYS file. 
  8127.  
  8128. REM ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8129.                   ΓööΓöÇ comment ΓöÇΓöÿ
  8130.  
  8131.  When adding remarks or line spacing in a batch file, it is important to note 
  8132. that: 
  8133.  
  8134. o The OS/2 operating system displays the remark when batch processing reaches 
  8135.   the REM command.  If ECHO is OFF, the system does not display the remarks. 
  8136. o You can use REM by itself to improve the readability of your batch file. 
  8137.  
  8138. The OS/2 operating system treats the preceding REM commands as comments only 
  8139. and does not attempt to act on the comments. 
  8140.  
  8141. You can use the REM command to add remarks or line spacing to your CONFIG.SYS 
  8142. file. Any lines of text added using REM are ignored by the system during 
  8143. CONFIG.SYS processing and are not displayed on your display terminal. 
  8144.  
  8145.  
  8146. ΓòÉΓòÉΓòÉ <hidden> REM Examples ΓòÉΓòÉΓòÉ
  8147.  
  8148. To display REM and the remark, THIS IS A BATCH FILE from within a batch file, 
  8149. type the following: 
  8150.  
  8151. REM THIS IS A BATCH FILE
  8152.  
  8153. To prevent REM from displaying the remark THIS IS A BATCHFILE from within a 
  8154. batch file, type the following: 
  8155.  
  8156. @REM THIS IS A BATCHFILE
  8157.  
  8158. To prevent the operating system from interpreting the piping symbol (|), 
  8159. enclose it in double quotes. 
  8160.  
  8161. REM USE DOUBLE QUOTES "|" DIR
  8162.  
  8163. To add a line of text to explain the use of your device commands or as a 
  8164. reminder for future reference, follow this example. 
  8165.  
  8166. REM
  8167. REM These four lines I added
  8168. REM so that I can use the
  8169. REM mouse I borrowed
  8170. REM from Marion. They should
  8171. REM be deleted when I return
  8172. REM Marion's mouse.
  8173. REM
  8174. DEVICE=C:\OS2\POINTDD.SYS
  8175. DEVICE=MSSER01.SYS SERIAL=COM2 MODEL=199
  8176. DEVICE=MOUSE.SYS TYPE=MSSER$ MODE=P QSIZE=15
  8177. DEVICE=C:\OS2\COM02.SYS
  8178. REM
  8179.  
  8180. To add a line to explain system configuration and improve readability, follow 
  8181. this example: 
  8182.  
  8183. REM
  8184. REM The following statement
  8185. REM sets the size of DOS environment
  8186. REM to 512KB.
  8187. REM
  8188. RMSIZE=512
  8189. REM
  8190. REM This allows Ctrl+Break
  8191. REM in DOS environment
  8192. REM
  8193. BREAK=ON
  8194. REM
  8195.  
  8196.  
  8197. ΓòÉΓòÉΓòÉ 4.106. RENAME - Rename Files ΓòÉΓòÉΓòÉ
  8198.  
  8199. Changes a file name or extension without changing the contents of the file. 
  8200. You can use RENAME or REN interchangeably. In OS/2 sessions, you can also 
  8201. change the name of a directory. 
  8202.  
  8203. RENAME ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename1 ΓöÇΓöÇ filename2 ΓöÇΓöñ
  8204.         Γöé ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8205. REN ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8206.  
  8207. Related Commands:  COPY, MOVE 
  8208.  
  8209. You cannot specify a drive and path in the second file name; therefore, the 
  8210. file stays in the same directory after you rename it. 
  8211.  
  8212. You can use global file name characters (* or ?) in either file name.  All 
  8213. files matching the first file name are renamed.  If global file-name characters 
  8214. appear in the second file name, the corresponding character positions are not 
  8215. changed. 
  8216.  
  8217.  
  8218. ΓòÉΓòÉΓòÉ <hidden> RENAME Examples ΓòÉΓòÉΓòÉ
  8219.  
  8220. To change the name of a file from MEMOS to LETTERS in the current directory on 
  8221. the current drive, enter the following: 
  8222.  
  8223. REN MEMOS LETTERS
  8224.  
  8225. To change the extension of all files in the current directory of the current 
  8226. drive from .OLD to .NEW, enter the following: 
  8227.  
  8228. REN *.OLD *.NEW
  8229.  
  8230. To rename a program named MY.COM in the LEVEL1 subdirectory on drive B to 
  8231. YOUR.COM, enter the following: 
  8232.  
  8233. REN B:\LEVEL1\MY.COM YOUR.COM
  8234.  
  8235.  
  8236. ΓòÉΓòÉΓòÉ 4.107. REPLACE - Replace Files ΓòÉΓòÉΓòÉ
  8237.  
  8238. Selectively replaces files on the target drive with files of the same name from 
  8239. the source drive.  Also, it selectively adds files from the source drive to the 
  8240. target drive. 
  8241.  
  8242. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ REPLACE ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  8243.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               ΓööΓöÇ source drive ΓöÇΓöÿ
  8244.  
  8245.  
  8246. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇ target drive ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  8247.   ΓööΓöÇ path ΓöÇΓöÿ                                  ΓööΓöÇ path ΓöÇΓöÿ
  8248.  
  8249.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8250.                                 Γöé
  8251. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8252.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ /A ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8253.         Γöé     ΓööΓöÇΓöÇ /S ΓöÇΓöÇΓöÿ      Γöé
  8254.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8255.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8256.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /W ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8257.         Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /U ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8258.         ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8259.  
  8260. Hidden and system files are not found on the source and are not replaced on the 
  8261. target.  Also, if you use the /A parameter with the /S parameter, the system 
  8262. displays an error message. 
  8263.  
  8264. Extended Attributes:  REPLACE will copy the source file's extended attributes 
  8265. to the target file (See the /F parameter). When replacing files that have 
  8266. extended attributes, be sure to use OS/2 2.0 to ensure all extended file 
  8267. attributes are replaced. 
  8268.  
  8269. Return Codes: 
  8270.  
  8271. 0 - Normal completion 
  8272. 1 - No files were found to replace 
  8273. 2 - Some files not replaced (or added) due to file errors 
  8274. 4 - Ended due to error 
  8275.  
  8276.  
  8277. ΓòÉΓòÉΓòÉ <hidden> REPLACE Examples ΓòÉΓòÉΓòÉ
  8278.  
  8279. To replace the LETTERS file on drive A with the LETTERS file on drive C, enter 
  8280. the following: 
  8281.  
  8282. REPLACE C:LETTERS A:
  8283.  
  8284. You can also use the global characters * and ? when specifying a file name. 
  8285.  
  8286. To replace all files on drive C that have an extension of .EXE with files from 
  8287. drive A that have the same file name and extension, enter the following: 
  8288.  
  8289. REPLACE A:*.EXE C:
  8290.  
  8291. To copy all files from the current directory on drive C (that do not exist on 
  8292. drive A) to drive A, without overwriting the files that currently exist on 
  8293. drive A, enter the following: 
  8294.  
  8295. REPLACE C:*.* A: /A
  8296.  
  8297. To replace the files found in all directories of drive C with files matching 
  8298. the source file name of YEARLY in the current directory on drive A, enter the 
  8299. following: 
  8300.  
  8301. REPLACE A:YEARLY C:\ /S
  8302.  
  8303. To be prompted with (Y/N?) before replacing each file from the root directory 
  8304. on drive C to the root directory on drive A, enter the following: 
  8305.  
  8306. REPLACE C:\*.* A:\ /P
  8307.  
  8308. To replace all files on drive C (including read-only files) with files of the 
  8309. same name from drive A, enter the following: 
  8310.  
  8311. REPLACE A:*.* C: /R
  8312.  
  8313. To replace the LETTERS file on drive A with the LETTERS file on drive C, and 
  8314. have the system wait for you to insert a diskette before searching for source 
  8315. files, enter the following: 
  8316.  
  8317. REPLACE C:LETTERS A: /W
  8318.  
  8319. To replace all files on drive C named LETTER.FMT with a new LETTER.FMT file 
  8320. from drive A, enter the following: 
  8321.  
  8322. REPLACE A:LETTER.FMT C:\ /U  /S
  8323.  
  8324. To replace a file named REPORTS.TXT to the STATUS directory on drive D and have 
  8325. REPLACE fail if drive D does not support extended attributes, enter the 
  8326. following: 
  8327.  
  8328. REPLACE REPORTS.TXT D:\STATUS /F
  8329.  
  8330. To update the file RAYS.PRO that you just revised in your C:\PROFILES.DIR 
  8331. subdirectory and replace all of the other copies of RAYS.PRO on your C drive 
  8332. except those with extended attributes, enter the following: 
  8333.  
  8334. REPLACE C:PROFILES.DIR\RAYS.PRO C:\ /S /P /F
  8335.  
  8336.  
  8337. ΓòÉΓòÉΓòÉ 4.108. RESTORE - Restore Backed-Up Files ΓòÉΓòÉΓòÉ
  8338.  
  8339. Restores one or more backed-up files from one disk to another. 
  8340.  
  8341. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ RESTORE  ΓöÇΓöÇΓöÇ source drive ΓöÇΓöÇΓöÇ
  8342.    ΓööΓöÇ drive ΓöÇΓöÿ  ΓööΓöÇ path ΓöÇΓöÿ
  8343.  
  8344. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8345.    ΓööΓöÇ target drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ    ΓööΓöÇ filename ΓöÇΓöÿ
  8346.  
  8347.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  8348.                                       Γöé
  8349. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8350.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8351.                Γö£ΓöÇΓöÇΓöÇΓöÇ /B:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöñ
  8352.                Γö£ΓöÇΓöÇΓöÇΓöÇ /A:mm-dd-yy ΓöÇΓöÇΓöÇΓöÇΓöñ
  8353.                Γö£ΓöÇΓöÇΓöÇΓöÇ /E:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöñ
  8354.                Γö£ΓöÇΓöÇΓöÇΓöÇ /L:hh:mm:ss ΓöÇΓöÇΓöÇΓöÇΓöñ
  8355.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8356.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /N ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8357.                Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8358.                ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8359.  
  8360. Related Commands:  ATTRIB, BACKUP 
  8361.  
  8362. You must have used the BACKUP command to place the files you want restored on 
  8363. the source.  Note that: 
  8364.  
  8365. o RESTORE works only within the source directory unless you specify the /S 
  8366.   parameter, which copies files in the source directory and in all directories 
  8367.   below the starting source directory. 
  8368.  
  8369. o When RESTORE prompts you to insert the source diskette, make sure that you 
  8370.   insert the correct backup diskette. When you restore all your files, RESTORE 
  8371.   prompts you to insert the backup diskettes in order. 
  8372.  
  8373. o RESTORE can restore files from disks of different types. 
  8374.  
  8375. o The RESTORE command does not restore COMMAND.COM, CMD.EXE, or the hidden OS/2 
  8376.   and DOS system files on the root directory.  Therefore, you cannot use 
  8377.   RESTORE to create a startable disk or diskette. 
  8378.  
  8379. o You must restore files to the same directory they were in when BACKUP copied 
  8380.   them.  If you try to restore them to a different directory, the system 
  8381.   displays an error message. 
  8382.  
  8383. o If you use global file-name characters, RESTORE prompts you to insert the 
  8384.   next diskette after it has restored all files on the backup diskette that 
  8385.   match the specified file name. 
  8386.  
  8387. o If you are sharing files, you can restore only files that you have access to. 
  8388.   If you attempt to access a file that you do not have access to, the system 
  8389.   displays an error message. 
  8390.  
  8391. Extended Attributes:  RESTORE will copy the extended attributes of a backed-up 
  8392. source file or directory to the target (See the /F parameter). An extended 
  8393. attribute is a special area used for storing data that describes the file to 
  8394. the system or to an application. 
  8395.  
  8396. When restoring files that have extended attributes, be sure to use OS/2 2.0 to 
  8397. ensure all extended file and directory attributes are restored. Extended 
  8398. attributes of a backed-up source subdirectory will only be copied to the target 
  8399. when the subdirectory does not already exist on the target. 
  8400.  
  8401. Return Codes: 
  8402.  
  8403. 0 - Normal completion 
  8404. 1 - No files were found to restore 
  8405. 2 - Some files were not processed due to file errors 
  8406. 3 - Ended by user 
  8407. 4 - Ended due to error 
  8408.  
  8409.  
  8410. ΓòÉΓòÉΓòÉ <hidden> RESTORE Examples ΓòÉΓòÉΓòÉ
  8411.  
  8412. To restore a file named MONDAY to the REPORTS subdirectory on drive C from the 
  8413. backup diskette in drive A, enter the following: 
  8414.  
  8415. RESTORE A: C:\REPORTS\MONDAY
  8416.  
  8417. To be prompted with (Y/N)? before restoring any read-only file or file changed 
  8418. since the last time you did a backup, enter the following: 
  8419.  
  8420. RESTORE A: C:*.* /P
  8421.  
  8422. To restore files that were changed or deleted since they were last backed up, 
  8423. enter the following: 
  8424.  
  8425. RESTORE A: C:*.* /M
  8426.  
  8427. To restore all files changed on or before November 12, 1988, type the following 
  8428. (using the current date format): 
  8429.  
  8430. RESTORE A: C: /B:11-12-88
  8431.  
  8432. To restore all files changed on or after November 12, 1988, type the following 
  8433. (using the current date format): 
  8434.  
  8435. RESTORE A: C: /A:11-12-88
  8436.  
  8437. To restore only those files that were changed at or earlier than 11:45 a.m., 
  8438. enter the following: 
  8439.  
  8440. RESTORE A: C: /E:11:45:00
  8441.  
  8442. To restore only those files that were changed at or later than 11:45 a.m., 
  8443. enter the following: 
  8444.  
  8445. RESTORE A: C: /L:11:45:00
  8446.  
  8447. To restore all files (including subdirectories) on the backup diskettes in 
  8448. drive A to drive C, enter the following: 
  8449.  
  8450. RESTORE A: C:\*.* /S
  8451.  
  8452. To restore files that no longer exist on the target drive, enter the following: 
  8453.  
  8454. RESTORE A: C: /N
  8455.  
  8456. To restore a file named REPORTS.TXT to the STATUS directory on drive D and have 
  8457. RESTORE fail if drive D does not support extended attributes, enter the 
  8458. following: 
  8459.  
  8460. RESTORE REPORTS.TXT D:\STATUS /F
  8461.  
  8462. To display the files on the backup diskette that match the files that were 
  8463. backed up by the BACKUP command without restoring them, enter the following: 
  8464.  
  8465. RESTORE /D
  8466.  
  8467.  
  8468. ΓòÉΓòÉΓòÉ 4.109. RD or RMDIR - Remove a Directory ΓòÉΓòÉΓòÉ
  8469.  
  8470. Removes empty directories from a multilevel directory structure. 
  8471.  
  8472. RMDIR ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8473. RD      ΓöÇΓöÇΓöÿ        ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ    Γöé
  8474.                Γöé                                    Γöé
  8475.                ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8476.  
  8477. Related Commands:  CD, DIR, MD, and TREE 
  8478.  
  8479. You cannot remove the root directory or the current directory.  You also cannot 
  8480. remove a subdirectory of the current directory. 
  8481.  
  8482. To process this command, it is important that you: 
  8483.  
  8484. o Empty the directory of all files by using DEL or ERASE before using the RD or 
  8485.   RMDIR command.  Only the two special hidden files of (.) and (..) remain. 
  8486.  
  8487. o Empty the directory of all files in each subdirectory, if the directory 
  8488.   contains subdirectories. 
  8489.  
  8490. o Remove all hidden file attributes from all files except (.) and (..). 
  8491.  
  8492. You cannot use this command on drives that have a SUBST or JOIN command in 
  8493. effect. 
  8494.  
  8495.  
  8496. ΓòÉΓòÉΓòÉ <hidden> RD or RMDIR Examples ΓòÉΓòÉΓòÉ
  8497.  
  8498. To remove a subdirectory named NAMES from your root directory on the current 
  8499. drive, delete all the files and subdirectories within NAMES, and enter the 
  8500. following: 
  8501.  
  8502. RD \NAMES
  8503.  
  8504. To remove a subdirectory named ANNUAL within a subdirectory ACCOUNTS, which is 
  8505. in the root directory on the current drive, enter the following: 
  8506.  
  8507. RD \ACCOUNTS\ANNUAL
  8508.  
  8509. To remove the subdirectory REPORTS from the SALES directory and the 
  8510. subdirectory PROGS from the ACCT directory (OS/2 sessions only), enter the 
  8511. following: 
  8512.  
  8513. RD \SALES\REPORTS \ACCT\PROGS
  8514.  
  8515.  
  8516. ΓòÉΓòÉΓòÉ 4.110. RMSIZE - Specify DOS Environment Size ΓòÉΓòÉΓòÉ
  8517.  
  8518. Specifies the highest storage address allowed for the DOS operating 
  8519. environment. 
  8520.  
  8521. RMSIZE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8522.  
  8523. Related Commands:  PROTECTONLY, PROTSHELL, and SHELL 
  8524.  
  8525. If you specify a number that exceeds the amount of memory allowable for your 
  8526. system configuration, the system sends you an error message and ignores the 
  8527. statement. It then automatically calculates the largest default value for your 
  8528. system. 
  8529.  
  8530. If you do not have an RMSIZE statement in your CONFIG.SYS file, the default is 
  8531. the total amount of low memory installed (either 512KB or 640KB). 
  8532.  
  8533. If you decided to specify PROTECTONLY=NO, you can further reduce the size of 
  8534. the DOS environment by specifying RMSIZE.  This allows you to make the size of 
  8535. the DOS environment smaller than the maximum amount available if all the 
  8536. remaining memory below 640KB were used for DOS sessions. 
  8537.  
  8538. This statement specifies the highest storage address allowed for a DOS session. 
  8539. It is important to note that if you specify a number that exceeds the amount of 
  8540. memory allowable for your system configuration, the system sends you an error 
  8541. message.  This message states that the value was not acceptable and ignores the 
  8542. statement.  If you do not specify a RMSIZE statement in your CONFIG.SYS file, 
  8543. the default depends on the total memory installed.  If this total is 640KB or 
  8544. less, then the default size is the total memory minus the minimum required for 
  8545. protect-mode operations.  If this total is 1024KB or greater, the default size 
  8546. is the amount of memory installed below 1024KB, either 512KB or 640KB. 
  8547.  
  8548. This is the largest usable size for DOS sessions at which your system can 
  8549. operate.  If you enter a size that is too large for your system, the system 
  8550. displays an error message during startup and automatically calculates the 
  8551. largest default value possible. 
  8552.  
  8553.  
  8554. ΓòÉΓòÉΓòÉ <hidden> RMSIZE Examples ΓòÉΓòÉΓòÉ
  8555.  
  8556. Specifies a number from 0 through 640, representing a multiple of 1024 bytes. 
  8557.  
  8558. To set the size of the DOS environment to 256KB, type the following in the 
  8559. CONFIG.SYS file: 
  8560.  
  8561. RMSIZE=256
  8562.  
  8563.  
  8564. ΓòÉΓòÉΓòÉ 4.111. RUN - Start System Programs ΓòÉΓòÉΓòÉ
  8565.  
  8566. Loads and starts a system program during system initialization.  RUN does not 
  8567. start a Presentation Manager* application. 
  8568.  
  8569. RUN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8570.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8571.  
  8572. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8573.             ΓööΓöÇ arguments ΓöÇΓöÿ
  8574.  
  8575. Related Commands:  START 
  8576.  
  8577. It is important to note that more than one RUN statement might appear in the 
  8578. CONFIG.SYS file.  The RUN statements are processed in the order in which they 
  8579. appear in the file, but all DEVICE statements are processed before any RUN 
  8580. statements. 
  8581.  
  8582. If a program started with a RUN statement requests a window before the user 
  8583. interface is started, it receives a unique error code.  The program might 
  8584. respond by delaying its processing until the user interface is started. 
  8585.  
  8586. A program started with a RUN statement can establish a keyboard or mouse 
  8587. monitor for any non-detached program.  Also, it can issue I/O requests to the 
  8588. keyboard, mouse, or display only after it has established a window. 
  8589.  
  8590. Because RUN programs are started before initialization of the user interface 
  8591. and disk error handling, the program must prevent the OS/2 operating system 
  8592. from performing disk handling and perform its own. 
  8593.  
  8594.  
  8595. ΓòÉΓòÉΓòÉ <hidden> RUN Examples ΓòÉΓòÉΓòÉ
  8596.  
  8597. To run a system checkout program named MARY.EXE located in the UTILS directory, 
  8598. type the following in the CONFIG.SYS file. 
  8599.  
  8600. RUN=C:\UTILS\MARY.EXE
  8601.  
  8602.  
  8603. ΓòÉΓòÉΓòÉ 4.112. RUN - Logging Daemon Process ΓòÉΓòÉΓòÉ
  8604.  
  8605. Controls the start of the Logging Daemon process for system error-log files. 
  8606.  
  8607. RUN = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ LOGDAEM.EXE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8608.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8609.  
  8610. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8611.             ΓööΓöÇ /E:filename ΓöÇΓöÿ  ΓööΓöÇ /W:x ΓöÇΓöÿ
  8612.  
  8613. Related Commands:  SYSLOG, DEVICE (LOG.SYS) 
  8614.  
  8615. A RUN=LOGDAEM.EXE command must be in the CONFIG.SYS file to control the start 
  8616. of the Logging Daemon process.  It must be included whenever you specify the 
  8617. DEVICE=LOG.SYS command in the CONFIG.SYS file to install the System Logging 
  8618. Service device driver. 
  8619.  
  8620.  
  8621. ΓòÉΓòÉΓòÉ <hidden> RUN = LOGDAEM.EXE Examples ΓòÉΓòÉΓòÉ
  8622.  
  8623. To specify C:\OS2\SYSTEM as the path for the error-log file, LOG0001.DAT, type 
  8624. the following in the CONFIG.SYS file: 
  8625.  
  8626. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT
  8627.  
  8628. To set the size of the error-log file, LOG0001.DAT, with the path C:\OS2\SYSTEM 
  8629. to 32KB, type the following in the CONFIG.SYS file: 
  8630.  
  8631. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  8632.  
  8633.  
  8634. ΓòÉΓòÉΓòÉ 4.113. SET - Set Environment Variables ΓòÉΓòÉΓòÉ
  8635.  
  8636. Sets one string in the environment equal to another string for later use in 
  8637. programs. You can use the SET command in your CONFIG.SYS file or batch files to 
  8638. set search paths and environment variables. 
  8639.  
  8640. To use SET from the command prompt: 
  8641.  
  8642. SET ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  8643.         ΓööΓöÇ string= ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  8644.                     ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string ΓöÇΓöÇΓöÇΓöÇΓöÿ
  8645.  
  8646.  To use SET in your CONFIG.SYS file: 
  8647.  
  8648. SET ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ string ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8649.  
  8650. Related Commands:  APPEND, DPATH, KEYS, PATH, and PROMPT 
  8651.  
  8652. Enter this command without a parameter to display the environment variables for 
  8653. the current mode of operation. 
  8654.  
  8655. If the name specified by the first string of the SET command already exists in 
  8656. the environment, the command processor replaces its current value with the new 
  8657. value specified by the second string.  If you enter the SET command with only 
  8658. the first string and the equals sign (=), the command processor removes the 
  8659. environment variable or replaceable parameter name and its associated value 
  8660. from the environment, if the name exists. 
  8661.  
  8662.  
  8663. ΓòÉΓòÉΓòÉ 4.113.1. Environments and Command Processors ΓòÉΓòÉΓòÉ
  8664.  
  8665. The environment is a special place in storage that is used by the command 
  8666. processor to store and look up information, such as the values assigned to 
  8667. names. You can use SET to create a replaceable parameter or to set the value of 
  8668. a system variable, such as PATH. Application programs (particularly compilers 
  8669. and assemblers) and batch files can use the information stored in the 
  8670. environment to affect their processing. 
  8671.  
  8672. Because DOS sessions and OS/2 sessions operate independently, each command 
  8673. processor that starts a session can have its own environment.  For information 
  8674. on how command processors within a session inherit the environment, refer to 
  8675. the COMMAND.COM and CMD.EXE command processors. 
  8676.  
  8677.  
  8678. ΓòÉΓòÉΓòÉ 4.113.2. Replaceable Parameters for Batch Files ΓòÉΓòÉΓòÉ
  8679.  
  8680. You can use the SET command in a batch file to define a replaceable parameter 
  8681. that will be replaced by values supplied when the batch file runs. In OS/2 
  8682. sessions, replaceable parameters can also be set on the command line. You must 
  8683. begin and end the name with a percent sign (%).  For example, suppose you have 
  8684. a batch file that contains multiple occurrences of a file name.  To avoid 
  8685. having to change each occurrence when you want to change the name of the file, 
  8686. you can specify the file name as a replaceable parameter; for example: 
  8687.  
  8688. %MYFILE%
  8689.  
  8690. To set %MYFILE% to a specific file name, include a SET command in your batch 
  8691. file: 
  8692.  
  8693. SET MYFILE=SAMPLE.ABC
  8694.  
  8695. After the batch processor interprets the SET command, it changes each 
  8696. occurrence of %MYFILE% it meets in the batch file to SAMPLE.ABC. 
  8697.  
  8698. You can also use names of system variables as replaceable parameters in batch 
  8699. files.  Assume that you have the following replaceable parameter in a batch 
  8700. file: 
  8701.  
  8702. %PATH%
  8703.  
  8704. When the batch processor meets this replaceable parameter, it looks in the 
  8705. environment for the current value of PATH and substitutes that value. 
  8706.  
  8707.  
  8708. ΓòÉΓòÉΓòÉ 4.113.3. Commands That Are System Variables ΓòÉΓòÉΓòÉ
  8709.  
  8710. You can use the SET command to set the value of OS/2 system variables. These 
  8711. system variables for OS/2 sessions are: 
  8712.  
  8713. PATH           Sets a search path for executable files. 
  8714.  
  8715. DPATH          Sets a search path for data files. 
  8716.  
  8717. KEYS           Permits previously issued commands to be retrieved and edited. 
  8718.  
  8719. PROMPT         Sets a new command prompt. 
  8720.  
  8721. The system variables for DOS sessions are: 
  8722.  
  8723. PATH           Sets a search path for executable files. 
  8724.  
  8725. PROMPT         Sets a new command prompt. 
  8726.  
  8727. APPEND         Sets the search path for data files if the APPEND command is 
  8728.                entered with the /E option. 
  8729.  
  8730. The command processor recognizes system variable commands that are entered at 
  8731. the command prompt.  You can also enter the system variables with the SET 
  8732. command.  While the SET command is optional at the command prompt, it is 
  8733. required when used to set system variables in the CONFIG.SYS file. 
  8734.  
  8735.  
  8736. ΓòÉΓòÉΓòÉ 4.113.4. Replaceable Parameters at the OS/2 Command Prompt ΓòÉΓòÉΓòÉ
  8737.  
  8738. In OS/2 sessions, substitution of replaceable parameter names by their values 
  8739. in the environment can be made at the command prompt. Using this feature of 
  8740. OS/2 2.0, you can append values to the values of system variables already in 
  8741. the environment. For example, assume that your current path to data files is: 
  8742.  
  8743. DPATH
  8744. C:\OS2;C:\OS2\SYSTEM;
  8745. C:\OS2\INSTALL;
  8746.  
  8747. To append a path to the \MYDIR directory on drive C, enter: 
  8748.  
  8749. SET DPATH=%DPATH%;C:\MYDIR;
  8750.  
  8751. Or you can enter: 
  8752.  
  8753. DPATH %DPATH%;C:\MYDIR;
  8754.  
  8755. In both these examples, the C:\MYDIR directory is appended to the current path 
  8756. to data files in the environment of the current OS/2 session.  In this example, 
  8757. assume that your current path ends with a semicolon. If no environment variable 
  8758. exists by the name you specify, no substitution is made.  The system will not 
  8759. generate a message stating that the substitution was not made. 
  8760.  
  8761. The following is the contents of the batch file ADDPATH.BAT or ADDPATH.CMD.  It 
  8762. will append the first parameter to the end of the current path setting: 
  8763.  
  8764. @PATH=%PATH%%1;
  8765.  
  8766.  
  8767. ΓòÉΓòÉΓòÉ <hidden> SET Examples ΓòÉΓòÉΓòÉ
  8768.  
  8769. To display the environment variables for the current mode of operation enter 
  8770. the following: 
  8771.  
  8772. SET
  8773.  
  8774. To set the search path of executable files to null, enter the following: 
  8775.  
  8776. SET PATH=
  8777. The environment will no longer have a PATH value. 
  8778.  
  8779. To set the search path to another value for your environment (such as the APPS 
  8780. subdirectory on drive C), enter the following: 
  8781.  
  8782. SET PATH=C:\APPS
  8783.  
  8784. To avoid having to change the file name for each occurrence when you want to 
  8785. change the name of the file, you can specify the file name as a replaceable 
  8786. parameter as in the following: 
  8787.  
  8788. %THEFILE%
  8789.  
  8790. To set %THEFILE% to a specific file name, include a SET command in your batch 
  8791. file as follows: 
  8792.  
  8793. SET THEFILE=EXAMPLE.ABC
  8794.  
  8795. After the batch processor interprets the SET command, it changes each 
  8796. occurrence of %THEFILE% it finds in the batch file to EXAMPLE.ABC. 
  8797.  
  8798. To use the name of a system variable such as PATH as a replaceable parameter in 
  8799. a batch file to substitute the current value of PATH, type the following 
  8800. replaceable parameter in your batch file: 
  8801.  
  8802. %PATH%
  8803.  
  8804.  
  8805. ΓòÉΓòÉΓòÉ <hidden> SET Examples ΓòÉΓòÉΓòÉ
  8806.  
  8807. Below are examples of how SET can be used to set the environment variables in 
  8808. your CONFIG.SYS file. 
  8809.  
  8810. SET COMSPEC=C:\OS2\CMD.EXE
  8811. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\UTILS;C:\TOOLS;
  8812. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\INSTALL;C:\UTILS;C:\TOOLS;
  8813. SET PROMPT=$i[$p]
  8814. SET HELP=C:\OS2\HELP
  8815. SET BOOKSHELF=C:\OS2\BOOK
  8816. SET TOOLS=C:\WORDPROC
  8817. SET TOOLS=C:\SPELCHK
  8818. SET KEYS=ON
  8819.  
  8820.  
  8821. ΓòÉΓòÉΓòÉ 4.114. SETBOOT - Sets Up the Boot Manager ΓòÉΓòÉΓòÉ
  8822.  
  8823. Provides the ability to set up the Boot Manager for a hard disk. 
  8824.  
  8825. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ SETBOOT ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  8826.       Γöö drive Γöÿ Γöö path Γöÿ           Γö£ΓöÇΓöÇ /T:x ΓöÇΓöÇΓöÇΓöñ
  8827.                                    Γö£ΓöÇΓöÇ /T:NO ΓöÇΓöÇΓöñ
  8828.                                    Γö£ΓöÇΓöÇ /M:m ΓöÇΓöÇΓöÇΓöñ
  8829.                                    Γö£ΓöÇΓöÇΓöÇ/Q ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8830.                                    Γö£ΓöÇΓöÇΓöÇ/B ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8831.                                    Γö£ΓöÇΓöÇ /X:x ΓöÇΓöÇΓöÇΓöñ
  8832.                                    ΓööΓöÇ /N:name ΓöÇΓöÿ
  8833.  
  8834. Related Commands: FDISK   Related Information: Hard Disk Information 
  8835.  
  8836. The SETBOOT utility program helps you to set up the Boot Manager.  It allows 
  8837. you to enter parameters at the command prompt that enable you to take full 
  8838. advantage of the Boot Manager.  Type the following command to use the SETBOOT 
  8839. parameters: 
  8840.  
  8841. SETBOOT /option:parameters
  8842.  
  8843.  
  8844. ΓòÉΓòÉΓòÉ <hidden> SETBOOT Examples ΓòÉΓòÉΓòÉ
  8845.  
  8846. To set the startup selection timer to 15 seconds, type the following: 
  8847.  
  8848. SETBOOT /T:15
  8849.  
  8850. To disable the startup selection timer, type the following: 
  8851.  
  8852. SETBOOT /T:NO
  8853.  
  8854. To set the normal mode for the Boot Manager menu, type the following: 
  8855.  
  8856. SETBOOT /M:n
  8857.  
  8858. To set the Boot Manager menu to advanced mode, type the following: 
  8859.  
  8860. SETBOOT /M:a
  8861.  
  8862. To query the current startup environment, type the following: 
  8863.  
  8864. SETBOOT /Q
  8865.  
  8866. To shutdown and then restart the system, type the following: 
  8867.  
  8868. SETBOOT /B
  8869.  
  8870. To set the startup index to put the Boot Manager in attended mode, type the 
  8871. following: 
  8872.  
  8873. SETBOOT /X:0
  8874.  
  8875. To set the startup index to put the Boot Manager in unattended mode, type the 
  8876. following: 
  8877.  
  8878. SETBOOT /X:3
  8879.  
  8880. To specify the logical drive with the alias MYSYSTEM as the default operating 
  8881. system to be started, type the following: 
  8882.  
  8883. SETBOOT /0:MYSYSTEM
  8884.  
  8885.  
  8886. ΓòÉΓòÉΓòÉ 4.115. SETLOCAL - Define Local Variables ΓòÉΓòÉΓòÉ
  8887.  
  8888. Lets you define the drive, directory, and environment variables that are local 
  8889. to the current batch file. 
  8890.  
  8891. SETLOCAL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8892.  
  8893. Related Commands:  ENDLOCAL 
  8894.  
  8895. This command saves the current drive, directory, and environment variables and 
  8896. lets you define local variables for the batch file. The previous drive, 
  8897. directory, and environment settings are restored when the ENDLOCAL command is 
  8898. encountered, or when the batch file ends. 
  8899.  
  8900. If a matching ENDLOCAL command is not found, the saved elements are restored 
  8901. when the processing of the batch file that issued the SETLOCAL command ends. In 
  8902. this way, any environment variable and the current drive and directory can be 
  8903. altered without affecting the command processor. Issuing multiple SETLOCAL 
  8904. commands without matching ENDLOCAL commands is not considered an error. 
  8905.  
  8906.  
  8907. ΓòÉΓòÉΓòÉ <hidden> SETLOCAL Examples ΓòÉΓòÉΓòÉ
  8908.  
  8909. To define the path of PATH A:\;A:\MICSPGM within a batch file and restore the 
  8910. previous drive, directory, and environment settings when the processing of the 
  8911. batch file ends, type the following: 
  8912.  
  8913.  .
  8914.  .
  8915.  .
  8916. SETLOCAL
  8917. A:
  8918. CD\XYZ
  8919. PATH A:\;A:\MICSPGM
  8920.  .
  8921.  .
  8922. ENDLOCAL
  8923.  
  8924.  
  8925. ΓòÉΓòÉΓòÉ 4.116. SHELL - Install a Command Processor ΓòÉΓòÉΓòÉ
  8926.  
  8927. Loads and starts the DOS command processor, COMMAND.COM, or allows you to 
  8928. replace the DOS command processor with another command processor. 
  8929.  
  8930. SHELL = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  8931.               ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  8932.  
  8933. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8934.             ΓööΓöÇ arguments ΓöÇΓöÿ
  8935.  
  8936. Type this command in the CONFIG.SYS file; do not enter this command at a DOS 
  8937. command prompt. 
  8938.  
  8939. Related Commands:  COMMAND, PROTSHELL, and RMSIZE 
  8940.  
  8941. If SHELL is omitted from the CONFIG.SYS file, the default DOS command processor 
  8942. is loaded and started with a /P parameter to retain COMMAND.COM in storage. In 
  8943. addition, SHELL does not affect either the OS/2 SET command, or the SHELL 
  8944. command in BASIC. 
  8945.  
  8946. Also, remember that if you are using a DOS command processor other than 
  8947. COMMAND.COM, internal commands and the batch processor are not available to you 
  8948. unless they are duplicated in your command processor. 
  8949.  
  8950.  
  8951. ΓòÉΓòÉΓòÉ <hidden> SHELL Examples ΓòÉΓòÉΓòÉ
  8952.  
  8953. To install COMMAND.COM as the command processor, type the following in the 
  8954. CONFIG.SYS file: 
  8955.  
  8956. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  8957.  
  8958. If you specify a SHELL statement that contains a file specification other than 
  8959. the default, set the COMSPEC environment variable to the same file 
  8960. specification when a DOS session is started.  For example, if you have a 
  8961. command processor named DOSPROC.COM in a DOSPGMS subdirectory, you can place 
  8962. the following SET command in your AUTOEXEC.BAT file: 
  8963.  
  8964. SET COMSPEC=C:\DOSPGMS\DOSPROC.COM
  8965.  
  8966.  
  8967. ΓòÉΓòÉΓòÉ 4.117. SHIFT - Use More Than 10 Replaceable Parameters ΓòÉΓòÉΓòÉ
  8968.  
  8969. Allows command lines to use more than 10 replaceable parameters in batch file 
  8970. processing. 
  8971.  
  8972. SHIFT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  8973.  
  8974. It is important to note that: 
  8975.  
  8976. o Command files are limited to handling 10 parameters, %0 through %9, unless 
  8977.   you use the SHIFT command. 
  8978.  
  8979. o All parameters on the command line are shifted one position to the left, the 
  8980.   %1 parameter replacing the %0 parameter, the %2 parameter replacing the %1 
  8981.   parameter, and so on.  Each following shift command causes all the parameters 
  8982.   to be shifted to the left by one position. 
  8983.  
  8984. o There is no backward shift.  Once SHIFT is run, the %0 parameter that existed 
  8985.   before the shift cannot be recovered. 
  8986.  
  8987. As an example, assume: 
  8988.  
  8989. %0 = 'A'
  8990. %1 = 'B'
  8991. %2 = 'C'
  8992. %3 - %9 are empty
  8993.  
  8994. A SHIFT results in the following: 
  8995.  
  8996. %0 = 'B'
  8997. %1 = 'C'
  8998. %2 - %9 are empty
  8999.  
  9000.  
  9001. ΓòÉΓòÉΓòÉ <hidden> SHIFT Examples ΓòÉΓòÉΓòÉ
  9002.  
  9003. To shift the parameters on the command line one position to the left, with the 
  9004. %0 parameter being replaced by the %1 parameter and so on, type the following 
  9005. in your batch file. 
  9006.  
  9007. ECHO %0
  9008. .
  9009. .
  9010. .
  9011. ECHO %8
  9012. SHIFT
  9013. ECHO %9
  9014. .
  9015. .
  9016. .
  9017.  
  9018. As an example, assume: 
  9019.  
  9020. %0 = 'round'
  9021. %1 = 'square'
  9022. %2 = 'flat'
  9023. %3 - %9 are empty
  9024.  
  9025. A SHIFT results in the following: 
  9026.  
  9027. %0 = 'square'
  9028. %1 = 'flat'
  9029. %2 - %9 are empty
  9030.  
  9031. In the following batch file named PROCESS.CMD, you could use a file such as 
  9032. this to call other processes and call on more than the 10 (%0 through %9) 
  9033. variables that only batch-file processing allows.  The file will process the 
  9034. first batch file specified, and the SHIFT command will then move to the next 
  9035. specified batch file.  This allows you to specify the files to be processed in 
  9036. any order that you want as well as vary the number of files to be processed. 
  9037.  
  9038. @ECHO OFF
  9039. :CHECK
  9040. IF "%1" == "" GOTO DONE
  9041.  
  9042. ECHO PROCESSING THE FILE %1
  9043. CALL %1
  9044. SHIFT
  9045. GOTO CHECK
  9046.  
  9047. :DONE
  9048. ECHO PROCESSING COMPLETED
  9049.  
  9050. To process three files named FILE1, FILE6, and FILE2 using the batch file in 
  9051. the previous example, enter the following at the command line: 
  9052.  
  9053. PROCESS FILE1 FILE6 FILE2
  9054.  
  9055. The SHIFT results in the following: 
  9056.  
  9057. PROCESSING THE FILE FILE1
  9058. (output of file1 if there is any...)
  9059. PROCESSING THE FILE FILE6
  9060. (output of file6 if there is any...)
  9061. PROCESSING THE FILE FILE2
  9062. (output of file2 if there is any...)
  9063. PROCESSING COMPLETED
  9064.  
  9065.  
  9066. ΓòÉΓòÉΓòÉ 4.118. SORT - Sort Information by Letter or Number ΓòÉΓòÉΓòÉ
  9067.  
  9068. Reads data from standard input, sorts the data, and writes it to standard 
  9069. output. 
  9070.  
  9071. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ SORT ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  9072.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ           ΓööΓöÇ /R ΓöÇΓöÿ    ΓööΓöÇ /+n ΓöÇΓöÿ
  9073.  
  9074. Related Commands:  CODEPAGE, COUNTRY 
  9075.  
  9076. It is important to remember that: 
  9077.  
  9078. o When you are sorting large files, you might have to wait a few minutes until 
  9079.   processing is completed.  The maximum size of a file you can sort is 
  9080.   approximately 63KB, or 64 512 bytes. 
  9081.  
  9082. o The standard input and output devices cannot be redirected to the same file 
  9083.   name. 
  9084.  
  9085. o Characters are sorted according to their ASCII values, with the following 
  9086.   exceptions: lowercase letters (a - z) are equated to uppercase letters (A - 
  9087.   Z), and characters above ASCII value 127 are sorted according to rules based 
  9088.   on the currently selected country code. 
  9089.  
  9090. Note that the word sort means to rearrange lines of text according to specific 
  9091. instructions.  Use SORT if you want to arrange a file in alphabetic or numeric 
  9092. sequence.  For example, you could use SORT to alphabetize applicant names or 
  9093. number a schedule according to dates. 
  9094.  
  9095. Return Codes:  SORT issues a return code of 0 for normal completion. 
  9096.  
  9097.  
  9098. ΓòÉΓòÉΓòÉ <hidden> SORT Examples ΓòÉΓòÉΓòÉ
  9099.  
  9100. To sort a file named BOOK1 in reverse order and write the output to a file 
  9101. named REV, enter the following: 
  9102.  
  9103. SORT /R <BOOK1 >REV
  9104.  
  9105. To sort a file named BOOK1 starting at column 1, and send the output to your 
  9106. screen, enter the following: 
  9107.  
  9108. SORT <BOOK1
  9109.  
  9110. To sort a file named CALENDAR.88, starting at column 7, type the following: 
  9111.  
  9112. SORT /+7 <CALENDAR.88
  9113.  
  9114. To direct the output of DIR to SORT, sort the listing starting with the 25th 
  9115. column, and send the output to your screen, enter the following: 
  9116.  
  9117. DIR | SORT /+25
  9118.  
  9119. To cause the output listing from DIR to be used by SORT as its input, redirect 
  9120. the output to your screen, and pause after each screen with the message 
  9121. --More--, enter the following: 
  9122.  
  9123. DIR | SORT | MORE
  9124.  
  9125.  
  9126. ΓòÉΓòÉΓòÉ 4.119. SPOOL - Print Redirection ΓòÉΓòÉΓòÉ
  9127.  
  9128. Redirects printer output from one device to another, for example, from one 
  9129. parallel printer to another, or from a parallel printer to a serial printer. 
  9130.  
  9131.                                        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  9132.                                                       Γöé
  9133. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ SPOOL ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γö¼ΓöÇΓöÇΓöÇΓöñ
  9134.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              Γöé Γö£ΓöÇ /D:device ΓöÇΓöñ Γöé
  9135.                                       Γöé ΓööΓöÇ /O:device ΓöÇΓöÿ Γöé
  9136.                                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /Q ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9137.  
  9138. Related Commands:  DEVICE, CODEPAGE, DEVINFO, and PRINT 
  9139.  
  9140. The Base Asynchronous Communications device driver supports COM1 through COM4. 
  9141. For the system to spool to a serial printer, it must load the COM.SYS device 
  9142. driver during system initialization. This requires a DEVICE statement in your 
  9143. CONFIG.SYS file. 
  9144.  
  9145.  
  9146. ΓòÉΓòÉΓòÉ 4.119.1. Change Serial Printer Settings ΓòÉΓòÉΓòÉ
  9147.  
  9148. When spooling to a serial printer, you may need to issue the MODE command so 
  9149. that the Asynchronous Device Driver works correctly with the serially attached 
  9150. printer. The communications setting used by the Asynchronous Device Driver must 
  9151. match the setting used by the serially attached printer.  Serial settings 
  9152. include such items as the baud rate, the parity, the start and stop bits, and 
  9153. the hardware or software handshaking.  You only need to issue the MODE command 
  9154. if the Presentation Manager* printer driver installed in the spooler does not 
  9155. use the Communication Ports settings. The MODE command can be issued before or 
  9156. after starting SPOOL. 
  9157.  
  9158. The recommended way is to change the communications settings using the Port 
  9159. settings window. If you change the communications settings using the MODE 
  9160. command and Port settings window, the settings in the window will override the 
  9161. settings set by the MODE command. 
  9162.  
  9163.  
  9164. ΓòÉΓòÉΓòÉ 4.119.2. Start the Spooler ΓòÉΓòÉΓòÉ
  9165.  
  9166. You can use one of the following two methods for starting the spooler: 
  9167.  
  9168. o Activate the spooler by selecting Print from the menu of the object that you 
  9169.   want to print to display the Spooler window. 
  9170.  
  9171. o Enter the SPOOL command with no parameters at the OS/2 command prompt. 
  9172.  
  9173.  
  9174. ΓòÉΓòÉΓòÉ 4.119.3. Redirect Printing to a Serial Device ΓòÉΓòÉΓòÉ
  9175.  
  9176. For non-Presentation Manager* (PM) applications and PM applications that use 
  9177. non-PM printing, the spooler supports spooling of data only to parallel devices 
  9178. (PRN, LPT1, LPT2, and LPT3) as input devices. 
  9179.  
  9180. Output devices, on the other hand, can be parallel devices and serial devices 
  9181. COM1, COM2, COM3, and COM4. 
  9182.  
  9183. Note  Be sure you have the appropriate DEVICE= statement in the CONFIG.SYS file 
  9184. if you plan to use a serial device. 
  9185.  
  9186. Proprinter setup information 
  9187.  
  9188. Name                PRINTER1 
  9189. Description         Parallel printer 
  9190. Device              LPT1 
  9191. Driver              IBM4201 
  9192. Queue               LPT1Q 
  9193.  
  9194. Quickwriter setup information 
  9195.  
  9196. Name                COM1PRTR 
  9197. Description         Serial printer 
  9198. Device              COM1 
  9199. Driver              IBM5202 
  9200. Queue               COM1Q 
  9201.  
  9202. Printer redirection setup information 
  9203.  
  9204. Name                REDIRECT 
  9205. Description         Redirection of output 
  9206. Device              LPT2 
  9207. Driver              (None specified) 
  9208. Queue               (None specified) 
  9209.  
  9210. Using the SPOOL command, you can redirect parallel printer output to a serial 
  9211. device by specifying a parallel printer as the input device (/D) and a serial 
  9212. printer as the output device (/O). 
  9213.  
  9214. To redirect input from a parallel port to the printer attached to a serial port 
  9215. (for example, COM1), enter the following: 
  9216.  
  9217. SPOOL /D:LPT2 /O:COM1
  9218.  
  9219. To print a file named LETTER on the serial printer you just set up, enter the 
  9220. following: 
  9221.  
  9222. PRINT LETTER /D:LPT2
  9223.  
  9224. To cancel the redirection specified in the previous SPOOL statement, enter the 
  9225. following: 
  9226.  
  9227. SPOOL /D:LPT2 /O:LPT2
  9228.  
  9229.  
  9230. ΓòÉΓòÉΓòÉ 4.119.4. Specify Output Printer ΓòÉΓòÉΓòÉ
  9231.  
  9232. If you have set up the spooler for print spooling, it is possible your print 
  9233. job could print on another physical device.  The reason for this is that the 
  9234. queue processor sends the highest priority print job to the next available 
  9235. printer (not currently printing).  For example, if you specify the input device 
  9236. /D:LPT1 and specify the output device /O:LPT2, the output will go into a queue 
  9237. for the LPT2 device, but because of the multiple output devices, the data might 
  9238. print on an LPT3 device.  If you associate one queue with LPT2, you are 
  9239. guaranteed to have all output print on the port you specified. 
  9240.  
  9241.  
  9242. ΓòÉΓòÉΓòÉ 4.119.5. Print Information Using Character Sets 1 and 2 ΓòÉΓòÉΓòÉ
  9243.  
  9244. Note that if there is a DEVINFO statement for your printer and the print 
  9245. spooler is active for the printer, all non-PM or base printing output on that 
  9246. printer defaults to the printer's character set. Using Character Set 2 is 
  9247. necessary to support printing in either of the two OS/2 code pages specified 
  9248. with the CODEPAGE statement in CONFIG.SYS. Character Set 1 can still be 
  9249. accessed using escape sequences.  Refer to the instructions that came with your 
  9250. printer. 
  9251.  
  9252. The print spooler also supports any other character device whose device driver 
  9253. contains monitor support that is compatible with the printer device driver. 
  9254. This means that any printer device driver that removes the base printer device 
  9255. driver from operation and has the same monitor support as the base printer 
  9256. device driver can also support the Presentation Manager spooler. 
  9257.  
  9258.  
  9259. ΓòÉΓòÉΓòÉ 4.119.6. DOS Application Printing Information ΓòÉΓòÉΓòÉ
  9260.  
  9261. The print spooler spools output from a program into a file until it is 
  9262. instructed to close the file and print its contents. Many DOS programs do not 
  9263. contain the instructions required by the print spooler, so output is not 
  9264. printed until the application program ends. 
  9265.  
  9266. If you wish to force printer output for a DOS program, you can do so while you 
  9267. are still interacting with the program by pressing the Ctrl, Alt, and PrtSc 
  9268. keys together.  This causes the temporary spool file to be closed and prepared 
  9269. to print.  Make sure that you wait until the entire file has been sent to the 
  9270. queue by your application program.  Pressing the Ctrl, Alt, and PrtSc keys too 
  9271. soon can cause the print file to split into two separate print files. 
  9272.  
  9273. Another method to force printer output for a DOS application is to set the DOS 
  9274. Settings printer option with the following procedure: 
  9275.  
  9276.  1. Select Settings from the menu of a DOS session. 
  9277.  2. Select the Session tab. 
  9278.  3. Select the DOS settings pushbutton. 
  9279.  4. Select timeout for printing in the DOS Settings window. 
  9280.  5. Specify the number of seconds to wait after the DOS application completes 
  9281.     printing before the spooler closes the file and begins printing. 
  9282.  
  9283. Setting the number of seconds too small can cause the print file to be split 
  9284. into two separate print files.  This behavior can vary depending on the DOS 
  9285. application that is running.  Many applications print correctly with a small 
  9286. delay.  The printer timeout is set only for applications running in the window 
  9287. in which the option was set. 
  9288.  
  9289.  
  9290. ΓòÉΓòÉΓòÉ 4.119.7. Switch Code Pages for DOS sessions ΓòÉΓòÉΓòÉ
  9291.  
  9292. If you plan to use code-page switching for DOS sessions, you must start the 
  9293. print spooler before selecting a DOS command prompt from the Command Prompts 
  9294. folder. 
  9295.  
  9296.  
  9297. ΓòÉΓòÉΓòÉ 4.119.8. Switch Code Pages for IBM Quietwriter III ΓòÉΓòÉΓòÉ
  9298.  
  9299. If you are using code-page switching on the IBM Quietwriter III printer, you 
  9300. must make sure that the correct cartridge is in its slot.  When the correct 
  9301. cartridge is not in the slot, the printer "beeps," and the font light comes on. 
  9302. You must: 
  9303.  
  9304.  1. Insert the correct cartridge. 
  9305.  2. Press the Start button after the font light goes off. 
  9306.  
  9307.  
  9308. ΓòÉΓòÉΓòÉ <hidden> SPOOL Examples ΓòÉΓòÉΓòÉ
  9309.  
  9310. To start the spooler from the OS/2 command line, enter the following: 
  9311.  
  9312. SPOOL
  9313.  
  9314. To redirect input from a parallel port to the printer attached to a serial port 
  9315. (for example, COM1), enter the following: 
  9316.  
  9317. SPOOL /D:LPT2 /O:COM1
  9318.  
  9319. To print a file named LETTER on the serial printer you just set up, enter the 
  9320. following: 
  9321.  
  9322. PRINT LETTER /D:LPT2
  9323.  
  9324. To cancel the redirection specified in the previous SPOOL statement, enter the 
  9325. following: 
  9326.  
  9327. SPOOL /D:LPT2 /O:LPT2
  9328.  
  9329. To query existing device redirection, enter the following: 
  9330.  
  9331. SPOOL /Q
  9332.  
  9333.  
  9334. ΓòÉΓòÉΓòÉ 4.120. START - Start Programs Automatically ΓòÉΓòÉΓòÉ
  9335.  
  9336. Starts an OS/2 program in another session. 
  9337.  
  9338. The primary use for START is to automatically start programs at system startup. 
  9339. The special batch file, STARTUP.CMD, allows you to do this. 
  9340.  
  9341. To imbed redirectional signals into the command session, enclose the command 
  9342. and command inputs in quotation marks. 
  9343.  
  9344. START ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9345.         Γöé "program  Γöé      Γö£ΓöÇΓöÇ /K ΓöÇΓöÇΓöñ      Γö£ΓöÇΓöÇ /F ΓöÇΓöÇΓöñ
  9346.         ΓööΓöÇ title"  ΓöÇΓöÿ      Γö£ΓöÇΓöÇ /C ΓöÇΓöÇΓöñ      ΓööΓöÇΓöÇ /B ΓöÇΓöÇΓöÿ
  9347.                            ΓööΓöÇΓöÇ /N ΓöÇΓöÇΓöÿ
  9348.  
  9349. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9350.          ΓööΓöÇ /PGM ΓöÇΓöÿ        Γö£ΓöÇ /FS  ΓöÇΓöñ      Γö£ΓöÇ /MAX ΓöÇΓöñ
  9351.                            Γö£ΓöÇ /WIN ΓöÇΓöñ      ΓööΓöÇ /MIN ΓöÇΓöÿ
  9352.                            Γö£ΓöÇ /PM  ΓöÇΓöñ
  9353.                            ΓööΓöÇ /DOS ΓöÇΓöÿ
  9354.  
  9355. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ command ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9356.           ΓööΓöÇ /I ΓöÇΓöÿ                     Γöé   command   Γöé
  9357.                                        ΓööΓöÇΓöÇ inputs  ΓöÇΓöÇΓöÿ
  9358.  
  9359. Related Commands:  RUN 
  9360.  
  9361. Enter this command without a parameter to start an OS/2 command processor. 
  9362.  
  9363. If you use the /WIN, /FS, or /PM parameter, your program runs in the foreground 
  9364. session.  If you do not use one of these parameters, you can use the /F 
  9365. parameter to make the program run in the foreground session. 
  9366.  
  9367. Make sure that you specify the correct drive and path when you use the START 
  9368. command to run a batch file with the STARTUP.CMD file.  Also, if you plan to 
  9369. redirect I/O using the START command, enclose the command and command inputs 
  9370. within quotation marks. 
  9371.  
  9372. You can use START to run full-screen applications or applications running in a 
  9373. window such as Presentation Manager* programs. 
  9374.  
  9375. START determines the type of application and will run it in the appropriate 
  9376. window or full-screen session.  However, you have the option to override the 
  9377. determined default by using the /FS, /WIN, /PM, or /I parameter. 
  9378.  
  9379. You cannot start a batch file (.CMD) with the /PM parameter. 
  9380.  
  9381.  
  9382. ΓòÉΓòÉΓòÉ <hidden> START Examples ΓòÉΓòÉΓòÉ
  9383.  
  9384. To start XCOPY directly without invoking the CMD.EXE command processor, copy 
  9385. the complete contents of the root directory on drive C to drive A, and display 
  9386. XCOPY C-A as the program title, type the following: 
  9387.  
  9388. START "XCOPY C-A" /N XCOPY C:\ A:
  9389.  
  9390. To run the XCOPY command in the foreground session, enter the following: 
  9391.  
  9392. START "XCOPY C-A" /F XCOPY C:\ A:\
  9393.  
  9394. To start MY EDITOR without specifying a title, enter the following: 
  9395.  
  9396. START /PGM "MY EDITOR"
  9397.  
  9398. To start MY EDITOR and give it a title, enter the following: 
  9399.  
  9400. START "MY FAVORITE EDITOR" /PGM "MY EDITOR"
  9401.  
  9402. The name MY FAVORITE EDITOR would appear on the Window List, rather than the 
  9403. name of the program, MY EDITOR. 
  9404.  
  9405. If the /PGM parameter is not used, START interprets the first quoted string as 
  9406. the name of a user-supplied title, and the second quoted string as the command 
  9407. to be passed to another session which is running CMD.EXE. 
  9408.  
  9409. To start the XCOPY command in a full-screen session and copy the files from 
  9410. drive A to drive B, enter the following: 
  9411.  
  9412. START "XCOPY A-B" /FS XCOPY A:\ B:
  9413.  
  9414. To start a batch file named CRAYON.CMD in an OS/2 window session, enter the 
  9415. following: 
  9416.  
  9417. START /WIN CRAYON.CMD
  9418.  
  9419. To start a batch file named MYFILE.BAT in a DOS window session, enter the 
  9420. following: 
  9421.  
  9422. START /WIN MYFILE.BAT
  9423.  
  9424. To start the CRAYON.EXE program to run as a Presentation Manager* program, 
  9425. enter the following: 
  9426.  
  9427. START "CRAYON GAME" /PM CRAYON.EXE
  9428.  
  9429. To start the XCOPY command in a background session, enter the following: 
  9430.  
  9431. START "XCOPY C-A" /B XCOPY C:\ A:\
  9432.  
  9433. To start the ACCT.EXE program to run as a full-screen program and cause the new 
  9434. session to inherit the environment defined by the SET statements in the 
  9435. CONFIG.SYS file, enter the following: 
  9436.  
  9437. START "ACCOUNT" /FS /I ACCT.EXE
  9438.  From a DOS Command Prompt: 
  9439.  
  9440. To start a COMMAND.COM session, enter the following: 
  9441.  
  9442. START /DOS
  9443.  
  9444. To start a COMMAND.COM session in a window, enter the following: 
  9445.  
  9446. START /WIN /DOS
  9447.  
  9448. To start a full-screen COMMAND.COM session, enter the following: 
  9449.  
  9450. START /FS /DOS
  9451.  From an OS/2 Command Prompt: 
  9452.  
  9453. To start a Presentation Manager or any window application in a maximized state, 
  9454. enter the following: 
  9455.  
  9456. START /MAX
  9457.  
  9458. To start a Presentation Manager or any window application in a minimized (icon) 
  9459. state, enter the following: 
  9460.  
  9461. START /MIN
  9462.  
  9463. To start XCOPY in a new OS/2 session, copy the complete contents of the root 
  9464. directory on drive C to the root directory on drive A, and display XCOPY C-A as 
  9465. the program title, enter the following: 
  9466.  
  9467. START "XCOPY C-A" XCOPY C:\ A:\
  9468.  
  9469.  
  9470. ΓòÉΓòÉΓòÉ 4.121. SUBST - Substitute Drives ΓòÉΓòÉΓòÉ
  9471.  
  9472. Substitutes a drive letter for another drive and path so that you can access 
  9473. that drive and path using only the drive letter.  When OS/2 2.0 finds a drive 
  9474. that was created with the SUBST command, it replaces the reference with the new 
  9475. path. 
  9476.  
  9477. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ SUBST ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  9478.   ΓööΓöÇ drive ΓöÇΓöÿ       ΓööΓöÇ path ΓöÇΓöÿ
  9479.  
  9480. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9481.       ΓööΓöÇΓöÇ drive ΓöÇΓöÇΓö¼ΓöÇΓöÇ drive\path ΓöÇΓöÇΓöñ
  9482.                   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /D ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9483.  
  9484. Related Commands:  ASSIGN and JOIN 
  9485.  
  9486. Enter this command without a parameter to display the names of the 
  9487. substitutions currently in effect on your system. 
  9488.  
  9489. The following commands do not work in DOS sessions on drives that have a SUBST 
  9490. command in effect:  BACKUP, CHKDSK, DISKCOMP, DISKCOPY, FORMAT, LABEL, RECOVER, 
  9491. and RESTORE. 
  9492.  
  9493.  
  9494. ΓòÉΓòÉΓòÉ <hidden> SUBST Examples ΓòÉΓòÉΓòÉ
  9495.  
  9496. To substitute the drive letter G for the path C:\OS2\OS2.DTP, enter the 
  9497. following: 
  9498.  
  9499. SUBST G: C:\OS2\OS2.DTP
  9500.  
  9501. You can now enter DIR G: instead of entering DIR C:\OS2\OS2.DTP. 
  9502.  
  9503. To delete substitutions currently in effect on drive G, enter the following: 
  9504.  
  9505. SUBST G: /D
  9506.  
  9507.  
  9508. ΓòÉΓòÉΓòÉ 4.122. SWAPPATH - Specify Swap File ΓòÉΓòÉΓòÉ
  9509.  
  9510. Specifies the size and location of the swap file. 
  9511.  
  9512. SWAPPATH = drive ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9513.                       ΓööΓöÇ path ΓöÇΓöÿ  ΓööΓöÇ minfree ΓöÇΓöÿ  ΓööΓöÇ initial ΓöÇΓöÿ
  9514.  
  9515. Related Commands:  MEMMAN 
  9516.  
  9517. The swap file (SWAPPER.DAT) is used to temporarily store data segments that the 
  9518. system has removed from physical memory to satisfy a request for memory.  If 
  9519. moving and swapping are enabled, use this command to specify the location and 
  9520. size of the swap file. 
  9521.  
  9522. You can isolate the swap file in either a subdirectory or a separate partition 
  9523. on a hard disk.  A separate partition is recommended, because the swap file can 
  9524. become quite large. 
  9525.  
  9526. The default location is: 
  9527.  
  9528. SWAPPATH=C:\OS2\SYSTEM
  9529.  
  9530. The minfree parameter specifies the minimum free space that can remain on the 
  9531. disk before you receive a warning that the swap file has increased to a size 
  9532. that leaves less than this amount of free space on the disk.  The initial 
  9533. parameter specifies the size of the swap file initially allocated by the 
  9534. operating system at time of installation.  This value is variable and depends 
  9535. on the amount of physical memory in the system. 
  9536.  
  9537. Note:   The minfree value does NOT define the amount of free space on the disk 
  9538.         at any given time because applications could cause less free space to 
  9539.         be available on the disk than what is specified by the minfree value. 
  9540.  
  9541.  
  9542. ΓòÉΓòÉΓòÉ <hidden> SWAPPATH Examples ΓòÉΓòÉΓòÉ
  9543.  
  9544. For swapping to be active, MEMMAN must be in your CONFIG.SYS as follows: 
  9545.  
  9546. MEMMAN=SWAP
  9547.  
  9548. To store the swap file in the C:\OS2\SYSTEM directory, type the following in 
  9549. the CONFIG.SYS file: 
  9550.  
  9551. SWAPPATH=C:\OS2\SYSTEM
  9552.  
  9553. The default SWAPPATH statement for a system with 8MB of physical memory is: 
  9554.  
  9555. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  9556.  
  9557. The default SWAPPATH statement for a system with 12MB of physical memory is: 
  9558.  
  9559. SWAPPATH=C:\OS2\SYSTEM 2048 2048
  9560.  
  9561. To specify 8MB as the initial size of a swap file on a partition with 10MB of 
  9562. free space and a minfree value of 2MB, type the following in the CONFIG.SYS 
  9563. file: 
  9564.  
  9565. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  9566.  
  9567.  
  9568. ΓòÉΓòÉΓòÉ 4.123. SYSLEVEL  - Displaying Operating System Service Level ΓòÉΓòÉΓòÉ
  9569.  
  9570. Displays operating-system service level 
  9571.  
  9572. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ SYSLEVEL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9573.     ΓööΓöÇ drive ΓöÇΓöÿ    ΓööΓöÇ path ΓöÇΓöÿ
  9574.  
  9575. This utility program displays the corrective service level of the system. 
  9576.  
  9577. The following message will appear while SYSLEVEL checks the current corrective 
  9578. service level of your system 
  9579.  
  9580. Please wait...
  9581.  
  9582. Once the corrective service level has been determined the following will be 
  9583. displayed on your monitor. 
  9584.  
  9585. C:\OS2\INSTALL\SYSLEVEL.OS2
  9586. IBM OS/2 Base Operating System
  9587. Standard Edition 2.00     Component ID 560109001
  9588. Current CSD level: XR00000
  9589. Prior   CSD level: XR00000
  9590.  
  9591. An example of the information displayed and an explanation of the displayed 
  9592. items follows: 
  9593.  
  9594. o C:\OS2\INSTALL\SYSLEVEL.OS2 
  9595.  
  9596.    - The subdirectory and file containing the information. 
  9597.  
  9598. o IBM OS/2 Base Operating System 
  9599.  
  9600.    - The system name. 
  9601.  
  9602. o Standard Edition 2.00, Component ID: 
  9603.  
  9604.    - The edition and the version, release, modification number, followed by the 
  9605.      Component ID of the system. 
  9606.  
  9607. o Current CSD Level: nnnnnnn 
  9608.  
  9609.    - The current corrective service level. 
  9610.  
  9611. o Prior CSD Level: nnnnnnn 
  9612.  
  9613.    - The prior corrective service level. 
  9614.  
  9615.  
  9616. ΓòÉΓòÉΓòÉ <hidden> SYSLEVEL Examples ΓòÉΓòÉΓòÉ
  9617.  
  9618. To run the SYSLEVEL utility program enter the following: 
  9619.  
  9620. SYSLEVEL
  9621.  
  9622.  
  9623. ΓòÉΓòÉΓòÉ 4.124. SYSLOG - System Log File Formatter ΓòÉΓòÉΓòÉ
  9624.  
  9625. Allows you to view or print the formatted contents of the system error-log 
  9626. file. 
  9627.  
  9628. SYSLOG ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9629.             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9630.             Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9631.             ΓööΓö¼ΓöÇ /P:pathname ΓöÇΓö¼Γöÿ
  9632.              ΓööΓöÇΓöÇΓöÇΓöÇΓöÇ /W:x ΓöÇΓöÇΓöÇΓöÇΓöÿ
  9633.  
  9634. Related Commands: DEVICE (LOG.SYS), RUN (LOGGING) 
  9635.  
  9636. You can enter this command with parameters to do the following: 
  9637.  
  9638. o Suspend system error logging 
  9639. o Resume system error logging 
  9640. o Redirect error logging data from one file to another. 
  9641. o Specify the size of an error-log file. 
  9642.  
  9643. If you enter the SYSLOG command with no parameters, the SYSLOG utility program 
  9644. is started. 
  9645.  
  9646. SYSLOG is a Presentation Manager* application that runs in a window.  You can 
  9647. use SYSLOG to suspend or resume error logging, format the contents of error-log 
  9648. files, print the contents of those log files, or redirect error logging to a 
  9649. different file. 
  9650.  
  9651.  
  9652. ΓòÉΓòÉΓòÉ <hidden> SYSLOG Examples ΓòÉΓòÉΓòÉ
  9653.  
  9654. To display the SYSLOG utility program, enter the following: 
  9655.  
  9656. SYSLOG
  9657.  
  9658. To suspend error logging, type the following: 
  9659.  
  9660. SYSLOG /S
  9661.  
  9662. To resume error logging, type the following: 
  9663.  
  9664. SYSLOG /R
  9665.  
  9666. To redirect the current error-log file to the file LOG0001.DAT in the path 
  9667. C:\OS2\SYSTEM, type the following: 
  9668.  
  9669. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT
  9670.  
  9671. To set the size of a new error-log file named LOG0001.DAT, with the path 
  9672. C:\OS2\SYSTEM, to 32KB, type the following: 
  9673.  
  9674. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  9675.  
  9676.  
  9677. ΓòÉΓòÉΓòÉ 4.125. THREADS - Set Number of Independent Actions ΓòÉΓòÉΓòÉ
  9678.  
  9679. Sets the maximum number of independent actions, known as threads, for OS/2 
  9680. sessions. 
  9681.  
  9682. THREADS = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9683.  
  9684. Related Commands: MAXWAIT, PRIORITY, TIMESLICE 
  9685.  
  9686. Applications consist of a series of instructions.  The processor reads each 
  9687. instruction and performs the associated activity.  The sequential execution of 
  9688. the instructions by the processor is called the thread of execution.  More than 
  9689. one thread of execution can exist within a single process.  Typically, OS/2 
  9690. applications contain many threads. 
  9691.  
  9692. Several threads can be ready to execute at the same time, but only one thread 
  9693. at a time can have access to the processor.  Access to the processor is managed 
  9694. by the system scheduler, which assigns each thread a priority.  The thread that 
  9695. has the highest priority, and that is ready to run, is allocated to the 
  9696. processor.  For example, if a thread is being processed, and another thread 
  9697. with a higher priority becomes ready to run, the system stops processing the 
  9698. thread with the lower priority and allocates the processor to the thread with 
  9699. the higher priority.  That thread will be processed until the time allocated to 
  9700. it (time slice) expires, or until a thread of higher priority is ready to run. 
  9701.  
  9702. The system supports a maximum of 4095 threads, which it allocates to itself and 
  9703. the applications running on it.  Reducing the number of threads while running 
  9704. complex applications or system extensions, can force activities that COULD be 
  9705. performed concurrently, to be performed serially, thus slowing performance.  If 
  9706. no THREADS statement is in the CONFIG.SYS file, the default number of threads 
  9707. is 64. 
  9708.  
  9709.  
  9710. ΓòÉΓòÉΓòÉ <hidden> THREADS Examples ΓòÉΓòÉΓòÉ
  9711.  
  9712. To have the system handle up to 512 active threads, type the following in the 
  9713. CONFIG.SYS file: 
  9714.  
  9715. THREADS=512
  9716.  
  9717. If no THREADS statement is in the CONFIG.SYS file, the system defaults to a 
  9718. value of 64. 
  9719.  
  9720.  
  9721. ΓòÉΓòÉΓòÉ 4.126. TIME - Set System Time ΓòÉΓòÉΓòÉ
  9722.  
  9723. Displays or changes the time known to the system and resets the time on your 
  9724. computer's clock. This time is recorded in the directory when you create or 
  9725. change a file. 
  9726.  
  9727. TIME ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9728.        ΓööΓöÇ hh ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9729.               ΓööΓöÇ :mm ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9730.                       ΓööΓöÇ :ss ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9731.  
  9732. Related Commands:  COUNTRY, DATE, and PROMPT 
  9733.  
  9734. Enter this command without a parameter to display the system time and be 
  9735. prompted about changing it. 
  9736.  
  9737. Specify time in hours and minutes, using a 24-hour clock (military time), 
  9738. separated by a colon or period.  You can also add the seconds and hundredths of 
  9739. a second separated by a period or a comma, depending on the decimal separator 
  9740. shown on your screen. 
  9741.  
  9742. Note:   If you do not enter a valid time, the system displays an error message. 
  9743.         Also, as with the DATE command format, you can change the TIME 
  9744.         separators by editing the COUNTRY statement in your CONFIG.SYS file. 
  9745.  
  9746.  
  9747. ΓòÉΓòÉΓòÉ <hidden> TIME Examples ΓòÉΓòÉΓòÉ
  9748.  
  9749. To query the system clock and allow you to update the clock prompted by the 
  9750. system, enter the following: 
  9751.  
  9752. TIME
  9753.  
  9754. To enter or change the time in the system to 6:45 a.m. without being prompted 
  9755. by the system, enter the following: 
  9756.  
  9757. TIME 6:45
  9758.  
  9759. Time Parameters 
  9760.  
  9761. hh    Specifies the hours.  The new hours must be entered using 0 to 23 only. 
  9762.  
  9763. mm    Specifies the minutes. The new minutes must be entered using 0 to 59 
  9764.       only. 
  9765.  
  9766. ss    Specifies the seconds. The new seconds must be entered using 0 to 59 
  9767.       only. 
  9768.  
  9769. cc    Specifies the hundredths of seconds. The new hundredths of seconds must 
  9770.       be entered using 0 to 99 only. 
  9771.  
  9772.  
  9773. ΓòÉΓòÉΓòÉ 4.127. TIMESLICE - Allocate Process Wait Time ΓòÉΓòÉΓòÉ
  9774.  
  9775. Sets the minimum and maximum amount of processor time allocated to processes 
  9776. and programs for both OS/2 and DOS sessions. 
  9777.  
  9778. TIMESLICE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9779.                                  ΓööΓöÇ ,y ΓöÇΓöÿ
  9780.  
  9781. Type this command in the CONFIG.SYS file; do not enter the command at the OS/2 
  9782. command prompt. 
  9783.  
  9784. Related Commands:  MAXWAIT, THREADS, PRIORITY 
  9785.  
  9786. Unless a dispatching priority is explicitly defined by an application, the 
  9787. system assigns one to each thread of execution. The system uses preemptive time 
  9788. slicing to ensure that threads of equal priority are given equal chances to be 
  9789. processed. 
  9790.  
  9791. The first value (x) in the statement is the minimum amount of time a thread can 
  9792. be processed before yielding the processor to a thread of the same priority 
  9793. level; the second value (y) is the maximum amount of time a thread can be 
  9794. processed before yielding processor time. 
  9795.  
  9796. The default is dynamic time slicing based on system load and paging activity. 
  9797. Dynamic time slicing gives the best performance in all situations. 
  9798.  
  9799.  
  9800. ΓòÉΓòÉΓòÉ <hidden> TIMESLICE Examples ΓòÉΓòÉΓòÉ
  9801.  
  9802. To set the minimum TIMESLICE value to 60 and allow the maximum value to 
  9803. default, type the following in the CONFIG.SYS file: 
  9804.  
  9805. TIMESLICE=60,
  9806.  
  9807. To set the maximum TIMESLICE value to 145 and allow the minimum value to 
  9808. default, type the following in the CONFIG.SYS file: 
  9809.  
  9810. TIMESLICE=,145
  9811.  
  9812. To change the minimum and maximum time slice allowed to 45 milliseconds, type 
  9813. the following in the CONFIG.SYS file: 
  9814.  
  9815. TIMESLICE=45
  9816.  
  9817. This value must be an integer greater than or equal to the default value of 32. 
  9818.  
  9819. To change the maximum time slice allowed to 125 milliseconds to support a 
  9820. communication program, and the minimum time slice to 40 milliseconds, type the 
  9821. following in the CONFIG.SYS file: 
  9822.  
  9823. TIMESLICE=40,125
  9824.  
  9825. Note:   This value must be an integer greater than or equal to the minimum 
  9826.         default value of 32, and less than the maximum default value of 65536. 
  9827.  
  9828. If you do not have a TIMESLICE statement in your CONFIG.SYS file, the minimum 
  9829. and maximum default values are set. 
  9830.  
  9831.  
  9832. ΓòÉΓòÉΓòÉ 4.128. TRACE - Select or Set System Trace ΓòÉΓòÉΓòÉ
  9833.  
  9834.  Selects or sets the tracing of system events. 
  9835.  
  9836. This command is intended to be used with the assistance of your technical 
  9837. coordinator. 
  9838.  
  9839. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ TRACE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ OFF ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  9840.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ                    ΓööΓöÇ ON  ΓöÇΓöÿ
  9841.  
  9842. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9843.    Γö£Γö¼ΓöÇΓöÇ major_code_spec ΓöÇΓöÇΓö¼Γöñ    Γöé  Γö£ΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöñ   Γöé
  9844.    ΓöéΓööΓöÇ (minor_code_spec) ΓöÇΓöÿΓöé    Γöé  ΓööΓöÇΓöÇΓöÇ /R ΓöÇΓöÇΓöÇΓöÿ   Γöé
  9845.    Γö£Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ tdf_spec ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ    ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /C ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9846.    ΓöéΓö£ΓöÇ (minor_code_spec) ΓöÇΓöñΓöé
  9847.    ΓöéΓööΓöÇ (event_type_spec) ΓöÇΓöÿΓöé
  9848.    Γö£Γö¼ΓöÇΓöÇΓöÇ tdf_keyword ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  9849.    ΓöéΓö£ΓöÇ (minor_code_spec) ΓöÇΓöñΓöé
  9850.    ΓöéΓööΓöÇ (event_type_spec) ΓöÇΓöÿΓöé
  9851.    ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P: ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÿ
  9852.       ΓööΓöÇΓöÇΓöÇ pid_spec ΓöÇΓöÇΓöÇΓöÿ
  9853.  
  9854. To allow system trace in your CONFIG.SYS file: 
  9855.  
  9856. TRACE = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ OFF ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  9857.                  ΓööΓöÇ ON  ΓöÇΓöÿ            ΓööΓöÇ x ΓöÇΓöÿ     Γöé
  9858.                                  Γöé                 Γöé
  9859.                                  ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ , ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  9860.  
  9861. Related Commands:  PSTAT, TRACEBUF, and TRACEFMT 
  9862.  
  9863. Related Information:  Trace Point Overview and Trace Definition Files (TDF) 
  9864.  
  9865. The OS/2* operating system processes TRACE statements in the order in which 
  9866. they appear in the CONFIG.SYS file; the effects of the statements are 
  9867. cumulative.  If any part of a statement is incorrect, the OS/2 operating system 
  9868. ignores the statement. 
  9869.  
  9870. If you do not specify TRACE in the CONFIG.SYS file, events are not traced. 
  9871. However, if you have a TRACEBUF statement in CONFIG.SYS, this allocates a trace 
  9872. buffer.  Then, you can trace events by entering the TRACE command at the OS/2 
  9873. command prompt. 
  9874.  
  9875. If TRACE=OFF or TRACE=ON appears in the CONFIG.SYS file without a TRACEBUF 
  9876. statement, the system allocates a 4KB trace buffer. 
  9877.  
  9878. If you do not specify TRACE or TRACEBUF statements in the CONFIG.SYS file, OS/2 
  9879. 2.0 does not allocate a trace buffer and system tracing is not available. 
  9880.  
  9881. The System Trace facility is used to record a sequence of system events, 
  9882. function calls, or data.  The record is usually produced for debugging 
  9883. purposes.  After the trace data is recorded, the System Trace Formatter is used 
  9884. to retrieve it from the system trace buffer and format the data to your 
  9885. display, printer, or file. 
  9886.  
  9887. On request, the OS/2 operating system tracing facility records certain 
  9888. important events in the system and system extensions in a circular buffer. 
  9889.  
  9890. If a system problem can be duplicated without a system failure, the TRACE OFF 
  9891. function allows tracing to be stopped after the problem has been re-created. 
  9892. This allows the state of the trace buffer to be preserved from the time the 
  9893. TRACE OFF command is processed. 
  9894.  
  9895. The tracing mechanism is performance critical; therefore, no statistical 
  9896. processing of recorded data is performed by the tracing routines. 
  9897.  
  9898. Records in the buffer are identified by major and minor codes (you can only 
  9899. specify TRACE by major code in the CONFIG.SYS file).  Some of the data that may 
  9900. be recorded in the circular buffer will include system events such as 
  9901. interrupts and task switches. 
  9902.  
  9903. If you need to use the System Trace facility, your technical coordinator will 
  9904. provide the buffer size.  When the trace is complete, you can use the trace 
  9905. formatter (TRACEFMT) to organize the data into a report.  This helps you 
  9906. isolate causes of problems in the OS/2 system by formatting the information 
  9907. placed in the trace buffer by the Trace facility. 
  9908.  
  9909. An OS/2 enhancement to the Trace utility program allows you to trace a given 
  9910. process or set of processes, so that you can focus on the events of the 
  9911. specified process without intermixing events from other processes in the 
  9912. system.  This reduces the possibility of trace-buffer overflow by minimizing 
  9913. the number of events which are recorded.  Analyzing the formatted trace data is 
  9914. quicker and easier because only events of the specified process are recorded 
  9915. and displayed. 
  9916.  
  9917.  
  9918. ΓòÉΓòÉΓòÉ <hidden> TRACE Examples ΓòÉΓòÉΓòÉ
  9919.  
  9920. To allow system trace, type the following in your CONFIG.SYS file: 
  9921.  
  9922. TRACE=ON
  9923.  
  9924. To prevent system trace, type the following in your CONFIG.SYS file: 
  9925.  
  9926. TRACE=OFF
  9927.  
  9928. or 
  9929.  
  9930. REM TRACE=ON
  9931.  
  9932. If there is no TRACE statement in your CONFIG.SYS file, the default is active 
  9933. and system trace is not allowed (TRACE=OFF). 
  9934.  
  9935. To indicate that a major event code (15) is to be traced, type the following in 
  9936. your CONFIG.SYS file: 
  9937.  
  9938. TRACE=ON 15
  9939.  
  9940.  
  9941. ΓòÉΓòÉΓòÉ <hidden> TRACE Examples ΓòÉΓòÉΓòÉ
  9942.  
  9943. To allow system trace, type the following in your CONFIG.SYS file: 
  9944.  
  9945. TRACE=ON
  9946.  
  9947. The default is system trace is not allowed (TRACE=OFF). 
  9948.  
  9949. To turn all static trace points on, enter the following: 
  9950.  
  9951. TRACE ON
  9952.  
  9953. To turn all static trace points off, enter the following: 
  9954.  
  9955. TRACE OFF
  9956.  
  9957. In dynamic tracing, to trace DOSCALL1 (2, 4, 5, 6, 7, and 8), enter the 
  9958. following: 
  9959.  
  9960. TRACE ON DOSCALL1 (2, 4-8)
  9961.  
  9962. This TRACE command remains in effect until one of the following occurs: 
  9963.  
  9964. o The system is powered off. 
  9965.  
  9966. o The operating system removes the dynamic-link library. 
  9967.  
  9968. o You enter either of the following commands: 
  9969.  
  9970.     TRACE OFF
  9971.  
  9972.   or 
  9973.  
  9974.     TRACE OFF DOSCALL1
  9975.  
  9976.   Notice that the event list is not specified. 
  9977.  
  9978. To activate tracing for all current and future processes, enter the following: 
  9979.  
  9980. TRACE ON /P:ALL
  9981.  
  9982. To specify tracing the process ID (pid) of hexadecimal value 0034, enter the 
  9983. following: 
  9984.  
  9985. TRACE ON /P:34
  9986.  
  9987. To suspend tracing without removing the existing set of trace points, enter the 
  9988. following: 
  9989.  
  9990. TRACE OFF /S
  9991.  
  9992. To resume tracing activity for the currently specified set of trace points, 
  9993. enter the following: 
  9994.  
  9995. TRACE ON /R
  9996.  
  9997. To Clear the trace buffer, enter the following: 
  9998.  
  9999. TRACE OFF /C
  10000.  
  10001.  
  10002. ΓòÉΓòÉΓòÉ 4.129. TRACEBUF - Set Size of Trace Buffer ΓòÉΓòÉΓòÉ
  10003.  
  10004. Sets the size of the trace buffer. This statement is intended to be used with 
  10005. the assistance of your technical coordinator. 
  10006.  
  10007. TRACEBUF= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ x ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10008.  
  10009. Related Commands:  TRACE and TRACEFMT 
  10010.  
  10011. TRACEBUF sets the size of the trace buffer in the CONFIG.SYS file.  If any 
  10012. valid TRACE statements are in CONFIG.SYS (including TRACE=OFF), the default 
  10013. size of the trace buffer is 4KB. 
  10014.  
  10015. The x parameter specifies a trace buffer size of up to 63KB.  If you have a 
  10016. TRACEBUF statement without a TRACE statement in the CONFIG.SYS file, the trace 
  10017. buffer size requested is specified and tracing is turned off (the same as if 
  10018. you specify TRACE=OFF). If you need to use the System Trace facility, your 
  10019. technical coordinator will provide the buffer size. 
  10020.  
  10021. If you do not specify a TRACE or TRACEBUF statement in CONFIG.SYS file, OS/2 
  10022. 2.0 does not allocate a trace buffer, and system tracing is not available. 
  10023.  
  10024.  
  10025. ΓòÉΓòÉΓòÉ <hidden> TRACEBUF Examples ΓòÉΓòÉΓòÉ
  10026.  
  10027. To set the size of the trace buffer to 25KB, type the following in the 
  10028. CONFIG.SYS file: 
  10029.  
  10030. TRACEBUF=25
  10031.  
  10032. Specifying a number from 1 through 63, represents a multiple of 1024 bytes. 
  10033.  
  10034. The default is 4KB. 
  10035.  
  10036.  
  10037. ΓòÉΓòÉΓòÉ 4.130. TRACEFMT - Display Formatted Trace Records ΓòÉΓòÉΓòÉ
  10038.  
  10039. Displays formatted trace records in reverse time-stamp order. This command is 
  10040. intended to be used with the assistance of your service coordinator. Your 
  10041. technical coordinator will analyze the formatted data to help diagnose your 
  10042. problem. 
  10043.  
  10044. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ TRACEFMT ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10045.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10046.  
  10047. Related Commands:  TRACE and TRACEBUF 
  10048.  
  10049. TRACEFMT works only if you have the TRACE or the TRACEBUF statement in your 
  10050. CONFIG.SYS file. 
  10051.  
  10052. You use the TRACEFMT utility program to format the information placed in the 
  10053. trace buffer by system trace. TRACEFMT is a Presentation Manager* application 
  10054. running in a window. The TRACEFMT application provides choices on the menu bar. 
  10055. From these choices, you can select items that allow you to do the following 
  10056. tasks: 
  10057.  
  10058. o Open a file 
  10059. o Get system trace buffer 
  10060. o Save As 
  10061.  
  10062.    - Save unformatted trace data 
  10063.    - Save formatted trace data 
  10064.    - Save either summary mode (process ID or major code) 
  10065.  
  10066. o Print 
  10067.  
  10068.    - Formatted data 
  10069.    - Either summary mode 
  10070.  
  10071. o View formatted data 
  10072. o View summary by process ID 
  10073. o View summary by major code. 
  10074.  
  10075. Your technical coordinator will analyze the formatted data to help diagnose 
  10076. your problem.  You can use TRACEFMT as many times as required to diagnose a 
  10077. problem without having to restart the system. 
  10078.  
  10079.  
  10080. ΓòÉΓòÉΓòÉ <hidden> TRACEFMT Examples ΓòÉΓòÉΓòÉ
  10081.  
  10082. TRACEFMT is intended to be used as a Presentation Manager utility program. 
  10083.  
  10084. To start the OS/2 System Trace Formatter and display the contents of the system 
  10085. trace buffer when system tracing is available, enter the following: 
  10086.  
  10087. TRACEFMT
  10088.  
  10089. To format a data file named RECORDS that contains unformatted trace data when 
  10090. tracing is not active, enter the following: 
  10091.  
  10092. TRACEFMT RECORDS
  10093.  
  10094.  
  10095. ΓòÉΓòÉΓòÉ 4.131. TREE - Display Directory Structure ΓòÉΓòÉΓòÉ
  10096.  
  10097. Displays all the directory paths found on the specified drive, and optionally 
  10098. lists the files in the root directory and in each subdirectory. 
  10099.  
  10100. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ TREE ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöñ
  10101.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ            ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ /F ΓöÇΓöÿ
  10102.  
  10103. Related Commands:  CHDIR, DIR, MKDIR, and RMDIR 
  10104.  
  10105. Enter this command without a parameter to display all directory paths found on 
  10106. the current drive. 
  10107.  
  10108. You can also: 
  10109.  
  10110. o Print a directory listing on a printer 
  10111.  
  10112. o Pause a directory listing on a display 
  10113.  
  10114. The display (or output) indents at each subdirectory level and uses block 
  10115. graphics. 
  10116.  
  10117. Return Codes:  TREE issues a return code of 0 for normal completion. 
  10118.  
  10119.  
  10120. ΓòÉΓòÉΓòÉ <hidden> TREE Examples ΓòÉΓòÉΓòÉ
  10121.  
  10122. To list the directory names on drive C, enter the following: 
  10123.  
  10124. TREE C:
  10125.  
  10126. To list the directory paths and the names of all files in the root directory 
  10127. and each subdirectory on drive C, enter the following: 
  10128.  
  10129. TREE C: /F
  10130.  
  10131. To have a directory listing sent to a printer, enter the following: 
  10132.  
  10133. TREE >PRN
  10134.  
  10135. To display directory names on the screen and pause with the message --More-- 
  10136. after a full screen of information appears, enter the following: 
  10137.  
  10138. TREE | MORE
  10139.  
  10140. To create a directory names file called MYTREE, enter the following: 
  10141.  
  10142. TREE > MYTREE
  10143.  
  10144.  
  10145. ΓòÉΓòÉΓòÉ 4.132. TYPE - Display File Contents ΓòÉΓòÉΓòÉ
  10146.  
  10147. Displays the contents of one or more files on the screen. In a DOS session, 
  10148. only one file is displayed. 
  10149.  
  10150. TYPE ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöñ
  10151.                ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ                Γöé
  10152.            Γöé                                            Γöé
  10153.            ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10154.  
  10155. You can also: 
  10156.  
  10157. o Print a file 
  10158. o Pause the display screen while viewing a file 
  10159.  
  10160. You can use TYPE to display ASCII files. Text files appear in a legible format; 
  10161. however, other files, such as object program files, may appear unreadable 
  10162. because of the presence of nonalphabetic or nonnumeric characters. 
  10163.  
  10164. Note that the data is unformatted except that tab characters are expanded to an 
  10165. eight-character boundary (that is, columns 1, 9, 17, 25 and so on).  In an OS/2 
  10166. session, TYPE displays files consecutively on the screen if you specify 
  10167. multiple file names. You can include a drive and path when specifying multiple 
  10168. file names and can also use the global file-name characters * and ? in the file 
  10169. name you specify. 
  10170.  
  10171. In an OS/2 session if multiple files or files with global characters are 
  10172. listed, TYPE precedes the file data with the file name.  A blank line appears 
  10173. before and after each file name.  TYPE writes the file data to Standard Output 
  10174. and writes the file name to Standard Error. For example, to display data in 
  10175. files named FILE1, FILE2, and FILE3 and place the file names in a file named 
  10176. FILE.LST, enter the following: 
  10177.  
  10178. TYPE FILE1 FILE2 FILE3 2> FILE.LST
  10179.  
  10180. To display the file names on the screen and place all the file data in a file 
  10181. named FILE.TXT, enter the following: 
  10182.  
  10183. TYPE FILE1 FILE2 FILE3 > FILE.TXT
  10184.  
  10185. Note:   If you TYPE a text file that is not in the current directory, the 
  10186.         operating system searches the directories in the order that is 
  10187.         specified in your PATH statement, then in your DPATH statement. 
  10188.  
  10189.  
  10190. ΓòÉΓòÉΓòÉ <hidden> TYPE Examples ΓòÉΓòÉΓòÉ
  10191.  
  10192. To display the file FILE1.TXT in the STATUS directory on drive C, enter the 
  10193. following: 
  10194.  
  10195. TYPE C:\STATUS\FILE1.TXT
  10196.  
  10197. To look at a file named CALENDAR in the current directory and have the display 
  10198. pause with the message --More-- after a full screen of information appears, 
  10199. enter the following: 
  10200.  
  10201. TYPE CALENDAR | MORE
  10202.  
  10203. or 
  10204.  
  10205. MORE < CALENDAR
  10206.  
  10207. You can display the contents of more than one file at a time. To display the 
  10208. files FILE1.TXT in the STATUS directory on drive C and FILE2.TXT on drive A, 
  10209. enter the following: 
  10210.  
  10211. TYPE C:\STATUS\FILE1.TXT A:FILE2.TXT
  10212.  
  10213. To display data in files named DATA1, DATA2, and DATA3 and place the file names 
  10214. in a file named DATA.LST, enter the following: 
  10215.  
  10216. TYPE DATA1 DATA2 DATA3 2> DATA.LST
  10217.  
  10218. To display the file names on the screen and place all the file data in a file 
  10219. named DATA.TXT, enter the following: 
  10220.  
  10221. TYPE DATA1 DATA2 DATA3 > DATA.TXT
  10222.  
  10223.  
  10224. ΓòÉΓòÉΓòÉ 4.133. UNDELETE - Recover Deleted or Erased Files ΓòÉΓòÉΓòÉ
  10225.  
  10226. Recovers files that have been deleted or erased. 
  10227.  
  10228. UNDELETE Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10229.          ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ   ΓööΓöÇfilename ΓöÇΓöÿ
  10230.  
  10231.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  10232.                          Γöé
  10233. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10234.          Γöé  Γö£ΓöÇ /L ΓöÇΓöñ  Γöé
  10235.          Γöé  ΓööΓöÇ /S ΓöÇΓöÿ  Γöé
  10236.          Γö£ΓöÇΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓöñ
  10237.          ΓööΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÿ
  10238.  
  10239. The UNDELETE command provides the capability of recovering files that have been 
  10240. deleted or erased.  UNDELETE is designed to delay the removal of a file, which 
  10241. lets you retrieve a file before it is permanently discarded. 
  10242.  
  10243. A new environment variable DELDIR defines the path and maximum size of the 
  10244. directories used to store deleted files.  One such directory is specified for 
  10245. each logical drive on the system.  The DELDIR statement is written in the 
  10246. CONFIG.SYS file as follows: 
  10247.  
  10248. SET DELDIR = drive:\path, maxsize; drive2:\path, maxsize
  10249.  
  10250. The path and maximum size values for each logical drive are separated from each 
  10251. other by a comma; the logical drive names are separated by a semicolon. When 
  10252. the DEL or ERASE command is issued from any session type, the file is copied to 
  10253. the directory specified in the DELDIR statement for that logical drive. 
  10254.  
  10255. If the number of deleted files exceeds the maximum size of the specified 
  10256. directory, files are automatically removed from the directory to conform to its 
  10257. maximum size specified in the DELDIR statement.  Files are removed in 
  10258. first-in-first-out (FIFO) order.  To disable storage of deleted files in a 
  10259. directory, remove the directory name from the DELDIR statement. 
  10260.  
  10261. When UNDELETE is specified, if the file is still recoverable, it is reclaimed 
  10262. and restored to its specific path.  If a duplicate file name exists, you are 
  10263. prompted to rename it or it is ignored by the system. 
  10264.  
  10265. UNDELETE can be used in both DOS and OS/2 sessions.  Files that are available 
  10266. for recovery are reported as used bytes on the disk. 
  10267.  
  10268.  
  10269. ΓòÉΓòÉΓòÉ <hidden> UNDELETE Examples ΓòÉΓòÉΓòÉ
  10270.  
  10271. To list deleted files that are available to be recovered without recovering the 
  10272. files, type the following: 
  10273.  
  10274. UNDELETE /L
  10275.  
  10276. To recover all deleted files if they are still present without prompting for 
  10277. confirmation on each file, type the following: 
  10278.  
  10279. UNDELETE /A
  10280.  
  10281. To recover all files in the specified directory and all subdirectories, type 
  10282. the following: 
  10283.  
  10284. UNDELETE /S
  10285.  
  10286. To remove files so they cannot be recovered, type the following: 
  10287.  
  10288. UNDELETE /F
  10289.  
  10290.  
  10291. ΓòÉΓòÉΓòÉ 4.134. UNPACK - Decompress a File ΓòÉΓòÉΓòÉ
  10292.  
  10293. Unpacks (decompresses) compressed files and copies files that are not 
  10294. compressed but are located on the OS/2 installation diskettes.  Compressed 
  10295. files have a @ as the last character in their file name. 
  10296.  
  10297. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ UNPACK ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇ
  10298.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ          ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  10299. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10300.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ    ΓööΓöÇ /V ΓöÇΓöÿΓööΓöÇ /F ΓöÇΓöÿΓööΓöÇ /N:filename ΓöÇΓöÿ
  10301.  
  10302.  
  10303. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ UNPACK ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöÇ
  10304.   ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ          ΓööΓöÇ drive ΓöÇΓöÿΓööΓöÇ path ΓöÇΓöÿ
  10305. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10306.                         ΓööΓöÇ /SHOW ΓöÇΓöÿ
  10307.  
  10308. Do not specify an output file name; UNPACK uses the file name from the original 
  10309. uncompressed file as the destination file name.  It also preserves the date, 
  10310. time, and file attribute of the original uncompressed file. 
  10311.  
  10312. UNPACK copies files that are not compressed and handles file information such 
  10313. as date, time, and file attributes in the same way the COPY command does. 
  10314. Therefore, you can unpack a diskette that contains a combination of compressed 
  10315. and uncompressed files. 
  10316.  
  10317. Return Codes: 
  10318.  
  10319. 0 - Normal completion 
  10320. 1 - No files were found to unpack or copy 
  10321. 2 - Some files or directories were not unpacked or copied due to file errors 
  10322. 3 - Ended by user 
  10323. 4 - Ended due to error 
  10324.  
  10325.  
  10326. ΓòÉΓòÉΓòÉ <hidden> UNPACK Examples ΓòÉΓòÉΓòÉ
  10327.  
  10328. To unpack a compressed file named FORMAT.CO@ from the current directory on 
  10329. drive A to the OS2 directory on drive C, enter the following: 
  10330.  
  10331. UNPACK A:FORMAT.CO@ C:\OS2
  10332.  
  10333. To unpack a compressed file named FORMAT.CO@ from the current drive and 
  10334. directory to the OS2 subdirectory on drive C, enter the following: 
  10335.  
  10336. UNPACK FORMAT.CO@ C:\OS2
  10337.  
  10338. To verify the compressed files on drive A are correctly copied to drive C, 
  10339. enter the following: 
  10340.  
  10341. UNPACK A:\*.* C:\ /V
  10342.  
  10343. To specify that extended attributes should not be discarded when unpacking or 
  10344. copying files from drive A to drive C (when drive C does not support extended 
  10345. attributes because of its file system), enter the following: 
  10346.  
  10347. UNPACK A:\*.* C:\ /F
  10348.  
  10349. To display the destination path and file name for every compressed file in the 
  10350. packed file, BUNDLE.DA@, enter the following: 
  10351.  
  10352. UNPACK BUNDLE.DA@ /SHOW
  10353.  
  10354. To specify the file, FORMAT.CO@, to be extracted and decompressed from a packed 
  10355. file, BUNDLE.DA@, containing multiple compressed files, enter the following: 
  10356.  
  10357. UNPACK BUNDLE.DA@ /N:FORMAT.COM
  10358.  
  10359.  
  10360. ΓòÉΓòÉΓòÉ 4.135. VER - Display OS/2 Version Number ΓòÉΓòÉΓòÉ
  10361.  
  10362. Displays the OS/2 version number. 
  10363.  
  10364. VER ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10365.  
  10366. This command can be entered at either the OS/2 or DOS prompt.  The OS/2 version 
  10367. number is displayed on your screen; for example: 
  10368.  
  10369. The Operating System/2 Version is 2.00
  10370.  
  10371.  
  10372. ΓòÉΓòÉΓòÉ <hidden> VER Examples ΓòÉΓòÉΓòÉ
  10373.  
  10374. To display the OS/2 version number, enter the following: 
  10375.  
  10376. VER
  10377.  
  10378. The version number for the OS/2 operating system is displayed on your screen as 
  10379. follows: 
  10380.  
  10381. The Operating System/2 Version is 2.00
  10382.  
  10383.  
  10384. ΓòÉΓòÉΓòÉ 4.136. VERIFY - Set Data Verification ΓòÉΓòÉΓòÉ
  10385.  
  10386. Confirms that data written to a disk has been written correctly. 
  10387.  
  10388. VERIFY ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10389.                        Γö£ΓöÇ ON  ΓöÇΓöñ
  10390.                        ΓööΓöÇ OFF ΓöÇΓöÿ
  10391.  
  10392. Enter this command without a parameter to display the current VERIFY status. 
  10393.  
  10394. You can use the VERIFY command to tell the system to verify that files are 
  10395. written correctly to the disk (for example, no bad sectors).  The system does a 
  10396. VERIFY action each time you write data to a disk.  You receive an error message 
  10397. only if the system is unable to write the data to the disk successfully. 
  10398.  
  10399. When you issue VERIFY ON, verification is done for file system I/O write 
  10400. actions for both hard disks and diskettes on a per session basis. 
  10401.  
  10402. This command has the same purpose as the /V parameter in the COPY and XCOPY 
  10403. commands. 
  10404.  
  10405.  
  10406. ΓòÉΓòÉΓòÉ <hidden> VERIFY Examples ΓòÉΓòÉΓòÉ
  10407.  
  10408. To check the conditional status of VERIFY, enter the following: 
  10409.  
  10410. VERIFY
  10411.  
  10412. To verify that your files are written correctly to the disk, enter the 
  10413. following: 
  10414.  
  10415. VERIFY ON
  10416.  
  10417. To turn VERIFY off, enter the following: 
  10418.  
  10419. VERIFY OFF
  10420.  
  10421. The default is off. 
  10422.  
  10423.  
  10424. ΓòÉΓòÉΓòÉ 4.137. VIEW - Display Online Documents ΓòÉΓòÉΓòÉ
  10425.  
  10426. Displays online documents created with the Information Presentation Facility 
  10427. (IPF) compiler.  VIEW displays IPF files that have a .INF extension. 
  10428.  
  10429. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ VIEW ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10430.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10431.  
  10432. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ filename ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  10433.    ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ              ΓööΓöÇ topic ΓöÇΓöÿ
  10434.  
  10435. VIEW displays files that have been compiled by the IPF compiler as online 
  10436. documents having a .INF extension.  VIEW can display the entire file or 
  10437. individual topics that are located in the Contents of the file. 
  10438.  
  10439.  
  10440. ΓòÉΓòÉΓòÉ <hidden> VIEW Examples ΓòÉΓòÉΓòÉ
  10441.  
  10442. To display the CMDREF.INF file that is located in the OS2\BOOK directory on 
  10443. drive C, enter the following: 
  10444.  
  10445. VIEW C:\OS2\BOOK\CMDREF
  10446.  
  10447. To display the Functions topic in the REXX.INF file that is located in the 
  10448. OS2\BOOK directory on drive C, enter the following: 
  10449.  
  10450. VIEW C:\OS2\BOOK\REXX FUNCTIONS
  10451.  
  10452.  
  10453. ΓòÉΓòÉΓòÉ 4.138. VMDISK - Create an Image File of a DOS Startup Diskette ΓòÉΓòÉΓòÉ
  10454.  
  10455. Creates a file that contains the image of a DOS startup diskette.  After 
  10456. creating an image, you can create a DOS session by starting from this image 
  10457. file. 
  10458.  
  10459. VMDISK ΓöÇΓöÇ sourcedrive ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ filename ΓöÇΓöñ
  10460.                         ΓööΓöÇ targetdrive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ
  10461.  
  10462. Related Commands: FSFILTER, FSACCESS 
  10463.  
  10464. Related Information: Starting a Specific Version of DOS 
  10465.  
  10466. To use VMDISK, you need to make changes to the DOS startup diskette.  Select 
  10467. Starting a Specific Version of DOS in the "Related Information" section above 
  10468. for more information about preparing the DOS startup diskette. 
  10469.  
  10470.  
  10471. ΓòÉΓòÉΓòÉ <hidden> VMDISK Examples ΓòÉΓòÉΓòÉ
  10472.  
  10473. Here are some examples of creating an image file of a DOS startup diskette. 
  10474. These examples assume the diskette is inserted in drive A. 
  10475.  
  10476. To place the image file in the current directory, type the following: 
  10477.  
  10478. VMDISK A: DOS50.IMG
  10479.  
  10480. Note:   The free disk space on the current drive must be greater than the total 
  10481.         capacity of the diskette in drive A. 
  10482.  
  10483. To place the image file in the root directory of drive C, type the following: 
  10484.  
  10485. VMDISK A: C:\DOS33.IMG
  10486.  
  10487. To place the image file in an image file directory on drive D, type the 
  10488. following: 
  10489.  
  10490. VMDISK A: D:OS_IMAGE\DOS33.IMG
  10491.  
  10492.  
  10493. ΓòÉΓòÉΓòÉ <hidden> Starting a Specific Version of DOS ΓòÉΓòÉΓòÉ
  10494.  
  10495. Creating a DOS Startup Diskette 
  10496.  
  10497. Follow these steps to create a DOS startup diskette: 
  10498.  
  10499.  1. Restart the system with a prior DOS version. 
  10500.  
  10501.  2. Format a diskette with the /S option. 
  10502.  
  10503.  3. Copy the DOS version of these files from the hard disk to the diskette: 
  10504.  
  10505.    o CONFIG.SYS 
  10506.    o AUTOEXEC.BAT 
  10507.    o OS2\MDOS\FSFILTER.SYS 
  10508.  
  10509.  4. Edit the CONFIG.SYS and AUTOEXEC.BAT files that were created on the 
  10510.     diskette, following the instructions in the "Modifying the DOS Startup 
  10511.     Diskette" section below. 
  10512.  
  10513.  5. Ensure that all programs and device drivers in the CONFIG.SYS and 
  10514.     AUTOEXEC.BAT files have full drive and path extensions.  The specific 
  10515.     version of DOS will always start from drive A, and DOS will not search 
  10516.     drive C for programs or utilities unless the full drive and path is 
  10517.     specified. 
  10518.  
  10519.  6. Restart the workstation with the OS/2* operating system.  Use the DOS 
  10520.     Settings notebook to select the DOS startup drive setting.  Set its value 
  10521.     to A: and save this change.  You can now use this entry to start the 
  10522.     specific DOS version diskette from drive A. 
  10523.  
  10524. Once you verify that the startup diskette is operating properly, you can create 
  10525. an image file of that diskette on your hard disk using the VMDISK utility. 
  10526.  
  10527. To start a specific version of DOS, you must make changes to the CONFIG.SYS 
  10528. file on the disk or diskette from which DOS will be started.  These changes are 
  10529. needed because a specific version of DOS cannot use the OS/2 file system 
  10530. without making these updates.  The FSFILTER device driver provides access 
  10531. between the DOS and OS/2 file systems. 
  10532.  
  10533. Modifying the DOS Startup Diskette 
  10534.  
  10535. You must modify the CONFIG.SYS and AUTOEXEC.BAT files on the diskette that will 
  10536. be started.  You need to edit the CONFIG.SYS file on the DOS startup diskette 
  10537. by doing the following: 
  10538.  
  10539.  1. Insert the line DEVICE=FSFILTER.SYS before any other DEVICE= statement in 
  10540.     the CONFIG.SYS file.  Make sure to copy the file FSFILTER.SYS from 
  10541.     OS2\MDOS\FSFILTER.SYS to the startup diskette. 
  10542.  
  10543.  2. If any XMS (HIMEM.SYS) or EMS (EMM386.SYS) device driver statements are in 
  10544.     the CONFIG.SYS file, replace them with these statements (assuming the OS/2 
  10545.     operating system is installed on drive C): 
  10546.  
  10547.         DEVICE=C:\OS2\MDOS\HIMEM.SYS
  10548.         DEVICE=C:\OS2\MDOS\EMM386.SYS
  10549.  
  10550.  3. Delete any DEVICE= statement that is loading mouse support.  Mouse support 
  10551.     will be provided by a driver that is loaded when the AUTOEXEC.BAT is 
  10552.     processed. 
  10553.  
  10554.  4. Make sure that any other utilities or programs that are referenced have a 
  10555.     drive and path extension. 
  10556.  
  10557. Make these changes to the AUTOEXEC.BAT file on the startup diskette: 
  10558.  
  10559.  1. If mouse support is needed, add this line to the AUTOEXEC.BAT file. 
  10560.  
  10561.         C:\OS2\MDOS\MOUSE
  10562.  
  10563.     This example assumes that the OS/2 operating system is installed on drive 
  10564.     C. 
  10565.  
  10566.  2. Make sure that any other utilities or programs that are referenced have a 
  10567.     drive and path extension. 
  10568.  
  10569. Information about FSACCESS and FSFILTER 
  10570.  
  10571. The FSFILTER device driver provides access between the DOS and OS/2 file 
  10572. systems. The initial mapping of drives is done automatically.  After the filter 
  10573. is running, the FSACCESS utility can be called to change the drive mappings for 
  10574. that specific DOS session.  Initial drive mappings are determined in the 
  10575. following ways when the filter is started: 
  10576.  
  10577. o Drive A is mapped to DOS only when started from an image file; otherwise, 
  10578.   drive A is mapped to the OS/2 operating system. 
  10579. o Drive B is mapped to the OS/2 operating system. 
  10580. o When FSFILTER is started, all OS/2 defined physical volumes are counted.  DOS 
  10581.   drive letters for these OS/2 drives are allocated in the DOS startup session 
  10582.   and are then mapped to the corresponding OS/2 drives. 
  10583.  
  10584. When a DOS program makes a file-system request, FSFILTER determines what drive 
  10585. is referenced.  If the drive is mapped, the request is sent to the OS/2 file 
  10586. system.  If the drive is not mapped, the request is sent to DOS if DOS 
  10587. recognizes the drive; otherwise it is sent to the OS/2 operating system. 
  10588.  
  10589. Differences in DOS Environments 
  10590.  
  10591. There are some differences among the various DOS environments.  These 
  10592. environments include DOS, DOS sessions in the OS/2 operating system, and 
  10593. specific versions of DOS started from diskette. As noted earlier, when you are 
  10594. starting a specific version of DOS from diskette, DOS mouse, XMS, or EMS driver 
  10595. support must be replaced with the OS/2 version of the driver, supplied in the 
  10596. OS2\MDOS directory. 
  10597.  
  10598. Some of the DOS properties are not processed in a DOS session started from the 
  10599. specific version of DOS.  The ignored DOS properties are those that configure 
  10600. parameters that are controlled by the CONFIG.SYS file on the DOS startup 
  10601. diskette.  These ignored properties include: 
  10602.  
  10603. o BREAK 
  10604. o DOS Device Drivers 
  10605. o DOS Memory Size (KB) 
  10606. o DOS Shell 
  10607. o LASTDRIVE 
  10608. o Simulated DOS Version 
  10609.  
  10610. Other differences include: 
  10611.  
  10612. o FCB values are restricted to the minimum of the two values in the DOS and 
  10613.   OS/2 configuration files. 
  10614. o The EXIT command does not work when issued from the top level prompt in a DOS 
  10615.   session started from a specific version of DOS. 
  10616. o There is generally less memory available in a DOS session started from a 
  10617.   specific version of DOS. 
  10618. o A DOS session started from a specific version of DOS will not support 
  10619.   extended attributes on logical drives managed by the file system of that 
  10620.   specific version of DOS. 
  10621.  
  10622.  
  10623. ΓòÉΓòÉΓòÉ 4.139. VOL - Display Disk Volume Label ΓòÉΓòÉΓòÉ
  10624.  
  10625. Displays the disk volume label and serial number if they exist. From a DOS 
  10626. command prompt, VOL displays the label for only one disk.  From an OS/2 command 
  10627. prompt, if you specify more than one drive, VOL displays the volume labels 
  10628. consecutively. 
  10629.  
  10630. VOL ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10631.                   ΓööΓöÇ drive ΓöÇΓöÿ          Γöé
  10632.               ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10633.  
  10634. Related Commands:  FORMAT and LABEL 
  10635.  
  10636. Enter this command without a parameter to display the volume label and volume 
  10637. serial number of the current drive. 
  10638.  
  10639.  
  10640. ΓòÉΓòÉΓòÉ <hidden> VOL Examples ΓòÉΓòÉΓòÉ
  10641.  
  10642. To display the volume label and volume serial number of the current drive, 
  10643. enter the following: 
  10644.  
  10645. VOL
  10646.  
  10647. To display the volume labels of both drive C and drive D, enter the following: 
  10648.  
  10649. VOL C: D:
  10650.  
  10651.  
  10652. ΓòÉΓòÉΓòÉ 4.140. XCOPY - Copy Subdirectories ΓòÉΓòÉΓòÉ
  10653.  
  10654. Selectively copies groups of files, which can include lower-level 
  10655. subdirectories. 
  10656.  
  10657. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ XCOPY ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  10658.   ΓööΓöÇ drive ΓöÇΓöÿ ΓööΓöÇ path ΓöÇΓöÿ               ΓööΓöÇ drive ΓöÇΓöÿ
  10659.  
  10660. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  10661.   ΓööΓöÇ path ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ   ΓööΓöÇ drive ΓöÇΓöÿ   ΓööΓöÇ path ΓöÇΓöÿ
  10662.               ΓööΓöÇ filename ΓöÇΓöÿ
  10663.  
  10664.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  10665.                                               Γöé
  10666. ΓöÇΓöÇΓöÇΓöÇ filename ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10667.                       Γö£ΓöÇΓöÇΓöÇ  /D:mm-dd-yy  ΓöÇΓöÇΓöÇΓöñ
  10668.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /S ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10669.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /E ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10670.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /P ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10671.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /V ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  10672.                       Γö£ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ /A ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöñ
  10673.                       Γöé    ΓööΓöÇΓöÇΓöÇ /M ΓöÇΓöÇΓöÇΓöÇΓöÿ    Γöé
  10674.                       ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ /F ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  10675.  
  10676. Related Commands:  BACKUP, COPY, RESTORE, and VERIFY 
  10677.  
  10678. It is important to remember the following: 
  10679.  
  10680. o Specify the drive, path, and file name for the source and target drives.  If 
  10681.   you do not specify a path, XCOPY starts from the current directory.  If you 
  10682.   do not specify a file name, XCOPY uses *.* as the default value. 
  10683.  
  10684. o XCOPY works only within the source directory unless you specify the /S 
  10685.   parameter, which copies files in the source directory and in all directories 
  10686.   below the starting source directory. 
  10687.  
  10688. o If you use the /D parameter, the month, date, and year may be in different 
  10689.   positions depending on your country. 
  10690.  
  10691. o You cannot replace a read-only file with another file.  Also, you cannot use 
  10692.   XCOPY to copy hidden or system files. 
  10693.  
  10694. o The /M parameter copies files whose archive bit is set, and then turns off 
  10695.   the archive bit of the source file.  You can use the ATTRIB command to reset 
  10696.   the archive bit for your files. 
  10697.  
  10698. o If the specified target path does not exist on the target, XCOPY creates the 
  10699.   directories before copying.  You can rename files on the target by specifying 
  10700.   a new file name on the target. 
  10701.  
  10702. Extended Attributes:  XCOPY will copy the extended attributes of a source file 
  10703. to the target file (See the /F parameter). An extended attribute is a special 
  10704. area used for storing data that describes the file to the OS/2 operating system 
  10705. or to an application. 
  10706.  
  10707. When copying files that have extended attributes, be sure to use OS/2 2.0 to 
  10708. ensure all extended file or directory attributes are copied.  Extended 
  10709. attributes associated with a source directory will be copied to the target if 
  10710. the directory does not already exist on the target. 
  10711.  
  10712. Return Codes: 
  10713.  
  10714. 0 - Normal completion 
  10715. 1 - No files were found to xcopy 
  10716. 2 - Some files or directories were not copied due to file or directory errors 
  10717. 3 - Ended by user 
  10718. 4 - Ended due to error 
  10719.  
  10720.  
  10721. ΓòÉΓòÉΓòÉ <hidden> XCOPY Examples ΓòÉΓòÉΓòÉ
  10722.  
  10723. To copy the files in the MEMOS subdirectory on drive C to a newly created 
  10724. subdirectory named LETTERS on drive A, enter the following: 
  10725.  
  10726. XCOPY C:\MEMOS A:\LETTERS
  10727.  
  10728. To copy files changed on or after November 12, 1988 in the MEMOS subdirectory 
  10729. to the root directory on drive A, enter the following: 
  10730.  
  10731. XCOPY C:\MEMOS A:\ /D:11-12-88
  10732.  
  10733. To copy the subdirectories and their contents from the root directory on drive 
  10734. C to the root directory on drive A, enter the following: 
  10735.  
  10736. XCOPY C:\ A:\ /S
  10737.  
  10738. To copy the REPORTS subdirectory on drive C, including all files and 
  10739. subdirectories within it, to the root directory on drive A, enter the 
  10740. following: 
  10741.  
  10742. XCOPY C:\REPORTS A:\ /S /E
  10743.  
  10744. To be prompted with (Y/N?) before each file is copied from the MEMOS 
  10745. subdirectory on drive C to the LETTERS subdirectory on drive A, enter the 
  10746. following: 
  10747.  
  10748. XCOPY C:\MEMOS A:\LETTERS /P
  10749.  
  10750. To verify that the files written from drive C to drive A are recorded properly, 
  10751. enter the following: 
  10752.  
  10753. XCOPY C:\ A:\ /V
  10754.  
  10755. To copy only those files that have the archive bit set on without changing the 
  10756. attribute of source drive C when it is copied, type the following: 
  10757.  
  10758. XCOPY C:\ A:\ /A
  10759.  
  10760. To copy files whose archive bit is set on from the root directory on drive C to 
  10761. the root directory on drive A, then turn the archive bit of the source file 
  10762. off, enter the following: 
  10763.  
  10764. XCOPY C:\ A:\ /M
  10765.  
  10766.  
  10767. ΓòÉΓòÉΓòÉ <hidden> Trace Point Overview and Dynamic Tracing ΓòÉΓòÉΓòÉ
  10768.  
  10769. The OS/2 2.0 operating system contains a mixture of static trace points and 
  10770. dynamic trace points. 
  10771.  
  10772. Static trace points are implemented as trace function calls within individual 
  10773. software modules.  The TRACE command can be used to turn on and off static 
  10774. trace points by specifying them by major code (and, optionally, minor code). 
  10775.  
  10776. Dynamic trace points are implemented as Trace Definition File (TDF) entries. 
  10777. The TRACE command can be used to insert (and turn on) a dynamic trace point by 
  10778. patching it into its corresponding software module.  Dynamic trace points are 
  10779. specified by the dynamic library (DLL) prefix (and, optionally minor code). 
  10780.  
  10781. Individual dynamic trace points can be qualified by separate type and group 
  10782. qualifiers.  These qualifiers exist so that you can more easily turn on and off 
  10783. sets of related dynamic trace points.  For example, all the dynamic trace 
  10784. points that are associated with pre-invocation events might have a type of PRE. 
  10785. Similarly, all the dynamic trace points that are involved in semaphore 
  10786. processing might have a group of SEM.  In the TRACE command syntax, group is 
  10787. considered to have a stronger binding than type.  This means that you can ask 
  10788. to turn on or off all events that are of a specified group that are also of one 
  10789. or more specified types.  You do not need to use these qualifiers; they are 
  10790. there simply to make it easier to control related sets of dynamic trace points. 
  10791.  
  10792. TDF files are typically found in the \OS2\SYSTEM\TRACE directory. They are 
  10793. identified by .TDF file name extensions.  There are also Trace Formatting Files 
  10794. (TFF) found within that directory.  These files are used by the OS/2 2.0 Trace 
  10795. Formatter (TRACEFMT) utility to format the entries that are logged within the 
  10796. system trace buffer. 
  10797.  
  10798. The system .TDF file supports dynamic tracing for the following: 
  10799.  
  10800. o TRACE ON KERNEL 
  10801.  
  10802.        Major Code: 5 (decimal) 5 (hex)
  10803.        Groups: PRE, POST, API, INT
  10804.        Types: FS, LDR, NLS, PIP, SEL, SEM, SIG, TIM, TIK, VM
  10805.        Purpose: Dynamic trace point definitions for APIs that reside in
  10806.             the OS/2 kernel
  10807.  
  10808. o TRACE ON DOSCALL1 
  10809.  
  10810.        Major Code: 16 (decimal) 10 (hex)
  10811.        Groups: FS, LDR, LNK, MSG, MSP, NLS, SEM, TSK
  10812.        Types: PRE, POST, API
  10813.        Purpose: Dynamic trace point definitions for APIs that reside in
  10814.          DOSCALL1.DLL
  10815.  
  10816. o TRACE ON QUECALLS 
  10817.  
  10818.        Major Code: 22 (decimal) 16 (hex)
  10819.        Groups: None
  10820.        Types: API, PRE, POST, INT
  10821.        Purpose: Dynamic trace point definitions for APIs that reside in
  10822.              QUECALLS.DLL (queue calls)
  10823.  
  10824. o TRACE ON SESMGR 
  10825.  
  10826.        Major Code: 23 (decimal) 17 (hex)
  10827.        Groups: None
  10828.        Types: API, PRE, POST
  10829.        Purpose: Dynamic trace point definitions for APIs that reside in
  10830.              SESMGR.DLL (session manager)
  10831.  
  10832. o TRACE ON OS2CHAR 
  10833.  
  10834.        Major Code: 24 (decimal) 18 (hex)
  10835.        Groups: KBD, MOU, VIO
  10836.        Types: API, PRE, POST
  10837.        Purpose: Dynamic trace point definitions for APIs that reside in
  10838.              OS2CHAR.DLL
  10839.  
  10840. o TRACE ON PMSHAPI 
  10841.  
  10842.        Major Code: 192 (decimal) C0 (hex)
  10843.        Groups: None
  10844.        Types: None
  10845.        Purpose: Dynamic trace point definitions for APIs that reside in
  10846.              PMSHAPI.DLL (PM shell APIs)
  10847.  
  10848. o TRACE ON PMWIN 
  10849.  
  10850.        Major Code: 194 (decimal) C2 (hex)
  10851.        Groups: None
  10852.        Types: None
  10853.        Purpose: Dynamic trace point definitions for APIs that reside in
  10854.              PMWIN.DLL (window manager)
  10855.  
  10856. o TRACE ON PMGRE 
  10857.  
  10858.        Major Code: 195 (decimal) C3 (hex)
  10859.        Groups: None
  10860.        Types: None
  10861.        Purpose: Dynamic trace point definitions for APIs that reside in
  10862.              PMGRE.DLL (graphics engine)
  10863.  
  10864. o TRACE ON PMPIC 
  10865.  
  10866.        Major Code: 196 (decimal) C4 (hex)
  10867.        Groups: None
  10868.        Types: None
  10869.        Purpose: Dynamic trace point definitions for APIs that reside in
  10870.              PMPIC.DLL (picture interchange)
  10871.  
  10872. o TRACE ON PMGPI 
  10873.  
  10874.        Major Code: 197 (decimal) C5 (hex)
  10875.        Groups: None
  10876.        Types: None
  10877.        Purpose: Dynamic trace point definitions for APIs that reside in
  10878.              PMGPI.DLL (graphics program interface)
  10879.  
  10880. OS/2 2.0 Static Trace Points 
  10881.  
  10882. The OS/2 static trace points do not have associated TDF files, but do have 
  10883. associated TFF files that are used by the Trace Formatter (TRACEFMT). 
  10884.  
  10885. o Machine Exceptions 
  10886.  
  10887.        Major Code: 3
  10888.  
  10889. o Hardware Interrupts 
  10890.  
  10891.        Major Code: 4
  10892.  
  10893. o Device Helper Routines 
  10894.  
  10895.        Major Code: 6
  10896.  
  10897. o Disk Device Driver 
  10898.  
  10899.        Major Code: 7
  10900.  
  10901. Commonly Used Abbreviations for Groups and Types 
  10902.  
  10903. o Groups 
  10904.  
  10905.        FS-  file system
  10906.        KBD- keyboard I/O
  10907.        LDR- resource loader
  10908.        LNK- environment management
  10909.        MOU- mouse I/O
  10910.        MSG- message management
  10911.        MSP- virtual memory management
  10912.        NLS- national language support
  10913.        PIP- pipe support
  10914.        SEL- selector-related
  10915.        SEM- semaphore support
  10916.        SIG- signal handling
  10917.        TIM- timer support
  10918.        TK-  task management
  10919.        TSK- monitor support
  10920.        VIO- video I/O
  10921.        VM-  virtual memory management
  10922.  
  10923. o Types 
  10924.  
  10925.        API-  application programming interface
  10926.        INT-  internal
  10927.        PRE-  pre-processing invocation
  10928.        POST- post-processing invocation
  10929.  
  10930.  
  10931. ΓòÉΓòÉΓòÉ <hidden> Trace Point Overview Examples ΓòÉΓòÉΓòÉ
  10932.  
  10933. TRACE ON 15,31,22 /S
  10934.  
  10935.       Indicates that all static trace points with major codes of
  10936.       15, 31 and 22 are to be traced, and then suspends all
  10937.       event tracing.
  10938.  
  10939. TRACE ON 17,22(4,9-13)
  10940.  
  10941.       Indicates that all static trace points with a major code of
  10942.       17, and all static trace points with a major code of 22
  10943.       and minor codes of 4, or 9 to 13, are to be
  10944.       traced.
  10945.  
  10946.  
  10947. TRACE ON DOSCALL1
  10948.  
  10949.       Inserts all dynamic trace points that are defined in
  10950.       DOSCALL1.TDF.
  10951.  
  10952.  
  10953. TRACE ON DOSCALL1(4,23-56,8) /R
  10954.  
  10955.       Inserts all dynamic trace points from DOSCALL1.TDF that have
  10956.       minor codes of 4, 8, or 23 to 56, and then resumes all
  10957.       event tracing.
  10958.  
  10959.  
  10960. TRACE ON DOSCALL1(FS=PRE+API,SEM)
  10961.  
  10962.       Inserts all dynamic trace points from DOSCALL1.TDF that are
  10963.       of group FS and of either type PRE or API, or
  10964.       are simply of group SEM.
  10965.  
  10966.  
  10967. TRACE ON KERNEL(20-23,182)
  10968.  
  10969.       Inserts all dynamic trace points into the OS/2 kernel that
  10970.       have minor codes between 20 and 23, or have a minor code
  10971.       of 182.
  10972.  
  10973.  
  10974. TRACE ON /P:16,14,8
  10975.  
  10976.       Indicates that events are to be traced only when pid 8,
  10977.       14, or 16 is the current pid
  10978.       (the set of events that are to be traced
  10979.       is set through other TRACE commands).
  10980.  
  10981.  
  10982. TRACE OFF /P:14
  10983.  
  10984.       Indicates that events are no longer to be traced when pid
  10985.       14 is the current pid.
  10986.  
  10987.  
  10988. TRACE ON /P:ALL
  10989.  
  10990.       Indicates that event tracing is now performed irrespective
  10991.       of the current pid.
  10992.  
  10993.  
  10994. TRACE /C /R
  10995.  
  10996.       Indicates that the system event trace buffer is to be
  10997.       cleared and then event tracing is to be resumed.
  10998.  
  10999.  
  11000. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11001.  
  11002. When you place a bookmark on a topic, it is added to a list of bookmarks you 
  11003. have previously set.  You can view the list, and you can remove one or all 
  11004. bookmarks from the list.  If you have not set any bookmarks, the list is empty. 
  11005.  
  11006. To set a bookmark, do the following: 
  11007.  
  11008.  1. Select a topic from the Contents. 
  11009.  
  11010.  2. When that topic appears, choose the Bookmark option from the Services menu. 
  11011.  
  11012.  3. If you want to change the name used for the bookmark, type the new name in 
  11013.     the field. 
  11014.  
  11015.  4. Select the Place radio button. 
  11016.  
  11017.  5. Select OK.  The bookmark is then added to the bookmark list. 
  11018.  
  11019.  
  11020. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11021.  
  11022. You can specify a word or phrase to be searched.  You can also limit the search 
  11023. to a set of topics by first marking the topics on the Contents list. 
  11024.  
  11025. To search for a word or phrase in all topics, do the following: 
  11026.  
  11027.  1. Select the Search option from the Services menu. 
  11028.  
  11029.  2. Type the word or words to be searched. 
  11030.  
  11031.  3. Select All sections. 
  11032.  
  11033.  4. Select Search to begin the search. 
  11034.  
  11035.  5. The list of topics where the word or phrase appears is displayed. 
  11036.  
  11037.  
  11038. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11039.  
  11040. You can print one or more topics.  You can also print a set of topics by first 
  11041. marking the topics on the Contents list. 
  11042.  
  11043. To print the document Contents list, do the following: 
  11044.  
  11045.  1. Select Print from the Services menu. 
  11046.  
  11047.  2. Select Contents. 
  11048.  
  11049.  3. Select Print. 
  11050.  
  11051.  4. The Contents list is printed on your printer. 
  11052.  
  11053.  
  11054. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11055.  
  11056. You can copy a topic you are viewing into a temporary file named TEXT.TMP.  You 
  11057. can later edit that file by using an editor such as the System Editor. 
  11058.  
  11059. To copy a topic, do the following: 
  11060.  
  11061.  1. Expand the Contents list and select a topic. 
  11062.  
  11063.  2. When the topic appears, select Copy to file from the Services menu. 
  11064.  
  11065. The system copies the text pertaining to that topic into the temporary TEXT.TMP 
  11066. file. 
  11067.  
  11068. For information on any of the other choices in the Services menu, highlight the 
  11069. choice and press the F1 key. 
  11070.  
  11071.  
  11072. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11073.  
  11074. You can control the appearance of the Contents list. 
  11075.  
  11076. To expand the Contents and show all levels for all topics, select Expand all 
  11077. from the Options menu. 
  11078.  
  11079. For information on any of the other choices in the Options menu, highlight the 
  11080. choice and press the F1 key. 
  11081.  
  11082.  
  11083. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11084.  
  11085. The multitasking OS/2 environment allows you to run several programs at the 
  11086. same time.  This gives each program the potential of taking advantage of 
  11087. available physical memory up to 16 MB (MB equals 1 048 576 bytes). The OS/2 
  11088. environment allows you to achieve a high level of interaction with an OS/2 
  11089. program.  It permits you to run some programs in interactive windows on your 
  11090. screen.  At the same time, you can run other programs in the background, away 
  11091. from view.  Your operating system also protects each program so that it cannot 
  11092. change another program that is running at the same time. 
  11093.  
  11094.  
  11095. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11096.  
  11097. When using the OS/2 operating system, you may choose to use the DOS environment 
  11098. similar to IBM Disk Operating System Version 4.0. Like most programs that run 
  11099. in an OS/2 session, a program running in a DOS session can run in a window. 
  11100. You can run several DOS programs at the same time with several active OS/2 
  11101. programs. You can continue using DOS programs with your new operating system. 
  11102. A DOS session can run in either a full screen or a window.  It runs 
  11103. continuously even when you may be running in another DOS session or in an OS/2 
  11104. session.  The only time a DOS session is frozen is if it is running graphics. 
  11105. A text program will continue running even when it is running in a background 
  11106. environment. 
  11107.  
  11108. You can start DOS tasks or begin a DOS program almost as though you were using 
  11109. DOS 4.0.  However, not all programs originally written for a personal computer 
  11110. work properly in the DOS environment (for example, timing- and 
  11111. network-dependent programs).  Refer to documentation that came with the program 
  11112. you are using for program limitations and answers to compatibility questions. 
  11113.  
  11114.  
  11115. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11116.  
  11117. A keyword has a predefined value.  It appears in uppercase letters and must be 
  11118. typed exactly as shown.  A command name is a keyword. 
  11119.  
  11120.  
  11121. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11122.  
  11123. Variables represent names or values you supply.  They are shown in lowercase 
  11124. letters.  A file name is a variable. 
  11125.  
  11126.  
  11127. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11128.  
  11129. Your technical coordinator, whose role includes investigating hardware and 
  11130. software problems, is the first level of customer assistance.  This person, who 
  11131. could be either an IBM authorized dealer or the person assigned to be the 
  11132. coordinator for your particular organization, can contact IBM, if necessary. 
  11133. Please do not provide a dump or any other materials unless directed to do so by 
  11134. your technical coordinator or service representative. 
  11135.  
  11136.  
  11137. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11138.  
  11139. A batch file is a file containing one or more commands that the operating 
  11140. system starts one at a time. Batch files can be created for both DOS and OS/2 
  11141. sessions.  When you run a batch file, the OS/2 command processor processes the 
  11142. commands in the batch file, one at a time.  If you have a repetitive process 
  11143. that requires you to enter a series of commands at the command prompt, creating 
  11144. a batch file that contains these commands shortens process time and reduces the 
  11145. possibility of typing errors.  All batch files intended for use in DOS sessions 
  11146. have a .BAT file name extension; batch files intended for use in OS/2 sessions 
  11147. have a .CMD file-name extension. 
  11148.  
  11149.  
  11150. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11151.  
  11152. A return code is a value returned to a program or batch file to indicate the 
  11153. results of an operation.  The valid return codes are: 
  11154.  
  11155. 0 - Normal completion 
  11156. 1 - No files were found to be processed 
  11157. 2 - Some files or directories were not processed due to file errors 
  11158. 3 - Ended by user (Ctrl+Break) 
  11159. 4 - Ended due to error 
  11160. 5 - (Specific error defined by the command or utility) 
  11161. 6 - (Specific error defined by the command or utility) 
  11162. 7 - (Specific error defined by the command or utility) 
  11163.  
  11164. Most commands issue a return code of 0 for normal completion, or display an 
  11165. error message for unsuccessful completion. 
  11166.  
  11167.  
  11168. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11169.  
  11170. ANSI Command:  ON and OFF Parameters 
  11171.  
  11172. Specify ON to allow extended display and keyboard support.  Specify OFF to 
  11173. prevent this support. The default value is ON. 
  11174.  
  11175. To allow extended display and keyboard support, type the following: 
  11176.  
  11177. ANSI ON
  11178.  
  11179.  
  11180. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11181.  
  11182. APPEND Command:  /E Parameter 
  11183.  
  11184. Keeps the APPEND paths in the DOS environment. (This is similar to the DOS PATH 
  11185. command.) APPEND searches the environment on each call to find the path. Use 
  11186. the /E parameter to permit application programs to query the environment and, 
  11187. depending on what they find, to change the actions they take. However, if you 
  11188. want to ensure that all processes are affected by changes to the APPEND path 
  11189. string, do not use the /E parameter. 
  11190.  
  11191. For example, if you want to query the environment for paths to data files and 
  11192. find any files that have paths in the WORDPROC or CALC subdirectories on drive 
  11193. C, type the following: 
  11194.  
  11195. PATH C:\WORDPROC;C:\CALC;
  11196. APPEND /E
  11197. APPEND C:\WORDPROC;C:\CALC;
  11198.  
  11199. If you want to find any files that have paths in the WORDPROC or CALC 
  11200. subdirectories on drive C but do not want to query the environment for paths to 
  11201. data files, type the following: 
  11202.  
  11203. PATH C:\WORDPROC;C:\CALC;
  11204. APPEND C:\WORDPROC;C:\CALC;
  11205.  
  11206.  
  11207. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11208.  
  11209. APPEND Command:  Drive and Path Parameters 
  11210.  
  11211. Specifies the drives and directories to be searched. 
  11212.  
  11213. If you want to access files in the EDITOR directory when you are in another 
  11214. directory, type the following: 
  11215.  
  11216. APPEND = C:\OS2;C:\OS2\SYSTEM;
  11217. C:\EDITOR;
  11218.  
  11219.  
  11220. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11221.  
  11222. APPEND Command:  /PATH:ON and /PATH:OFF Parameters 
  11223.  
  11224. Specify /PATH:ON to allow APPEND to search for a file even when the specified 
  11225. file name includes a drive or path or both.  Specify /PATH:OFF to allow APPEND 
  11226. to search for a file when you type only a file name. If you specify /PATH:OFF 
  11227. and then type a drive or a path, APPEND does not search for the file. 
  11228.  
  11229. If you want to search for a file using only a file name, enter the following: 
  11230.  
  11231. APPEND /PATH:OFF
  11232.  
  11233. If you want to view a file, you can enter the following: 
  11234.  
  11235. TYPE MYFILE
  11236. APPEND searches until it finds the file. 
  11237.  
  11238.  
  11239. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11240.  
  11241. ASSIGN Command: x and y Parameters 
  11242.  
  11243. The x parameter specifies the drive to which read and write requests are 
  11244. currently set.  The y parameter specifies the drive to which you want read and 
  11245. write requests set.  You can use a space between the drive letters instead of 
  11246. the equals sign.  Do not type a colon after the drive letter. 
  11247.  
  11248. To assign all requests for drive A to drive C, enter the following: 
  11249.  
  11250. ASSIGN A=C or ASSIGN A C
  11251.  
  11252. To assign all requests for drives A and B to drive C, enter the following: 
  11253.  
  11254. ASSIGN A=C B=C
  11255.  
  11256.  
  11257. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11258.  
  11259. ATTRIB Command:  +R and -R Parameters 
  11260.  
  11261. Specify +R to turn on the read-only attribute of a file. Specify -R to turn it 
  11262. off. 
  11263.  
  11264. To turn on the read-only attribute of a file named LETTER.TXT, type the 
  11265. following: 
  11266.  
  11267. ATTRIB +R LETTER.TXT
  11268.  
  11269. To remove the read-only attribute from a file named LETTER.TXT, type the 
  11270. following: 
  11271.  
  11272. ATTRIB -R LETTER.TXT
  11273.  
  11274.  
  11275. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11276.  
  11277. ATTRIB Command:  +A and -A Parameters 
  11278.  
  11279. Specify +A to turn on the archive bit of a file. Specify -A to turn it off. 
  11280.  
  11281. To turn on the archive bit of a file named LETTER.TXT, type the following: 
  11282.  
  11283. ATTRIB +A LETTER.TXT
  11284.  
  11285. To turn off the archive bit and turn on the read-only attribute of a file named 
  11286. LETTER.TXT, type the following. 
  11287.  
  11288. ATTRIB -A +R LETTER.TXT
  11289.  
  11290.  
  11291. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11292.  
  11293. ATTRIB Command:  +S and -S Parameters 
  11294.  
  11295. Specify +S to set a file as a system file.  Specify -S to turn off the system 
  11296. file attribute. 
  11297.  
  11298. To set the file, LETTER.TXT, as a system file, type the following: 
  11299.  
  11300. ATTRIB +S LETTER.TXT
  11301.  
  11302. To clear the file, LETTER.TXT, as a system file, type the following: 
  11303.  
  11304. ATTRIB -S LETTER.TXT
  11305.  
  11306.  
  11307. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11308.  
  11309. ATTRIB Command:  +H and -H Parameters 
  11310.  
  11311. Specify +H to set a file as a hidden file.  Specify -H to turn off the hidden 
  11312. file attribute. 
  11313.  
  11314. To set the file, LETTER.TXT, as a hidden file, type the following: 
  11315.  
  11316. ATTRIB +H LETTER.TXT
  11317.  
  11318. To clear the file, LETTER.TXT, as a hidden file, type the following: 
  11319.  
  11320. ATTRIB -H LETTER.TXT
  11321.  
  11322.  
  11323. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11324.  
  11325. ATTRIB Command:  Drive, Path, Filename Parameters 
  11326.  
  11327. Specifies the drive, directory, and file name. You do not need to specify the 
  11328. drive and directory when changing the status of a file in your current 
  11329. directory. 
  11330.  
  11331. To turn off the archive bit of the LETTER.TXT file in the REPORTS directory on 
  11332. drive D, type the following: 
  11333.  
  11334. ATTRIB -A D:\REPORTS\LETTER.TXT
  11335.  
  11336.  
  11337. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11338.  
  11339. ATTRIB Command:  /S Parameter 
  11340.  
  11341. Specify the /S parameter to process all subdirectories. 
  11342.  
  11343. To display the current settings of the archive and read-only bits for all the 
  11344. files on drive C, type the following: 
  11345.  
  11346. ATTRIB C:\*.* /S
  11347.  
  11348. To find all occurrences of a file named LETTER.TXT on drive C, type the 
  11349. following: 
  11350.  
  11351. ATTRIB C:\LETTER.TXT /S
  11352.  
  11353.  
  11354. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11355.  
  11356. AUTOFAIL Command:  YES and NO Parameters 
  11357.  
  11358. Specify NO to cause a window to appear that informs you of an error condition. 
  11359. Specify YES to have an error code appear instead. The default is NO. 
  11360.  
  11361. To cause an error code to appear, type the following in the CONFIG.SYS file: 
  11362.  
  11363. AUTOFAIL=YES
  11364.  
  11365.  
  11366. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11367.  
  11368. BACKUP Command:  Source Drive, Path, Filename Parameters 
  11369.  
  11370. Specifies the drive, directory, and names of the files to be backed up. You 
  11371. need to specify a path when backing up files in another directory. 
  11372.  
  11373. To back up a file named FRIDAY.RPT from the REPORTS directory to drive A, enter 
  11374. the following: 
  11375.  
  11376. BACKUP C:\REPORTS\FRIDAY.RPT A:
  11377.  
  11378.  
  11379. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11380.  
  11381. BACKUP Command:  Target Drive Parameter 
  11382.  
  11383. Specifies the destination drive for the backed-up files. 
  11384.  
  11385. To back up all files on drive C to drive A, enter the following: 
  11386.  
  11387. BACKUP C: A:
  11388.  
  11389.  
  11390. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11391.  
  11392. BACKUP Command:  /L:filename Parameter 
  11393.  
  11394. Makes a backup log entry in the file specified. If no file name is given, the 
  11395. file BACKUP.LOG is placed in the root directory of the source drive. 
  11396.  
  11397. To back up files from the current directory on drive C to drive A and to create 
  11398. a log file named BACKUP.LOG, enter the following: 
  11399.  
  11400. BACKUP C: A: /L
  11401.  
  11402. The first line of the entry in the file contains date and time representing the 
  11403. backup dates and times.  Each subsequent line in the entry corresponds to one 
  11404. of the files that was backed up. 
  11405.  
  11406. These lines consist of the file name and the number of the diskette that 
  11407. contains the file. This information can be used when you need to restore a 
  11408. particular file from a diskette. You must specify the diskette so that RESTORE 
  11409. does not have to search for files. If the backup log file already exists, the 
  11410. current entry is appended to the file. 
  11411.  
  11412.  
  11413. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11414.  
  11415. BACKUP Command:  /D:mm-dd-yy Parameter 
  11416.  
  11417. Backs up only those files that were last modified on or after the specified 
  11418. date.  This parameter expects the date to be entered in the correct format for 
  11419. the current country specified with the COUNTRY command. 
  11420.  
  11421. To back up files changed on or after June 15, 1990 from the current directory 
  11422. on drive C to drive A, enter the following: 
  11423.  
  11424. BACKUP C: A: /D:06-15-90
  11425.  
  11426.  
  11427. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11428.  
  11429. BACKUP Command:  /T:hh:mm:ss  Parameter
  11430.  
  11431. Backs up only those files that were last modified at or after a certain time. 
  11432. It is recommended that /T be used with /D. 
  11433.  
  11434. To back up files changed on or after 11:45 a.m. from the current directory on 
  11435. drive C to drive A, enter the following: 
  11436.  
  11437. BACKUP C: A: /T:11:45:00
  11438.  
  11439.  
  11440. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11441.  
  11442. BACKUP Command:  /M Parameter 
  11443.  
  11444. Backs up only those files that have changed since the last backup. 
  11445.  
  11446. To back up files in the current directory on drive C that were changed since 
  11447. the last backup to drive A, enter the following: 
  11448.  
  11449. BACKUP C: A: /M
  11450.  
  11451.  
  11452. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11453.  
  11454. BACKUP Command:  /A Parameter 
  11455.  
  11456. Adds the files to be backed up to those already on the backup disk.  When you 
  11457. use this parameter, the old files on the backup disk are not erased. This 
  11458. parameter is not valid if files exist on the backup disk that were backed up by 
  11459. DOS Version 3.20 BACKUP or earlier. 
  11460.  
  11461. To add the files on drive B to the backed-up files already on the diskette in 
  11462. drive A, enter the following: 
  11463.  
  11464. BACKUP B: A: /A
  11465.  
  11466.  
  11467. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11468.  
  11469. BACKUP Command:  /F:xxx Parameter 
  11470.  
  11471. Specifies that unformatted target diskettes are formatted before BACKUP starts. 
  11472. This parameter does not format a hard disk or previously formatted diskette. 
  11473. If an unformatted diskette is encountered, BACKUP formats it as needed.  You 
  11474. can specify one of the following sizes for the diskette: 
  11475.  
  11476. o 360 for 360KB diskettes 
  11477. o 720 for 720KB diskettes 
  11478. o 1200 for 1.2MB diskettes 
  11479. o 1440 for 1.4MB diskettes 
  11480. o 2880 for 2.88MB diskettes 
  11481.  
  11482. To back up all files from the root directory on drive C to drive A and to 
  11483. format any diskettes to 1.2MB, enter the following: 
  11484.  
  11485. BACKUP C: A: /F:1200
  11486.  
  11487.  
  11488. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11489.  
  11490. BACKUP Command:  /S Parameter 
  11491.  
  11492. Backs up subdirectories. 
  11493.  
  11494. To back up the contents of drive C, including all files and subdirectories 
  11495. within it, to multiple diskettes on drive A, enter the following: 
  11496.  
  11497. BACKUP C:\*.* A: /S
  11498.  
  11499.  
  11500. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11501.  
  11502. BASEDEV Command:  Filename Parameter 
  11503.  
  11504. Specifies the complete name of the file, including its extension, that contains 
  11505. the base device driver. 
  11506.  
  11507.  
  11508. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11509.  
  11510. BASEDEV Command:  Arguments Parameter 
  11511.  
  11512. Specifies the parameters of the specified base device driver. 
  11513.  
  11514.  
  11515. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11516.  
  11517. BOOT Command:  /OS2 Parameter 
  11518.  
  11519. Prepares your system to start the OS/2 operating system from drive C. 
  11520.  
  11521. To start the OS/2 operating system, do the following: 
  11522.  
  11523.  1. Enter BOOT /OS2 and press Enter. 
  11524.  
  11525.  2. Respond to the prompt that appears. 
  11526.  
  11527.  
  11528. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11529.  
  11530. BOOT Command:  /DOS Parameter 
  11531.  
  11532. Prepares your system to start DOS from drive C. 
  11533.  
  11534. To start DOS, do the following: 
  11535.  
  11536.  1. Enter BOOT /DOS and press Enter. 
  11537.  
  11538.  2. Respond to the prompt that appears. 
  11539.  
  11540.  
  11541. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11542.  
  11543. BREAK Command:  ON and OFF Parameters 
  11544.  
  11545. Specify ON to check to see if you pressed the Ctrl and Break keys together. In 
  11546. OS/2 sessions, the check for Ctrl+Break is always set to ON, and you cannot 
  11547. change it. Specify OFF to have DOS check whether the Ctrl and Break keys were 
  11548. pressed only during: 
  11549.  
  11550. o Standard output operations 
  11551. o Standard input operations 
  11552. o Standard print operations 
  11553. o Standard auxiliary operations 
  11554.  
  11555. The default is OFF. 
  11556.  
  11557. To check whether Ctrl+Break has been pressed only when output is written to 
  11558. your screen or printer, or when input is read from your keyboard, type the 
  11559. following in your CONFIG.SYS file: 
  11560.  
  11561. BREAK=OFF
  11562.  
  11563. To have the system check for Ctrl+Break when you request it, type the following 
  11564. in your CONFIG.SYS file: 
  11565.  
  11566. BREAK=ON
  11567.  
  11568.  
  11569. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11570.  
  11571. BUFFERS Command:  x Parameter 
  11572.  
  11573. Specifies the number of disk buffers the system allocates in memory when it 
  11574. starts.  Type a number from 1 through 100.  Values greater than 100 are 
  11575. ignored.  The default is 30. 
  11576.  
  11577. To assign the number of buffers to 15, type the following in your CONFIG.SYS 
  11578. file: 
  11579.  
  11580. BUFFERS=15
  11581.  
  11582.  
  11583. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11584.  
  11585. External Command:  Drive and Path Parameters 
  11586.  
  11587. Specifies the drive and location for the command you want to process. External 
  11588. commands are stored on the disk as program files.  When an external command is 
  11589. entered, the system searches for it in the current directory of the default or 
  11590. specified drive. If the command is not found, the system continues searching 
  11591. for it in the directories listed in the PATH statement. 
  11592.  
  11593.  
  11594. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11595.  
  11596. CACHE Command:  /LAZY Parameter 
  11597.  
  11598. Specifies whether the contents of cache memory are written immediately to disk 
  11599. or only during disk idle time.  This command pertains only to disks formatted 
  11600. for the High Performance File System. ON enables writing of cache memory during 
  11601. disk idle time. OFF specifies immediate writing to disk. This parameter must 
  11602. not be mixed with other parameters.  It must be entered without other 
  11603. parameters at a command prompt.  The default state is for lazy-writing to be 
  11604. ON.  If you want lazy-writing to be OFF as the default, you must add the 
  11605. following statement to your STARTUP.CMD file: 
  11606.  
  11607. C:\OS2\CACHE.EXE /LAZY:OFF
  11608.  
  11609. To have data in cache memory immediately written to disk, enter the following 
  11610. at an OS/2 command prompt: 
  11611.  
  11612. CACHE /LAZY:OFF
  11613.  
  11614. Note:   If you turn lazy-writing off by entering the /LAZY:OFF parameter at a 
  11615.         command prompt and later in the same session want to turn lazy-writing 
  11616.         back on, enter the DETACH command before CACHE to retain use of the 
  11617.         same command prompt session. 
  11618.  
  11619.                 DETACH CACHE /LAZY:ON
  11620.  
  11621.  
  11622. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11623.  
  11624. CACHE Command:  /MAXAGE Parameter 
  11625.  
  11626. Specifies the maximum amount of time (in milliseconds) before data is 
  11627. transferred to another section of cache memory.  That section contains data and 
  11628. programs that have not recently been used. The default value is 5000. 
  11629.  
  11630. To have data that has been in cache memory longer than 4000 milliseconds 
  11631. written to disk, type the following in the CONFIG.SYS file: 
  11632.  
  11633. RUN=C:\OS2\CACHE.EXE /MAXAGE:4000
  11634.  
  11635.  
  11636. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11637.  
  11638. CACHE Command:  /DISKIDLE Parameter 
  11639.  
  11640. Sets the amount of time (in milliseconds) that a disk must be idle before it 
  11641. can accept data from cache memory.  The default value is 1000.  The The minimum 
  11642. amount of disk idle time must be greater than the value specified in the 
  11643. BUFFERIDLE parameter. 
  11644.  
  11645. To set the amount of disk idle time to 2000 milliseconds, type the following in 
  11646. the CONFIG.SYS file: 
  11647.  
  11648. RUN=C:\OS2\CACHE.EXE /DISKIDLE:2000
  11649.  
  11650.  
  11651. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11652.  
  11653. CACHE Command:  /BUFFERIDLE Parameter 
  11654.  
  11655. Sets the amount of time (in milliseconds) that the cache buffer can be idle 
  11656. before the data it contains must be written to a disk. The default value is 
  11657. 500. 
  11658.  
  11659. To set the amount of cache buffer idle time to 1000 milliseconds, type the 
  11660. following in the CONFIG.SYS file: 
  11661.  
  11662. RUN=C:\OS2\CACHE.EXE /BUFFERIDLE:1000
  11663.  
  11664.  
  11665. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11666.  
  11667. CALL Command:  Batchfile Parameter 
  11668.  
  11669. Specifies the name of the batch file to begin running. 
  11670.  
  11671. For example, to call two files named ACCOUNT.BAT and BILL.BAT, type the 
  11672. following in your batch file: 
  11673.  
  11674. CALL ACCOUNT
  11675. CALL BILL
  11676.  
  11677.  
  11678. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11679.  
  11680. CALL Command:  Argument Parameter 
  11681.  
  11682. Specifies information passed to the called batch file. 
  11683.  
  11684. For example, if you want to pass the second and third parameters, along with 
  11685. the value of FILE, to the batch file named MARKET, type the following in your 
  11686. batch file: 
  11687.  
  11688. SET FILE=NEW.TXT
  11689. CALL MARKET %2 %3 %FILE%
  11690.  
  11691.  
  11692. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11693.  
  11694. CHCP Command:  nnn Parameter 
  11695.  
  11696. Indicates the code page number you want to use. 
  11697.  
  11698. If you want to change to the Multilingual code page (850) and your system has 
  11699. been set up to use code pages 437 and 850, enter the following: 
  11700.  
  11701. CHCP 850
  11702.  
  11703.  
  11704. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11705.  
  11706. CD Command:  Drive and Path Parameters 
  11707.  
  11708. Specifies the location of the directory you want to change to. 
  11709.  
  11710. You can: 
  11711.  
  11712. o Change from one directory to another on the current drive 
  11713. o Change to a subdirectory within the current directory 
  11714. o Change back to the root directory 
  11715. o Change to the parent directory from any subdirectory 
  11716.  
  11717. To change from the current directory to a directory named REPORTS on the 
  11718. current drive, enter the following: 
  11719.  
  11720. CD \REPORTS
  11721.  
  11722. To change to the MONTHLY subdirectory, which is within the REPORTS\ANNUAL 
  11723. current directory, enter the following: 
  11724.  
  11725. CD MONTHLY
  11726.  
  11727. To change back to the root directory, enter: 
  11728.  
  11729. CD \
  11730.  
  11731. To change to the ANNUAL directory from the REPORTS\ANNUAL\MONTHLY subdirectory, 
  11732. enter the following: 
  11733.  
  11734. CD ..
  11735.  
  11736.  
  11737. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11738.  
  11739. CHKDSK Command:  Drive, Path, Filename Parameters 
  11740.  
  11741. Specifies the file or files that are to be analyzed. 
  11742.  
  11743. Note:   You cannot specify a file on a disk formatted with the High Performance 
  11744.         File System (HPFS). 
  11745.  
  11746. To analyze a file named REPORTS.ABC, enter the following: 
  11747.  
  11748. CHKDSK REPORTS.ABC
  11749.  
  11750. You can also use global file-name characters .  For example, to display the 
  11751. status of all files that begin with "REPORT" and contain other characters, 
  11752. enter the following: 
  11753.  
  11754. CHKDSK REPORT*.*
  11755.  
  11756.  
  11757. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11758.  
  11759. CHKDSK Command:  /F Parameter 
  11760.  
  11761. Fixes errors found on a disk or directory.  When you use this parameter, no 
  11762. activity can occur on the disk.  Therefore, the drive to be fixed cannot be the 
  11763. one from which you start the operating system, nor can it be the one that 
  11764. contains the CHKDSK program. 
  11765.  
  11766. To fix errors that are found in the file allocation table or directory, enter 
  11767. the following: 
  11768.  
  11769. CHKDSK /F
  11770.  
  11771.  
  11772. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11773.  
  11774. CHKDSK Command:  /V Parameter 
  11775.  
  11776. Displays all files and their paths on the default or specified drive. 
  11777.  
  11778. To display all files and directories on the current drive, enter the following: 
  11779.  
  11780. CHKDSK /V
  11781.  
  11782.  
  11783. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11784.  
  11785. CHKDSK Command:  /C Parameter 
  11786.  
  11787. Specifies that files will be recovered only if the file system was in an 
  11788. inconsistent state when the computer was started. A file system could be in an 
  11789. inconsistent state when files were left open. This can happen when: 
  11790.  
  11791. o The computer was turned off before all files were closed. 
  11792.  
  11793. o Electrical power to the computer was interrupted. 
  11794.  
  11795.  
  11796. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11797.  
  11798. CHKDSK Command:  /F:n Parameter 
  11799.  
  11800. Specifies a recovery level n.  If no number is specified, CHKDSK assumes 
  11801. recovery level 2. 
  11802.  
  11803. The recovery levels are as follows: 
  11804.  
  11805. /F:0      Specifies that CHKDSK is to analyze the file system, display 
  11806.           information about its state, but not perform any repairs. 
  11807.  
  11808. /F:1      Specifies that CHKDSK is to resolve inconsistent file system 
  11809.           structures. 
  11810.  
  11811. /F:2      Specifies that CHKDSK is to resolve inconsistent file system 
  11812.           structures and also scan disk space that is in use but not referred 
  11813.           to by the file system. If recognizable file or directory structures 
  11814.           are found, CHKDSK recovers them. 
  11815.  
  11816. /F:3      Includes all level 2 recovery and also specifies CHKDSK is to scan 
  11817.           the entire disk partition for recognizable file system structures. 
  11818.  
  11819.  
  11820. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11821.  
  11822. CMD Command:  Drive and Path Parameters 
  11823.  
  11824. Tells CMD.EXE which drive and path to set the value of the COMSPEC environment 
  11825. variable to. 
  11826.  
  11827.  
  11828. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11829.  
  11830. CMD Command:  /Q Parameter 
  11831.  
  11832. Provides a NO ECHO function to start a secondary command processor from an 
  11833. existing CMD.EXE.  The /Q parameter cannot be used after the /K or /C 
  11834. parameters. To start a secondary command processor and override the default for 
  11835. copying the command line to standard output, enter the following: 
  11836.  
  11837. CMD /Q
  11838.  
  11839.  
  11840. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11841.  
  11842. CMD Command:  /S Parameter 
  11843.  
  11844. Tells the command processor being started not to install a signal handler such 
  11845. as Ctrl+C.  This means that a Ctrl+C request to end the program will be 
  11846. ignored. 
  11847.  
  11848. To tell the command processor being started not to install a signal handler 
  11849. normally used for Ctrl+C (end a program), type the following: 
  11850.  
  11851. CMD /S
  11852.  
  11853.  
  11854. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11855.  
  11856. CMD Command:  /K string Parameter 
  11857.  
  11858. Passes a string to CMD.EXE but does not automatically return to the previous 
  11859. command processor after the command is completed. The string is the command you 
  11860. want to pass. 
  11861.  
  11862. To start another command processor, process the DIR command on drive A, and 
  11863. retain the current command processor, type the following: 
  11864.  
  11865. CMD /K DIR A:
  11866.  
  11867. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  11868. quotation marks. 
  11869.  
  11870. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  11871. exists on drive C, which is formatted with the HPFS, and retain the current 
  11872. command processor, type the following: 
  11873.  
  11874. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE""
  11875.  
  11876. If the program requires arguments, type them as: 
  11877.  
  11878. CMD /K ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  11879.  
  11880.  
  11881. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11882.  
  11883. CMD Command:  /C string Parameter 
  11884.  
  11885. Passes a command to CMD.EXE and automatically returns to the previous command 
  11886. processor after the command is completed. The string is the command you want to 
  11887. pass. 
  11888.  
  11889. To start another command processor, process the DIR command on drive A, and 
  11890. automatically return to the previous command processor after DIR is complete, 
  11891. type the following: 
  11892.  
  11893. CMD /C DIR A:
  11894.  
  11895. To pass quoted filenames to CMD.EXE, you must include the outer set of 
  11896. quotation marks. 
  11897.  
  11898. To have the secondary CMD.EXE run the program, C:\UTIL\WORD PROCESSOR.EXE, that 
  11899. exists on drive C, which is formatted with the HPFS, and return to the previous 
  11900. command processor, type the following: 
  11901.  
  11902. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE""
  11903.  
  11904. If the program requires arguments, type them as: 
  11905.  
  11906. CMD /C ""C:\UTIL\WORD PROCESSOR.EXE" ARG1 ARG2"
  11907.  
  11908.  
  11909. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11910.  
  11911. CODEPAGE Command:  xxx and yyy Parameters.
  11912.  
  11913. Specifies the primary code page (xxx) and the secondary code page (yyy). 
  11914.  
  11915. The OS/2 operating system supports these code pages: 
  11916.  
  11917. 437     U.S. 
  11918.  
  11919. 850     Multilingual 
  11920.  
  11921. 852     Latin 2 (Czechoslovakia, Hungary, Poland, Yugoslavia) 
  11922.  
  11923. 857     Turkish 
  11924.  
  11925. 860     Portuguese 
  11926.  
  11927. 861     Iceland 
  11928.  
  11929. 862     Hebrew-speaking 
  11930.  
  11931. 863     Canada (French-speaking) 
  11932.  
  11933. 864     Arabic-speaking 
  11934.  
  11935. 865     Nordic 
  11936.  
  11937. 932     Japanese 
  11938.  
  11939. 934     Korean 
  11940.  
  11941. 938     Republic of China 
  11942.  
  11943. 942     Japanese  SAA* 
  11944.  
  11945. 944     Korean   SAA 
  11946.  
  11947. 948     Republic of China  SAA 
  11948.  
  11949. Note 1    For the DOS environment, code pages 862 and 864 are supported with a 
  11950.           country supplement available only in certain countries. 
  11951. Note 2    Code pages 932, 934, 938, 942, 944, and 948 are supported only with 
  11952.           the DBCS version of the OS/2 operating system on DBCS hardware. 
  11953.  
  11954. For example, if you have a U.S. keyboard, a VGA display, and a Proprinter that 
  11955. support code-page switching, and you want to prepare code pages 437 and 850, 
  11956. insert the following in the CONFIG.SYS file: 
  11957.  
  11958. CODEPAGE=437,850
  11959.  
  11960.  
  11961. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11962.  
  11963. COMMAND Command:  Drive and Path Parameters 
  11964.  
  11965. Sets the value of the COMSPEC environment variable to the drive and path 
  11966. specified.  The file name and extension cannot be changed when using this 
  11967. parameter.  For example, 
  11968.  
  11969. COMMAND D:\XYZ
  11970.  
  11971. will load a second copy of the command processor and set the new environment 
  11972. variable. 
  11973.  
  11974. COMSPEC=D:\XYZ\COMMAND.COM
  11975.  
  11976.  
  11977. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11978.  
  11979. COMMAND Command:  /C string Parameter 
  11980.  
  11981. Passes a command to a secondary command processor and returns to the primary 
  11982. command processor after the command is completed. The string is a command you 
  11983. want to pass to the command processor.  The command is interpreted and acted on 
  11984. as if you had entered it at the DOS command prompt. 
  11985.  
  11986. For example, if you enter the following and press the Enter key: 
  11987.  
  11988. COMMAND /C DIR B:
  11989.  
  11990. a secondary DOS command processor is loaded, runs the command DIR B:, and exits 
  11991. to the primary DOS command processor. 
  11992.  
  11993.  
  11994. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11995.  
  11996. COMMAND Command: /P Parameter 
  11997.  
  11998. Causes the DOS command processor that has been started to become permanent in 
  11999. storage.  If you specify /P, the new command processor does not return to the 
  12000. previous command processor.  You must restart the OS/2 operating system to 
  12001. remove the second DOS command processor. 
  12002.  
  12003. To retain the DOS processor, enter the following: 
  12004.  
  12005. COMMAND /P
  12006.  
  12007.  
  12008. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12009.  
  12010. COMMAND Command:  /E:x Parameter 
  12011.  
  12012. Specifies a base-10 integer that you can select to set the size of the 
  12013. environment. This number must be in a range of 160 through 32768. It is rounded 
  12014. up to the nearest paragraph boundary (to a multiple of 16). 
  12015.  
  12016. To specify the size of the environment as 16KB, enter the following: 
  12017.  
  12018. COMMAND /E:16384
  12019.  
  12020.  
  12021. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12022.  
  12023. COMMAND Command:  /K string Parameter 
  12024.  
  12025. Passes a string to COMMAND.COM but does not automatically return to the 
  12026. previous command processor after the command is completed. The string is the 
  12027. command you want to pass. 
  12028.  
  12029. To start another command processor, process the DIR command on drive A, and 
  12030. retain the new command processor, enter the following: 
  12031.  
  12032. COMMAND /K DIR A:
  12033.  
  12034.  
  12035. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12036.  
  12037. COMP Command:  Drive, Path, Filename Parameters 
  12038.  
  12039. Specifies the drive, directory, and names of the files to be compared. 
  12040.  
  12041. To compare all files in the NOTE subdirectory on drive C with the files in the 
  12042. MEMO subdirectory on drive C, enter the following: 
  12043.  
  12044. COMP C:\NOTE C:\MEMO
  12045.  
  12046. To compare a file that is not on the same diskette as the COMP command itself 
  12047. and be prompted for the file names, enter the following: 
  12048.  
  12049. COMP
  12050.  
  12051. To compare all files on drive A that have a .ABC extension with the files on 
  12052. drive C that have the same extension, enter the following: 
  12053.  
  12054. COMP A:*.ABC C:
  12055.  
  12056. To compare all files on drive A that have a .ALL extension with the files on 
  12057. drive B that have the same name but an extension of .BAK, enter the following: 
  12058.  
  12059. COMP A:*.ALL B:*.BAK
  12060.  
  12061.  
  12062. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12063.  
  12064. COPY Command:  /A and B Parameters 
  12065.  
  12066. Specifies the amount of data to be processed by the COPY command. A /A or /B 
  12067. parameter applies to the filename specified before it.  It also applies to all 
  12068. remaining files on the command line unless another /A or /B is indicated. 
  12069.  
  12070. These parameters have the following meaning when used with a source filename: 
  12071.  
  12072. /A    Treats the file as an ASCII (text) file.  The file's data is copied up 
  12073.       to, but not including, the first end-of-file character (Ctrl+Z) found in 
  12074.       the file.  The rest of the file is not copied. 
  12075.  
  12076. /B    Treats the file as a binary file and copies the entire file (based on the 
  12077.       directory file size). 
  12078.  
  12079. These parameters have the following meaning when used with a target filename: 
  12080.  
  12081. /A    Adds an end-of-file character (Ctrl+Z) as the last character of the file. 
  12082.  
  12083. /B    Does not add an end-of-file character (Ctrl+Z) as the last character of 
  12084.       the file. 
  12085.  
  12086. You can combine ASCII files with binary files by using both the /A and /B 
  12087. parameters.  For example, to combine an ASCII file named TUES with a binary 
  12088. file named WED and create a new file named STATUS, enter the following: 
  12089.  
  12090. COPY TUES + WED /B STATUS
  12091.  
  12092.  
  12093. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12094.  
  12095. COPY Command:  /V Parameter 
  12096.  
  12097. Causes the OS/2 operating system to verify that the sectors written to the 
  12098. target disk are recorded correctly. 
  12099.  
  12100. To verify that information is recorded correctly, specify /V at the end of the 
  12101. command.  For example, 
  12102.  
  12103. COPY REPORTS.TXT C:\STATUS /V
  12104. verifies that the REPORTS.TXT file was copied to the STATUS directory on drive 
  12105. C. 
  12106.  
  12107. Although recording errors rarely occur when you run COPY, you might want to use 
  12108. this parameter to verify that critical data was correctly recorded. This 
  12109. parameter causes the COPY command to run more slowly because the system must 
  12110. check each entry recorded on the disk.  The system displays an error message if 
  12111. a write is not verified. 
  12112.  
  12113.  
  12114. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12115.  
  12116. COPY Command:  /F Parameter 
  12117.  
  12118. Causes the copy operator to fail if the source file contains extended 
  12119. attributes and the destination file system does not support extended 
  12120. attributes. If the /F parameter is not specified, the copy will succeed if the 
  12121. source file contains extended attributes, and the destination file system does 
  12122. not support them.  The extended attributes are not copied. If the /F parameter 
  12123. is not specified and the source file contains needed extended attributes, the 
  12124. copy will fail if the destination file system does not support extended 
  12125. attributes.  In this instance, a message appears. 
  12126.  
  12127. Assume you want to copy a file named REPORTS.TXT to the STATUS directory on 
  12128. drive D.  You also want the copy to fail if drive D does not support extended 
  12129. attributes.  Type the following: 
  12130.  
  12131. COPY REPORTS.TXT D:\STATUS /F
  12132.  
  12133.  
  12134. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12135.  
  12136. COPY Command:  Drive, Path, Filename Parameters 
  12137.  
  12138. Specifies the source and target file names.  If the target is a directory (a 
  12139. path with no filename), this command copies files into that directory without 
  12140. changing their names. For example, to copy a file named MON from the root 
  12141. directory on drive C to a directory named REPORTS on drive C, enter the 
  12142. following: 
  12143.  
  12144. COPY C:\MON C:\REPORTS
  12145.  
  12146. You can use the global characters ? and * in the filename parameter and in the 
  12147. extension parameters of both the source and target files. 
  12148.  
  12149. If you specify the source drive and path and omit the source file name, all the 
  12150. files in the source directory are copied to the target.  In other words, an *.* 
  12151. is assumed for the filename parameter. For example, to copy all the files in a 
  12152. directory named STATUS on drive A to the REPORTS directory on drive C, enter 
  12153. the following: 
  12154.  
  12155. COPY A:\STATUS\*.* C:\REPORTS
  12156.  
  12157. You can also copy files to the same disk.  In this case, you must give the 
  12158. copies different names unless different directories are specified. 
  12159.  
  12160.  
  12161. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12162.  
  12163. COPY Command:  Combine-Files Option 
  12164.  
  12165. Use the combine mode of copy when you can combine several other copy functions 
  12166. and there is at least one plus sign, and all of the file-name specifications 
  12167. have a common name that can be substituted by a global file-name character in 
  12168. them as follows: 
  12169.  
  12170. Copy *.BAT + *.CMD *.ALL
  12171.  
  12172. Another way of thinking about the append and combine copy modes is that the 
  12173. append mode produces only one target file. The combine mode combines copy 
  12174. functions and produces a target file for each common source file found.  This 
  12175. is what happens if we enter the previous example and there are source files of 
  12176. A.BAT, B.BAT, C.BAT, A.CMD, B.CMD, and C.CMD. The result is three target files 
  12177. of A.ALL, B.ALL and C.ALL are created. The A.ALL file contains appended copies 
  12178. of the files A.BAT and A.CMD, the B.ALL file contains appended copies of the 
  12179. files B.BAT and B.CMD, and the C.ALL file contains appended copies of the files 
  12180. C.BAT and C.CMD. The global file-name character (*) found three common file 
  12181. names to append files to or COPY performed a combined operation of three file 
  12182. name groups to which it could append files. 
  12183.  
  12184.  
  12185. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12186.  
  12187. COPY Command:  Append-Files Option 
  12188.  
  12189. Use this option when you want to combine files while copying.  That is, you can 
  12190. copy and combine two or more files into one new file, or add additional files 
  12191. to the end of the first file. 
  12192.  
  12193. To combine files, follow COPY with a list of any number of source files, each 
  12194. separated by a plus (+) sign.  The following example copies and combines the 
  12195. files MYPROG.XYZ and FILEA.ABC from the current drive and directory and file 
  12196. FILEB.DEF from drive B and puts them into a new file called BIGFILE.TXT in the 
  12197. current directory: 
  12198.  
  12199. COPY MYPROG.XYZ+FILEA.ABC+B:FILEB.DEF BIGFILE.TXT
  12200.  
  12201. To add (append) files to an existing file, do not specify a target file name. 
  12202. The following example adds files named MYPROG.XYZ, FILEA.ABC, and FILEB.DEF to 
  12203. the MYPROG.XYZ file: 
  12204.  
  12205. COPY MYPROG.XYZ+FILEA.ABC+FILEB.DEF
  12206.  
  12207.  
  12208. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12209.  
  12210. COPY Command:  Change-Date-and-Time Option 
  12211.  
  12212. To change the date and time of a file to the current date and time without 
  12213. altering its contents, use a plus sign followed by two commas (+ ,,). 
  12214.  
  12215. To update the date and time of all files in the current directory to the 
  12216. current date and time, enter the following: 
  12217.  
  12218. COPY *.* /B + ,,
  12219.  
  12220.  
  12221. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12222.  
  12223. COPY Command:  Device-Name Option 
  12224.  
  12225. Use this option when you want to refer to a character-device name, such as 
  12226. COM1, LPT1, PRN, or CON. 
  12227.  
  12228. To copy a binary file named MYFILE.BIN and send it to your printer (LPT1), 
  12229. enter the following: 
  12230.  
  12231. COPY MYFILE.BIN /B LPT1
  12232.  
  12233. To copy a file named FRIDAY and send it to your plotter (COM1), type the 
  12234. following: 
  12235.  
  12236. COPY FRIDAY COM1
  12237.  
  12238.  
  12239. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12240.  
  12241. DBCS means a set of characters in which each character is represented by two 
  12242. bytes.  Languages such as Japanese, Chinese, and Korean, which contain more 
  12243. characters than can be represented by 256 code points, require double-byte 
  12244. character sets.  As each character requires two bytes, the entering, 
  12245. displaying, and printing of DBCS characters requires hardware and software that 
  12246. can support DBCS. 
  12247.  
  12248.  
  12249. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12250.  
  12251. COUNTRY Command:  nnn Parameter 
  12252.  
  12253. Specifies a three-digit value.  For most countries, this value is the 
  12254. three-digit international country code for the telephone system. 
  12255.  
  12256. To set the date and time format for Canada (French), use 002 as the country 
  12257. code and 863 as the desired code page, and specify COUNTRY.SYS as the file 
  12258. containing the country information. Type the following in your CONFIG.SYS file. 
  12259.  
  12260. COUNTRY=002,C:\OS2\SYSTEM\COUNTRY.SYS
  12261.  
  12262.  
  12263. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12264.  
  12265. COUNTRY Command:  Country File Location 
  12266.  
  12267. Specifies the drive, directory, and name of the file that contains the country 
  12268. information used.  Normally, this file specification is 
  12269. C:\OS2\SYSTEM\COUNTRY.SYS. 
  12270.  
  12271.  
  12272. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12273.  
  12274. CREATEDD Command:  Target Drive Parameter 
  12275.  
  12276. Specifies the diskette drive that contains the diskette to be formatted as a 
  12277. dump diskette. 
  12278.  
  12279. To create a dump diskette in drive A, type the following: 
  12280.  
  12281. CREATEDD A:
  12282.  
  12283.  
  12284. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12285.  
  12286. DATE Command:  Date Parameters 
  12287.  
  12288. mm    Specifies the month, which must be entered with the numbers 01 through 
  12289.       12. 
  12290.  
  12291. dd    Specifies the day, which must be entered with the numbers 01 through 31. 
  12292.  
  12293. yy    Specifies the year, which must be entered with the numbers 1980 through 
  12294.       2079, or the numbers 00 through 99. The 00-79 range represents the years 
  12295.       2000 through 2079, and the 80-99 range represents the years 1980 through 
  12296.       1999. 
  12297.  
  12298. To change the date in the system to May 21 1990 without being prompted by the 
  12299. system, enter the following: 
  12300.  
  12301. DATE 05-21-90
  12302.  
  12303.  
  12304. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12305.  
  12306. DDINSTAL Command:  Drive and Path Parameters 
  12307.  
  12308. Specifies the drive and location of the Device Support diskette. 
  12309.  
  12310.  
  12311. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12312.  
  12313. DEBUG Command: Drive Path Filename Parameters 
  12314.  
  12315. Specifies the drive, directory, and name of the file to test. 
  12316.  
  12317.  
  12318. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12319.  
  12320. DETACH Command:  Command Parameter 
  12321.  
  12322. Specifies any program or OS/2 command (and its options) that does not require 
  12323. any input from the keyboard or mouse or any output to the display. 
  12324.  
  12325. To start and detach a batch program named SAMPLE.CMD from its command 
  12326. processor, enter the following: 
  12327.  
  12328. DETACH SAMPLE.CMD
  12329.  
  12330. To detach the CL command for compiling the TEST.C file and redirect the output 
  12331. to LPT1, enter the following: 
  12332.  
  12333. DETACH CL -C TEST.C > LPT1
  12334.  
  12335.  
  12336. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12337.  
  12338. DEVICE Command:  Drive and Path Parameters 
  12339.  
  12340. Specifies the drive and directory of the file that contains the device driver. 
  12341.  
  12342.  
  12343. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12344.  
  12345. DEVICE Command:  Filename Parameter 
  12346.  
  12347. Specifies the complete name of the file, including its extension, that contains 
  12348. the device driver. 
  12349.  
  12350.  
  12351. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12352.  
  12353. DEVICE Command:  Arguments Parameter 
  12354.  
  12355. Specifies the parameters of the identified device driver. 
  12356.  
  12357.  
  12358. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12359.  
  12360. DEVICE Command:  Drive and Path Parameter 
  12361.  
  12362. Specifies the drive and directory that contain the ANSI.SYS file. 
  12363.  
  12364.  
  12365. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12366.  
  12367. DEVICE Command:  /X Parameter 
  12368.  
  12369. Allows keys with extended key values (keys with hexadecimal 0E0 as a low byte) 
  12370. to be redefined as distinct keys.  Extended key value reassignments can be set 
  12371. by following these control sequences: 
  12372.  
  12373. ESC[#;#;...#p
  12374.  
  12375. ESC["string"p
  12376.  
  12377. ESC[#"string";#;
  12378.  
  12379. #;"string";#;
  12380.  
  12381. or any other combination of strings and decimal numbers 
  12382.  
  12383. The first ASCII code in the control sequence defines which code is being 
  12384. mapped.  The remaining numbers define the sequence of ASCII codes generated 
  12385. when this key is intercepted. However, if the first code in the sequence is 0 
  12386. (NULL), the first and second code make up an extended ASCII redefinition. 
  12387.  
  12388. To install ANSI.SYS and be able to redefine your extended key values, type the 
  12389. following in the CONFIG.SYS file: 
  12390.  
  12391. DEVICE=C:\OS2\MDOS\ANSI.SYS /X
  12392.  
  12393.  
  12394. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12395.  
  12396. DEVICE Command:  /L Parameter 
  12397.  
  12398. Enables ANSI.SYS to retain the number of rows in the screen specified through 
  12399. the MODE command, overriding the ability of an application to change the number 
  12400. of rows. 
  12401.  
  12402. To enable ANSI.SYS to retain the number of rows specified by the MODE command, 
  12403. type the following in the CONFIG.SYS file: 
  12404.  
  12405. DEVICE=C:\OS2\MDOS\ANSI.SYS /L
  12406.  
  12407.  
  12408. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12409.  
  12410. DEVICE Command:  /K Parameter 
  12411.  
  12412. Prevents ANSI.SYS from using extended keyboard functions.  This forces the 
  12413. system to use the conventional keyboard functions when an enhanced keyboard is 
  12414. installed.  This option provides compatibility for those applications that do 
  12415. not recognize the extended keyboard function. 
  12416.  
  12417. To allow a system with an enhanced keyboard to be functionally compatible with 
  12418. the conventional keyboard, type the following in the CONFIG.SYS file: 
  12419.  
  12420. DEVICE=C:\OS2\MDOS\ANSI.SYS /K
  12421.  
  12422.  
  12423. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12424.  
  12425. DEVICE Command:  Drive and Path Parameters 
  12426.  
  12427. Specifies the drive and directory that contain the COM.SYS file. 
  12428.  
  12429.  
  12430. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12431.  
  12432. DEVICE Command:  COM.SYS Parameter 
  12433.  
  12434. Specifies the system file.  COM.SYS is for all PS/2* models except models 90 
  12435. and 95. COMDMA.SYS is for models 90 and 95. 
  12436.  
  12437.  
  12438. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12439.  
  12440. DEVICE Command:  Drive and Path Parameters 
  12441.  
  12442. Specifies the drive and directory that contain the EGA.SYS file. 
  12443.  
  12444.  
  12445. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12446.  
  12447. DEVICE Command:  Drive and Path Parameters 
  12448.  
  12449. Specifies the drive and directory that contain the EXTDSKDD.SYS file. 
  12450.  
  12451.  
  12452. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12453.  
  12454. DEVICE Command:  /D Parameter 
  12455.  
  12456. Specifies the physical drive number, which can have a value of 0 through 255. 
  12457.  
  12458. To specify the first physical diskette drive, accessed as A: from the command 
  12459. prompt, specify the value 0. The value 1 specifies the second physical diskette 
  12460. drive, and the value 2 specifies the third physical diskette drive, which must 
  12461. be external. 
  12462.  
  12463.  
  12464. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12465.  
  12466. DEVICE Command:  /T Parameter 
  12467.  
  12468. Specifies the number of tracks per side. The valid range is from 1 through 999. 
  12469. The default is 80. 
  12470.  
  12471.  
  12472. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12473.  
  12474. DEVICE Command:  /S Parameter 
  12475.  
  12476. Specifies the number of sectors per track. The valid range is from 1 through 
  12477. 99. The default is 9. 
  12478.  
  12479.  
  12480. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12481.  
  12482. DEVICE Command:  /H Parameter 
  12483.  
  12484. Specifies the maximum number of heads.  The valid range is from 1 through 99. 
  12485. The default is 2. 
  12486.  
  12487.  
  12488. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12489.  
  12490. DEVICE Command:  /F Parameter 
  12491.  
  12492. Specifies the device type (form factor).  The values are 0 - 9. The default is 
  12493. 2.  The values and the diskette drives are as follows: 
  12494.  
  12495. 0 - 360KB           (360) 
  12496. 1 - 1.2MB           (1200) (1.2) 
  12497. 2 - 7.20KB  3.5-inch drives  (720) 
  12498. 3 - not used  8-inch drives 
  12499. 4 - not used  8-inch drives 
  12500. 5 - not used  hard disks 
  12501. 6 - not used  tape drives 
  12502. 7 - 1.44MB  3.5-inch drives  (1440) (1.4) 
  12503. 8 - not used  RW Optical 
  12504. 9 - 2.88MB  3.5-inch drives  (2880) (2.88) 
  12505.  
  12506. Note:   The values in parentheses can be used in place of the 0-9 values. 
  12507.  
  12508.  
  12509. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12510.  
  12511. DEVICE Command:  Drive and Path Parameter 
  12512.  
  12513. Specifies the drive and directory that contain the LOG.SYS file. 
  12514.  
  12515.  
  12516. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12517.  
  12518. DEVICE Command:  /E:x Parameter 
  12519.  
  12520. Sets the size of the System Logging Service error-log buffer to a specified 
  12521. size (x) in KB.  The default is 8KB, the minimum is 4KB and the maximum is 
  12522. 64KB. 
  12523.  
  12524. To set the size of the System Logging Service error log buffer to 32KB, type 
  12525. the following in the CONFIG.SYS file: 
  12526.  
  12527. DEVICE=C:\OS2\LOG.SYS /E:32
  12528.  
  12529.  
  12530. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12531.  
  12532. DEVICE Command:  /A:x Parameter 
  12533.  
  12534. Sets the size of the System Logging Service error-log device driver entry alert 
  12535. notification buffer to a specified size (x) in KB.  There is no default, the 
  12536. minimum is 4KB and the maximum is 64KB. 
  12537.  
  12538. To set the size of the System Logging Service error-log device driver entry 
  12539. alert notification buffer to 64KB, type the following in the CONFIG.SYS file: 
  12540.  
  12541. DEVICE=C:\OS2\LOG.SYS /A:64
  12542.  
  12543.  
  12544. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12545.  
  12546. DEVICE Command:  /OFF Parameter 
  12547.  
  12548. Turns off error logging as soon as the device driver is installed.  The default 
  12549. is that error logging will not be turned off until you suspend it using the 
  12550. SYSLOG utility program. 
  12551.  
  12552. To turn error logging off, type the following in the CONFIG.SYS file: 
  12553.  
  12554. DEVICE=C:\OS2\LOG.SYS /OFF
  12555.  
  12556.  
  12557. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12558.  
  12559. DEVICE Command:  Drive and Path Parameters 
  12560.  
  12561. Specifies the drive and directory for the mouse device driver file. 
  12562.  
  12563.  
  12564. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12565.  
  12566. DEVICE Command:  Filename Parameter 
  12567.  
  12568. Specifies the complete name of the file, including its extension, that contains 
  12569. the mouse device driver. 
  12570.  
  12571. The file names for the IBM Personal System/2 Models 50, 55, 60, 70, 80, 90, and 
  12572. 95 are: 
  12573.  
  12574. PCLOGIC.SYS             PC Mouse Systems and some Logitech** devices 
  12575. VISION.SYS              Visi-On** 
  12576.  
  12577.  
  12578. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12579.  
  12580. DEVICE Command:  SERIAL Parameter 
  12581.  
  12582. Specifies the serial communications port that the serial mouse is connected to. 
  12583.  
  12584. Note:   This parameter is not valid for the IBM Personal System/2 Mouse, 
  12585.         Microsoft** Mouse with Bus Interface, or Microsoft In-Port Mouse. 
  12586.  
  12587. The values for the IBM Personal System/2 Model 55SX, 65, 70, 80, 90, or 95 are 
  12588. 1 through 8.  The default communications port is COM1. 
  12589.  
  12590.  
  12591. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12592.  
  12593. DEVICE Command:  Drive and Path Parameter 
  12594.  
  12595. Specifies the drive and directory for the MOUSE.SYS file. 
  12596.  
  12597.  
  12598. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12599.  
  12600. DEVICE Command:  QSIZE Parameter 
  12601.  
  12602. Specifies the length of the queue for events to be used for all OS/2 session 
  12603. tasks.  The valid range is 1 through 100. The default value is 10 event 
  12604. records. 
  12605.  
  12606.  
  12607. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12608.  
  12609. DEVICE Command:  TYPE Parameter 
  12610.  
  12611. Specifies the name of the device driver for the mouse. 
  12612.  
  12613. PCLOGIC$       PC Mouse Systems Devices 
  12614. PCLOGIC$       Logitech** Pointing Devices 
  12615. VISION$        Visi-On** Mouse 
  12616.  
  12617.  
  12618. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12619.  
  12620. DEVICE Command:  Drive and Path Parameters 
  12621.  
  12622. Specifies the drive and directory that contain PMDD.SYS. 
  12623.  
  12624.  
  12625. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12626.  
  12627. DEVICE Command:  Drive and Path Parameters 
  12628.  
  12629. Specifies the drive and directory that contain the POINTDD.SYS file. 
  12630.  
  12631.  
  12632. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12633.  
  12634. DEVICE Command:  Drive and Path Parameters 
  12635.  
  12636. Specifies the drive and directory for the touch device driver file. 
  12637.  
  12638.  
  12639. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12640.  
  12641. DEVICE Command:  Filename Parameter 
  12642.  
  12643. Specifies the complete name of the file, including its extension, that contains 
  12644. the device driver for the touch device. 
  12645.  
  12646.  
  12647. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12648.  
  12649. DEVICE Command:  CODE Parameter 
  12650.  
  12651. Specifies the microcode file to download into the touch device. 
  12652.  
  12653.  
  12654. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12655.  
  12656. DEVICE Command:  INIT Parameter 
  12657.  
  12658. Specifies the parameter file to override the default settings in the device 
  12659. driver for the touch device.  The default file is TOUCH.INI. 
  12660.  
  12661.  
  12662. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12663.  
  12664. DEVICE Command:  Drive and Path Parameter 
  12665.  
  12666. Specifies the drive and directory for the TOUCH.SYS file. 
  12667.  
  12668.  
  12669. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12670.  
  12671. DEVICE Command:  QSIZE Parameter 
  12672.  
  12673. Specifies the length of the queue for events to be used for all OS/2 session 
  12674. tasks.  The valid range is 1 through 100. The default value is 10. 
  12675.  
  12676.  
  12677. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12678.  
  12679. DEVICE Command:  TYPE Parameter 
  12680.  
  12681. Specifies the name of the device driver for the touch device.  The default name 
  12682. is PDITOU$. 
  12683.  
  12684.  
  12685. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12686.  
  12687. DEVICE Command:  Drive and Path Parameters 
  12688.  
  12689. Specifies the drive and directory of the VDISK.SYS file. 
  12690.  
  12691.  
  12692. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12693.  
  12694. DEVICE Command:  Bytes Parameter 
  12695.  
  12696. Specifies the size of the virtual disk in KB. The valid range is 16 through 
  12697. 4096. The default value is 64. 
  12698.  
  12699.  
  12700. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12701.  
  12702. DEVICE Command:  Sectors Parameter 
  12703.  
  12704. Specifies the sector size in bytes.  The values are 128, 256, 512, and 1024. 
  12705. The default value is 128. 
  12706.  
  12707.  
  12708. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12709.  
  12710. DEVICE Command:  Directories Parameter 
  12711.  
  12712. Specifies the number of directory entries. The valid range is 2 through 1024. 
  12713. The default value is 64. 
  12714.  
  12715. The value of directories is rounded up to the nearest sector size boundary. 
  12716. For example, if you give a value of 25, and your sector size is 512 bytes, 25 
  12717. is rounded up to 32, which is the next multiple of 16.  (There are sixteen 
  12718. 32-byte directory entries in 512 bytes.) 
  12719.  
  12720. The file allocation table (FAT) file system cannot support a root directory 
  12721. containing more than 255 sectors. For example, a 64KB disk with 128-byte 
  12722. sectors and 1024 directory entries requires 256 sectors.  Therefore, for 
  12723. 128-byte sectors, the maximum number of root directory entries you should 
  12724. specify is 1020. 
  12725.  
  12726.  
  12727. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12728.  
  12729. DEVICE Command:  Drive and Path Parameters 
  12730.  
  12731. Specifies the drive and directory that contain VEMM.SYS. 
  12732.  
  12733.  
  12734. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12735.  
  12736. DEVICE Command: n Parameter 
  12737.  
  12738. Specifies, in KB, the limit on the amount of Expanded Memory Manager (EMM) 
  12739. memory available to each DOS session.  If more than 32MB is specified, 32MB is 
  12740. used.  Specifying 0 will disable EMM for all DOS sessions unless overridden. 
  12741. The value can be overridden for a DOS session by specifying an EMS memory limit 
  12742. in the DOS Settings section of a DOS command-prompt object on the desktop.  The 
  12743. default is 4096KB (4MB). 
  12744.  
  12745.  
  12746. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12747.  
  12748. DEVICE Command:  Drive and Path Parameters 
  12749.  
  12750. Specifies the drive and directory that contain VXMS.SYS. 
  12751.  
  12752.  
  12753. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12754.  
  12755. DEVICE Command: XMMLIMIT=g,i Parameter 
  12756.  
  12757. Sets the global (system-wide) maximum memory usage of the VXMS driver to g KB, 
  12758. and a per-DOS session maximum of i KB. These values should be large enough to 
  12759. accommodate an automatic 64KB allocation in each DOS session for the High 
  12760. Memory Area (HMA). Values are restricted to the range of 0 to 65535 (64MB). 
  12761. The values of g and i are rounded up to the nearest multiple of 4.  Specifying 
  12762. i=0 suppresses XMS installation in all DOS sessions unless specifically 
  12763. overridden by a DOS= specific configuration string. 
  12764.  
  12765. Default: /XMMLIMIT=4096,1024 
  12766.  
  12767.  
  12768. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12769.  
  12770. DEVICE Command: HMAMIN=d Parameter 
  12771.  
  12772. Sets the minimum request size (in KB) for a High Memory Area (HMA) request to 
  12773. succeed.  Values are restricted to the range of 0 to 63. 
  12774.  
  12775. Default:  /HMAMIN=0 
  12776.  
  12777.  
  12778. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12779.  
  12780. DEVICE Command: NUMHANDLES=n Parameter 
  12781.  
  12782. Sets the number of handles available in each DOS session.  Each handle requires 
  12783. eight bytes of memory. (A handle is a 16-bit binary value created by the system 
  12784. that identifies a drive, directory, and file so that the file can be found and 
  12785. opened). Values are restricted to the range of 0 to 128. 
  12786.  
  12787. Default:  /NUMHANDLES=32 
  12788.  
  12789.  
  12790. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12791.  
  12792. DEVICE Command: UMB Parameter 
  12793.  
  12794. Instructs XMS to create upper memory blocks. 
  12795.  
  12796. Default:  /off 
  12797.  
  12798.  
  12799. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12800.  
  12801. DEVICE Command: NOUMB Parameter 
  12802.  
  12803. Instructs XMS not to create upper memory blocks. 
  12804.  
  12805. Default:  /NOUMB 
  12806.  
  12807.  
  12808. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12809.  
  12810. DEVICEHIGH Command:  Drive and Path Parameter 
  12811.  
  12812. Specifies the drive and directory of the DOS device driver to be loaded in an 
  12813. upper memory block (UMB). 
  12814.  
  12815.  
  12816. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12817.  
  12818. DEVICEHIGH Command:  Filename Parameter 
  12819.  
  12820. Specifies the complete name of the DOS device driver to be loaded into an upper 
  12821. memory block (UMB). 
  12822.  
  12823.  
  12824. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12825.  
  12826. DEVICEHIGH Command:  Arguments Parameter 
  12827.  
  12828. Specifies optional parameters to be passed to the device driver. 
  12829.  
  12830.  
  12831. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12832.  
  12833. DEVICEHIGH Command: SIZE=xx Parameter 
  12834.  
  12835. Specifies the number of hexadecimal bytes of the maximum of the driver's 
  12836. run-time or load-time image.  When loading the device driver, the operating 
  12837. system will look for a UMB whose size is the greater of xx and the device 
  12838. driver's file size.  If a UMB of this size cannot be found, the device driver 
  12839. will be loaded into low memory. 
  12840.  
  12841. Some device drivers will not run properly in a UMB if they rely on having all 
  12842. memory above them available for their use.  The liklihood of having this 
  12843. additional memory, when loaded into a UMB, is less than when loaded into low 
  12844. memory.  If a device driver does not run properly when loaded into a UMB, you 
  12845. can increase the value in the SIZE= parameter by changing the CONFIG.SYS file 
  12846. and restarting the system.  If this does not work, you need to load the device 
  12847. driver into low memory. 
  12848.  
  12849.  
  12850. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12851.  
  12852. DEVINFO Command:  Drive Path Filename Parameters 
  12853.  
  12854. Specifies the drive, directory, and name of the file that contains the device 
  12855. driver. 
  12856.  
  12857.  
  12858. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12859.  
  12860. DEVINFO Command:  Arguments Parameter 
  12861.  
  12862. Specifies the parameters of the identified device. 
  12863.  
  12864.  
  12865. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12866.  
  12867. DEVINFO Command:  Device Parameter 
  12868.  
  12869. Specifies the reserved device name. The allowable device names are: 
  12870.  
  12871. CGA (IBM Color Graphics Adapter) 
  12872. EGA (IBM Enhanced Graphics Adapter) 
  12873. VGA (IBM Personal System/2 Video Graphics Adapter and IBM Personal System/2 
  12874. 8514/A) 
  12875. BGA (IBM Personal System/2 8514/A with memory expansion) 
  12876.  
  12877.  
  12878. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12879.  
  12880. DEVINFO Command:  Drive, Path, and Filename Parameters 
  12881.  
  12882.  Specifies the complete name of the file, which includes its extension, that 
  12883. contains the system code pages for the display. The name of the system file is 
  12884. VIOTBL.DCP, and it can be found in the C:\OS2 subdirectory by entering the PATH 
  12885. statement C:\OS2\VIOTBL.DCP. There is no default. 
  12886.  
  12887.  
  12888. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12889.  
  12890. DEVINFO Command:  Layout Parameter 
  12891.  
  12892. Specifies the keyboard layout.  The values are: 
  12893.  
  12894. BE (Belgium) 
  12895. CF (Canada, French Speaking) 
  12896. CS (Czechoslovakia) 
  12897. DK (Denmark) 
  12898. SU (Finland) 
  12899. FR (France) 
  12900. FR120 (France, Alternate Keyboard) 
  12901. GR (Germany) 
  12902. HU (Hungary) 
  12903. IS (Iceland) 
  12904. IT (Italy) 
  12905. IT142 (Italy, Alternate Keyboard) 
  12906. LA (Latin America) 
  12907. NL (Netherlands) 
  12908. NO (Norway) 
  12909. PL (Poland) 
  12910. PO (Portugal) 
  12911. SP (Spain) 
  12912. SV (Sweden) 
  12913. SF (Switzerland, French) 
  12914. SG (Switzerland, German) 
  12915. TR (Turkey) 
  12916. UK (United Kingdom) 
  12917. UK168 (United Kingdom, Alternate Keyboard) 
  12918. US (United States) 
  12919. YU (Yugoslavia) 
  12920.  
  12921.  
  12922. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12923.  
  12924. DEVINFO Command:  Drive, Path, Filename Parameters 
  12925.  
  12926. Specifies the complete name of the file, including its extension, that contains 
  12927. the keyboard translation tables. The name of the system file is KEYBOARD.DCP, 
  12928. and it can be found in the C:\OS2 subdirectory by entering the PATH statement 
  12929. C:\OS2\KEYBOARD.DCP. There is no default. 
  12930.  
  12931.  
  12932. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12933.  
  12934. DEVINFO Command:  PRN and LPT# Parameters 
  12935.  
  12936. The # symbol specifies that the value is printer number 1, 2, or 3. 
  12937.  
  12938.  
  12939. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12940.  
  12941. DEVINFO Command:  Device Parameter 
  12942.  
  12943. Specifies the physical device number. The allowable device numbers are: 
  12944.  
  12945. 4201    IBM Proprinter Models I and II 
  12946.  
  12947. 5202    IBM Quietwriter III 
  12948.  
  12949.  
  12950. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12951.  
  12952. DEVINFO Command:  Drive, Path, and Filename Parameters 
  12953.  
  12954. Specifies the complete name of the file, which includes its extension, that 
  12955. contains the system code pages for the printer. The name of the system file is 
  12956. the device number of the printer, with DCP as its extension. For example, the 
  12957. file name to specify for the IBM Proprinter is 4201.DCP.  It can be found in 
  12958. the C:\OS2 subdirectory by entering the PATH statement C:\OS2\4201.DCP. There 
  12959. are no defaults. 
  12960.  
  12961.  
  12962. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12963.  
  12964. DEVINFO Command:  ROM= Parameter 
  12965.  
  12966. Specifies that system code pages are available in device read-only storage or 
  12967. cartridge. 
  12968.  
  12969.  
  12970. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12971.  
  12972. DEVINFO Command:  nnn Parameter 
  12973.  
  12974. Represents a value for a system code page that is available in the printer 
  12975. device read-only storage. A printer device can support more than one system 
  12976. code page. 
  12977.  
  12978.  
  12979. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12980.  
  12981. DEVINFO Command:  Font Parameter 
  12982.  
  12983. Specifies the font identification number to be associated with the system code 
  12984. page.  A printer can support more than one system code page.  One system code 
  12985. page can have more than one font.  A font is a set of typographic characters 
  12986. that has the same characteristics (for example, size and style). 
  12987.  
  12988. For the IBM Quietwriter III, the fontid is the three-digit number on the label 
  12989. of the cartridge. The fontids for the imbedded code page 437 font are 011, 085, 
  12990. 159, and 254. 
  12991.  
  12992.  
  12993. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12994.  
  12995. DIR Command:  Drive, Path, Filename Parameters 
  12996.  
  12997. Lists the files in the specified directory or lists files that have a certain 
  12998. name or extension. 
  12999.  
  13000. To list files in a directory named REPORTS on drive B, enter the following: 
  13001.  
  13002. DIR B:\REPORTS
  13003.  
  13004. To list files in the current directory that have the file name LETTER with no 
  13005. extension, enter the following: 
  13006.  
  13007. DIR LETTER
  13008.  
  13009. To list all files in the current directory that have the extension .BAT, enter 
  13010. the following: 
  13011.  
  13012. DIR *.BAT
  13013.  
  13014.  
  13015. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13016.  
  13017. DIR Command:  /P Parameter 
  13018.  
  13019. Pauses the display of directory entries after the screen is filled.  To 
  13020. continue the display of output, press any key. The current directory is 
  13021. displayed in brackets on each screen after the first one. 
  13022.  
  13023. To pause the directory listing for the current directory, enter the following: 
  13024.  
  13025. DIR /P
  13026.  
  13027.  
  13028. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13029.  
  13030. DIR Command:  /W Parameter 
  13031.  
  13032. Selects wide display. Two names are shown for a 40-character-wide display; five 
  13033. names are shown for an 80-character wide-display, and eight names are shown for 
  13034. a 132 character-wide display.  Directory names are displayed enclosed in 
  13035. brackets. 
  13036.  
  13037. To display the current directory listing horizontally on your screen, enter the 
  13038. following: 
  13039.  
  13040. DIR /W
  13041.  
  13042. In OS/2 sessions, /W also selects the wide display mode for files created using 
  13043. a file system other than file allocation table (FAT). The system scans the list 
  13044. of found files to get the longest file name.  Then, it divides the width of the 
  13045. display by the longest file name to determine the number of files displayed per 
  13046. line. 
  13047.  
  13048.  
  13049. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13050.  
  13051. DIR Command:  /N parameter 
  13052.  
  13053. Forces drives that have been formatted with the File Allocation Table (FAT) 
  13054. file system to be displayed in the High Performance File System (HPFS) format. 
  13055.  
  13056. /N displays the following information for files created using the FAT file 
  13057. system: 
  13058.  
  13059. o The date the file was last updated 
  13060. o The time the file was last updated 
  13061. o The size of the file 
  13062. o The size of the file's extended attributes 
  13063. o The unedited file name 
  13064.  
  13065. Extended attribute information is consistently displayed on HPFS regardless of 
  13066. whether you specify the /N parameter. 
  13067.  
  13068.  
  13069. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13070.  
  13071. DIR Command:  /F Parameter 
  13072.  
  13073. Displays the fully qualified file name of each matching file.  No other 
  13074. information is displayed. A fully qualified file name consists of the 
  13075. following: drive letter, directory name, and file name.  The directory entries 
  13076. . and .. will not be displayed.  Do not use the /F parameter with the /W 
  13077. parameter. 
  13078.  
  13079. To display a list of files named REPORT.ABC, enter the following: 
  13080.  
  13081. DIR /F REPORT.ABC*
  13082.  
  13083. The directory listing would show all files that begin with REPORT.ABC 
  13084. regardless of what follows.  The listing would show such files as 
  13085. REPORT.ABC.342, REPORT.ABC.JAN., REPORT.ABC.APR.MAY. 
  13086.  
  13087.  
  13088. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13089.  
  13090. DIR Command:  /A:attributes Parameter 
  13091.  
  13092. Displays only the names of the directories and files with the attributes you 
  13093. specify.  If you use this parameter without specifying specific attributes, the 
  13094. names of all files, including hidden and system files, are displayed.  Use any 
  13095. combination of these values and do not separate the values with spaces.  The 
  13096. following list describes the values you can use for attributes: 
  13097.  
  13098. H         Hidden files 
  13099.  
  13100. -H        Files that are not hidden 
  13101.  
  13102. S         System files 
  13103.  
  13104. -S        Files other than system files 
  13105.  
  13106. D         Directories 
  13107.  
  13108. -D        Files only (not directories) 
  13109.  
  13110. A         Files ready for archiving (backup) 
  13111.  
  13112. -A        Files unchanged since the last backup 
  13113.  
  13114. R         Read-only files 
  13115.  
  13116. -R        Files that are not read-only. 
  13117.  
  13118.  
  13119. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13120.  
  13121. DIR Command:  /B Parameter 
  13122.  
  13123. Lists each directory name or file name without the heading information and 
  13124. summary. 
  13125.  
  13126.  
  13127. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13128.  
  13129. DIR Command:  /O:sortorder Parameter 
  13130.  
  13131. Displays directory and file names in the requested sorted order. If you use 
  13132. this parameter without specifying the sort order, the names of the directories, 
  13133. sorted in alphabetic order, and then the names of files, sorted in alphabetic 
  13134. order, are displayed.  Use any combination of these values and do not separate 
  13135. the values with spaces. The following list describes the values you can use for 
  13136. sortorder: 
  13137.  
  13138. N         Alphabetic order 
  13139.  
  13140. -N        Reverse alphabetic order 
  13141.  
  13142. E         Alphabetic order by extension 
  13143.  
  13144. -E        Reverse alphabetic order by extension 
  13145.  
  13146. D         Date and time, earliest first 
  13147.  
  13148. -D        Date and time, latest first 
  13149.  
  13150. S         Size, smallest first 
  13151.  
  13152. -S        Size, largest first 
  13153.  
  13154. G         Directories grouped before files 
  13155.  
  13156. -G        Directories grouped after files. 
  13157.  
  13158.  
  13159. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13160.  
  13161. DIR Command:  /S Parameter 
  13162.  
  13163. Lists all occurrences of the specified file name in the specified directory and 
  13164. all its subdirectories. 
  13165.  
  13166.  
  13167. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13168.  
  13169. DIR Command:  /L Parameter 
  13170.  
  13171. Lists all directory names and file names in lowercase. 
  13172.  
  13173.  
  13174. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13175.  
  13176. DIR Command:  /R Parameter 
  13177.  
  13178. Displays long file names in file systems (such as FAT) that do not support 
  13179. them.  In the FAT file system, /R displays both the FAT file name and the long 
  13180. file name to the right of the directory listing. 
  13181.  
  13182.  
  13183. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13184.  
  13185. DISKCACHE Command:  n Parameter 
  13186.  
  13187. Specifies a number from 64 through 14400 that indicates the number of 1024-byte 
  13188. blocks of storage to be used for control information and programs in the disk 
  13189. cache buffer.  The default value is 64. 
  13190.  
  13191. To set your disk cache size to 128KB, type the following in the CONFIG.SYS 
  13192. file: 
  13193.  
  13194. DISKCACHE=128
  13195.  
  13196. You can accept the default value of 64 if you install the OS/2 operating system 
  13197. on an IBM Personal System/2 Models 55sx, 65, 70, and 80. 
  13198.  
  13199.  
  13200. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13201.  
  13202. DISKCACHE Command:  ,T Parameter 
  13203.  
  13204. Specifies a number from 4 through 128 that indicates the threshold size for the 
  13205. number of sectors that will be placed into cache.  The default value is 4. 
  13206.  
  13207. To set your disk cache size to 64KB with a threshold of 128 sectors, type the 
  13208. following in the CONFIG.SYS file: 
  13209.  
  13210. DISKCACHE=64,128
  13211.  
  13212.  
  13213. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13214.  
  13215. DISKCACHE Command:  ,LW Parameter 
  13216.  
  13217. Specifies whether the contents of cache memory are written immediately to disk 
  13218. or only during disk idle time.  This parameter pertains only to disks formatted 
  13219. for the FAT file system.  The LW (lazy-write) parameter enables writing of 
  13220. cache memory during disk idle time.  Omitting this parameter specifies 
  13221. immediate writing to disk.  The LW parameter is in the DISKCACHE statement in 
  13222. the CONFIG.SYS file by default. 
  13223.  
  13224.  
  13225. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13226.  
  13227. DISKCACHE Command:  ,AC:x Parameter 
  13228.  
  13229. The AC:x (autocheck) parameter specifies the drives (x) the operating system 
  13230. checks at startup time to determine if the file system associated with a drive 
  13231. is in an inconsistent state.  A file system can be in an inconsistent state 
  13232. when files were left open. This can happen when: 
  13233.  
  13234. o The computer was turned off without selecting the Shut down choice from the 
  13235.   menu of the desktop. 
  13236.  
  13237. o Electrical power to the computer was interrupted. 
  13238.  
  13239. The operating system runs the CHKDSK program with the /F option to correct any 
  13240. problem caused by improper system shutdown.  Each time you format a drive for 
  13241. the FAT file system, the operating system updates the DISKCACHE statement in 
  13242. the CONFIG.SYS file with the appropriate autocheck parameter. 
  13243.  
  13244. Note:   The drive letters can be any letter C to Z.  The letters A and B are 
  13245.         not valid because the system recognizes these as representing diskette 
  13246.         drives. 
  13247.  
  13248.  
  13249. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13250.  
  13251. DISKCOMP Command:  Source and Target Drive Parameters 
  13252.  
  13253. Specifies the drives that contain the files to be compared. 
  13254.  
  13255. To compare the complete contents of a diskette in drive B to a diskette in 
  13256. drive A, enter the following: 
  13257.  
  13258. DISKCOMP B: A:
  13259.  
  13260.  
  13261. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13262.  
  13263. DISKCOPY Command:  Source and Target Drive Parameters 
  13264.  
  13265. Specifies the drives that contain the files to be copied. 
  13266.  
  13267. To copy the complete contents of a diskette in drive B to a diskette in drive 
  13268. A, enter the following: 
  13269.  
  13270. DISKCOPY B: A:
  13271.  
  13272.  
  13273. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13274.  
  13275. DOSKEY Command: Macroname=text Parameter 
  13276.  
  13277. Creates a macro that processes one or more DOS commands.  Macroname specifies 
  13278. the name you want to assign to the macro.  Text specifies the commands you want 
  13279. to record. 
  13280.  
  13281.  
  13282. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13283.  
  13284. DOSKEY Command: /Reinstall Parameter 
  13285.  
  13286. Installs a new copy of the DOSKEY program, even if one is already installed. 
  13287. When DOSKEY is already installed, using this parameter clears the buffer. 
  13288.  
  13289.  
  13290. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13291.  
  13292. DOSKEY Command: /Bufsize=n Parameter 
  13293.  
  13294. Specifies the size of the buffer in which DOSKEY stores commands and macros. 
  13295. The default size is 512 bytes.  The minimum buffer size is 256 bytes. 
  13296.  
  13297.  
  13298. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13299.  
  13300. DOSKEY Command: /M Parameter 
  13301.  
  13302. Displays a list of all DOSKEY macros.  You can use a redirection symbol (>) 
  13303. with this parameter to redirect the list to a file. 
  13304.  
  13305.  
  13306. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13307.  
  13308. DOSKEY Command: /H Parameter 
  13309.  
  13310. Displays a list of all commands stored in memory.  You can use a redirection 
  13311. symbol (>) with this parameter to redirect the list to a file. 
  13312.  
  13313.  
  13314. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13315.  
  13316. DOSKEY Command: /Insert/Overstrike Parameter 
  13317.  
  13318. Specifies how new text that you type is to be placed.  If you use /insert, new 
  13319. text that you type on a line is inserted into old text.  If you use 
  13320. /overstrike, new text is to replace old text.  The default is /overstrike. 
  13321.  
  13322.  
  13323. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13324.  
  13325. DOS Command: HIGH Parameter 
  13326.  
  13327. Specifies that the DOS kernel should reside in the high memory area (HMA). The 
  13328. high memory area (HMA) refers to space between 1MB and 1MB + 64KB.  When the 
  13329. DOS kernel resides in the high memory area, DOS applications cannot use this 
  13330. area. 
  13331.  
  13332.  
  13333. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13334.  
  13335. DOS Command: LOW Parameter 
  13336.  
  13337. Specifies that the DOS kernel should reside in conventional (low) memory below 
  13338. 640KB.  This means that DOS applications can use the high memory area. The high 
  13339. memory area (HMA) refers to space between 1MB and 1MB + 64KB. 
  13340.  
  13341.  
  13342. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13343.  
  13344. DOS Command: UMB Parameter 
  13345.  
  13346. Specifies that the operating system controls the upper memory blocks (UMBs). 
  13347. This means that DOS applications cannot allocate UMBs but can be loaded there. 
  13348.  
  13349. To specify UMBs to be controlled by the operating system and the DOS kernel to 
  13350. reside in the upper memory area, type the following in the CONFIG.SYS file: 
  13351.  
  13352. DOS=HIGH,UMB
  13353.  
  13354.  
  13355. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13356.  
  13357. DOS Command: NOUMB Parameter 
  13358.  
  13359. Specifies that the operating system does not control the upper memory blocks 
  13360. (UMBs).  This means that DOS applications can allocate UMBs but cannot be 
  13361. loaded there. 
  13362.  
  13363. To specify DOS applications to allocate UMBs and the DOS kernel to reside in 
  13364. conventional memory (below 640KB), type the following in the CONFIG.SYS file: 
  13365.  
  13366. DOS=LOW,NOUMB
  13367.  
  13368.  
  13369. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13370.  
  13371. DPATH Command:  Drive and Path Parameters 
  13372.  
  13373. Specifies the drive and directories to be searched for data files. When you 
  13374. installed the operating system, the installation program placed a DPATH 
  13375. statement in your CONFIG.SYS file. 
  13376.  
  13377. To specify the current path to data files as a replaceable parameter by 
  13378. appending the paths of the ABC and XYZ subdirectories to the DPATH statement 
  13379. already in effect, enter the following: 
  13380.  
  13381. DPATH %DPATH%;C:\ABC;C:\XYZ;
  13382.  
  13383.  
  13384. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13385.  
  13386. EAUTIL Command:  /S Parameter 
  13387.  
  13388. Splits extended attributes from a data file and places them in a hold file. 
  13389.  
  13390. To place extended attributes from a file named MODULE.TXT into a file named 
  13391. ATTRIB.MOD, enter the following: 
  13392.  
  13393. EAUTIL MODULE.TXT ATTRIB.MOD /S
  13394.  
  13395.  
  13396. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13397.  
  13398. EAUTIL Command:  /R Parameter 
  13399.  
  13400. Replaces the hold file with the current extended attributes contained in the 
  13401. data file. 
  13402.  
  13403. To replace the extended attributes in the ATTRIB.MOD file with the extended 
  13404. attributes of the NEWFILE.EA, enter the following: 
  13405.  
  13406. EAUTIL NEWFILE.EA ATTRIB.MOD /R /S
  13407.  
  13408.  
  13409. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13410.  
  13411. EAUTIL Command:  /P Parameter 
  13412.  
  13413. Preserves extended attributes in the data file after a split operation, or 
  13414. preserves extended attributes in a hold file after a join operation. 
  13415.  
  13416. To preserve extended file attributes in a file named MODULE.TXT and copy that 
  13417. file's extended attributes to a file named ATTRIB.MOD, enter the following: 
  13418.  
  13419. EAUTIL MODULE.TXT ATTRIB.MOD /P /S
  13420.  
  13421.  
  13422. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13423.  
  13424. EAUTIL Command:  /J Parameter 
  13425.  
  13426. Joins the extended attributes stored as data in the hold file to the data file. 
  13427.  
  13428. To join the extended attributes in the ATTRIB.MOD hold file with the MODULE.TXT 
  13429. data file, enter the following: 
  13430.  
  13431. EAUTIL MODULE.TXT ATTRIB.MOD /J
  13432.  
  13433.  
  13434. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13435.  
  13436. EAUTIL Command:  /O Parameter 
  13437.  
  13438. Overwrites (deletes) the extended attributes that are in the data file with the 
  13439. extended attributes that are in the hold file. 
  13440.  
  13441. To overwrite the extended attributes in the MODULE.TXT file with the extended 
  13442. attributes in the NEWFILE.EA hold file, enter the following: 
  13443.  
  13444. EAUTIL MODULE.TXT NEWFILE.EA /O /J
  13445.  
  13446.  
  13447. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13448.  
  13449. EAUTIL Command:  /M Parameter 
  13450.  
  13451. Merges the extended attributes that are in the hold file into the extended 
  13452. attributes that are in the data file. 
  13453.  
  13454. To merge the extended attributes in the NEWFILE.EA hold file into the extended 
  13455. attributes in the MODULE.TXT data file, enter the following: 
  13456.  
  13457. EAUTIL MODULE.TXT NEWFILE.EA /M /J
  13458.  
  13459.  
  13460. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13461.  
  13462. EAUTIL Command:  Datafile Parameter 
  13463.  
  13464. Specifies the name of the file that contains extended attributes that are to be 
  13465. split into a hold file. 
  13466.  
  13467.  
  13468. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13469.  
  13470. EAUTIL Command:  Holdfile Parameter 
  13471.  
  13472. Specifies the name of the file that will be used to store extended attributes 
  13473. as data.  If no file name is specified, EAUTIL creates a hold file with the 
  13474. same name as the data file.  EAUTIL stores the hold file in a directory named 
  13475. EAS with the same parent directory as the data file. 
  13476.  
  13477.  
  13478. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13479.  
  13480. ECHO Command:  Message Parameter 
  13481.  
  13482. Displays a message regardless of the current state (ON or OFF). In this way, 
  13483. you can display specific messages even when ECHO has been turned off. 
  13484.  
  13485. To display the message, PROGRAM FAILED, on your screen, whether ECHO is ON or 
  13486. OFF, enter the following: 
  13487.  
  13488. ECHO PROGRAM FAILED
  13489.  
  13490.  
  13491. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13492.  
  13493. ECHO Command:  ON and OFF Parameters 
  13494.  
  13495. ON displays all commands as they are run.  This is the default value.  OFF 
  13496. stops the display of commands on the screen (including the REM command). 
  13497.  
  13498. To show all commands on your screen as they are processed, enter the following: 
  13499.  
  13500. ECHO ON
  13501.  
  13502.  
  13503. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13504.  
  13505. ERASE Command:  Drive, Path, Filename Parameters 
  13506.  
  13507. Specifies the name of the file or files to be erased.  In DOS sessions, all 
  13508. files must be in the same directory. 
  13509.  
  13510. To erase a file named FRIDAY from the current directory on the current drive, 
  13511. enter the following: 
  13512.  
  13513. ERASE FRIDAY
  13514.  
  13515. To erase all files in the current directory on drive C, enter the following: 
  13516.  
  13517. ERASE C:*.*
  13518.  
  13519. To erase all files in the REPORTS subdirectory on drive C, enter the following: 
  13520.  
  13521. ERASE C:\REPORTS\*.*
  13522.  
  13523. To erase a file named FRIDAY from the REPORTS subdirectory on drive C, enter 
  13524. the following: 
  13525.  
  13526. ERASE C:\REPORTS\FRIDAY
  13527.  
  13528. To erase all files with a .ABC extension from the REPORTS subdirectory in the 
  13529. root directory on drive C, enter the following: 
  13530.  
  13531. ERASE C:\REPORTS\*.ABC
  13532.  
  13533.  
  13534. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13535.  
  13536. ERASE Command:  /P Parameter 
  13537.  
  13538. Specifies that you do not want the system to delete all files.  The system 
  13539. displays each file name, giving you the option to delete it or not delete it. 
  13540. When you use the /P parameter to delete a single file or more than one file, a 
  13541. message is displayed.  For example, if you type the following: 
  13542.  
  13543. ERASE C:\MYDIR\MYFILE /P
  13544.  
  13545. The system displays this message: 
  13546.  
  13547. C:\MYDIR\MYFILE, Delete (Y/N)?
  13548.  
  13549. Type Y to delete the file; otherwise, type N. If you are deleting multiple 
  13550. files in a directory, the system advances to the next file. 
  13551.  
  13552.  
  13553. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13554.  
  13555. ERASE Command:  /N Parameter 
  13556.  
  13557. Specifies that the message Are you sure (Y/N)? is not to be displayed by the 
  13558. operating system when you are deleting the contents of a subdirectory. 
  13559.  
  13560. To delete the contents of the REPORTS subdirectory on drive C and not be 
  13561. prompted Are you sure (Y/N)?, enter the following: 
  13562.  
  13563. ERASE C:\REPORTS /N
  13564.  
  13565.  
  13566. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13567.  
  13568. EXTPROC Command:  Drive, Path, Filename Parameters 
  13569.  
  13570. Specifies the complete name of the file, including its extension, that contains 
  13571. the external batch processor. 
  13572.  
  13573.  
  13574. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13575.  
  13576. EXTPROC Command:  Arguments Parameter 
  13577.  
  13578. Specifies the information passed to the external batch processor. 
  13579.  
  13580.  
  13581. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13582.  
  13583. FCBS Command:  m Parameter 
  13584.  
  13585. Specifies a number from 1 through 255 that indicates the total number of file 
  13586. control blocks (FCBs) that can be open at the same time. 
  13587.  
  13588. To specify the total number of file control blocks that can be open at one time 
  13589. to 7, type the following in the CONFIG.SYS file: 
  13590.  
  13591. FCBS=7
  13592.  
  13593.  
  13594. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13595.  
  13596. FCBS Command:  n Parameter 
  13597.  
  13598. Specifies the number of files opened by FCBs that cannot be closed 
  13599. automatically by the system when a program tries to have more than m files 
  13600. opened by FCBs at one time. The first n files opened by FCBs are thus protected 
  13601. from being closed.  The range of values for n is from 0 through 255.  The value 
  13602. for n must be less than or equal to m. 
  13603.  
  13604. To set the total number of file control block files that can be open at one 
  13605. time to 7, and set the number protected from being closed to 2, type the 
  13606. following in the CONFIG.SYS file. 
  13607.  
  13608. FCBS=7,2
  13609.  
  13610.  
  13611. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13612.  
  13613. FDISK Command:  /QUERY Parameter 
  13614.  
  13615. Displays a list of all partitions and free space on the hard disks of the 
  13616. system.  For example, here is a query that returned information about 4 
  13617. partitions and a free space entry: 
  13618.  
  13619. Name     Partition   Vtype   FStype   Drive   Status   Start   Size
  13620. System 1   C:        01      04       1        1       00     30
  13621. System 2    :        01      01       1        1       30     10
  13622. OS2-HPFS   D:        02      07       2        1       00     60
  13623. data-vol   E:        02      06       1        0       40     70
  13624. 01000061    :        03      00       2        0       60     55
  13625.  
  13626. To display a list of all partitions and free space on the hard disks of the 
  13627. system, type the following: 
  13628.  
  13629. FDISK /QUERY
  13630.  
  13631.  
  13632. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13633.  
  13634. FDISK Command:  /CREATE:name Parameter 
  13635.  
  13636. Creates a primary partition or logical drive in an extended partition.  You can 
  13637. specify an optional name for the created partition. You must specify the type 
  13638. of partition being created by using the /VTYPE:n option where n = 1 for a 
  13639. primary partition and 2 for a logical drive in an extended partition. 
  13640.  
  13641. To create a logical drive in an extended partition on disk 1 with the name 
  13642. OS2FAT, type the following: 
  13643.  
  13644. FDISK /CREATE:OS2FAT /VTYPE:2 /DISK:1
  13645.  
  13646.  
  13647. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13648.  
  13649. FDISK Command:  /DELETE Parameter 
  13650.  
  13651. Deletes a logical drive or primary partition.  This parameter must be used with 
  13652. one or more options.  You can use /DELETE:all to delete all logical drives on a 
  13653. disk.  If you use /DELETE:all, however, you must specify the disk using the 
  13654. /DISK option. 
  13655.  
  13656. To delete a logical drive with the name OS2FAT, type the following: 
  13657.  
  13658. FDISK /DELETE /NAME:OS2FAT
  13659.  
  13660. To delete all logical drives on disk 2, type the following: 
  13661.  
  13662. FDISK /DELETE:all /DISK:2
  13663.  
  13664.  
  13665. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13666.  
  13667. FDISK Command:  /SETNAME:name Parameter 
  13668.  
  13669. Specifies names for primary partitions or logical drives and makes them 
  13670. bootable from the Boot Manager.  If name is left blank, the boot name is 
  13671. removed and the partition will not be bootable from the Boot Manager menu. 
  13672.  
  13673. To specify the name DOS4.0 of a primary partition, type the following: 
  13674.  
  13675. FDISK /SETNAME:DOS4.0
  13676.  
  13677.  
  13678. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13679.  
  13680. FDISK Command:  /SETACCESS Parameter 
  13681.  
  13682. Sets a primary DOS partition as accessible.  Once a primary DOS partition has 
  13683. been set as accessible, all other primary DOS partitions on the same drive are 
  13684. inaccessible. 
  13685.  
  13686. If there are two primary DOS partitions on a hard disk, specifying this 
  13687. parameter with no options makes the previously inaccessible partition 
  13688. accessible and changes the previously accessible partition to inaccessible. 
  13689.  
  13690. To specify a primary DOS partition as accessible, type the following: 
  13691.  
  13692. FDISK /SETACCESS
  13693.  
  13694.  
  13695. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13696.  
  13697. FDISK Command:  /STARTABLE Parameter 
  13698.  
  13699. Specifies a partition as startable. 
  13700.  
  13701. To specify a partition as startable, type the following: 
  13702.  
  13703. FDISK /STARTABLE
  13704.  
  13705.  
  13706. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13707.  
  13708. FDISK Command:  /FILE:filename Parameter 
  13709.  
  13710. Processes all FDISK commands in the specified file allowing the batching of 
  13711. FDISK commands.  You must have commas separating the arguments of each command 
  13712. in the file and the commands are processed just once.  For example, the file, 
  13713. MYFILE, contains the following commands: 
  13714.  
  13715. /query
  13716. /create:OS2,/vtype:1,/disk:1,/name:01000030,/size:20
  13717. /startable,/name:OS2
  13718. /query,/name:OS2
  13719.  
  13720. The processing of these commands is as follows: 
  13721.  
  13722. Command 1       Displays a list of all partitions and unused space on all hard 
  13723.                 disks. 
  13724.  
  13725. Command 2       Creates a primary partition on disk 1 with a size of 20MB in 
  13726.                 the free space alias 01000030 and assigns it a name of OS2. 
  13727.  
  13728. Command 3       Sets the partition named OS2 to be startable on the Boot 
  13729.                 Manager menu. 
  13730.  
  13731. Command 4       Displays the partition information of the partition named OS2. 
  13732.  
  13733. To process FDISK commands in the file MYFILE, type the following: 
  13734.  
  13735. FDISK /FILE:myfile
  13736.  
  13737.  
  13738. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13739.  
  13740. FDISK Command:  /parameter /NAME:name Option 
  13741.  
  13742. Options limit the actions of the FDISK command and parameters.  This option 
  13743. indicates the name of a partition.  A name can be up to eight characters in 
  13744. length and is case-sensitive.  The /NAME option can be used with all FDISK 
  13745. parameters except /FILE. 
  13746.  
  13747. Note:   During a QUERY operation, a temporary name is assigned to every 
  13748.         partition and free space that does not have a boot name assigned.  This 
  13749.         name is not set as the partition name, but is only used as a temporary 
  13750.         identifier for you.  Because you do not have a visual representation of 
  13751.         the Boot Manager menu, these temporary names can be used in place of 
  13752.         real names for the NAME option. 
  13753.  
  13754. To delete a partition named dos, type the following: 
  13755.  
  13756. FDISK /DELETE /NAME:dos
  13757.  
  13758.  
  13759. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13760.  
  13761. FDISK Command:  /parameter /DISK:n Option 
  13762.  
  13763. Options limit the actions of the FDISK command and parameters.  This option 
  13764. specifies the number of the hard disk that you want to work with using the 
  13765. FDISK command and parameters.  The /DISK option can be used with all FDISK 
  13766. parameters except /FILE. 
  13767.  
  13768. To display all partitions on drive 2, type the following: 
  13769.  
  13770. FDISK /QUERY /DISK:2
  13771.  
  13772.  
  13773. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13774.  
  13775. FDISK Command:  /parameter /FSTYPE:x Option 
  13776.  
  13777. Options limit the actions of the FDISK command and parameters.  This option 
  13778. specifies the file system type of the partition.  The Type x = DOS, FAT, IFS, 
  13779. Free, or other.  The /FSTYPE option can be used with all FDISK parameters 
  13780. except /FILE and /SETACCESS. 
  13781.  
  13782. To display a partition with a FAT file system, type the following: 
  13783.  
  13784. FDISK /QUERY /FSTYPE:FAT
  13785.  
  13786.  
  13787. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13788.  
  13789. FDISK Command:  /parameter /START:m Option 
  13790.  
  13791. Options limit the actions of the FDISK command and parameters.  This option 
  13792. specifies the partition starting location.  The m = t or b where t = top of the 
  13793. partition and b = bottom of the partition.  The /START option can be used with 
  13794. all FDISK parameters except /FILE. 
  13795.  
  13796. To create a primary partition starting at the top of the partition, type the 
  13797. following: 
  13798.  
  13799. FDISK /CREATE /START:t
  13800.  
  13801.  
  13802. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13803.  
  13804. FDISK Command:  /parameter /SIZE:m Option 
  13805.  
  13806. Options limit the actions of the FDISK command and parameters.  This option 
  13807. specifies the size of the partition where m is the size in MB.  The /SIZE 
  13808. option can be used with all FDISK parameters except /FILE. 
  13809.  
  13810. To create a primary partition with a size of 8MB, type the following: 
  13811.  
  13812. FDISK /CREATE /SIZE:8
  13813.  
  13814.  
  13815. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13816.  
  13817. FDISK Command:  /parameter /VTYPE:n Option 
  13818.  
  13819. Options limit the actions of the FDISK command and parameters.  This option 
  13820. specifies the type of the partition.  The value of n can be as follows: 
  13821.  
  13822. 0    Space is not usable 
  13823.  
  13824. 1    Primary partition (not shared) 
  13825.  
  13826. 2    Logical drive (shared in an extended partition) 
  13827.  
  13828.      Free space that can be used to create a primary or extended partition. 
  13829.  
  13830. The /VTYPE option can be used with all FDISK parameters except /FILE, 
  13831. /SETACCESS, and /STARTABLE. 
  13832.  
  13833. To display unusable space on a disk, type the following: 
  13834.  
  13835. FDISK /QUERY /VTYPE:0
  13836.  
  13837. To specify a primary partition to be displayed, type the following: 
  13838.  
  13839. FDISK /QUERY /VTYPE:1
  13840.  
  13841. To specify a logical drive in an extended partition to be displayed, type the 
  13842. following: 
  13843.  
  13844. FDISK /QUERY /VTYPE:2
  13845.  
  13846. To display free space that can be used to create a primary or extended 
  13847. partition, type the following: 
  13848.  
  13849. FDISK /QUERY /VTYPE:3
  13850.  
  13851.  
  13852. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13853.  
  13854. FDISK Command:  /parameter /BOOTABLE:s Option 
  13855.  
  13856. Options limit the actions of the FDISK command and parameters.  This option 
  13857. indicates the bootable status of partitions; s is 0 for partitions that are not 
  13858. bootable; s is 1 for partitions that are bootable.  The /BOOTABLE option can be 
  13859. used with all FDISK parameters except /FILE. 
  13860.  
  13861. To display all partitions that are bootable from the Boot Manager menu, type 
  13862. the following: 
  13863.  
  13864. FDISK /QUERY /BOOTABLE:1
  13865.  
  13866.  
  13867. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13868.  
  13869. FDISK Command:  /BOOTMGR Option 
  13870.  
  13871. Options limit the actions of the FDISK command and parameters.  This option 
  13872. specifies an action for the Boot Manager partition. 
  13873.  
  13874. To create the Boot Manager partition, type the following: 
  13875.  
  13876. FDISK  /CREATE /BOOTMGR
  13877.  
  13878.  
  13879. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13880.  
  13881. An allocated space on a hard disk that is defined by size and accessibility. A 
  13882. non-shareable partition is called a primary partition.  A shareable partition 
  13883. is called an extended partition and can contain multiple logical drives, each 
  13884. of which can be assigned different versions of an operating system such as the 
  13885. OS/2 operating system.  All versions of DOS, however, must reside in a primary 
  13886. partition. 
  13887.  
  13888.  
  13889. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13890.  
  13891. FILES Command:  n Parameter 
  13892.  
  13893. Specifies a number from 20 to 255 that indicates the maximum number of files 
  13894. that can be open at the same time.  This means that a DOS session can access 
  13895. the number of files that you specify in the CONFIG.SYS file.  The default value 
  13896. is 20. 
  13897.  
  13898. To specify a maximum of 40 files to be open at the same time in a DOS session, 
  13899. type the following in the CONFIG.SYS file: 
  13900.  
  13901. FILES=40
  13902.  
  13903.  
  13904. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13905.  
  13906. FIND Command:  /V Parameter 
  13907.  
  13908. Displays all lines that do not contain the specified string. 
  13909.  
  13910. To display all lines that do not include the word CHAPTER in a file named 
  13911. BOOK.TXT, enter the following. 
  13912.  
  13913. FIND /V "CHAPTER" BOOK.TXT
  13914.  
  13915.  
  13916. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13917.  
  13918. FIND Command:  /C Parameter 
  13919.  
  13920. Displays the count of lines that contain a match for the string.  If /C is 
  13921. specified with /N, FIND ignores /N. If /C is specified with /V, FIND returns 
  13922. the count of lines that do not contain the string. 
  13923.  
  13924. To display a count of the number of lines in a file named BOOK.TXT that include 
  13925. the word CHAPTER, enter the following: 
  13926.  
  13927. FIND /C "CHAPTER" BOOK.TXT
  13928.  
  13929.  
  13930. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13931.  
  13932. FIND Command:  /N Parameter 
  13933.  
  13934. Puts the relative line number in front of each matching line. 
  13935.  
  13936. To display the line number where each occurrence of CHAPTER is found in the 
  13937. text of the file named BOOK.TXT, enter the following: 
  13938.  
  13939. FIND /N "CHAPTER" BOOK.TXT
  13940.  
  13941.  
  13942. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13943.  
  13944. FIND Command:  /I Parameter 
  13945.  
  13946. Ignores the case of characters when searching for a string in a file. 
  13947.  
  13948. To make a search for the string CHAPTER not case-sensitive in the file 
  13949. BOOK.TXT, enter the following: 
  13950.  
  13951. FIND /I "CHAPTER" BOOK.TXT
  13952.  
  13953.  
  13954. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13955.  
  13956. FIND Command:  "String" Parameter 
  13957.  
  13958. Specifies the string to search for.  Remember to enclose the string in double 
  13959. quotes.  An uppercase string does not match a lowercase string. 
  13960.  
  13961. To display all the lines from files named BOOK1 and BOOK2 (in that order) that 
  13962. contain the word CHAPTER, enter the following: 
  13963.  
  13964. FIND "CHAPTER" BOOK1 BOOK2
  13965.  
  13966.  
  13967. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13968.  
  13969. FIND Command:  Drive, Path, and Filename Parameters 
  13970.  
  13971. Specifies the drive, path, and name of the file to be searched. 
  13972.  
  13973.  
  13974. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13975.  
  13976. FOR Command:  %variable Parameter 
  13977.  
  13978. Specifies any character, including 0 through 9, entered at the command prompt. 
  13979.  
  13980.  
  13981. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13982.  
  13983. FOR Command:  %%c Parameter 
  13984.  
  13985. Specifies any character, including 0 through 9.  Note that this does not 
  13986. conflict with the %0 through %9 batch parameter substitutions because two % 
  13987. symbols (%%) are required when you use FOR loop substitution in batch 
  13988. processing. 
  13989.  
  13990.  
  13991. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  13992.  
  13993. FOR Command:  Set Parameter 
  13994.  
  13995. Specifies one or more items to which the % variable parameter or the %%c 
  13996. parameter will be set. 
  13997.  
  13998.  
  13999. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14000.  
  14001. FOR Command:  Command Parameter 
  14002.  
  14003. Specifies the OS/2 command to be run. 
  14004.  
  14005.  
  14006. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14007.  
  14008. FORMAT Command:  Drive Parameter 
  14009.  
  14010. Specifies the drive to be formatted. 
  14011.  
  14012. To format a 5.25-inch high-capacity diskette in high-capacity diskette drive B, 
  14013. enter the following: 
  14014.  
  14015. FORMAT B:
  14016.  
  14017.  
  14018. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14019.  
  14020. FORMAT Command:  /ONCE Parameter 
  14021.  
  14022. Specifies that only one diskette is to be formatted.  You use this parameter 
  14023. when you want to format only one diskette and do not want to be asked by a 
  14024. system message if you want to format another diskette.  After one diskette is 
  14025. formatted, no system message is displayed and you are returned to the command 
  14026. prompt. 
  14027.  
  14028. To format one diskette on drive A, enter the following: 
  14029.  
  14030. FORMAT A: /ONCE
  14031.  
  14032.  
  14033. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14034.  
  14035. FORMAT Command:  /4 Parameter 
  14036.  
  14037. Formats a 360KB diskette in a 1.2MB drive. This parameter is intended to allow 
  14038. use of 360KB diskettes in 1.2MB drives only. Diskettes formatted with this 
  14039. parameter on a 1.2MB drive may not be reliably read or written in a 360KB 
  14040. drive. 
  14041.  
  14042. To format a 360KB diskette in a 1.2MB drive, enter the following: 
  14043.  
  14044. FORMAT A: /4
  14045.  
  14046. You can also type: 
  14047.  
  14048. FORMAT A: /N:9 /T:40
  14049.  
  14050.  
  14051. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14052.  
  14053. FORMAT Command:  /T:tracks and /N:sectors Parameters 
  14054.  
  14055. Formats a diskette to the number of tracks (/T) and number of sectors (/N) 
  14056. specified. If /T is not specified, the default is 80. 
  14057.  
  14058. Use /N to format a 3.5-inch diskette to a specific number of sectors per track. 
  14059. The default depends on the diskette drive being used. However, if the diskette 
  14060. you are formatting has a smaller capacity than the diskette drive, you must 
  14061. specify a value for /N. 
  14062.  
  14063. Use the following values to specify tracks and sectors for the diskette type 
  14064. shown: 
  14065.  
  14066. 360KB (5.25 in.) /T:40 /N:9 
  14067.  
  14068. 720KB (3.5 in.) /T:80 /N:9 
  14069.  
  14070. 1.2MB (5.25 in. /T:80 /N:15 
  14071.  
  14072. 1.44MB (3.5 in.) /T:80 /N:18 
  14073.  
  14074. 2.88MB (3.5 in.) /T:80 /N:36 
  14075.  
  14076. To format a 3.5-inch 720KB diskette in a 1.44MB drive (drive A), enter the 
  14077. following: 
  14078.  
  14079. FORMAT A: /T:80 /N:9
  14080.  
  14081.  
  14082. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14083.  
  14084. FORMAT Command: /L Parameter 
  14085.  
  14086. Specifies the long format procedure used to format and install the file system 
  14087. on an IBM read/write optical disc.  Formatting an optical disc the first time 
  14088. requires about 20 minutes. Reformatting a previously formatted optical disc 
  14089. requires only a few minutes when you do not use the /L parameter. 
  14090.  
  14091. To format and install the file system on a read-write optical disc, enter the 
  14092. following: 
  14093.  
  14094. FORMAT D: /L
  14095.  
  14096. where drive D is designated as the optical disc drive. 
  14097.  
  14098.  
  14099. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14100.  
  14101. FORMAT Command:  /V:label Parameter 
  14102.  
  14103. Specifies the volume label. A volume label can be up to 11 characters long and 
  14104. is used to identify the disk. If you do not specify a volume label, you are 
  14105. prompted to do so after formatting is completed. 
  14106.  
  14107. To format a diskette in drive A and give the diskette a volume label of MYDISK, 
  14108. enter the following: 
  14109.  
  14110. FORMAT A: /V:MYDISK
  14111.  
  14112. To include blanks in a volume label, enclose the volume label in quotation 
  14113. marks.  For example, to label a diskette My Disk, enter the following: 
  14114.  
  14115. FORMAT A:/v:"My Disk"
  14116.  
  14117.  
  14118. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14119.  
  14120. FORMAT Command:  /F:xxxx Parameter 
  14121.  
  14122. Specifies the size to which the diskette is to be formatted. FORMAT prepares 
  14123. the diskette with the appropriate number of tracks and sectors. The values are 
  14124. as follows: 
  14125.  
  14126. 360KB (5.25 in.)         360, 360K, 360KB 
  14127.  
  14128. 720KB (3.5 in.)          720, 720K, 720KB 
  14129.  
  14130. 1.2MB (5.25 in.)         1200, 1200K, 1200KB, 1.2, 1.2M, 1.2MB 
  14131.  
  14132. 1.44MB (3.5 in.)         1440, 1440K, 1440KB, 1.44, 1.44M, 1.44MB 
  14133.  
  14134. 2.88MB (3.5 in.)         2880, 2880K, 2880KB, 2.88, 2.88M, 2.88MB 
  14135.  
  14136. To format a 3.5-inch 720KB diskette in a 1.4MB drive (drive A), enter the 
  14137. following: 
  14138.  
  14139. FORMAT A: /F:720
  14140.  
  14141.  
  14142. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14143.  
  14144. FORMAT Command:  /FS:xxxx Parameter 
  14145.  
  14146. Specifies that FORMAT is to execute another file system's format program. 
  14147.  
  14148. To format a hard disk partition on drive D for the High Performance File 
  14149. System, enter the following: 
  14150.  
  14151. FORMAT D: /FS:HPFS
  14152.  
  14153. To change the HPFS partition on drive D to a FAT type partition, type the 
  14154. following: 
  14155.  
  14156. FORMAT D: /FS:FAT
  14157.  
  14158.  
  14159. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14160.  
  14161. FSACCESS Command: ! (exclamation) Parameter 
  14162.  
  14163. The ! (exclamation) parameter means the following drive letter or sequence 
  14164. should not be mapped to OS/2 drives. 
  14165.  
  14166.  
  14167. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14168.  
  14169. FSACCESS Command: DOSletter Parameter 
  14170.  
  14171. Specifies a local drive letter (a following colon is optional). 
  14172.  
  14173.  
  14174. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14175.  
  14176. FSACCESS Command: DOSletter - DOSletter Parameter 
  14177.  
  14178. The minus sign (-) indicates a sequence of drive letters between the two 
  14179. letters. 
  14180.  
  14181.  
  14182. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14183.  
  14184. FSACCESS Command: DOSletter = OS/2drive Parameter 
  14185.  
  14186. The equals sign (=)  means to map a local DOS drive letter to an OS/2 drive. 
  14187. OS/2drive is an OS/2 drive letter (a following colon is optional). 
  14188.  
  14189.  
  14190. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14191.  
  14192. GOTO Command:  Label Parameter 
  14193.  
  14194. Directs commands to run beginning with the line immediately after label. 
  14195.  
  14196. To go to a section in your batch file that has a label :EXIT, if the error 
  14197. level of the program you are running is 1 or greater, type the following in the 
  14198. batch file: 
  14199.  
  14200. IF ERRORLEVEL 1 GOTO EXIT
  14201.  .
  14202.  .
  14203. :EXIT
  14204.  
  14205. To show an indefinite sequence of "IBM RIBBONS ..." and "GOTO LOOP" messages on 
  14206. your screen, type the following in the batch file: 
  14207.  
  14208. :LOOP
  14209. @ECHO IBM RIBBONS ...
  14210. @ECHO GOTO LOOP
  14211. @GOTO LOOP
  14212.  
  14213. Press Ctrl+Break to stop running the batch file. 
  14214.  
  14215.  
  14216. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14217.  
  14218. GRAFTABL Command:  nnn Parameter 
  14219.  
  14220. Specifies a three-digit number, indicating the graphic code page to be used, 
  14221. which can have a value of: 
  14222.  
  14223. 437   U.S. 
  14224.  
  14225. 850   Multilingual 
  14226.  
  14227. 860   Portuguese 
  14228.  
  14229. 863   Canada (French-speaking) 
  14230.  
  14231. To specify the U.S. 437 graphic code page, enter the following: 
  14232.  
  14233. GRAFTABL 437
  14234.  
  14235.  
  14236. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14237.  
  14238. GRAFTABL Command:  ? Parameter 
  14239.  
  14240. Displays the number of the graphic code page currently being used and a list of 
  14241. code page options. 
  14242.  
  14243. To display the number of the graphic code page currently being used, and a list 
  14244. of graphic code page options, enter the following: 
  14245.  
  14246. GRAFTABL ?
  14247.  
  14248.  
  14249. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14250.  
  14251. GRAFTABL Command:  /STA Parameter 
  14252.  
  14253. Displays the number of the graphic code page currently being used. 
  14254.  
  14255. To display the number of the graphic code page currently being used, enter the 
  14256. following: 
  14257.  
  14258. GRAFTABL /STA
  14259.  
  14260.  
  14261. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14262.  
  14263. HELP Command:  ON and OFF Parameters 
  14264.  
  14265. Turns the help line on or off. 
  14266.  
  14267. To display a help line as a part of the command prompt, reminding you which 
  14268. keys to press to return to the desktop, enter the following: 
  14269.  
  14270. HELP ON
  14271.  
  14272.  
  14273. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14274.  
  14275. HELP Command:  message help Parameter 
  14276.  
  14277. Identifies the system message prefix and number, when necessary, for which 
  14278. additional information is being requested. It is not necessary to type the 
  14279. prefix and leading zeros. 
  14280.  
  14281. To request additional help for error message number SYS0003, type the 
  14282. following: 
  14283.  
  14284. HELP 3
  14285.  
  14286. HELP then displays the original message, followed by an explanation and action 
  14287. statements. 
  14288.  
  14289.  
  14290. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14291.  
  14292. HELP Command:  Book Parameter 
  14293.  
  14294. Identifies the online book (.INF file) to be searched for a specified topic. If 
  14295. you do not specify a book name, HELP searches the OS/2 Command Reference. 
  14296.  
  14297. To view information in the OS/2 Command Reference about the COPY command, enter 
  14298. the following at the OS/2 command prompt: 
  14299.  
  14300. HELP CMDREF COPY
  14301.  
  14302. To view information about functions in the REXX Information, enter the 
  14303. following at the OS/2 command prompt: 
  14304.  
  14305. HELP REXX FUNCTIONS
  14306.  
  14307.  
  14308. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14309.  
  14310. HELP Command:  Topic Parameter 
  14311.  
  14312. Identifies the topic for which additional information is being requested. 
  14313.  
  14314. To view information about the COPY command, enter the following at the OS/2 
  14315. command prompt: 
  14316.  
  14317. HELP COPY
  14318.  
  14319.  
  14320. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14321.  
  14322. IF Command:  NOT Parameter 
  14323.  
  14324. Reverses the truth value of conditional parameters from true to false or false 
  14325. to true. 
  14326.  
  14327.  
  14328. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14329.  
  14330. IF Command: ERRORLEVEL Number Parameter 
  14331.  
  14332. True if the previous program had an exit code of number or higher. The number 
  14333. is specified as a decimal value. 
  14334.  
  14335.  
  14336. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14337.  
  14338. IF Command:  String Parameter 
  14339.  
  14340. True when the first string is identical to the second string. 
  14341.  
  14342. The corresponding characters of each string must both be uppercase or lowercase 
  14343. to be identical. 
  14344.  
  14345. A blank string is not valid syntax. 
  14346.  
  14347.  
  14348. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14349.  
  14350. IF Command:  EXIST Filename Parameter 
  14351.  
  14352. True if the file name is found in the specified directory.  Global file-name 
  14353. characters (? and *) are allowed as a file name. 
  14354.  
  14355.  
  14356. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14357.  
  14358. IF Command:  Command Parameter 
  14359.  
  14360. Specifies the OS/2 command to be run when one of the conditional parameters 
  14361. listed is true. 
  14362.  
  14363.  
  14364. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14365.  
  14366. IFS Command:  Drive, Path, and Filename Parameters 
  14367.  
  14368. Specifies the drive, path, and file name of the file system program. This 
  14369. program contains the parameters needed to work with disks formatted for a 
  14370. particular file system. 
  14371.  
  14372.  
  14373. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14374.  
  14375. IFS Command:  Arguments Parameter 
  14376.  
  14377. Specifies the parameters of the identified file system driver. 
  14378.  
  14379.  
  14380. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14381.  
  14382. IFS Command:  Drive, Path, and Filename Parameters 
  14383.  
  14384. Specifies the drive, path, and file name of the file system program. For HPFS, 
  14385. The program is HPFS.IFS. 
  14386.  
  14387. To install the High Performance File System, the OS/2 Installation program 
  14388. places the following statement in the CONFIG.SYS file: 
  14389.  
  14390. IFS=C:\OS2\HPFS.IFS /C:64
  14391.  
  14392.  
  14393. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14394.  
  14395. IFS Command:  /C Parameter 
  14396.  
  14397. Specifies the amount of memory in KB that is used for file system disk caching. 
  14398. If this parameter is omitted, the default value is 10% of the available 
  14399. physical memory. A dash (-) may be used in place of a slash (/) 
  14400.  
  14401. To install the High Performance File System, the OS/2 Installation program 
  14402. places the following statement in the CONFIG.SYS file: 
  14403.  
  14404. IFS=C:\OS2\HPFS.IFS /C:64
  14405.  
  14406.  
  14407. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14408.  
  14409. IFS Command:  /AUTOCHECK Parameter 
  14410.  
  14411. Specifies the drives that the operating system checks at startup time to 
  14412. determine if the file system associated with a drive is in an inconsistent 
  14413. state. A file system could be in an inconsistent state when files were left 
  14414. open. This can happen when: 
  14415.  
  14416. o The computer was turned off without selecting the Shut down choice from the 
  14417.   menu of the desktop. 
  14418.  
  14419. o Electrical power to the computer was interrupted. 
  14420.  
  14421. The OS/2 operating system runs the CHKDSK program with the /F option to correct 
  14422. any problem caused by improper system shutdown. Each time you format a drive 
  14423. for the High Performance File System, the operating system updates the IFS 
  14424. statement in the CONFIG.SYS file with the appropriate AUTOCHECK parameter. 
  14425.  
  14426. Assume the following statement appears in the CONFIG.SYS file: 
  14427.  
  14428. IFS=C:\OS2\HPFS.IFS /C:64 /AUTOCHECK:DF
  14429.  
  14430. Each time it starts, the operating system checks drives D and F; if necessary, 
  14431. it runs the CHKDSK program. 
  14432.  
  14433.  
  14434. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14435.  
  14436. IFS Command:  /CRECL:x Parameter 
  14437.  
  14438. Specifies the maximum record size for caching where the maximum record size (x) 
  14439. is a multiple of 2KB.  The smallest maximum record size for caching is 2KB and 
  14440. the largest is 64KB.  The default is 4KB. 
  14441.  
  14442. To set the cache size to 64KB and the maximum record size to 4KB, type the 
  14443. following in the CONFIG.SYS file: 
  14444.  
  14445. IFS=C:\OS2\HPFS.IFS /C:64 /CRECL:4
  14446.  
  14447.  
  14448. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14449.  
  14450. An actual DOS program product that is purchased independently of the OS/2 
  14451. operating system such as IBM DOS Version 5.0.  You can run these programs with 
  14452. the OS/2 operating system by starting a DOS session with a specific DOS 
  14453. version. 
  14454.  
  14455.  
  14456. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14457.  
  14458. IOPL Command:  YES and NO Parameters 
  14459.  
  14460. NO prevents I/O privilege from being granted; YES permits I/O privilege to be 
  14461. granted. 
  14462.  
  14463. To permit I/O privileges to processing programs, type the following in the 
  14464. CONFIG.SYS file: 
  14465.  
  14466. IOPL=YES
  14467.  
  14468.  
  14469. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14470.  
  14471. IOPL Command:  List Parameter 
  14472.  
  14473. Restricts the set of programs with this privilege. These are the names of the 
  14474. programs that require I/O privilege. Use a comma to separate the names of the 
  14475. programs. 
  14476.  
  14477. To allow I/O privileges to be granted to programs named PROC2 and PROC3, type 
  14478. the following in the CONFIG.SYS file: 
  14479.  
  14480. IOPL=PROC2,PROC3
  14481.  
  14482.  
  14483. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14484.  
  14485. JOIN Command:  Drive and Directory Parameters.
  14486.  
  14487. Identifies the drives that are joined.  The first drive is the one you want 
  14488. identified as the path on the second drive. 
  14489.  
  14490. To join drive A to the path C:\DRIVEA and access drive A as the DRIVEA 
  14491. subdirectory on drive C, enter the following: 
  14492.  
  14493. JOIN A: C:\DRIVEA
  14494.  
  14495.  
  14496. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14497.  
  14498. JOIN Command:  /D Parameter 
  14499.  
  14500. Turns off a JOIN action. 
  14501.  
  14502. To turn off the JOIN action on drive A, enter the following: 
  14503.  
  14504. JOIN A: /D
  14505.  
  14506.  
  14507. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14508.  
  14509. KEYB Command:  Layout Parameter 
  14510.  
  14511. Specifies the keyboard layout.  The values are as follows: 
  14512.  
  14513. AR      Arabic 
  14514.  
  14515. BE      Belgium 
  14516.  
  14517. CF      Canada (French) 
  14518.  
  14519. CS      Czechoslovakia 
  14520.  
  14521. DK      Denmark 
  14522.  
  14523. SU      Finland 
  14524.  
  14525. FR      France 
  14526.  
  14527. GR      Germany 
  14528.  
  14529. HE      Hebrew 
  14530.  
  14531. HU      Hungary 
  14532.  
  14533. IS      Iceland 
  14534.  
  14535. IT      Italy 
  14536.  
  14537. LA      Latin America 
  14538.  
  14539. NL      Netherlands 
  14540.  
  14541. NO      Norway 
  14542.  
  14543. PL      Poland 
  14544.  
  14545. PO      Portugal 
  14546.  
  14547. SP      Spain 
  14548.  
  14549. SV      Sweden 
  14550.  
  14551. SF      Switzerland (French) 
  14552.  
  14553. SG      Switzerland (German) 
  14554.  
  14555. TR      Turkey 
  14556.  
  14557. UK      United Kingdom 
  14558.  
  14559. US      United States 
  14560.  
  14561. YU      Yugoslavia 
  14562.  
  14563. To switch to the Portuguese keyboard using the keyboard layout, PO, type the 
  14564. following: 
  14565.  
  14566. KEYB PO
  14567.  
  14568.  
  14569. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14570.  
  14571. KEYB Command:  Subcountry Parameter 
  14572.  
  14573. Specifies a specific keyboard layout for countries that have more than one 
  14574. layout.  The subcountry codes for those countries are as follows: 
  14575.  
  14576. 243, 245       Czechoslovakia 
  14577.  
  14578. 189, 120       France 
  14579.  
  14580. 141, 142       Italy 
  14581.  
  14582. 166, 168       United Kingdom 
  14583.  
  14584. If you do not specify a subcountry code for these countries, the OS/2 operating 
  14585. system uses the first subcountry code listed. 
  14586.  
  14587. To switch to the French keyboard using the French keyboard layout, FR, and the 
  14588. French enhanced keyboard, 120, type the following in the CONFIG.SYS file: 
  14589.  
  14590. KEYB FR 120
  14591.  
  14592.  
  14593. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14594.  
  14595. KEYS Command:  ON and OFF Parameters 
  14596.  
  14597. (ON) Permits previous commands to be retrieved, changed, and reissued. 
  14598.  
  14599. To enable the retrieving, changing and reissuing of commands, enter the 
  14600. following: 
  14601.  
  14602. KEYS ON
  14603.  
  14604. (OFF) Prevents previously issued commands from being retrieved. 
  14605.  
  14606. To stop retrieving commands, enter the following: 
  14607.  
  14608. KEYS OFF
  14609.  
  14610.  
  14611. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14612.  
  14613. KEYS Command:  List Parameter 
  14614.  
  14615. Causes a list of previously issued commands to appear. 
  14616.  
  14617. To display the list of commands in the queue, enter the following: 
  14618.  
  14619. KEYS LIST
  14620.  
  14621. Note:   KEYS LIST only displays commands entered and stored at the command 
  14622.         prompt when KEYS ON is active.  They are stored there until KEYS ON is 
  14623.         issued again. 
  14624.  
  14625.  
  14626. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14627.  
  14628. LABEL Command:  Drive Parameter 
  14629.  
  14630. Specifies the disk to be labeled. 
  14631.  
  14632. To display the volume label of drive A and be prompted by the system for the 
  14633. new label, enter the following: 
  14634.  
  14635. LABEL A:
  14636.  
  14637.  
  14638. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14639.  
  14640. LABEL Command:  Label Parameter 
  14641.  
  14642. Specifies the volume label that identifies the disk.  This can be up to 11 
  14643. characters.  All characters acceptable in file names are acceptable in the 
  14644. volume label.  Unlike file names, however, the volume label does not contain a 
  14645. period between the eighth and ninth characters. 
  14646.  
  14647. To create a volume-label name of FIXEDISKC for your hard disk, drive C, type 
  14648. the following: 
  14649.  
  14650. LABEL C:FIXEDISKC
  14651.  
  14652.  
  14653. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14654.  
  14655. LASTDRIVE Command:  x Parameter 
  14656.  
  14657. Specifies a drive letter from A through Z.  The minimum value for this 
  14658. parameter is the letter that specifies the number of drives installed on your 
  14659. system.  For example, one drive = A, two drives = B, and so on. 
  14660.  
  14661. To set the last drive = to M, giving your system access to 13 logical drives, 
  14662. type the following in the CONFIG.SYS file: 
  14663.  
  14664. LASTDRIVE=M
  14665.  
  14666.  
  14667. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14668.  
  14669. LIBPATH Command:  Drive and Path Parameters 
  14670.  
  14671. Specifies a directory to be searched for dynamic link libraries. You can search 
  14672. for more than one directory by specifying additional paths, separated by 
  14673. semicolons. The paths are searched in the order specified. 
  14674.  
  14675. To specify the LIB subdirectory as the directory to be searched for dynamic 
  14676. link libraries, type the following in the CONFIG.SYS file: 
  14677.  
  14678. LIBPATH=C:\;C:\LIB;
  14679.  
  14680.  
  14681. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14682.  
  14683. LOADHIGH Command:  Drive and Path Parameter 
  14684.  
  14685. Specifies the drive and directory of the DOS TSR program to be loaded into an 
  14686. upper memory block (UMB). 
  14687.  
  14688.  
  14689. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14690.  
  14691. LOADHIGH Command:  Filename Parameters 
  14692.  
  14693. Specifies the complete name of the DOS TSR program to be loaded into an upper 
  14694. memory block (UMB). 
  14695.  
  14696.  
  14697. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14698.  
  14699. LOADHIGH Command:  Arguments Parameter 
  14700.  
  14701. Specifies optional parameters for the TSR program to be run. 
  14702.  
  14703. To load the APPEND program with the parameters C:\OS2 and C:\TOOLS into a UMB, 
  14704. enter the following: 
  14705.  
  14706. LOADHIGH APPEND C:\OS2;C:\TOOLS
  14707.  
  14708.  
  14709. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14710.  
  14711. MAKEINI Command:  User and System Parameters 
  14712.  
  14713. If you receive a message stating that the OS2.INI file is corrupted, the 
  14714. OS2.INI file installed on your system must be replaced by another valid copy of 
  14715. the OS2.INI file. 
  14716.  
  14717. To re-create the user and system OS2SYS.INI files follow the steps listed in 
  14718. the examples push button. 
  14719.  
  14720. To re-create a new user INI file, enter: 
  14721.  
  14722. MAKEINI OS2.INI INI.RC
  14723.  
  14724. To re-create a new system INI file, enter: 
  14725.  
  14726. MAKEINI OS2SYS.INI INISYS.RC
  14727.  
  14728.  
  14729. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14730.  
  14731. MAXWAIT Command:  x Parameter 
  14732.  
  14733. Specifies the number of seconds that must elapse before a regular class thread 
  14734. that is waiting to access the processor receives an increase in priority. 
  14735.  
  14736. You can specify a number from 1 through 255. 
  14737.  
  14738. To cause a process to wait up to 15 seconds before it receives a temporary 
  14739. increase in priority, type the following in the CONFIG.SYS file: 
  14740.  
  14741. MAXWAIT=15
  14742.  
  14743.  
  14744. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14745.  
  14746. MEM Command: /P Parameter 
  14747.  
  14748. Displays the status of programs that are currently loaded into memory. 
  14749.  
  14750.  
  14751. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14752.  
  14753. MEM Command: /D Parameter 
  14754.  
  14755. Displays the status of currently loaded programs, internal drivers, and other 
  14756. programming information. 
  14757.  
  14758.  
  14759. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14760.  
  14761. MEM Command: /C Parameter 
  14762.  
  14763. Displays the status of programs loaded into conventional memory and the upper 
  14764. memory area. 
  14765.  
  14766.  
  14767. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14768.  
  14769. MEMMAN Command:  SWAP and NOSWAP Parameters 
  14770.  
  14771. Permits segment swapping (SWAP) or prevents segment swapping (NOSWAP). 
  14772.  
  14773. To permit segment swapping, type the following in the CONFIG.SYS file: 
  14774.  
  14775. MEMMAN=SWAP
  14776.  
  14777. To run a time-dependent application and prevent the OS/2 operating system from 
  14778. swapping the contents of storage to disk, type the following in the CONFIG.SYS 
  14779. file: 
  14780.  
  14781. MEMMAN=NOSWAP
  14782.  
  14783.  
  14784. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14785.  
  14786. MEMMAN Command:  MOVE and NOMOVE Parameters 
  14787.  
  14788. These parameters are provided for OS/2 1.3 compatibility. 
  14789.  
  14790.  
  14791. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14792.  
  14793. MEMMAN Command:  PROTECT Parameter 
  14794.  
  14795. Enables certain APIs to allocate and use protected memory.  This action can 
  14796. also be called protected dynalinks. 
  14797.  
  14798.  
  14799. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14800.  
  14801. MKDIR Command:  Drive and Path Parameters 
  14802.  
  14803. Specifies the drive and directory name. 
  14804.  
  14805. To make a subdirectory named REPORTS within the root directory on drive C, 
  14806. enter the following: 
  14807.  
  14808. MD C:\REPORTS
  14809.  
  14810. You can also create more than one directory at a time. 
  14811.  
  14812. To make two separate directories named FIRST and SECOND in the root directory 
  14813. on drive C, enter the following: 
  14814.  
  14815. MD C:\FIRST C:\SECOND
  14816.  
  14817.  
  14818. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14819.  
  14820. MODE Command:  Device Parameter 
  14821.  
  14822. Specifies the complete name of the device. 
  14823.  
  14824.  
  14825. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14826.  
  14827. MODE Command:  Arguments Parameter 
  14828.  
  14829. Specifies the parameters of the identified device. 
  14830.  
  14831.  
  14832. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14833.  
  14834. MODE Command:  COM# Parameter 
  14835.  
  14836. Specifies the asynchronous communication port numbers (1 through 4). 
  14837.  
  14838. To query the status of asynchronous COM port 1, type the following: 
  14839.  
  14840. MODE COM1
  14841.  
  14842. You can specify port numbers 1 through 4. 
  14843.  
  14844.  
  14845. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14846.  
  14847. MODE Command:  Baud Parameter 
  14848.  
  14849. Specifies the transmission rate on COM ports where the hardware capabilities of 
  14850. DMA are not supported by the system.  The transmission rate can be: 110, 150, 
  14851. 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400, or 57600.  On 
  14852. COM ports where the hardware capabilities of DMA are supported by the system, 
  14853. the baud rates supported can be: 300, 600, 1200, 2400, 4800, 9600, 19200, 
  14854. 38400, 57600, 76800, 115200, 138240, 172800, 230400, or 345600. (It is not 
  14855. necessary to type the ending zeros for the high baud rates).  The availability 
  14856. of this support can be determined by querying the current status of a COM port. 
  14857. If a COM port has this capability, the status will be displayed as ENHANCED=ON 
  14858. together with the RXDMA=, TXDMA= parameter strings.  (You must specify at least 
  14859. the first two digits of the desired rate).  If you do not specify a 
  14860. transmission rate, the default is 1200. 
  14861.  
  14862. Note:   The Async device driver is designed to handle high baud rates under 
  14863.         optimum conditions.  To achieve successful data transfer operations at 
  14864.         high baud rates, the following conditions should be met: 
  14865.  
  14866. o The connecting cables should be free from electrical noise. 
  14867. o The DMA capability should be available. 
  14868. o Other programs should not be active on the system because operations at high 
  14869.   baud rates require many processor cycles. 
  14870. o There should be no overflow of the receive buffer of the Async device driver. 
  14871. o Applications should not use the Error or Break Replacement options. 
  14872.  
  14873.  
  14874. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14875.  
  14876. MODE Command:  Parity Parameter 
  14877.  
  14878. Specifies the following values: N (none), O (odd), E (even), M (mark), or S 
  14879. (space).  None means that there is no parity bit. Odd means odd parity; even 
  14880. means even parity. Mark parity means that the parity bit is always 1. Space 
  14881. parity means that the parity bit is always 0. If parity is not specified, the 
  14882. default is E. 
  14883.  
  14884.  
  14885. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14886.  
  14887. Mode Command:  Databits Parameter 
  14888.  
  14889. Specifies the value of data bits. The values are 5, 6, 7, or 8 bits of data, 
  14890. with the default of 7. 
  14891.  
  14892.  
  14893. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14894.  
  14895. MODE Command:  Stopbits Parameter 
  14896.  
  14897. Specifies the value of stop bits.  Values are 1, 1.5, or 2. Either 1 or 1.5 is 
  14898. valid if databits is specified as 5. If stopbits is specified as 1.5, only 5 is 
  14899. valid for databits. The default for this parameter is 2 when the baud rate is 
  14900. 110; otherwise, the default is 1. 
  14901.  
  14902.  
  14903. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14904.  
  14905. MODE Command:  P Parameter 
  14906.  
  14907. In a DOS session, specifies a time-out value of approximately 30 seconds for 
  14908. DOS programs that go directly to the hardware. The P parameter does not provide 
  14909. infinite retries as in previous versions of DOS. 
  14910.  
  14911.  
  14912. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14913.  
  14914. MODE Command:  TO Parameter 
  14915.  
  14916. Specifies the type of processing.  ON allows write infinite timeout processing. 
  14917. If OFF is specified, normal timeout processing is done. The default mode is 
  14918. TO=OFF, which causes a timeout to occur in 60 seconds. 
  14919.  
  14920. To ensure that a printer write timeout never occurs, enter the following: 
  14921.  
  14922. MODE COM1:12,,,,TO=ON
  14923.  
  14924.  
  14925. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14926.  
  14927. MODE Command:  XON Parameter 
  14928.  
  14929. Sets automatic transmit flow control. This mode of operation involves receiving 
  14930. special characters in order to control the flow of data. ON allows and OFF 
  14931. prevents automatic transmit flow control.  The default mode is XON=OFF.  If 
  14932. this parameter is not specified, its current value is unchanged. 
  14933.  
  14934. To prevent automatic transmit flow control, enter the following: 
  14935.  
  14936. MODE COM1:12,,,,XON=OFF
  14937.  
  14938.  
  14939. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14940.  
  14941. MODE Command:  IDSR Parameter 
  14942.  
  14943. Sets input handshaking using 'data set ready' (DSR).  ON allows and OFF 
  14944. prevents input handshaking using 'data set ready' (DSR).  The default mode is 
  14945. IDSR=ON.  If this parameter is not specified, its current value is unchanged. 
  14946.  
  14947. To allow input handshaking using DSR, enter the following: 
  14948.  
  14949. MODE COM1:12,,,,IDSR=ON
  14950.  
  14951.  
  14952. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14953.  
  14954. MODE Command:  ODSR Parameter 
  14955.  
  14956. Sets output handshaking using 'data set ready' (DSR).  ON allows and OFF 
  14957. prevents output handshaking using 'data set ready' (DSR).  The default mode is 
  14958. ODSR=ON.  If this parameter is not specified, its current value is unchanged. 
  14959.  
  14960. To allow output handshaking using DSR, enter the following: 
  14961.  
  14962. MODE COM1:12,,,,ODSR=ON
  14963.  
  14964.  
  14965. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14966.  
  14967. MODE Command:  OCTS Parameter 
  14968.  
  14969. Sets output handshaking using 'clear to send' (CTS).  ON allows and OFF 
  14970. prevents output handshaking using 'clear to send' (CTS).  The default mode is 
  14971. OCTS=ON.  If this parameter is not specified, its current value is unchanged. 
  14972.  
  14973. To allow output handshaking using CTS, enter the following: 
  14974.  
  14975. MODE COM1:12,,,,OCTS=OFF
  14976.  
  14977.  
  14978. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14979.  
  14980. MODE Command:  DTR Parameter 
  14981.  
  14982. Sets 'data terminal ready' (DTR).  ON allows 'data terminal ready' (DTR), OFF 
  14983. prevents DTR, and HS allows input handshaking using DTR.  The default mode is 
  14984. DTR=ON. If this parameter is not specified, its current value is unchanged. 
  14985.  
  14986. To allow data terminal ready, enter the following: 
  14987.  
  14988. MODE COM1:12,,,,DTR=ON
  14989.  
  14990.  
  14991. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  14992.  
  14993. MODE Command:  RTS Parameter 
  14994.  
  14995. Sets 'request to send' (RTS).  ON allows 'request to send' (RTS), OFF prevents 
  14996. RTS, HS allows input handshaking using RTS, and TOG allows RTS toggling on 
  14997. transmit mode.  The default mode is RTS=ON.  If this parameter is not 
  14998. specified, its current value is unchanged. 
  14999.  
  15000. To allow RTS toggling in transmit mode, enter the following: 
  15001.  
  15002. MODE COM1:12,,,,RTS=TOG
  15003.  
  15004.  
  15005. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15006.  
  15007. MODE Command:  BUFFER Parameter 
  15008.  
  15009. Sets extended hardware buffering.  The values are ON, OFF, and AUTO. 
  15010.  
  15011. ON enables extended hardware buffering.  This setting permits maximum device 
  15012. performance but may not be compatible with devices that require strict timing 
  15013. of events. 
  15014.  
  15015. OFF disables extended hardware buffering.  This is the default setting when the 
  15016. MODE command is issued to a serial port that does not support extended hardware 
  15017. buffering. 
  15018.  
  15019. AUTO sets the device driver to run in automatic protocol-override mode. This 
  15020. setting adjusts device-driver parameters, depending on the state of these 
  15021. device-driver protocols: 
  15022.  
  15023. o Output handshaking using CTS (Clear to Send) or DSR (Data Set Ready) 
  15024. o Input sensitivity using DSR 
  15025. o Automatic Transmit Flow Control (XON) 
  15026.  
  15027. In enhanced mode (ENHANCED=ON), the BUFFER= parameter cannot be used to set 
  15028. Extended Hardware Buffering, because the system automatically controls it for 
  15029. its maximum use. 
  15030.  
  15031. To permit maximum device performance, enter the following: 
  15032.  
  15033. MODE COM1:12,,,,BUFFER=AUTO
  15034.  
  15035.  
  15036. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15037.  
  15038. MODE Command:  ENHANCED Parameter 
  15039.  
  15040. Enables (ENHANCED=ON) or disables (ENHANCED=OFF) the enhanced mode support 
  15041. provided by the hardware on a COM port.  In enhanced mode, transfer operations 
  15042. are performed either in enhanced FIFO mode or in DMA mode.  In enhanced FIFO 
  15043. mode, the full capacity of the hardware FIFO buffer is automatically used and 
  15044. controlled by the system. 
  15045.  
  15046. In DMA mode, data transfer is done with the help of the DMA chip, which 
  15047. relieves much of the interrupt-driven system overhead, and the system can 
  15048. achieve the maximum performance gain.  If a COM port has this capability, the 
  15049. MODE command from the query status request displays an ENHANCED= string. 
  15050. Issuing this parameter to a COM port that does not have this capability will 
  15051. result in an error message.  The initial value of this parameter is ENHANCED=ON 
  15052. unless the user disables enhanced mode. 
  15053.  
  15054. The system can use the DMA capability and the advanced function features 
  15055. provided by the hardware serial device only in enhanced mode.  So, the system 
  15056. allows the user to disable the enhanced mode only when no DMA channel is 
  15057. simultaneously requested to a COM port.  When the enhanced mode is disabled, 
  15058. the system does not use the advanced function features of a COM port, and the 
  15059. hardware FIFO buffer is controlled by the BUFFER= parameter. 
  15060.  
  15061. To turn enhanced mode on, enter the following: 
  15062.  
  15063. MODE COM1:12,,,,ENHANCED=ON
  15064.  
  15065.  
  15066. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15067.  
  15068. MODE Command:  RXDMA Parameter 
  15069.  
  15070. This parameter controls the DMA receive operations and has three options: 
  15071.  
  15072. o AUTO - This is the initial default mode where the system automatically 
  15073.   controls the DMA receive operations.  In enhanced mode, the system attempts 
  15074.   to run receive operations in DMA mode.  If no available DMA channel exists, 
  15075.   then it reverts to enhanced FIFO mode operation.  When enhanced mode is off, 
  15076.   the system runs in conventional FIFO mode. 
  15077. o OFF - In enhanced mode, with DMA capability off, the system runs in enhanced 
  15078.   FIFO mode.  This feature is useful when the user wants to save the number of 
  15079.   available DMA channels to allow other devices or COM ports to use them.  For 
  15080.   example, the user might choose not to use a DMA channel for a low-baud 
  15081.   transmission rate, but save it for the port that is running with a higher 
  15082.   baud rate. 
  15083. o ON - If ON is requested, the system tries to assign a DMA channel to a COM 
  15084.   port for a receive operation.  If a DMA channel is unavailable at that 
  15085.   moment, the MODE command displays an error message.  A DMA channel cannot be 
  15086.   reassigned until RXDMA=AUTO or RXDMA=OFF is requested or until ENHANCED=OFF 
  15087.   is specified.  This option is valid in enhanced mode only. 
  15088.  
  15089. To turn on DMA receive operations, enter the following: 
  15090.  
  15091. MODE COM1:12,,,,RXDMA=ON
  15092.  
  15093.  
  15094. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15095.  
  15096. MODE Command:  TXDMA Parameter 
  15097.  
  15098. This parameter controls the DMA transmit operations and has three options: 
  15099.  
  15100. o AUTO - This is the initial default mode where the system automatically 
  15101.   controls the DMA transmit operations.  In enhanced mode, the system attempts 
  15102.   to run transmit operations in DMA mode.  If no available DMA channel exists, 
  15103.   then it reverts to enhanced FIFO mode operation.  When enhanced mode is off, 
  15104.   the system runs in conventional FIFO mode. 
  15105. o OFF - In enhanced mode, with DMA capability off, the system runs in enhanced 
  15106.   FIFO mode.  When the enhanced mode is off, the system does not use the 
  15107.   advanced function features provided by the serial device.  It runs in 
  15108.   conventional FIFO mode. 
  15109. o ON - If ON is requested, the system tries to assign a DMA channel to a COM 
  15110.   port for a transmit operation.  If a DMA channel is unavailable at that 
  15111.   moment, the MODE command displays an error message.  A DMA channel cannot be 
  15112.   reassigned until TXDMA=AUTO or TXDMA=OFF is requested or until ENHANCED=OFF 
  15113.   is specified.  This option is valid in enhanced mode only. 
  15114.  
  15115. To turn on DMA transmit operations, enter the following: 
  15116.  
  15117. MODE COM1:12,,,,TXDMA=ON
  15118.  
  15119.  
  15120. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15121.  
  15122. MODE Command:  CONx Parameter 
  15123.  
  15124. Specifies the display number that the current MODE command is being directed 
  15125. towards.  This parameter is designed for use on systems using more than one 
  15126. display.  Once the command has been issued, the CONx parameter does not have to 
  15127. be issued unless the next MODE command is going to address another display.  If 
  15128. your system has only one display, you do not need to use the CONx parameter 
  15129.  
  15130. To set a mode on display number 1: 
  15131.  
  15132. MODE CON1
  15133.  
  15134. To set a mode on display number 2: 
  15135.  
  15136. MODE CON2
  15137.  
  15138. Here are some examples using the CONx parameter: 
  15139.  
  15140. Set a color 80x43 mode on display number 1: 
  15141.  
  15142. MODE CON1 CO80,43
  15143.  
  15144. Set a monochrome mode on display number 2: 
  15145.  
  15146. MODE CON2 MONO
  15147.  
  15148. Set a color 80x50 mode on the first base video handler (BVH) display in the 
  15149. list that it supports: 
  15150.  
  15151. MODE CON0 CO80,50
  15152. or 
  15153.  
  15154. MODE CON CO80,50
  15155.  
  15156. The exception to the rule occurs if the MODE command is entered using the CONx 
  15157. parameter prior to issuing the preceding example.  If that occurs, the MODE 
  15158. command will be targeted to the display the CONx parameter was last directed 
  15159. to. 
  15160.  
  15161. The number used to designate the display number is based upon the order that 
  15162. the BVH displays are specified in the system's CONFIG.SYS file on the SET 
  15163. VIDEO_DEVICES= line. 
  15164.  
  15165. Support for CONx is restricted to OS/2 full-screen sessions only and does not 
  15166. have any effect on DOS or OS/2 window sessions. 
  15167.  
  15168.  
  15169. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15170.  
  15171. MODE Command:  Display Parameter 
  15172.  
  15173. Specifies the display mode.  The options are: 40, 80, 132, BW40, BW80, BW132, 
  15174. CO40, CO80, CO132, or MONO. The values 40, 80, and 132 specify a display width 
  15175. in number of characters per line.  CO and BW refer to a color graphics monitor 
  15176. adapter with color (CO) or without (BW). MONO specifies the monochrome mode, 
  15177. which always has a display of 80 characters per line.  The 132-character width 
  15178. is supported only by monitors with the XGA video adapter. 
  15179.  
  15180. VIO window sessions support only 80-column modes. 
  15181.  
  15182. To switch the active display adapter to the color graphics monitor adapter, 
  15183. enter the following: 
  15184.  
  15185. MODE CO40
  15186.  
  15187.  
  15188. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15189.  
  15190. MODE Command:  Rows Parameter 
  15191.  
  15192. Specifies the number of rows to select.  Valid values are 25, 43, or 50, 
  15193. depending on the display adapter attached.  For example, with an enhanced 
  15194. display adapter, you can specify a 43-line display: 
  15195.  
  15196. MODE CO80,43
  15197.  
  15198. If the rows parameter is not specified, the value does not change.  The initial 
  15199. value for rows is 25. The default is the last value you entered. 
  15200.  
  15201.  
  15202. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15203.  
  15204. MODE Command:  LPT# or PRN Parameter 
  15205.  
  15206. Specifies the printer number.  The pound sign (#) defines printer number 1, 2, 
  15207. or 3. PRN is an acceptable device name for LPT1. 
  15208.  
  15209. If you are using a network printer, the MODE command supports LPT4 through LPT9 
  15210. for printing to a network printer. 
  15211.  
  15212. To set up your printer as LPT1 and accept the system defaults (80 characters 
  15213. per line and 6 lines per vertical inch), enter the following: 
  15214.  
  15215. MODE LPT1 ,,,
  15216.  
  15217.  
  15218. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15219.  
  15220. MODE Command:  Chars Parameter 
  15221.  
  15222. Specifies the characters per line. The value is either 80 or 132. The default 
  15223. is 80. 
  15224.  
  15225. To set up your printer as LPT2 and use 132 characters per line and 8 lines per 
  15226. inch, enter the following: 
  15227.  
  15228. MODE LPT2 132,8,,
  15229.  
  15230.  
  15231. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15232.  
  15233. MODE Command:  Lines Parameter 
  15234.  
  15235. Specifies the lines per inch of vertical spacing. The value is either 6 or 8. 
  15236. The default is 6. 
  15237.  
  15238. To set up your printer as LPT2 and specify 8 lines per inch for vertical 
  15239. spacing, enter the following: 
  15240.  
  15241. MODE LPT2 ,8,,
  15242.  
  15243.  
  15244. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15245.  
  15246. MODE Command:  P Parameter 
  15247.  
  15248. Tells MODE to continuously try to send output to the printer if a timeout error 
  15249. occurs. 
  15250.  
  15251. To set up your printer as LPT2 and specify infinite retry, enter the following: 
  15252.  
  15253. MODE LPT2 ,,P
  15254.  
  15255.  
  15256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15257.  
  15258. MODE Command:  State Parameter 
  15259.  
  15260. Sets diskette verification ON or OFF.  VER=ON turns on diskette verification; 
  15261. VER=OFF turns off diskette verification. 
  15262.  
  15263.  
  15264. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15265.  
  15266. MOVE Command:  Drive, Path, Filename Parameters 
  15267.  
  15268. The source drive is always the same as the target drive.  If no path is 
  15269. specified for the target file, MOVE uses the current directory. 
  15270.  
  15271. The first file specified is the source file.  The second file is the target 
  15272. file.  If the second parameter is a directory, files are moved into that 
  15273. directory and their names are not changed. 
  15274.  
  15275.  
  15276. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15277.  
  15278. PATCH Command:  Drive, Path, Filename Parameters 
  15279.  
  15280. With no options entered, specifies the name of the file to be patched 
  15281. interactively. 
  15282.  
  15283. With the /A option (applying a patch automatically), specifies the name of the 
  15284. file containing the instructions for patching one or more files. 
  15285.  
  15286.  
  15287. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15288.  
  15289. PATCH Command:  /A Parameter 
  15290.  
  15291. Specifies automatic mode.  In this mode, the filename parameter refers to a 
  15292. file that contains instructions for patching one or more files.  If /A is not 
  15293. specified, interactive mode is assumed. 
  15294.  
  15295.  
  15296. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15297.  
  15298. PATH Command:  Drive and Path Parameters 
  15299.  
  15300. Specifies the drives and directories to be searched. 
  15301.  
  15302. To search the MEMOS subdirectory on drive A and then search the REPORTS 
  15303. directory on drive C, enter the following: 
  15304.  
  15305. PATH A:\MEMOS;C:\REPORTS
  15306.  
  15307. You can use the current path to .CMD or batch files (in OS/2 sessions) as a 
  15308. replaceable parameter.  Assume you want to add the path to the ABC subdirectory 
  15309. on drive A to the existing path known to CMD.EXE.  Enter the following: 
  15310.  
  15311. PATH %PATH%;A:\ABC
  15312.  
  15313.  
  15314. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15315.  
  15316. PAUSE Command:  Comment Parameter 
  15317.  
  15318. Specifies a comment to be displayed during the pause in processing.  It is 
  15319. displayed in a batch file only if ECHO is ON. 
  15320.  
  15321. To suspend processing of your commands in a batch file so that you can change 
  15322. diskettes, type the following in your batch file: 
  15323.  
  15324. ECHO CHANGE DISKETTE IN DRIVE A
  15325. PAUSE
  15326.  
  15327.  
  15328. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15329.  
  15330. PAUSEONERROR Command:  YES and NO Parameters 
  15331.  
  15332. YES causes the system to pause.  If errors have been detected in the CONFIG.SYS 
  15333. file, the system pauses before starting the specified user interface or command 
  15334. processor and displays a prompt. Processing does not continue until you press 
  15335. Enter. 
  15336.  
  15337. NO prevents the system from pausing before starting the user interface or 
  15338. command processor. 
  15339.  
  15340. If if there is not a PAUSEONERROR statement in the CONFIG.SYS file, the default 
  15341. is true, and PAUSEONERROR is equal to YES. 
  15342.  
  15343. To pause the screen and read any error messages generated during the processing 
  15344. of the CONFIG.SYS file, enter the following: 
  15345.  
  15346. PAUSEONERROR=YES
  15347.  
  15348.  
  15349. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15350.  
  15351. PICVIEW Command:  Drive, Path, Filename Parameters 
  15352.  
  15353. Specifies the drive, directory, and name of the picture file to be viewed. 
  15354.  
  15355.  
  15356. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15357.  
  15358. PICVIEW Command:  File Options 
  15359.  
  15360. /MET  Specifies metafile, a type of picture file that can define a picture. 
  15361.       Metafiles can be exchanged between Presentation Manager* applications. 
  15362.  
  15363. /PIF  Specifies picture interchange file, a type of format file used to 
  15364.       exchange a picture file. 
  15365.  
  15366.  
  15367. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15368.  
  15369. PICVIEW Command:  /P Parameter 
  15370.  
  15371. Sends the specified picture file to be printed. 
  15372.  
  15373.  
  15374. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15375.  
  15376. PICVIEW Command:  /S Parameter 
  15377.  
  15378. Specifies that the Picture Viewer window is to return to the default position 
  15379. on the screen. 
  15380.  
  15381.  
  15382. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15383.  
  15384. PMREXX Command:  Drive, Path, Filename Parameters 
  15385.  
  15386. Specifies the drive, directory, and file name of the .CMD file to be displayed. 
  15387.  
  15388.  
  15389. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15390.  
  15391. PMREXX Command:  Arguments Parameter 
  15392.  
  15393. Specifies the arguments that are indicated in REXX programs, such as other OS/2 
  15394. commands or environment variables to be displayed as output by PMREXX. 
  15395.  
  15396. To display the current PATH and DPATH statements in the CONFIG.SYS file that 
  15397. you have indicated in the REXX program, SAMPLE.CMD, enter the following: 
  15398.  
  15399. PMREXX Sample PATH DPATH
  15400.  
  15401.  
  15402. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15403.  
  15404. PRINT Command:  /D:device Parameter 
  15405.  
  15406. Specifies the print device.  If not specified, the default device is LPT1. The 
  15407. acceptable device names are PRN, LPT1, LPT2, and LPT3. 
  15408.  
  15409. If you are using a network printer, the PRINT command supports LPT4 through 
  15410. LPT9 for printing to a network printer. 
  15411.  
  15412. To print a file named C:\LISTING\REPORT.STA on the LPT2 print device, enter the 
  15413. following: 
  15414.  
  15415. PRINT /D:LPT2 C:\LISTING\REPORT.STA
  15416.  
  15417.  
  15418. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15419.  
  15420. PRINT Command:  /B Parameter 
  15421.  
  15422. Prevents Ctrl+Z characters in the file from being interpreted as end-of-file 
  15423. indicators.  The entire file is printed as is, without end-of-file character 
  15424. (Ctrl+Z) processing. 
  15425.  
  15426. To prevent Ctrl+Z characters from being interpreted as end-of-file characters 
  15427. when a file named LISTING prints, enter the following: 
  15428.  
  15429. PRINT /B LISTING
  15430.  
  15431.  
  15432. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15433.  
  15434. PRINT Command:  Drive, Path, Filename Parameters 
  15435.  
  15436. Specifies the complete name of the file to be printed, including the drive and 
  15437. directory where the file is located. 
  15438.  
  15439. To print a file named REPORTS in the current directory, enter the following: 
  15440.  
  15441. PRINT REPORTS
  15442.  
  15443. A file name is not required when using the /C and /T parameters. 
  15444.  
  15445.  
  15446. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15447.  
  15448. PRINT Command:  /C Parameter 
  15449.  
  15450. Cancels the file that is currently printing if spooling is active for the 
  15451. specified device. The /C parameter works only in OS/2 sessions. 
  15452.  
  15453. To cancel the file that is currently printing on LPT1 (the default print 
  15454. device), enter the following: 
  15455.  
  15456. PRINT /C
  15457.  
  15458.  
  15459. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15460.  
  15461. PRINT Command:  /T Parameter 
  15462.  
  15463. Cancels all files waiting to be printed and the job currently printing if 
  15464. spooling is active for the specified device. The /T parameter works only in 
  15465. OS/2 sessions. 
  15466.  
  15467. To cancel all files in the LPT2 print queue and any file currently printing, 
  15468. enter the following: 
  15469.  
  15470. PRINT /D:LPT2 /T
  15471.  
  15472.  
  15473. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15474.  
  15475. PRINTMONBUFSIZE Command:  x Parameter 
  15476.  
  15477. Specifies the size of the parallel-port device-driver buffer.  Each x 
  15478. corresponds to LPT1, LPT2, and LPT3 character monitor buffer size (in bytes) 
  15479. respectively.  The minimum value permitted is 134 and the maximum value is 
  15480. 2048.  If you specify a value that is outside the valid range, a default value 
  15481. of 134 is used. 
  15482.  
  15483. To set the parallel-port device-driver buffer size for LPT1 as 2048 bytes, for 
  15484. LPT2 as 134 bytes, and for LPT3 as 134 bytes, type the following in the 
  15485. CONFIG.SYS file: 
  15486.  
  15487. PRINTMONBUFSIZE=2048,134,134
  15488.  
  15489.  
  15490. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15491.  
  15492. PRIORITY Command:  ABSOLUTE and DYNAMIC Parameters 
  15493.  
  15494. Provides absolute priority calculation or results in a dynamic calculation of 
  15495. priorities.  The default is DYNAMIC. 
  15496.  
  15497. To change the PRIORITY statement so the OS/2 operating system does not vary the 
  15498. priorities of threads as they are running, type the following in the CONFIG.SYS 
  15499. file: 
  15500.  
  15501. PRIORITY=ABSOLUTE
  15502.  
  15503.  
  15504. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15505.  
  15506. PRIORITY_DISK_IO Command:  YES and NO Parameters 
  15507.  
  15508. YES specifies that applications running in the foreground are to receive 
  15509. priority for disk access over applications running in the background. 
  15510.  
  15511. NO specifies that all applications (foreground and background) are to be 
  15512. treated equally with regard to disk access.  The default is YES. 
  15513.  
  15514. To specify that applications in the foreground are to receive priority for disk 
  15515. access, type the following in the CONFIG.SYS file: 
  15516.  
  15517. PRIORITY_DISK_IO=YES
  15518.  
  15519. To specify that all applications (foreground and background) are to be treated 
  15520. equally with regard to disk access, type the following in the CONFIG.SYS file: 
  15521.  
  15522. PRIORITY_DISK_IO=NO
  15523.  
  15524.  
  15525. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15526.  
  15527. PROMPT Command:  Text Parameter 
  15528. The system command prompt can contain any of the following special characters. 
  15529. You must precede each character with a dollar sign ($): 
  15530.  
  15531. $     The $ character 
  15532. _     A carriage-return line-feed sequence 
  15533. A     The & character 
  15534. B     The | character 
  15535. C     The ( character 
  15536. D     The current date 
  15537. E     ASCII code 27 (escape) 
  15538. F     The ) character 
  15539. G     The > character 
  15540. H     The backspace symbol 
  15541. I     The help line 
  15542. L     The < character 
  15543. N     The default drive 
  15544. P     The current directory of the default drive 
  15545. Q     The = character 
  15546. R     The return code 
  15547. S     A space character 
  15548. T     The current time 
  15549. V     The version number 
  15550.  
  15551.  
  15552. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15553.  
  15554. PROTECTONLY Command:  NO and YES Parameters 
  15555.  
  15556. Selects both DOS and OS/2 operating environments (NO), or selects OS/2 sessions 
  15557. only (YES).  The default is NO. 
  15558.  
  15559. To set up your system for OS/2 sessions only, type the following in the 
  15560. CONFIG.SYS file: 
  15561.  
  15562. PROTECTONLY=YES
  15563.  
  15564. To set up your system for both OS/2 and DOS sessions, type the following in the 
  15565. CONFIG.SYS file: 
  15566.  
  15567. PROTECTONLY=NO
  15568.  
  15569.  
  15570. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15571.  
  15572. PROTSHELL Command:  Filename Parameter 
  15573.  
  15574. Represents the complete name of the file, including its extension, that 
  15575. contains the user interface. 
  15576.  
  15577.  
  15578. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15579.  
  15580. PROTSHELL Command:  Arguments Parameter 
  15581.  
  15582. Specifies the parameters required by the user interface. The standard OS/2 user 
  15583. interface requires the name of the Presentation Manager* configuration file, 
  15584. the name of the Presentation Manager program file, and the name of the OS/2 
  15585. command processor. 
  15586.  
  15587.  
  15588. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15589.  
  15590. PSTAT Command:  /C Parameter 
  15591.  
  15592. Displays the current process and thread-related information on the system. For 
  15593. each process, displays the following: 
  15594.  
  15595. o Process ID 
  15596. o Parent process ID 
  15597. o Session ID 
  15598. o Process name 
  15599.  
  15600. For each thread, displays the following: 
  15601.  
  15602. o Thread ID 
  15603. o Thread state 
  15604. o Thread priority 
  15605. o Block ID 
  15606.  
  15607.  
  15608. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15609.  
  15610. PSTAT Command:  /S Parameter 
  15611.  
  15612. Displays system-semaphore information for each thread.  For each thread, 
  15613. displays the following: 
  15614.  
  15615. o Process module name 
  15616. o Process ID 
  15617. o Session 
  15618. o Index 
  15619. o Number of references 
  15620. o Number of requests 
  15621. o Flag 
  15622. o Name of the system semaphore 
  15623.  
  15624.  
  15625. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15626.  
  15627. PSTAT Command:  /L Parameter 
  15628.  
  15629. Displays the dynamic-link libraries for each process. 
  15630.  
  15631. o Process module name 
  15632. o Process ID 
  15633. o Session ID 
  15634. o Library list 
  15635.  
  15636.  
  15637. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15638.  
  15639. PSTAT Command:  /M Parameter 
  15640.  
  15641. Displays shared information for each process. 
  15642.  
  15643. o Handle 
  15644. o Selector 
  15645. o Number of references 
  15646. o Name of the shared memory 
  15647.  
  15648.  
  15649. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15650.  
  15651. PSTAT Command:  /P:pid Parameter 
  15652.  
  15653. Displays information related to the ID of the specified process. 
  15654.  
  15655. o Process ID 
  15656. o Parent process ID 
  15657. o Session ID 
  15658. o Process module name 
  15659. o Dynamic-link libraries 
  15660. o Shared memory data 
  15661.  
  15662. For each thread associated with the process, displays the following: 
  15663.  
  15664. o Thread ID 
  15665. o Thread priority 
  15666. o Thread status 
  15667. o Block ID 
  15668. o Semaphore information 
  15669.  
  15670.  
  15671. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15672.  
  15673. RECOVER Command:  Drive, Path, Filename Parameters 
  15674.  
  15675. Specifies the complete name of the file to be recovered.  You can recover one 
  15676. or more files. 
  15677.  
  15678. To recover a file named LETTER.TXT in the root directory of drive A, enter the 
  15679. following: 
  15680.  
  15681. RECOVER A:\LETTER.TXT
  15682.  
  15683. To recover all the files on drive A, enter the following: 
  15684.  
  15685. RECOVER A:
  15686.  
  15687.  
  15688. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15689.  
  15690. REM Command:  Comment Parameter 
  15691.  
  15692. Contains any string of up to 123 characters. 
  15693.  
  15694. To display REM and the remark, THIS IS AN INVENTORY PROGRAM, from within a 
  15695. batch file, type the following: 
  15696.  
  15697. REM THIS IS AN INVENTORY PROGRAM
  15698.  
  15699. To prevent the OS/2 operating system from interpreting the piping symbol (|), 
  15700. enclose it in double quotes. 
  15701.  
  15702. REM USE DOUBLE QUOTES "|" DIR
  15703.  
  15704.  
  15705. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15706.  
  15707. RENAME Command:  Drive, Path, Filename Parameters 
  15708.  
  15709. Specifies the file to be renamed (filename1) and specifies the new filename 
  15710. (filename2).  The filename may also be the name of a directory you want to 
  15711. rename. Specify a path only with the first directory name (filename1 
  15712. parameter). Do not use the global file-name characters (* and ?) when renaming 
  15713. a directory. 
  15714.  
  15715. To change the name of a file from MEMOS to LETTERS in the current directory on 
  15716. the current drive, enter the following: 
  15717.  
  15718. REN MEMOS LETTERS
  15719.  
  15720. To change the extension of all files in the current directory of the current 
  15721. drive from .OLD to .NEW, enter the following: 
  15722.  
  15723. REN *.OLD *.NEW
  15724.  
  15725. To rename a program named MY.COM in the LEVEL1 subdirectory on drive B to 
  15726. YOUR.COM, enter the following: 
  15727.  
  15728. REN B:\LEVEL1\MY.COM YOUR.COM
  15729.  
  15730.  
  15731. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15732.  
  15733. REPLACE Command:  Drive, Path, Filename Parameters 
  15734.  
  15735. Specifies the file from the source drive and directory that is to replace a 
  15736. file on the target drive and directory. 
  15737.  
  15738. To replace the LETTERS file on drive A with the LETTERS file on drive C, enter 
  15739. the following: 
  15740.  
  15741. REPLACE C:LETTERS A:
  15742.  
  15743. You can also use the global characters * and ? when specifying a file name. 
  15744.  
  15745. To replace all files on drive C that have an extension of .EXE with files from 
  15746. drive A that have the same file name and extension, enter the following: 
  15747.  
  15748. REPLACE A:*.EXE C:
  15749.  
  15750.  
  15751. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15752.  
  15753. REPLACE Command:  /A Parameter 
  15754.  
  15755. Copies all files specified by the source that do not exist on the target.  This 
  15756. allows you to add files to the target without overwriting the files that 
  15757. already exist on the target. You cannot use /A and /S together. 
  15758.  
  15759. To copy all files from the current directory on drive C (that do not exist on 
  15760. drive A) to drive A, without overwriting the files that currently exist on 
  15761. drive A, enter the following: 
  15762.  
  15763. REPLACE C:*.* A: /A
  15764.  
  15765.  
  15766. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15767.  
  15768. REPLACE Command:  /S Parameter 
  15769.  
  15770. Searches all directories of the target drive and path for the files matching 
  15771. the file name specified. If only the target drive is specified, the default 
  15772. path is assumed. You cannot use /A and /S together. 
  15773.  
  15774. To replace the files found in all directories of drive C with files matching 
  15775. the source file name of YEARLY in the current directory on drive A, enter the 
  15776. following: 
  15777.  
  15778. REPLACE A:YEARLY C:\ /S
  15779.  
  15780.  
  15781. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15782.  
  15783. REPLACE Command:  /P Parameter 
  15784.  
  15785. Prompts you as each file is encountered on the target. This allows you to 
  15786. selectively replace or add files. 
  15787.  
  15788. To be prompted with (Y/N?) before replacing each file from the root directory 
  15789. on drive C to the root directory on drive A, enter the following: 
  15790.  
  15791. REPLACE C:\*.* A:\ /P
  15792.  
  15793.  
  15794. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15795.  
  15796. REPLACE Command:  /R Parameter 
  15797.  
  15798. Replaces files that are read-only on the target. 
  15799.  
  15800. To replace all files on drive C (including read-only files) with files of the 
  15801. same name from drive A, enter the following: 
  15802.  
  15803. REPLACE A:*.* C: /R
  15804.  
  15805.  
  15806. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15807.  
  15808. REPLACE Command:  /W Parameter 
  15809.  
  15810. Waits for you to insert a diskette before beginning to search for source files. 
  15811.  
  15812. To replace the LETTERS file on drive A with the LETTERS file on drive C, and 
  15813. have the system wait for you to insert a diskette before searching for source 
  15814. files, enter the following: 
  15815.  
  15816. REPLACE C:LETTERS A: /W
  15817.  
  15818.  
  15819. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15820.  
  15821. REPLACE Command:  /U Parameter 
  15822.  
  15823. Updates only those files on the target drive that are older than those on the 
  15824. source drive.  You cannot use the /A and /U parameters together. 
  15825.  
  15826. To replace all files on drive C named LETTER.FMT with a new LETTER.FMT file 
  15827. from drive A, enter the following: 
  15828.  
  15829. REPLACE A:LETTER.FMT C:\ /U  /S
  15830.  
  15831.  
  15832. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15833.  
  15834. REPLACE Command:  /F Parameter 
  15835.  
  15836. Causes REPLACE to fail if the source file contains extended attributes and the 
  15837. destination file system does not support extended attributes. If the /F 
  15838. parameter is not specified, REPLACE will succeed if the source file contains 
  15839. extended attributes and the destination file system does not support them.  The 
  15840. extended attributes are not copied. If the /F parameter is not specified and 
  15841. the source file contains needed extended attributes, REPLACE will fail if the 
  15842. destination file system does not support extended attributes.  In this 
  15843. instance, a message appears. 
  15844.  
  15845. Assume you want to replace a file named REPORTS.TXT to the STATUS directory on 
  15846. drive D.  You also want REPLACE to fail if drive D does not support extended 
  15847. attributes.  Enter the following: 
  15848.  
  15849. REPLACE REPORTS.TXT D:\STATUS /F
  15850.  
  15851.  
  15852. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15853.  
  15854. RESTORE Command:  Drive, Path, Filename Parameters 
  15855.  
  15856. Source drive specifies the drive that contains the files you backed up.  The 
  15857. target drive and path specify the location to which you want the files 
  15858. restored. 
  15859.  
  15860. To restore a file named MONDAY to the REPORTS subdirectory on drive C from the 
  15861. backup diskette in drive A, enter the following: 
  15862.  
  15863. RESTORE A: C:\REPORTS\MONDAY
  15864.  
  15865.  
  15866. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15867.  
  15868. RESTORE Command:  /P Parameter 
  15869.  
  15870. Prompts for permission to restore any files on the target disk that match the 
  15871. file specification and are read-only or that have changed since they were last 
  15872. backed up. 
  15873.  
  15874. In the following example, assume that the backup diskette is in drive A and you 
  15875. are restoring to the current directory in drive C.  To be prompted with (Y/N)? 
  15876. before restoring any read-only file or file changed since the last time you did 
  15877. a backup, enter the following: 
  15878.  
  15879. RESTORE A: C:*.* /P
  15880.  
  15881.  
  15882. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15883.  
  15884. RESTORE Command:  /M Parameter 
  15885.  
  15886. Restores only those files on the target disk that have been modified since the 
  15887. last backup. 
  15888.  
  15889. To restore files that were changed or deleted since they were last backed up, 
  15890. enter the following: 
  15891.  
  15892. RESTORE A: C:*.* /M
  15893.  
  15894.  
  15895. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15896.  
  15897. RESTORE Command:  /B:mm-dd-yy Parameter 
  15898.  
  15899. Restores only those files on the target disk last modified on or before the 
  15900. given date. 
  15901.  
  15902. To restore all files changed on or before November 12, 1988, type the following 
  15903. (using the current date format): 
  15904.  
  15905. RESTORE A: C: /B:11-12-88
  15906.  
  15907.  
  15908. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15909.  
  15910. RESTORE Command:  /A:mm-dd-yy Parameter 
  15911.  
  15912. Restores only those files on the target disk last modified on or after the 
  15913. given date. 
  15914.  
  15915. To restore all files changed on or after November 12, 1988, type the following 
  15916. (using the current date format): 
  15917.  
  15918. RESTORE A: C: /A:11-12-88
  15919.  
  15920.  
  15921. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15922.  
  15923. RESTORE Command:  /E:hh:mm:ss Parameter 
  15924.  
  15925. Restores only those files on the target disk last modified before the given 
  15926. time. 
  15927.  
  15928. To restore only those files that were changed at or earlier than 11:45 a.m., 
  15929. enter the following: 
  15930.  
  15931. RESTORE A: C: /E:11:45:00
  15932.  
  15933.  
  15934. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15935.  
  15936. RESTORE Command:  /L:hh:mm:ss Parameter 
  15937.  
  15938. Restores only those files on the target disk that were last modified at or 
  15939. after the given time. 
  15940.  
  15941. To restore only those files that were changed at or later than 11:45 a.m., 
  15942. enter the following: 
  15943.  
  15944. RESTORE A: C: /L:11:45:00
  15945.  
  15946.  
  15947. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15948.  
  15949. RESTORE Command:  /S Parameter 
  15950.  
  15951. Restores any subdirectories from the backup diskette to the target disk if they 
  15952. do not exist on the target disk. 
  15953.  
  15954. To restore all files (including subdirectories) on the backup diskettes in 
  15955. drive A to drive C, enter the following: 
  15956.  
  15957. RESTORE A: C:\*.* /S
  15958.  
  15959.  
  15960. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15961.  
  15962. RESTORE Command:  /N Parameter 
  15963.  
  15964. Restores any files from the backup diskette to the target disk that do not 
  15965. exist on the target disk. 
  15966.  
  15967. To restore files that no longer exist on the target drive, enter the following: 
  15968.  
  15969. RESTORE A: C: /N
  15970.  
  15971.  
  15972. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15973.  
  15974. RESTORE Command:  /F Parameter 
  15975.  
  15976. Causes RESTORE to fail if the source file contains extended attributes and the 
  15977. destination file system does not support extended attributes. If the /F 
  15978. parameter is not specified, RESTORE will succeed if the source file contains 
  15979. extended attributes and the destination file system does not support them.  The 
  15980. extended attributes are not copied. If the /F parameter is not specified and 
  15981. the source file contains needed extended attributes, RESTORE will fail if the 
  15982. destination file system does not support extended attributes.  In this 
  15983. instance, a message appears. 
  15984.  
  15985. Assume you want to restore a file named REPORTS.TXT to the STATUS directory on 
  15986. drive D.  You also want RESTORE to fail if drive D does not support extended 
  15987. attributes.  Enter the following: 
  15988.  
  15989. RESTORE REPORTS.TXT D:\STATUS /F
  15990.  
  15991.  
  15992. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  15993.  
  15994. RESTORE Command:  /D Parameter 
  15995.  
  15996. Displays a list of files on the backup disk that matches the files specified in 
  15997. filename without restoring any files. 
  15998.  
  15999. To display the files on the backup disk that match the files that were backed 
  16000. up by the BACKUP command without restoring them, enter the following: 
  16001.  
  16002. RESTORE /D
  16003.  
  16004.  
  16005. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16006.  
  16007. RD Command:  Drive and Path Parameters 
  16008.  
  16009. Specifies the directory to be removed.  You can: 
  16010.  
  16011. o Remove a subdirectory from a root directory 
  16012. o Remove a subdirectory from within another directory 
  16013. o Remove more than one directory (OS/2 sessions only) 
  16014.  
  16015. To remove a subdirectory named REPORTS from your root directory on the current 
  16016. drive, delete all the files and subdirectories within REPORTS, and enter the 
  16017. following: 
  16018.  
  16019. RD \REPORTS
  16020.  
  16021. To remove a subdirectory named ANNUAL within a subdirectory REPORTS, which is 
  16022. in the root directory on the current drive, enter the following: 
  16023.  
  16024. RD \REPORTS\ANNUAL
  16025.  
  16026. To remove the subdirectory REPORTS from the SALES directory and the 
  16027. subdirectory PROGS from the ACCT directory (OS/2 sessions only), enter the 
  16028. following: 
  16029.  
  16030. RD \SALES\REPORTS \ACCT\PROGS
  16031.  
  16032.  
  16033. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16034.  
  16035. RMSIZE Command:  x Parameter 
  16036.  
  16037. Specifies a number from 0 through 640, representing a multiple of 1024 bytes. 
  16038.  
  16039. To set the size of the DOS environment to 512KB, type the following in the 
  16040. CONFIG.SYS file: 
  16041.  
  16042. RMSIZE=512
  16043.  
  16044.  
  16045. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16046.  
  16047. RUN Command:  Drive, Path, Filename Parameters 
  16048.  
  16049. Specifies the complete name of the file, including its extension, that contains 
  16050. the system program you want to run. 
  16051.  
  16052. To run a system checkout program named MARY.EXE located in the UTILS directory, 
  16053. type the following in the CONFIG.SYS file. 
  16054.  
  16055. RUN=C:\UTILS\MARY.EXE
  16056.  
  16057.  
  16058. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16059.  
  16060. RUN Command:  Arguments Parameter 
  16061.  
  16062. Specifies information that you want to pass to the program. 
  16063.  
  16064.  
  16065. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16066.  
  16067. RUN Command:  Drive and Path Parameter 
  16068.  
  16069. Specifies the drive and path of the LOGDAEM.EXE program. 
  16070.  
  16071. The default drive and path of LOGDAEM.EXE is C:\OS2\SYSTEM. 
  16072.  
  16073.  
  16074. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16075.  
  16076. RUN=LOGDAEM.EXE Command:  /E:filename Parameter 
  16077.  
  16078. Specifies the path and file name of the local error-log file. 
  16079.  
  16080. To specify C:\OS2\SYSTEM as the path for the error-log file LOG0001.DAT, type 
  16081. the following in the CONFIG.SYS file: 
  16082.  
  16083. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT
  16084.  
  16085.  
  16086. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16087.  
  16088. RUN=LOGDAEM.EXE Command:  /W:x Parameter 
  16089.  
  16090. Sets the size of the error logging file to a specified size (x) in KB.  The 
  16091. default is 64KB, the minimum is 4KB.  If an error-log file does not already 
  16092. exist and you do not supply a /W parameter, then an error-log file will be 
  16093. started with a length of 64KB. 
  16094.  
  16095. To set the size of the error-log file, LOG0001.DAT, with the path C:\OS2\SYSTEM 
  16096. to 32KB, type the following in the CONFIG.SYS file: 
  16097.  
  16098. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  16099.  
  16100.  
  16101. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16102.  
  16103. SET Command:  String Parameter 
  16104.  
  16105. The first string is the name of a system variable or replaceable parameter. 
  16106. The second string is the value you want to assign to the system variable or 
  16107. replaceable parameter. 
  16108.  
  16109. Do not use any of these characters in string:  =  :   >   <   | 
  16110.  
  16111.  
  16112. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16113.  
  16114. SETBOOT Command:  /T:x Parameter 
  16115.  
  16116. Sets the timeout value of the Boot Manager menu timer. 
  16117.  
  16118. The value of x is the time in seconds that the Boot Manager menu will remain 
  16119. displayed before the default system starts. 
  16120.  
  16121. A specified value of 0 seconds bypasses the menu entirely, starting the default 
  16122. system immediately without intervention. 
  16123.  
  16124. To set the Boot Manager selection timer to 15 seconds, type the following: 
  16125.  
  16126. SETBOOT /T:15
  16127.  
  16128.  
  16129. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16130.  
  16131. SETBOOT Command:  /T:NO Parameter 
  16132.  
  16133. Disables the Boot Manager selection timer.  When you specify NO as the timeout 
  16134. value, the timer is disabled leaving the Boot Manager menu displayed until you 
  16135. make a selection. 
  16136.  
  16137. To disable the Boot Manager selection timer, type the following: 
  16138.  
  16139. SETBOOT /T:NO
  16140.  
  16141.  
  16142. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16143.  
  16144. SETBOOT Command:  /M:m Parameter 
  16145.  
  16146. Sets the mode for the Boot Manager menu. 
  16147.  
  16148. m = n  sets normal mode 
  16149. m = a  sets advanced mode 
  16150.  
  16151. :n sets the mode to display only the aliases of the partitions that are able to 
  16152. be selected; :a sets the mode to display additional information that is 
  16153. displayed in the advanced mode of the Boot Manager menu. 
  16154.  
  16155. To set the normal mode for the Boot Manager menu, type the following: 
  16156.  
  16157. SETBOOT /M:n
  16158.  
  16159. To set the Boot Manager menu to advanced mode, type the following: 
  16160.  
  16161. SETBOOT /M:a
  16162.  
  16163.  
  16164. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16165.  
  16166. SETBOOT Command:  /Q Parameter 
  16167.  
  16168. Queries the currently set startup environment.  Returns the default partition 
  16169. alias, timeout value, mode, and drive letter assignments for unattended 
  16170. operation. 
  16171.  
  16172. To query the current startup environment, type the following: 
  16173.  
  16174. SETBOOT /Q
  16175.  
  16176.  
  16177. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16178.  
  16179. SETBOOT Command:  /B Parameter 
  16180.  
  16181. Performs an orderly shutdown of the system and then restarts the system. 
  16182.  
  16183. To shutdown and then restart the system, type the following: 
  16184.  
  16185. SETBOOT /B
  16186.  
  16187.  
  16188. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16189.  
  16190. SETBOOT Command:  /X:x Parameter 
  16191.  
  16192. Sets the system startup index to indicate the partition to be started.  The 
  16193. value x may be set from 0 to 3. 
  16194.  
  16195. The Boot Manager will start the partition corresponding to the index.  It then 
  16196. decreases this value by 1 while the value is greater than 1.  If you do not set 
  16197. this value before you start the system again, then the Boot Manager will start 
  16198. a different partition. 
  16199.  
  16200. A value of 0 sets the Boot Manager to attended mode and provides for a default 
  16201. system selection. 
  16202.  
  16203. A value of 1 to 3 in this index puts the Boot Manager in unattended mode.  In 
  16204. this case, all attended mode functions are bypassed, including the Boot Manager 
  16205. menu.  This feature is provided as a mechanism that unattended mode can use to 
  16206. implement a fallback startup sequence; that is, if a system fails to get to 
  16207. your program to set the index, the subsequent startup would try to start the 
  16208. next fallback system and so on. 
  16209.  
  16210. To set the startup index to put Boot Manager in attended mode, type the 
  16211. following: 
  16212.  
  16213. SETBOOT /X:0
  16214.  
  16215. To set the startup index to put the Boot Manager in unattended mode, type the 
  16216. following: 
  16217.  
  16218. SETBOOT /X:3
  16219.  
  16220.  
  16221. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16222.  
  16223. SETBOOT Command:  /N:name Parameter 
  16224.  
  16225. Sets the partition or logical drive specified by the alias name and its 
  16226. corresponding index value as the operating system to be started. 
  16227.  
  16228. Up to four pair-combinations can be given, one for each index value, 0 to 3. An 
  16229. alias is case-sensitive, and if it contains blanks, the /N parameter:name pair 
  16230. must be enclosed in quotation marks. 
  16231.  
  16232. The following shows you the number values for N: 
  16233.  
  16234. N = 0 assigns the specified alias as the default operating system. 
  16235. N = 1 to 3 specifies the alias to be started when the corresponding index is 
  16236. chosen to start. 
  16237.  
  16238. To specify the logical drive with the alias MYSYSTEM as the default operating 
  16239. system to be started, type the following: 
  16240.  
  16241. SETBOOT /0:MYSYSTEM
  16242.  
  16243.  
  16244. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16245.  
  16246. SHELL Command:  Drive, Path, Filename Parameters 
  16247.  
  16248. Specifies the complete name of the file, including its extension, that contains 
  16249. the DOS command processor. 
  16250.  
  16251.  
  16252. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16253.  
  16254. SHELL Command:  Arguments Parameter 
  16255.  
  16256. Specifies the parameters of your command processor.  If you are using 
  16257. COMMAND.COM as your command processor, any parameters of COMMAND.COM can be 
  16258. used as SHELL statement arguments. 
  16259.  
  16260. To install COMMAND.COM as the command processor, type the following in the 
  16261. CONFIG.SYS file: 
  16262.  
  16263. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  16264.  
  16265.  
  16266. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16267.  
  16268. SORT Command:  /R Parameter 
  16269.  
  16270. Reverses the sort; that is, sorts from Z through A. 
  16271.  
  16272. To sort a file named BOOK1 in reverse order and write the output to a file 
  16273. named REV, enter the following: 
  16274.  
  16275. SORT /R <BOOK1 >REV
  16276.  
  16277.  
  16278. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16279.  
  16280. SORT Command:  /+n Parameter 
  16281.  
  16282. Sorts starting with column n, where n is some number.  If you do not specify 
  16283. this parameter, SORT begins sorting from column 1. 
  16284.  
  16285. To sort a file named BOOK1 starting at column 1, and send the output to your 
  16286. screen, enter the following: 
  16287.  
  16288. SORT <BOOK1
  16289.  
  16290. To sort a file named CALENDAR.88, starting at column 7, type the following: 
  16291.  
  16292. SORT /+7 <CALENDAR.88
  16293.  
  16294.  
  16295. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16296.  
  16297. SPOOL Command:  /D:device Parameter 
  16298.  
  16299. Specifies the input device. This is the device the application program uses for 
  16300. printing. Acceptable parallel device names are PRN, LPT1, LPT2, and LPT3.  If 
  16301. not specified, the default device is LPT1.  Serial devices cannot be specified 
  16302. as input devices. 
  16303.  
  16304.  
  16305. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16306.  
  16307. SPOOL Command:  /O:device Parameter 
  16308.  
  16309. Specifies the output device. This is the actual device to which output from the 
  16310. application program is to be sent. If this parameter is not specified, the 
  16311. default is the same as the input device. COM1 through COM4 can be specified as 
  16312. output devices when a device is attached to the serial port. Acceptable 
  16313. parallel device names include PRN, LPT1, LPT2, and LPT3. 
  16314.  
  16315.  
  16316. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16317.  
  16318. SPOOL Command:  /Q Parameter 
  16319.  
  16320. Queries existing device redirections.  /Q specifies to display the current 
  16321. device redirection selections.  The default setup, if no previous redirection 
  16322. has been specified, is to have each input device directed to its corresponding 
  16323. output device (that is, LPT1 directed to LPT1, LPT2 directed to LPT2, and so 
  16324. on). 
  16325.  
  16326.  
  16327. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16328.  
  16329. START Command:  "Program Title" Parameter 
  16330.  
  16331. Specifies the title you want for your program, which is displayed in the 
  16332. Startup folder. The program title must be enclosed in double quotation marks 
  16333. and cannot exceed 60 bytes. 
  16334.  
  16335. If you do not specify program title, the file name of your program is displayed 
  16336. in the Startup folder. 
  16337.  
  16338. The use of a double-byte (DBCS) character counts as two bytes. If a title is 
  16339. longer than 60 bytes, it is shortened.  DBCS means a set of characters in which 
  16340. each character is represented by two bytes.  Languages such as Japanese, 
  16341. Chinese, and Korean, which contain more characters than can be represented by 
  16342. 256 code points, require double-byte character sets.  As each character 
  16343. requires two bytes, the entering, displaying, and printing of DBCS characters 
  16344. requires hardware and software that can support DBCS. 
  16345.  
  16346.  
  16347. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16348.  
  16349. START Command:  /K Parameter 
  16350.  
  16351. Indicates to start the program indirectly through the command processor, 
  16352. CMD.EXE, and to keep the session when the program has finished. If the 
  16353. application is a Presentation Manager application, the default is /N; 
  16354. otherwise, the default is /K. 
  16355.  
  16356.  
  16357. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16358.  
  16359. START Command:  /C Parameter 
  16360.  
  16361. Indicates to start the program indirectly through the command processor, 
  16362. CMD.EXE, and end the session when the command is complete.  If the session 
  16363. created by the START command is displayed when the command ends, the system 
  16364. determines which session to display next. 
  16365.  
  16366.  
  16367. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16368.  
  16369. START Command:  /N Parameter 
  16370.  
  16371. Indicates to start the program directly without invoking the command processor, 
  16372. CMD.EXE. Do not enclose the command in quotation marks.  The command you 
  16373. specify cannot be an internal command or a batch file. 
  16374.  
  16375. To start XCOPY directly without invoking the CMD.EXE command processor, copy 
  16376. the complete contents of the root directory on drive C to drive A, and display 
  16377. XCOPY C-A as the program title, type the following: 
  16378.  
  16379. START "XCOPY C-A" /N XCOPY C:\ A:
  16380.  
  16381.  
  16382. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16383.  
  16384. START Command:  /F Parameter 
  16385.  
  16386. Makes the program the foreground session. If this parameter is not specified, 
  16387. the program becomes a background session. If the /FS, /WIN or /PM parameter is 
  16388. specified, the program becomes the foreground session. 
  16389.  
  16390. To run the XCOPY command in the foreground session, enter the following: 
  16391.  
  16392. START "XCOPY C-A" /F XCOPY C:\ A:\
  16393.  
  16394.  
  16395. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16396.  
  16397. The START command:  /PGM parameter. 
  16398.  
  16399. START interprets a quoted string as the name of the program to be executed. 
  16400. For example, assume you use a program named MY EDITOR.  You can start the MY 
  16401. EDITOR program and use the default title, or you can start MY EDITOR and give 
  16402. it a different name. 
  16403.  
  16404. To start MY EDITOR without specifying a title, enter the following: 
  16405.  
  16406. START /PGM "MY EDITOR"
  16407.  
  16408. To start MY EDITOR and give it a title, enter the following: 
  16409.  
  16410. START "MY FAVORITE EDITOR" /PGM "MY EDITOR"
  16411.  
  16412. The name MY FAVORITE EDITOR would appear on the Window List, rather than the 
  16413. name of the program, MY EDITOR. 
  16414.  
  16415. If the /PGM parameter is not used, START interprets the first quoted string as 
  16416. the name of a user-supplied title, and the second quoted string as the command 
  16417. to be passed to another session that is running CMD.EXE. 
  16418.  
  16419.  
  16420. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16421.  
  16422. START Command:  /FS Parameter 
  16423.  
  16424. Indicates that this application is a full-screen DOS or OS/2 application that 
  16425. must run in a separate session independent of Presentation Manager. 
  16426.  
  16427. To start the XCOPY command in a full-screen session and copy the files from 
  16428. drive A to drive B, enter the following: 
  16429.  
  16430. START "XCOPY A-B" /FS XCOPY A:\ B:
  16431.  
  16432.  
  16433. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16434.  
  16435. START Command:  /WIN Parameter 
  16436.  
  16437. Indicates that this is an OS/2 application that runs within an OS/2 or DOS 
  16438. window. 
  16439.  
  16440. To start a batch file named CRAYON.CMD in an OS/2 window session, enter the 
  16441. following: 
  16442.  
  16443. START /WIN CRAYON.CMD
  16444.  
  16445. To start a batch file named MYFILE.BAT in a DOS window session, enter the 
  16446. following: 
  16447.  
  16448. START /WIN MYFILE.BAT
  16449.  
  16450.  
  16451. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16452.  
  16453. START Command:  /PM Parameter 
  16454.  
  16455. Indicates that this application is a Presentation Manager application. 
  16456.  
  16457. To start the CRAYON.EXE program to run as a Presentation Manager program, enter 
  16458. the following: 
  16459.  
  16460. START "CRAYON GAME" /PM CRAYON.EXE
  16461.  
  16462.  
  16463. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16464.  
  16465. START Command:  /DOS Parameter 
  16466.  
  16467. Starts the program as a DOS program. Useful for forcing FAPI or BOUND 
  16468. applications to run in a DOS session.  To start a COMMAND.COM session, enter 
  16469. the following: 
  16470.  
  16471. START /DOS
  16472.  
  16473. To start a COMMAND.COM session in a window, enter the following: 
  16474.  
  16475. START /WIN /DOS
  16476.  
  16477. To start a full-screen COMMAND.COM session, enter the following: 
  16478.  
  16479. START /FS /DOS
  16480.  
  16481.  
  16482. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16483.  
  16484. START Command:  /MAX Parameter 
  16485.  
  16486. Requests that a Presentation Manager (PM) or any window application starts in a 
  16487. maximized state.  It has no effect for full screen.  A PM application may 
  16488. choose not to honor the request. 
  16489.  
  16490. To start a Presentation Manager or any window application in a maximized state, 
  16491. enter the following: 
  16492.  
  16493. START /MAX
  16494.  
  16495.  
  16496. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16497.  
  16498. START Command:  /MIN Parameter 
  16499.  
  16500. Requests that a Presentation Manager (PM) or any window application starts in a 
  16501. minimized (icon) state.  This has no effect for full screen.  A PM application 
  16502. may choose not to honor the request. 
  16503.  
  16504. To start a Presentation Manager or any  window application in a minimized 
  16505. (icon) state, enter the following: 
  16506.  
  16507. START /MIN
  16508.  
  16509.  
  16510. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16511.  
  16512. START Command:  /B Parameter 
  16513.  
  16514. Requests that an application be started in a background session. 
  16515.  
  16516. To start the XCOPY command in a background session, enter the following: 
  16517.  
  16518. START "XCOPY C-A" /B XCOPY C:\ A:\
  16519.  
  16520.  
  16521. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16522.  
  16523. START Command:  /I Parameter 
  16524.  
  16525. Causes the new session to inherit the environment defined by the SET statements 
  16526. in the CONFIG.SYS file instead of the CMD.EXE environment of the current 
  16527. session. 
  16528.  
  16529. To start the ACCT.EXE program to run as a full-screen program and cause the new 
  16530. session to inherit the environment defined by the SET statements in the 
  16531. CONFIG.SYS file, enter the following: 
  16532.  
  16533. START "ACCOUNT" /FS /I ACCT.EXE
  16534.  
  16535.  
  16536. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16537.  
  16538. START Command:  Command and Command Inputs Parameters 
  16539.  
  16540. Specifies an OS/2 internal or external command, a .CMD batch file, or any OS/2 
  16541. program you want to pass to the command processor you are starting. 
  16542.  
  16543. Command inputs are arguments for the command you requested. 
  16544.  
  16545. To start XCOPY in a new OS/2 session, copy the complete contents of the root 
  16546. directory on drive C to the root directory on drive A, and display XCOPY C-A as 
  16547. the program title, enter the following: 
  16548.  
  16549. START "XCOPY C-A" XCOPY C:\ A:\
  16550.  
  16551.  
  16552. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16553.  
  16554. SUBST Command:  Drive and Path Parameters 
  16555.  
  16556. Specifies the drive letter you want to substitute for the drive and path that 
  16557. follow. 
  16558.  
  16559. To substitute the drive letter G for the path C:\OS2\OS2.DTP, enter the 
  16560. following: 
  16561.  
  16562. SUBST G: C:\OS2\OS2.DTP
  16563.  
  16564. You can now enter DIR G: instead of entering DIR C:\OS2\OS2.DTP. 
  16565.  
  16566.  
  16567. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16568.  
  16569. SUBST Command:  /D Parameter 
  16570.  
  16571. Deletes a substituted drive and path. 
  16572.  
  16573. To delete substitutions currently in effect on drive G, enter the following: 
  16574.  
  16575. SUBST G: /D
  16576.  
  16577.  
  16578. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16579.  
  16580. SWAPPATH Command:  Drive and Path Parameter 
  16581.  
  16582. Specifies the location of the swap file. 
  16583.  
  16584. To store the swap file in the C:\OS2\SYSTEM directory, type the following in 
  16585. the CONFIG.SYS file: 
  16586.  
  16587. SWAPPATH=C:\OS2\SYSTEM
  16588.  
  16589.  
  16590. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16591.  
  16592. SWAPPATH Command:  Minfree Parameter 
  16593.  
  16594. Specifies the amount of disk space in KB at which point the system will begin 
  16595. to warn you that the swap file has increased to a size that leaves less than 
  16596. this amount of free space remaining on the disk.  This means that the OS/2 
  16597. operating system will not stop increasing the size of the swap file when the 
  16598. minfree value is reached, but will warn you that you are running out of disk 
  16599. space.  The default value for all systems regardless of the amount of physical 
  16600. memory is 2048KB. 
  16601.  
  16602.  
  16603. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16604.  
  16605. SWAPPATH Command:  Initial Parameter 
  16606.  
  16607. Specifies the size of the swap file initially allocated by the operating system 
  16608. at time of installation.  This value is variable and depends on the amount of 
  16609. physical memory in the system. 
  16610.  
  16611. You can modify the initial size of the swap file up to the size of the free 
  16612. space on the partition containing the swap file.  You must, however, leave 
  16613. space on the partition equal to the minfree value.  For example, to specify 
  16614. 18MB as the initial size of a swap file on a partition with 20MB of free space 
  16615. and a minfree value of 2MB, type the following in the CONFIG.SYS file: 
  16616.  
  16617. SWAPPATH=C:\OS2\SYSTEM 2048 18432
  16618.  
  16619. The following table displays the initial default size of the swap file for 
  16620. systems with the indicated physical memory: 
  16621.  
  16622. Memory              Initial Size 
  16623.  
  16624. 4MB                 6144KB 
  16625.  
  16626. 5MB                 5120KB 
  16627.  
  16628. 6MB                 5120KB 
  16629.  
  16630. 7MB                 4096KB 
  16631.  
  16632. 8MB                 4096KB 
  16633.  
  16634. 9MB                 3072KB 
  16635.  
  16636. 10MB                3072KB 
  16637.  
  16638. 11MB                2048KB 
  16639.  
  16640. 12MB                2048KB 
  16641.  
  16642. Note:   If a system does not have at least 4MB of memory, the size of the swap 
  16643.         file defaults to 1MB and increases as needed. 
  16644.  
  16645. The default statement in the CONFIG.SYS file for the initial size of a swap 
  16646. file on a system with 8MB of physical memory would be: 
  16647.  
  16648. SWAPPATH=C:\OS2\SYSTEM 2048 4096
  16649.  
  16650.  
  16651. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16652.  
  16653. SYSLOG Command:  /S Parameter 
  16654.  
  16655. Suspends error logging of entries into the system. 
  16656.  
  16657. To suspend error logging, type the following: 
  16658.  
  16659. SYSLOG /S
  16660.  
  16661.  
  16662. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16663.  
  16664. SYSLOG Command:  /R Parameter 
  16665.  
  16666. Resumes error logging of entries into the system. 
  16667.  
  16668. To resume error logging, type the following: 
  16669.  
  16670. SYSLOG /R
  16671.  
  16672.  
  16673. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16674.  
  16675. SYSLOG Command:  /P:pathname Parameter 
  16676.  
  16677. Redirects the current error-log file to the file specified in your path 
  16678. statement. 
  16679.  
  16680. To redirect the current error-log file to the file LOG0001.DAT in the path 
  16681. C:\OS2\SYSTEM, type the following: 
  16682.  
  16683. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT
  16684.  
  16685.  
  16686. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16687.  
  16688. SYSLOG Command:  /W:x Parameter 
  16689.  
  16690. Sets the size of the new error-log file to a specified size (x) in KB.  The 
  16691. default is 64KB, the minimum is 4KB.  If an error-log file does not already 
  16692. exist and you do not supply a /W parameter, then a new error-log file will be 
  16693. started with a length of 64KB. 
  16694.  
  16695. You cannot decrease the size of an existing log file or increase the size of a 
  16696. log file that has already wrapped.  You can, however, increase the size of a 
  16697. log file that has not yet wrapped. 
  16698.  
  16699. To set the size of a new error-log file named LOG0001.DAT, with the path 
  16700. C:\OS2\SYSTEM, to 32KB, type the following: 
  16701.  
  16702. SYSLOG /P:C:\OS2\SYSTEM\LOG0001.DAT /W:32
  16703.  
  16704.  
  16705. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16706.  
  16707. THREADS Command:  x Parameter 
  16708.  
  16709. Specifies a number from 64 through 4095. 
  16710.  
  16711. To have the system handle up to 512 active threads, type the following in the 
  16712. CONFIG.SYS file: 
  16713.  
  16714. THREADS=512
  16715.  
  16716.  
  16717. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16718.  
  16719. TIME Command:  Hours, Minutes, Seconds Parameters 
  16720.  
  16721. hh    Specifies the hours.  The new hours must be entered using 0 to 23 only. 
  16722.  
  16723. mm    Specifies the minutes. The new minutes must be entered using 0 to 59 
  16724.       only. 
  16725.  
  16726. ss    Specifies the seconds. The new seconds must be entered using 0 to 59 
  16727.       only. 
  16728.  
  16729. cc    Specifies the hundredths of seconds. The new hundredths of seconds must 
  16730.       be entered using 0 to 99 only. 
  16731.  
  16732. To enter or change the time in the system to 8:20 a.m. without being prompted 
  16733. by the system, enter the following: 
  16734.  
  16735. TIME 8:20
  16736.  
  16737.  
  16738. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16739.  
  16740. TIMESLICE Command:  x Parameter 
  16741.  
  16742. Selects the minimum TIMESLICE value in milliseconds. This value must be an 
  16743. integer greater than or equal to 32. 
  16744.  
  16745. To change the minimum and maximum time slice allowed to 35 milliseconds, type 
  16746. the following in the CONFIG.SYS file: 
  16747.  
  16748. TIMESLICE=35
  16749.  
  16750.  
  16751. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16752.  
  16753. TIMESLICE Command:  y Parameter 
  16754.  
  16755. Selects the maximum TIMESLICE value in milliseconds.  This value must be an 
  16756. integer greater than or equal to the minimum value, and less than 65536. 
  16757.  
  16758. To change the maximum time slice allowed to 125 milliseconds and the minimum 
  16759. time slice to 45 milliseconds, type the following in the CONFIG.SYS file: 
  16760.  
  16761. TIMESLICE=45,125
  16762.  
  16763.  
  16764. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16765.  
  16766. TRACE Command:  ON and OFF Parameters 
  16767.  
  16768. Controls dynamic and static trace points from the OS/2 command prompt. 
  16769.  
  16770. o If the OFF parameter is used by itself, removes all dynamic and static trace 
  16771.   points. 
  16772.  
  16773. o If the ON parameter is used by itself, turns on all static trace points. 
  16774.  
  16775. To turn on all static trace points, enter the following: 
  16776.  
  16777. TRACE ON
  16778.  
  16779.  
  16780. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16781.  
  16782. TRACE Command:  ON and OFF Parameters 
  16783.  
  16784. Sets up the Trace facility in the CONFIG.SYS file. If you do not specify a 
  16785. TRACE or TRACEBUF statement in the CONFIG.SYS file, there is no trace buffer 
  16786. and tracing is not available. 
  16787.  
  16788. To trace all static system events, type the following in the CONFIG.SYS file: 
  16789.  
  16790. TRACE=ON
  16791.  
  16792.  
  16793. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16794.  
  16795. TRACE Command:  Major Code Spec Parameter 
  16796.  
  16797. Specifies a decimal value between 0 and 255 that represents the major event 
  16798. code to be set for static tracing.  Minor codes associated with major codes can 
  16799. be specified to achieve greater granularity in tracing. 
  16800.  
  16801.  
  16802. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16803.  
  16804. TRACE Command:  Minor Code Spec Parameters, static and dynamic.
  16805.  
  16806. For static trace points, specifies a decimal value between 1 and 255 that 
  16807. represents a static trace event within the specified major code. 
  16808.  
  16809. For dynamic trace points, specifies a decimal value between 1 and 65535 that 
  16810. represents a dynamic trace event within a specified trace definition file. 
  16811.  
  16812. Note:   Static and Dynamic trace points cannot be activated within the same 
  16813.         trace command.  It you want to activate both static and dynamic trace 
  16814.         points you will have to issue two separate commands. 
  16815.  
  16816.  
  16817. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16818.  
  16819. TRACE Command:  Event Type Spec Parameters.
  16820.  
  16821. The event type defined within a TRACE command allows a trace definition to 
  16822. create a subset of events dynamic or static within a module.  The association 
  16823. of groups and types allows for greater granularity of tracing system events. 
  16824.  
  16825.  
  16826. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16827.  
  16828. TRACE Command:  x Parameter 
  16829.  
  16830. Specifies a number from 0 through 255, indicating the major event code to be 
  16831. traced or not to be traced.  A major event code is the number the OS/2 
  16832. operating system assigns to a major system event, such as opening a file, 
  16833. writing to a file, or sending output to the screen.  Your technical coordinator 
  16834. can supply numbers for these codes. 
  16835.  
  16836. To indicate a major event code (15) is to be traced, enter the following: 
  16837.  
  16838. TRACE=ON 15
  16839.  
  16840.  
  16841. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16842.  
  16843. TRACE Command:  TDF Spec Parameter 
  16844.  
  16845. Specifies the name of a trace definition file that contains dynamic trace 
  16846. points for dynamic link libraries. The dynamic trace points are assigned 
  16847. numbers between 1 and 65535. For example, to trace DOSCALL1 (2, 4, 5, 6, 7, and 
  16848. 8), enter the following: 
  16849.  
  16850. TRACE ON DOSCALL1 (2, 4-8)
  16851.  
  16852. This TRACE command remains in effect until one of the following occurs: 
  16853.  
  16854. o The system is powered off. 
  16855.  
  16856. o The operating system removes the dynamic link library. 
  16857.  
  16858. o You enter either of the following commands: 
  16859.  
  16860.     TRACE OFF
  16861.  
  16862.   or 
  16863.  
  16864.     TRACE OFF DOSCALL1
  16865.  
  16866.   Notice that the event list is not specified. 
  16867.  
  16868.  
  16869. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16870.  
  16871. TRACE Command:  TDF Keyword Parameter 
  16872.  
  16873. Specifies the dynamic trace points for the system kernel.  Minor codes, groups, 
  16874. and types can be specified to promote easier recognition in system tracing. 
  16875.  
  16876. To activate all dynamic trace points enter the keyword KERNEL without any minor 
  16877. code specifications as follows: 
  16878.  
  16879. TRACE ON KERNEL
  16880.  
  16881. To trace specific dynamic trace points (5, 7, and 19), enter the following: 
  16882.  
  16883. TRACE ON KERNEL (5, 7, 19)
  16884.  
  16885. To trace on the kernel group keyword MEM, enter the following: 
  16886.  
  16887. TRACE ON KERNEL (MEM)
  16888.  
  16889. To trace on the kernel type keyword API, enter the following: 
  16890.  
  16891. TRACE ON KERNEL (API)
  16892.  
  16893. To enable the association group MEM and types PRE and API, enter the following: 
  16894.  
  16895. TRACE ON KERNEL (MEM=PRE+API)
  16896.  
  16897. The TRACE command remains in effect until one of the following occurs: 
  16898.  
  16899. o The system is powered off. 
  16900.  
  16901. o The operating system removes the dynamic link library. 
  16902.  
  16903. o You enter either of the following commands: 
  16904.  
  16905.   To turn off all tracing, enter the following: 
  16906.  
  16907.     TRACE OFF
  16908.  
  16909.   To turn off all KERNEL tracing, enter the following: 
  16910.  
  16911.     TRACE OFF KERNEL
  16912.  
  16913.   To turn off all tracing associated with the major code 5, enter the 
  16914.   following: 
  16915.  
  16916.     TRACE OFF 5
  16917.  
  16918.   Notice that the event list is not specified. 
  16919.  
  16920.  
  16921. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16922.  
  16923. TRACE Command:  /S Parameter 
  16924.  
  16925. Suspends tracing activity without removing the existing set of trace points. 
  16926.  
  16927.  
  16928. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16929.  
  16930. TRACE Command:  /R Parameter 
  16931.  
  16932. Resumes tracing activity for the currently specified set of trace points. 
  16933.  
  16934.  
  16935. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16936.  
  16937. TRACE Command:  /C Parameter 
  16938.  
  16939. Clears the contents of the trace buffer. 
  16940.  
  16941.  
  16942. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16943.  
  16944. TRACE Command:  /P Parameter 
  16945.  
  16946. Specifies the processes to be traced in the system, either a specific process 
  16947. ID or all future processes. 
  16948.  
  16949. To activate tracing for all current and future processes, enter: 
  16950.  
  16951. /P:ALL.
  16952.  
  16953. To activate tracing for selected processes, specify the process identification 
  16954. (pid). (This number is a hexadecimal value supplied by the PSTAT command) 
  16955.  
  16956. To specify tracing the process ID (pid) of hexadecimal value 0056, enter the 
  16957. following: 
  16958.  
  16959. TRACE ON /P:56
  16960.  
  16961. o Multiple process IDs can be specified. 
  16962. o Trace options of Static and Dynamic cannot be used in the same TRACE command. 
  16963.  
  16964.  
  16965. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16966.  
  16967. TRACEBUF Command:  X Parameter 
  16968.  
  16969. Specifies a number from 1 through 63, representing a multiple of 1024 bytes. 
  16970.  
  16971. To increase the size of the trace buffer to 10KB, type the following in the 
  16972. CONFIG.SYS file: 
  16973.  
  16974. TRACEBUF=10
  16975.  
  16976.  
  16977. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16978.  
  16979. TREE Command:  Drive Parameter 
  16980.  
  16981. Specifies the drive containing the directories to be listed. 
  16982.  
  16983. To list the directory names on drive C, enter the following: 
  16984.  
  16985. TREE C:
  16986.  
  16987.  
  16988. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  16989.  
  16990. TREE Command:  /F Parameter 
  16991.  
  16992. Displays the names of files in the root directory and in all the 
  16993. subdirectories. 
  16994.  
  16995. To list the directory paths and the names of all files in the root directory 
  16996. and each subdirectory on drive C, enter the following: 
  16997.  
  16998. TREE C: /F
  16999.  
  17000.  
  17001. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17002.  
  17003. TREE Command:  Print Option 
  17004.  
  17005. To have a directory listing sent to a printer, enter the following: 
  17006.  
  17007. TREE >PRN
  17008.  
  17009.  
  17010. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17011.  
  17012. TREE Command:  Pause Option 
  17013.  
  17014. To display directory names on the screen and pause with the message --More-- 
  17015. after a full screen of information appears, enter the following: 
  17016.  
  17017. TREE | MORE
  17018.  
  17019.  
  17020. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17021.  
  17022. TYPE Command:  Drive, Path, Filename Parameters 
  17023.  
  17024. Specifies the names of the files to be displayed, including the drive and 
  17025. directory location. 
  17026.  
  17027. To display the file FILE1.TXT in the STATUS directory on drive C, enter the 
  17028. following: 
  17029.  
  17030. TYPE C:\STATUS\FILE1.TXT
  17031.  
  17032. You can display the contents of more than one file at a time. To display the 
  17033. files FILE1.TXT in the STATUS directory on drive C and FILE2.TXT on drive A, 
  17034. enter the following: 
  17035.  
  17036. TYPE C:\STATUS\FILE1.TXT A:FILE2.TXT
  17037.  
  17038.  
  17039. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17040.  
  17041. TYPE Command:  Print Option 
  17042.  
  17043. To have the contents of a file named FRIDAY in the current directory sent to a 
  17044. printer, enter the following: 
  17045.  
  17046. TYPE FRIDAY >PRN
  17047.  
  17048.  
  17049. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17050.  
  17051. TYPE Command:  Pause Option 
  17052.  
  17053. To look at a file named FRIDAY in the current directory and have the display 
  17054. pause with the message --More-- after a full screen of information appears, 
  17055. enter the following: 
  17056.  
  17057. TYPE FRIDAY | MORE
  17058.  
  17059.  
  17060. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17061.  
  17062. UNDELETE Command: Drive Path and Filename Parameters 
  17063.  
  17064. Specifies the drive, directory, and name of the file or set of files to 
  17065. recover.  If not specified, all files in the current directory will be 
  17066. restored. 
  17067.  
  17068.  
  17069. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17070.  
  17071. UNDELETE Command: /L Parameter 
  17072.  
  17073. Lists deleted files that are available to be recovered without recovering the 
  17074. files. 
  17075.  
  17076.  
  17077. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17078.  
  17079. UNDELETE Command: /A Parameter 
  17080.  
  17081. Recovers all deleted files if they are still present without prompting for 
  17082. confirmation on each file. 
  17083.  
  17084.  
  17085. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17086.  
  17087. UNDELETE Command: /S Parameter 
  17088.  
  17089. Includes all files in the specified directory and all subdirectories. 
  17090.  
  17091.  
  17092. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17093.  
  17094. UNDELETE Command: /F Parameter 
  17095.  
  17096. Removes files so they cannot be recovered. 
  17097.  
  17098.  
  17099. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17100.  
  17101. UNPACK Command:  Drive, Path, Filename Parameters 
  17102.  
  17103. Specifies the drive, directory location, and name of the file to be unpacked or 
  17104. copied.  A compressed file usually has a @ as the last character of the file 
  17105. name. 
  17106.  
  17107. This file can actually contain many files compressed end to end.  If this is 
  17108. the case, specifying a single source file name may yield several files after 
  17109. decompression.  All of these files may go to different destinations 
  17110. (directories).  Their destinations, however, will be displayed on the screen 
  17111. during decompression.  You must specify the source file name. 
  17112.  
  17113. To unpack a compressed file named FORMAT.CO@ from the current directory on 
  17114. drive A to the OS2 directory on drive C, enter the following: 
  17115.  
  17116. UNPACK A:FORMAT.CO@ C:\OS2
  17117.  
  17118.  
  17119. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17120.  
  17121. UNPACK Command:  Drive and Path Parameters 
  17122.  
  17123. Specifies the drive and directory to which the file should be placed after it 
  17124. is decompressed or copied. 
  17125.  
  17126. If a target drive is specified without a path, the path information stored in 
  17127. the compressed file will be added to the target drive and the files will be 
  17128. unpacked (copied) there.  If both target drive and path are specified, the 
  17129. target drive and path information will override any target path information 
  17130. stored in the compressed file. 
  17131.  
  17132. To unpack a compressed file named FORMAT.CO@ from the current drive and 
  17133. directory to the OS2 subdirectory on drive C, enter the following: 
  17134.  
  17135. UNPACK FORMAT.CO@ C:\OS2
  17136.  
  17137.  
  17138. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17139.  
  17140. UNPACK Command:  /V Parameter 
  17141.  
  17142. Verifies that data written to a disk was written correctly. This option causes 
  17143. UNPACK to run slower because a check is made for each entry recorded on the 
  17144. disk. 
  17145.  
  17146. To verify the compressed files on drive A are correctly unpacked and copied to 
  17147. drive C, enter the following: 
  17148.  
  17149. UNPACK A:\*.* C:\ /V
  17150.  
  17151.  
  17152. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17153.  
  17154. UNPACK Command:  /F Parameter 
  17155.  
  17156. Specifies that files with extended attributes should not be unpacked or copied 
  17157. if the destination file system does not support extended attributes. 
  17158.  
  17159. To specify that extended attributes should not be discarded when unpacking or 
  17160. copying files from drive A to drive C (when drive C does not support extended 
  17161. attributes), enter the following: 
  17162.  
  17163. UNPACK A:\*.* C:\ /F
  17164.  
  17165.  
  17166. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17167.  
  17168. UNPACK Command:  /SHOW Parameter 
  17169.  
  17170. Displays the target path and file name information saved in the packed file for 
  17171. every compressed file contained within the file specified by the source file 
  17172. name.  If /SHOW is specified, the source file name is the only other valid 
  17173. parameter. 
  17174.  
  17175. To display the destination path and file name for every compressed file in the 
  17176. packed file, BUNDLE.DA@, enter the following: 
  17177.  
  17178. UNPACK BUNDLE.DA@ /SHOW
  17179.  
  17180.  
  17181. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17182.  
  17183. UNPACK Command:  /N:filename Parameter 
  17184.  
  17185. Specifies one particular file to extract and decompress from a source file 
  17186. containing multiple files compressed end to end. 
  17187.  
  17188. To specify the file, FORMAT.CO@, to be extracted and decompressed from a packed 
  17189. file, BUNDLE.DA@, containing multiple compressed files, enter the following: 
  17190.  
  17191. UNPACK BUNDLE.DA@ /N:FORMAT.COM
  17192.  
  17193.  
  17194. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17195.  
  17196. VERIFY Command:  ON and OFF Parameters 
  17197.  
  17198. ON verifies that your files are written correctly to the disk. OFF turns 
  17199. verification off.  This is the default value. 
  17200.  
  17201. To verify that your files are written correctly to the disk, enter the 
  17202. following: 
  17203.  
  17204. VERIFY ON
  17205.  
  17206.  
  17207. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17208.  
  17209. VIEW Command:  Drive, Path, Filename Parameters 
  17210.  
  17211. Specifies the drive, directory, and file name of the .INF file to be displayed. 
  17212.  
  17213.  
  17214. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17215.  
  17216. VIEW Command:  Topic Parameter 
  17217.  
  17218. Specifies the topic in the IPF online document that is to be displayed.  This 
  17219. topic must be in the Contents of the IPF document. 
  17220.  
  17221. To display the Functions topic in the REXX.INF file that is located in the 
  17222. OS2\BOOK directory on drive C, enter the following: 
  17223.  
  17224. VIEW C:\OS2\BOOK\REXX FUNCTIONS
  17225.  
  17226.  
  17227. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17228.  
  17229. VMDISK Command: Source Drive Parameter 
  17230.  
  17231. Specifies the source drive, which is the diskette drive where the DOS startup 
  17232. diskette resides.  Supported formats are: 360KB, 720KB, 1.2MB, 1.44MB, and 
  17233. 2.88MB. 
  17234.  
  17235.  
  17236. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17237.  
  17238. VMDISK Command: Target Drive and Path Parameter 
  17239.  
  17240. Specifies the target drive and path for the image file of the DOS startup 
  17241. diskette.  If the target drive and path are omitted, the default is the current 
  17242. drive and path. The target drive must have a greaater available capacity than 
  17243. the total capacity of the source drive. 
  17244.  
  17245.  
  17246. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17247.  
  17248. VMDISK Command: Filename Parameter 
  17249.  
  17250. Specifies the file name of the image file of the DOS startup diskette.  This 
  17251. file name must be provided. 
  17252.  
  17253.  
  17254. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17255.  
  17256. VOL Command:  Drive Parameter 
  17257.  
  17258. Specifies the disk volume label to be displayed. 
  17259.  
  17260. To display the volume labels of both drive C and drive D, enter the following: 
  17261.  
  17262. VOL C: D:
  17263.  
  17264.  
  17265. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17266.  
  17267. XCOPY Command:  Source Drive, Path, Filename Parameters 
  17268.  
  17269. Gives the source file name specification.  The source specification can be the 
  17270. name of a directory or file.  If it is a directory, XCOPY copies all files to 
  17271. the target specification.  If it is a file name, XCOPY copies the file to the 
  17272. target specification.  The target specification can be an existing directory or 
  17273. file or the name of the new directory or file you want to create. 
  17274.  
  17275. To copy the files in the MEMOS subdirectory on drive C to a newly created 
  17276. subdirectory named LETTERS on drive A, enter the following: 
  17277.  
  17278. XCOPY C:\MEMOS A:\LETTERS
  17279.  
  17280.  
  17281. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17282.  
  17283. XCOPY Command:  Target Drive, Path, Filename Parameters 
  17284.  
  17285. Gives the target file name specification, which can be the name of a file or 
  17286. directory.  If it is a file name, XCOPY copies the file to the target 
  17287. specification.  The target specification can also be a directory or file or the 
  17288. name of the new directory or file you want to create. 
  17289.  
  17290. To copy the MEMOS subdirectory on drive C, including all subdirectories and 
  17291. files within it, to a newly created subdirectory named LETTERS on drive A, 
  17292. enter the following: 
  17293.  
  17294. XCOPY C:\MEMOS A:\LETTERS
  17295.  
  17296.  
  17297. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17298.  
  17299. XCOPY Command:  /D Parameter 
  17300.  
  17301. Copies files that have been modified on or after the specified date. The date 
  17302. format varies depending on the COUNTRY statement in the CONFIG.SYS file. The 
  17303. date formats are as follows:  /D:mm-dd-yy, /D:dd-mm-yy, and /D:yy-mm-dd. 
  17304.  
  17305. To copy files changed on or after November 12, 1988 in the MEMOS subdirectory 
  17306. to the root directory on drive A, enter the following: 
  17307.  
  17308. XCOPY C:\MEMOS A:\ /D:11-12-88
  17309.  
  17310.  
  17311. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17312.  
  17313. XCOPY Command:  /S Parameter 
  17314.  
  17315. Copies subdirectories. Without this parameter, XCOPY works only within a 
  17316. directory.  This parameter does not create the corresponding directory on the 
  17317. target if no files have been found on the source. 
  17318.  
  17319. To copy the subdirectories and their contents from the root directory on drive 
  17320. C to the root directory on drive A, enter the following: 
  17321.  
  17322. XCOPY C:\ A:\ /S
  17323.  
  17324.  
  17325. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17326.  
  17327. XCOPY Command:  /E Parameter 
  17328.  
  17329. When used with the /S parameter, this copies the entire tree structure while 
  17330. creating corresponding source directories on the target even if no files have 
  17331. been found on those source directories. 
  17332.  
  17333. To copy the REPORTS subdirectory on drive C, including all files and 
  17334. subdirectories within it, to the root directory on drive A, enter the 
  17335. following: 
  17336.  
  17337. XCOPY C:\REPORTS A:\ /S /E
  17338.  
  17339.  
  17340. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17341.  
  17342. XCOPY Command:  /P Parameter 
  17343.  
  17344. Prompts you before performing a physical copy. With this parameter, XCOPY 
  17345. copies on a file-by-file basis. 
  17346.  
  17347. To be prompted with (Y/N?) before each file is copied from the MEMOS 
  17348. subdirectory on drive C to the LETTERS subdirectory on drive A, enter the 
  17349. following: 
  17350.  
  17351. XCOPY C:\MEMOS A:\LETTERS /P
  17352.  
  17353.  
  17354. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17355.  
  17356. XCOPY Command:  /V Parameter 
  17357.  
  17358. Verifies that data written to a disk has been written correctly. This option 
  17359. causes XCOPY to run slower. 
  17360.  
  17361. To verify that the files written from drive C to drive A are recorded properly, 
  17362. enter the following: 
  17363.  
  17364. XCOPY C:\ A:\ /V
  17365.  
  17366.  
  17367. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17368.  
  17369. XCOPY Command:  /A Parameter 
  17370.  
  17371. Copies archived files only.  This parameter does not turn off the archive bit 
  17372. of the source file. 
  17373.  
  17374. To copy only those files that have the archive bit set on without changing the 
  17375. attribute of source drive C when it is copied, type the following: 
  17376.  
  17377. XCOPY C:\ A:\ /A
  17378.  
  17379.  
  17380. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17381.  
  17382. XCOPY Command:  /M Parameter 
  17383.  
  17384. Copies archived files only.  Unlike /A, this parameter turns off the archive 
  17385. bit of the source file.  So when you regularly back up the source disk with 
  17386. XCOPY, using this parameter increases the efficiency of copying.  You should be 
  17387. aware that the BACKUP command also uses the archive bit. If both the /A and /M 
  17388. parameters are specified, the one specified last is the one used. 
  17389.  
  17390. To copy files whose archive bit is set on from the root directory on drive C to 
  17391. the root directory on drive A, then turn the archive bit of the source file 
  17392. off, enter the following: 
  17393.  
  17394. XCOPY C:\ A:\ /M
  17395.  
  17396.  
  17397. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  17398.  
  17399. XCOPY Command:  /F Parameter 
  17400.  
  17401. Causes the XCOPY to fail if the source file contains extended attributes and 
  17402. the destination file system does not support extended attributes. If the /F 
  17403. parameter is not specified, the XCOPY will succeed if the source file contains 
  17404. extended attributes and the destination file system does not support them.  The 
  17405. extended attributes are not copied. If the /F parameter is not specified and 
  17406. the source file contains needed extended attributes, the XCOPY will fail if the 
  17407. destination file system does not support extended attributes.  In this 
  17408. instance, a message appears. 
  17409.  
  17410. Assume you want to XCOPY a file named REPORTS.TXT to the STATUS directory on 
  17411. drive D.  You also want the XCOPY to fail if drive D does not support extended 
  17412. attributes.  Enter the following: 
  17413.  
  17414. XCOPY REPORTS.TXT D:\STATUS /F
  17415.