home *** CD-ROM | disk | FTP | other *** search
/ Soft 19 / Soft19.iso / win95-rc / win95_04.cab / config.txt < prev    next >
Text File  |  1996-08-01  |  18KB  |  601 lines

  1.         -----------------------------------------------------------
  2.                       Microsoft Windows 95 README
  3.                     for MS-DOS Config.sys Commands
  4.                                  August 1996            
  5.         ------------------------------------------------------------
  6.  
  7.                  (c) Copyright Microsoft Corporation, 1996
  8.  
  9.  
  10. This document provides complementary or late-breaking information to
  11. supplement the Microsoft Windows 95 documentation.
  12.  
  13. ------------------------
  14. How to Use This Document
  15. ------------------------
  16.  
  17. To view Config.txt on screen in Notepad, maximize the Notepad window.
  18.  
  19. To print Config.txt, open it in Notepad or another word processor, 
  20. then use the Print command on the File menu.
  21.  
  22. In syntax lines, lowercase text signifies replaceable parameters and 
  23. uppercase text must be typed as it appears.
  24.  
  25. NOTE: The Msdosdrv.txt file contains more Help for MS-DOS commands. Also 
  26. you can type the name of the command at the command prompt, followed by 
  27. a slash and question mark (/?). For example:
  28.     CHKDSK /?
  29.  
  30. --------
  31. CONTENTS
  32.  
  33. ACCDATE
  34. BREAK
  35. BUFFERS/BUFFERSHIGH
  36. COUNTRY
  37. DEVICE
  38. DEVICEHIGH
  39. DOS
  40. DRIVPARM
  41. FCBS/FCBSHIGH
  42. FILES/FILESHIGH
  43. INSTALL/INSTALLHIGH
  44. LASTDRIVE/LASTDRIVEHIGH
  45. NUMLOCK
  46. REM
  47. SET
  48. SHELL
  49. STACKS/STACKSHIGH
  50. SWITCHES
  51. ---------
  52.  
  53. ACCDATE
  54. =======
  55.  
  56. For each hard disk, specifies whether to record the date that files are
  57. last accessed. Last access dates are turned off for all drives when
  58. your computer is started in safe mode, and are not maintained for floppy
  59. disks by default.
  60.  
  61. Syntax
  62.  
  63.     ACCDATE=drive1+|- [drive2+|-]...
  64.  
  65. Parameters
  66.  
  67. drive1, drive 2...
  68.     Specifies the drive letter.
  69.  
  70. +|-
  71.     Specify a plus sign (+) to indicate that the last access date should be
  72.     maintained for files on the drive. Specify a minus sign (-) to indicate
  73.     that the last access date should not be maintained for files.
  74.  
  75.  
  76. BREAK
  77. =====
  78.  
  79. Sets or clears extended CTRL+C checking. You can use this command at the
  80. command prompt or in your CONFIG.SYS file.
  81.  
  82. You can press CTRL+C to stop a program or an activity (file sorting, for
  83. example). Typically, MS-DOS checks for CTRL+C only while it reads from the
  84. keyboard or writes to the screen or a printer. If you set BREAK to ON, you
  85. extend CTRL+C checking to other functions, such as disk read and write
  86. operations.
  87.  
  88. Syntax
  89.  
  90.     BREAK [ON|OFF]
  91.  
  92. To display the current BREAK setting at the command prompt, use the
  93. following syntax:
  94.  
  95.     BREAK
  96.  
  97. In your CONFIG.SYS file, use the following syntax:
  98.  
  99.     BREAK=ON|OFF
  100.  
  101. Parameter
  102.  
  103. ON|OFF
  104.     Turns extended CTRL+C checking on or off.
  105.  
  106.  
  107. BUFFERS/BUFFERSHIGH
  108. ===================
  109.  
  110. Allocates memory for a specified number of disk buffers when your system
  111. starts. Use the BUFFERSHIGH command to load the buffers in the upper
  112. memory area. You can use these commands only in your Config.sys file.
  113.  
  114. Syntax
  115.  
  116.     BUFFERS=n[,m]
  117.     BUFFERSHIGH=n[,m]
  118.  
  119. Parameters
  120.  
  121. n
  122.     Specifies the number of disk buffers. The value of n must be in the
  123.     range 1 through 99.  The default is 30.
  124.  
  125. m
  126.     Specifies the number of buffers in the secondary buffer cache. The value
  127.     of m must be in the range 0 through 8.  The default is 0 (no secondary
  128.     cache buffers).
  129.  
  130. If you specify an invalid value for n or m, BUFFERs uses the default 
  131. settings.
  132.  
  133.  
  134. COUNTRY
  135. ========
  136.  
  137. Enables MS-DOS to use country-specific conventions for displaying times,
  138. dates, and currency; for determining the order by which characters are
  139. sorted; and for determining which characters can be used in filenames. You 
  140. can use this command only in your Config.sys file.
  141.  
  142. The COUNTRY command configures MS-DOS to recognize the character set and
  143. punctuation conventions observed when using one of the supported languages.
  144.  
  145. Syntax
  146.  
  147.     COUNTRY=xxx[,[yyy][,[drive:][path]filename]]
  148.  
  149. Parameters
  150.  
  151. xxx
  152.     Specifies the country code.
  153.  
  154. yyy
  155.     Specifies the character set for the country.
  156.  
  157. [drive:][path]filename
  158.     Specifies the location and name of the file containing country
  159.     information.
  160.  
  161.  
  162. DEVICE
  163. ======
  164.  
  165. Loads into memory the device driver you specify. You can use this command
  166. only in your Config.sys file.
  167.  
  168. Syntax
  169.  
  170.     DEVICE=[drive:][path]filename [dd-parameters]
  171.  
  172. Parameters
  173.  
  174. [drive:][path]filename
  175.     Specifies the location and name of the device driver you want to load.
  176.  
  177. [dd-parameters]
  178.     Specifies any command-line information required by the device driver.
  179.  
  180.  
  181. DEVICEHIGH
  182. ==========
  183.  
  184. Loads a device driver you specify into the upper memory area. Loading a 
  185. device driver into the upper memory area frees more bytes of conventional 
  186. memory for other programs. If upper memory is not available, the DEVICEHIGH 
  187. command functions just like the DEVICE command.
  188.  
  189. You can use this command only in your Config.sys file.
  190.  
  191. Syntax
  192.  
  193.     DEVICEHIGH [drive:][path]filename [dd-parameters]
  194.  
  195. To specify the region(s) of memory into which to load the device driver, use
  196. the following syntax:
  197.  
  198.     DEVICEHIGH [[/L:region1[,minsize1][;region2[,minsize2] [/S]]=
  199.     [drive:][path]filename [dd-parameters]
  200.  
  201. Parameters
  202.  
  203. [drive:][path]filename
  204.     Specifies the location and name of the device driver you want to load
  205.     into the upper memory area.
  206.  
  207. dd-parameters
  208.     Specifies any command-line information required by the device driver.
  209.  
  210. Switches
  211.  
  212. /L:region1[,minsize1][;region2[,minsize2]...
  213.     Specifies one or more regions of memory into which to load the device
  214.     driver. By default, MS-DOS loads the driver into the largest free
  215.     upper memory block (UMB) and makes all other UMBs available for the
  216.     driver's use. You can use the /L switch to load the device driver into a
  217.     specific region of memory or to specify which region(s) the driver can
  218.     use.
  219.  
  220.     To load the driver into the largest block in a specific region of upper
  221.     memory, specify the region number after the /L switch. For example, to
  222.     load the driver into the largest free block in region 4, you would type
  223.     /L:4. (To list the free areas of memory, type MEM /F at the command
  224.     prompt.)
  225.  
  226.     When loaded with the /L switch, a device driver can use only the
  227.     specified memory region. Some device drivers use more than one area of
  228.     memory; for those drivers, you can specify more than one region. (To
  229.     find out how a particular device driver uses memory, issue the MEM /M
  230.     command and specify the device-driver name as an argument.) To specify
  231.     two or more regions, separate the block numbers with a semicolon (;).
  232.     For example, to use blocks 2 and 3, you would type /L:2;3.
  233.  
  234.     Typically, MS-DOS loads a driver into a UMB in the specified region
  235.     only if that region contains a UMB larger than the driver's load size
  236.     (usually equal to the size of the executable program file). If the
  237.     driver requires more memory while running than it does when loaded, you
  238.     can use the minsize parameter to ensure that the driver will not be
  239.     loaded into a UMB that is too small for it. If you specify a value for
  240.     minsize, MS-DOS loads the driver into that region only if it contains a
  241.     UMB that is larger than both the driver's load size and the minsize
  242.     value.
  243.  
  244. /S
  245.     Shrinks the UMB to its minimum size while the driver is loading. Using
  246.     this switch makes the most efficient use of memory. This switch is
  247.     generally used only by the MemMaker program, which can analyze a device
  248.     driver's memory use to determine whether the /S switch can safely be
  249.     used when loading that driver. This switch can be used only in
  250.     conjunction with the /L switch and affects only UMBs for which a 
  251.     minimum size was specified.
  252.  
  253.  
  254. DOS
  255. ====
  256.  
  257. Specifies that MS-DOS should maintain a link to the upper memory area, load
  258. part of itself into the high memory area (HMA), or both. You can use this
  259. command only in your Config.sys file.
  260.  
  261. Syntax
  262.  
  263.     DOS=HIGH|LOW[,UMB|,NOUMB][,AUTO|,NOAUTO]
  264.  
  265.     DOS=[HIGH,|LOW,]UMB|NOUMB[,AUTO|,NOAUTO]
  266.   
  267.     DOS=[HIGH,|LOW,][UMB,|NOUMB,]AUTO|NOAUTO
  268.  
  269. Parameters
  270.  
  271. UMB|NOUMB
  272.     Specifies whether MS-DOS should manage upper memory blocks (UMBs)
  273.     created by a UMB provider such as Emm386.exe. The UMB parameter
  274.     specifies that MS-DOS should manage UMBs, if they exist. The NOUMB
  275.     parameter specifies that MS-DOS should not manage UMBs. The default
  276.     setting is NOUMB.
  277.  
  278. HIGH|LOW
  279.     Specifies whether MS-DOS should attempt to load a part of itself into
  280.     the HMA (HIGH) or keep all of MS-DOS in conventional memory (LOW). The
  281.     default setting is LOW.
  282.  
  283. AUTO|NOAUTO
  284.     Specifies whether MS-DOS should automatically load Himem.sys, Ifshlp.sys,
  285.     Dblbuff.sys, and Setver.exe device drivers if they are not explicitly
  286.     loaded in your Config.sys file. The default setting, AUTO, automatically
  287.     loads these device drivers. The AUTO setting also automatically uses
  288.     the BUFFERSHIGH, FILESHIGH, FCBSHIGH, LASTDRIVEHIGH, and STACKSHIGH
  289.     commands, whether the -HIGH form of the command was used or not. If
  290.     you specify the NOAUTO parameter, you must explicitly load these device
  291.     drivers and explicitly use the -HIGH form of the above commands in order
  292.     to take advantage of them.
  293.  
  294.  
  295. DRIVPARM
  296. ========
  297.  
  298. Defines parameters for devices such as disk and tape drives when you start
  299. MS-DOS. You can use this command only in your Config.sys file.
  300.  
  301. The DRIVPARM command modifies the parameters of an existing physical drive.
  302. It does not create a new logical drive. The settings specified in the
  303. DRIVPARM command override the driver definitions for any previous block
  304. device.
  305.  
  306. Syntax
  307.  
  308.     DRIVPARM=/D:number [/C] [/F:factor] [/H:heads] [/I] [/N] [/S:sectors]
  309.     [/T:tracks]
  310.  
  311. Switches
  312.  
  313. /D:number
  314.     Specifies the physical drive number. Values for number must be in the
  315.     range 0 through 255 (for example, drive number 0 = drive A, 1 = drive B,
  316.     2 = drive C, and so on).
  317.  
  318. /C
  319.     Specifies that the drive can detect whether the drive door is closed.
  320.  
  321. /F:factor
  322.     Specifies the drive type. The following table shows the valid values for
  323.     factor and a brief description of each. The default value is 2.
  324.  
  325.     0        160K/180K or 320K/360K
  326.  
  327.     1        1.2 megabyte (MB)
  328.  
  329.     2        720K (3.5-inch disk)
  330.  
  331.     5        Hard disk
  332.  
  333.     6        Tape
  334.  
  335.     7        1.44 MB (3.5-inch disk)
  336.  
  337.     8        Read/write optical disk
  338.  
  339.     9        2.88 MB (3.5-inch disk)
  340.  
  341. /H:heads
  342.     Specifies the maximum number of heads. Values for heads must be in the
  343.     range 1 through 99. The default value depends on the value you specify
  344.     for /F:factor.
  345.  
  346. /I
  347.     Specifies an electronically compatible 3.5-inch floppy disk drive.
  348.     (Electronically compatible drives are installed on your computer and use
  349.     your existing floppy disk drive controller.) Use the /I switch if your
  350.     computer's ROM BIOS does not support 3.5-inch floppy disk drives.
  351.  
  352. /N
  353.     Specifies a nonremovable block device.
  354.  
  355. /S:sectors
  356.     Specifies the number of sectors per track that the block device
  357.     supports. Values for sectors must be in the range 1 through 99. The
  358.     default value depends on the value you specify for /F:factor.
  359.  
  360. /T:tracks
  361.     Specifies the number of tracks per side that the block device supports.
  362.     The default value depends on the value you specify for /F:factor.
  363.  
  364.  
  365. FCBS, FCBSHIGH
  366. ==============
  367.  
  368. Specifies the number of file control blocks (FCBs) that MS-DOS can have open
  369. at the same time. Use the FCBSHIGH command to load the FCBs in the upper
  370. memory area. You can use these commands only in your Config.sys file.
  371.  
  372. A file control block is a data structure that stores information about a
  373. file.
  374.  
  375. Syntax
  376.  
  377.     FCBS=x
  378.     FCBSHIGH=x
  379.  
  380. Parameter
  381.  
  382. x
  383.     Specifies the number of file control blocks that MS-DOS can have open at
  384.     one time. Valid values for x are in the range 1 through 255. The default
  385.     value is 4.
  386.  
  387.  
  388. FILES/FILESHIGH
  389. ===============
  390.  
  391. Specifies the number of files that MS-DOS can access at one time. Use the 
  392. FILESHIGH command to load the command in the upper memory area. You can 
  393. use these commands only in your Config.sys file.
  394.  
  395. Syntax
  396.  
  397.     FILES=x
  398.     FILESHIGH=x
  399.  
  400. Parameter
  401.  
  402. x
  403.     Specifies the number of files that MS-DOS can access at one time. Valid
  404.     values for x are in the range 8 through 255. The default value is 8.
  405.  
  406.  
  407. INSTALL/INSTALLHIGH
  408. ====================
  409.  
  410. Loads a memory-resident program into memory when you start MS-DOS. Use the 
  411. INSTALLHIGH command to load the memory-resident program into the upper
  412. memory area. You can use these commands only in your Config.sys file.
  413.  
  414. Memory-resident programs stay in memory as long as your computer is on. They
  415. can be used even when other programs are active. You can use the INSTALL
  416. or INSTALLHIGH command to load MS-DOS memory-resident programs--for example, 
  417. Fastopen, Keyb, Nlsfunc, and Share.
  418.  
  419. Syntax
  420.  
  421.     INSTALL=[drive:][path]filename [command-parameters]
  422.     INSTALLHIGH=[drive:][path]filename [command-parameters]
  423.  
  424. Parameters
  425.  
  426. [drive:][path]filename
  427.     Specifies the location and name of the memory-resident program you want
  428.     to run.
  429.  
  430. command-parameters
  431.     Specifies parameters for the program you specify for filename.
  432.  
  433.  
  434. LASTDRIVE/LASTDRIVEHIGH
  435. =======================
  436.  
  437. Specifies the maximum number of drives you can access. Use the 
  438. LASTDRIVEHIGH command to load the LASTDRIVE data structures in the upper 
  439. memory area. You can use these commands only in your Config.sys file.
  440.  
  441. The value you specify represents the last valid drive that MS-DOS is to
  442. recognize.
  443.  
  444. Syntax
  445.  
  446.     LASTDRIVE=x
  447.     LASTDRIVEHIGH=x
  448.  
  449. Parameter
  450.  
  451. x
  452.     Specifies a drive letter in the range A through Z.
  453.  
  454.  
  455. NUMLOCK
  456. ========
  457.  
  458. Specifies whether the NUM LOCK key is set to ON or OFF when your computer
  459. starts. You can use this command only in your Config.sys file.
  460.  
  461. Syntax
  462.  
  463.     NUMLOCK=[ON|OFF]
  464.  
  465. Parameters
  466.  
  467. ON|OFF
  468.     If set to ON, turns on the NUM LOCK key when MS-DOS displays the startup
  469.     menu. If set to OFF, turns NUM LOCK off.
  470.  
  471.  
  472. REM
  473. ===
  474.  
  475. Enables you to include comments in a batch file or in your Config.sys file.
  476. The REM command is also useful for disabling commands. You can use a
  477. semicolon (;) instead of the REM command in your Config.sys file, but not in
  478. batch files.
  479.  
  480. Syntax
  481.  
  482.     REM [string]
  483.  
  484. Parameters
  485.  
  486. string
  487.     Specifies any string of characters -- the command you want to disable or
  488.     the comment you want to include.
  489.  
  490.  
  491. SET
  492. ===
  493.  
  494. Displays, sets, or removes MS-DOS environment variables.
  495.  
  496. You use environment variables to control the behavior of some batch files
  497. and programs and to control the way MS-DOS appears and works. The SET
  498. command is often used in the Autoexec.bat or Config.sys files to set
  499. environment variables each time you start MS-DOS.
  500.  
  501. Syntax
  502.  
  503.     SET variable=[string]
  504.  
  505. To display the current environment settings at the command prompt, use the
  506. following syntax:
  507.  
  508.     SET
  509.  
  510. Parameters
  511.  
  512. variable
  513.     Specifies the variable you want to set or modify.
  514.  
  515. string
  516.     Specifies the string you want to associate with the specified variable.
  517.  
  518.  
  519. SHELL
  520. =====
  521.  
  522. Specifies the name and location of the command interpreter you want MS-DOS
  523. to use. You can use this command only in your Config.sys file.
  524.  
  525. If you want to use your own command interpreter (instead of Command.com),
  526. you can specify its name by adding a SHELL command to your Config.sys file.
  527.  
  528. Syntax
  529.  
  530.     SHELL=[[drive:]path]filename [parameters]
  531.  
  532. Parameters
  533.  
  534. [[drive:]path]filename
  535.     Specifies the location and name of the command interpreter you want
  536.     MS-DOS to use.
  537.  
  538. parameters
  539.     Specifies any command-line parameters or switches that can be used with
  540.     the specified command interpreter.
  541.  
  542.  
  543. STACKS/STACKSHIGH
  544. =================
  545.  
  546. Supports the dynamic use of data stacks to handle hardware interrupts. Use 
  547. the STACKSHIGH command to load the stacks in the upper memory area. You 
  548. can use these commands only in your Config.sys file.
  549.  
  550. Syntax
  551.  
  552.     STACKS=n,s
  553.     STACKSHIGH=n,s
  554.  
  555. Parameters
  556.  
  557. n
  558.     Specifies the number of stacks. Valid values for n are 0 and numbers in
  559.     the range 8 through 64.
  560.  
  561. s
  562.     Specifies the size (in bytes) of each stack. Valid values for s are 0
  563.     and numbers in the range 32 through 512.
  564.  
  565.  
  566. SWITCHES
  567. =========
  568.  
  569. Specifies special options in MS-DOS. Use this command only in your
  570. Config.sys file.
  571.  
  572. Syntax
  573.  
  574.     SWITCHES= /F /K /N /E[:n]
  575.  
  576. Switches
  577.  
  578. /F
  579.     Skips the two-second delay after displaying the "Starting MS-DOS"
  580.     message during startup.
  581.  
  582. /K
  583.     Forces an enhanced keyboard to behave like a conventional keyboard.
  584.  
  585. /N
  586.     Prevents you from using the F5 or F8 key to bypass startup commands.
  587.     (SWITCHES /N does not prevent you from pressing CTRL+F5 or CTRL+F8 to
  588.     bypass Drvspace.bin or Dblspace.bin; to prevent this, use the D**SPACE /SWITCHES
  589.     command to add the SWITCHES /N setting to your D**space.ini file.)
  590.  
  591. /E[:n]
  592.     Used without the :n parameter, indicates that Io.sys should suppress
  593.     the automatic relocation of EBIOS. (Automatic relocation of EBIOS
  594.     increases the conventional memory available to MS-DOS-based programs.)
  595.     Supressing automatic relocation results in less conventional memory 
  596.     available to MS-DOS-based programs. Use the /E switch with the n 
  597.     parameter to relocate N bytes of EBIOS to low memory, where n is 
  598.     the number of bytes to be relocated. The minimum value for n is 48 and 
  599.     the maximum value is 1024. The number specified is always rounded up to 
  600.     the next multiple of 16.
  601.