---------------------------------------------------------------------- Microsoft Windows 95 README for MS-DOS Config.sys Commands August 1995 ---------------------------------------------------------------------- (c) Copyright Microsoft Corporation, 1995This document provides complementary or late-breaking information tosupplement the Microsoft Windows 95 documentation.------------------------How to Use This Document------------------------To view Config.txt on screen in Notepad, maximize the Notepad window.To print Config.txt, open it in Notepad or another word processor,then use the Print command on the File menu.In syntax lines, lowercase text signifies replaceable parameters anduppercase text must be typed as it appears.NOTE: The Msdosdrv.txt file contains more Help for MS-DOS commands. Alsoyou can type the name of the command at the command prompt, followed bya slash and question mark (/?). For example: CHKDSK /?--------CONTENTSACCDATEBREAKBUFFERS/BUFFERSHIGHCOUNTRYDEVICEDEVICEHIGHDOSDRIVPARMFCBS/FCBSHIGHFILES/FILESHIGHINSTALL/INSTALLHIGHLASTDRIVE/LASTDRIVEHIGHNUMLOCKREMSETSHELLSTACKS/STACKSHIGHSWITCHES---------ACCDATE=======For each hard disk, specifies whether to record the date that files arelast accessed. Last access dates are turned off for all drives whenyour computer is started in safe mode, and are not maintained for floppydisks by default.Syntax ACCDATE=drive1+|- [drive2+|-]...Parametersdrive1, drive 2... Specifies the drive letter.+|- Specify a plus sign (+) to indicate that the last access date should be maintained for files on the drive. Specify a minus sign (-) to indicate that the last access date should not be maintained for files.BREAK=====Sets or clears extended CTRL+C checking. You can use this command at thecommand prompt or in your CONFIG.SYS file.You can press CTRL+C to stop a program or an activity (file sorting, forexample). Typically, MS-DOS checks for CTRL+C only while it reads from thekeyboard or writes to the screen or a printer. If you set BREAK to ON, youextend CTRL+C checking to other functions, such as disk read and writeoperations.Syntax BREAK [ON|OFF]To display the current BREAK setting at the command prompt, use thefollowing syntax: BREAKIn your CONFIG.SYS file, use the following syntax: BREAK=ON|OFFParameterON|OFF Turns extended CTRL+C checking on or off.BUFFERS/BUFFERSHIGH===================Allocates memory for a specified number of disk buffers when your systemstarts. Use the BUFFERSHIGH command to load the buffers in the uppermemory area. You can use these commands only in your Config.sys file.Syntax BUFFERS=n[,m] BUFFERSHIGH=n[,m]Parametersn Specifies the number of disk buffers. The value of n must be in the range 1 through 99. The default is 30.m Specifies the number of buffers in the secondary buffer cache. The value of m must be in the range 0 through 8. The default is 0 (no secondary cache buffers).If you specify an invalid value for n or m, BUFFERs uses the defaultsettings.COUNTRY========Enables MS-DOS to use country-specific conventions for displaying times,dates, and currency; for determining the order by which characters aresorted; and for determining which characters can be used in filenames. Youcan use this command only in your Config.sys file.The COUNTRY command configures MS-DOS to recognize the character set andpunctuation conventions observed when using one of the supported languages.Syntax COUNTRY=xxx[,[yyy][,[drive:][path]filename]]Parametersxxx Specifies the country code.yyy Specifies the character set for the country.[drive:][path]filename Specifies the location and name of the file containing country information.DEVICE======Loads into memory the device driver you specify. You can use this commandonly in your Config.sys file.Syntax DEVICE=[drive:][path]filename [dd-parameters]Parameters[drive:][path]filename Specifies the location and name of the device driver you want to load.[dd-parameters] Specifies any command-line information required by the device driver.DEVICEHIGH==========Loads a device driver you specify into the upper memory area. Loading adevice driver into the upper memory area frees more bytes of conventionalmemory for other programs. If upper memory is not available, the DEVICEHIGHcommand functions just like the DEVICE command.You can use this command only in your Config.sys file.Syntax DEVICEHIGH [drive:][path]filename [dd-parameters]To specify the region(s) of memory into which to load the device driver,use the following syntax: DEVICEHIGH [[/L:region1[,minsize1][;region2[,minsize2] [/S]]= [drive:][path]filename [dd-parameters]Parameters[drive:][path]filename Specifies the location and name of the device driver you want to load into the upper memory area.dd-parameters Specifies any command-line information required by the device driver.Switches/L:region1[,minsize1][;region2[,minsize2]... Specifies one or more regions of memory into which to load the device driver. By default, MS-DOS loads the driver into the largest free upper memory block (UMB) and makes all other UMBs available for the driver's use. You can use the /L switch to load the device driver into a specific region of memory or to specify which region(s) the driver can use. To load the driver into the largest block in a specific region of upper memory, specify the region number after the /L switch. For example, to load the driver into the largest free block in region 4, you would type /L:4. (To list the free areas of memory, type MEM /F at the command prompt.) When loaded with the /L switch, a device driver can use only the specified memory region. Some device drivers use more than one area of memory; for those drivers, you can specify more than one region. (To find out how a particular device driver uses memory, issue the MEM /M command and specify the device-driver name as an argument.) To specify two or more regions, separate the block numbers with a semicolon (;). For example, to use blocks 2 and 3, you would type /L:2;3. Typically, MS-DOS loads a driver into a UMB in the specified region only if that region contains a UMB larger than the driver's load size (usually equal to the size of the executable program file). If the driver requires more memory while running than it does when loaded, you can use the minsize parameter to ensure that the driver will not be loaded into a UMB that is too small for it. If you specify a value for minsize, MS-DOS loads the driver into that region only if it contains a UMB that is larger than both the driver's load size and the minsize value./S Shrinks the UMB to its minimum size while the driver is loading. Using this switch makes the most efficient use of memory. This switch is generally used only by the MemMaker program, which can analyze a device driver's memory use to determine whether the /S switch can safely be used when loading that driver. This switch can be used only in conjunction with the /L switch and affects only UMBs for which a minimum size was specified.DOS====Specifies that MS-DOS should maintain a link to the upper memory area, loadpart of itself into the high memory area (HMA), or both. You can use thiscommand only in your Config.sys file.Syntax DOS=HIGH|LOW[,UMB|,NOUMB][,AUTO|,NOAUTO] DOS=[HIGH,|LOW,]UMB|NOUMB[,AUTO|,NOAUTO] DOS=[HIGH,|LOW,][UMB,|NOUMB,]AUTO|NOAUTOParametersUMB|NOUMB Specifies whether MS-DOS should manage upper memory blocks (UMBs) created by a UMB provider such as Emm386.exe. The UMB parameter specifies that MS-DOS should manage UMBs, if they exist. The NOUMB parameter specifies that MS-DOS should not manage UMBs. The default setting is NOUMB.HIGH|LOW Specifies whether MS-DOS should attempt to load a part of itself into the HMA (HIGH) or keep all of MS-DOS in conventional memory (LOW). The default setting is LOW.AUTO|NOAUTO Specifies whether MS-DOS should automatically load Himem.sys, Ifshlp.sys, Dblbuff.sys, and Setver.exe device drivers if they are not explicitly loaded in your Config.sys file. The default setting, AUTO, automatically loads these device drivers. The AUTO setting also automatically uses the BUFFERSHIGH, FILESHIGH, FCBSHIGH, LASTDRIVEHIGH, and STACKSHIGH commands, whether the -HIGH form of the command was used or not. If you specify the NOAUTO parameter, you must explicitly load these device drivers and explicitly use the -HIGH form of the above commands in order to take advantage of them.DRIVPARM========Defines parameters for devices such as disk and tape drives when you startMS-DOS. You can use this command only in your Config.sys file.The DRIVPARM command modifies the parameters of an existing physical drive.It does not create a new logical drive. The settings specified in theDRIVPARM command override the driver definitions for any previous blockdevice.Syntax DRIVPARM=/D:number [/C] [/F:factor] [/H:heads] [/I] [/N] [/S:sectors] [/T:tracks]Switches/D:number Specifies the physical drive number. Values for number must be in the range 0 through 255 (for example, drive number 0 = drive A, 1 = drive B, 2 = drive C, and so on)./C Specifies that the drive can detect whether the drive door is closed./F:factor Specifies the drive type. The following table shows the valid values for factor and a brief description of each. The default value is 2. 0 160K/180K or 320K/360K 1 1.2 megabyte (MB) 2 720K (3.5-inch disk) 5 Hard disk 6 Tape 7 1.44 MB (3.5-inch disk) 8 Read/write optical disk 9 2.88 MB (3.5-inch disk)/H:heads Specifies the maximum number of heads. Values for heads must be in the range 1 through 99. The default value depends on the value you specify for /F:factor./I Specifies an electronically compatible 3.5-inch floppy disk drive. (Electronically compatible drives are installed on your computer and use your existing floppy disk drive controller.) Use the /I switch if your computer's ROM BIOS does not support 3.5-inch floppy disk drives./N Specifies a nonremovable block device./S:sectors Specifies the number of sectors per track that the block device supports. Values for sectors must be in the range 1 through 99. The default value depends on the value you specify for /F:factor./T:tracks Specifies the number of tracks per side that the block device supports. The default value depends on the value you specify for /F:factor.FCBS, FCBSHIGH==============Specifies the number of file control blocks (FCBs) that MS-DOS can haveopen at the same time. Use the FCBSHIGH command to load the FCBs in theupper memory area. You can use these commands only in your Config.sys file.A file control block is a data structure that stores information about afile.Syntax FCBS=x FCBSHIGH=xParameterx Specifies the number of file control blocks that MS-DOS can have openat one time. Valid values for x are in the range 1 through 255. Thedefault value is 4.FILES/FILESHIGH===============Specifies the number of files that MS-DOS can access at one time. Use theFILESHIGH command to load the command in the upper memory area. You canuse these commands only in your Config.sys file.Syntax FILES=x FILESHIGH=xParameterx Specifies the number of files that MS-DOS can access at one time. Valid values for x are in the range 8 through 255. The default value is 8.INSTALL/INSTALLHIGH====================Loads a memory-resident program into memory when you start MS-DOS. Use theINSTALLHIGH command to load the memory-resident program into the uppermemory area. You can use these commands only in your Config.sys file.Memory-resident programs stay in memory as long as your computer is on.Theycan be used even when other programs are active. You can use the INSTALLor INSTALLHIGH command to load MS-DOS memory-resident programs--forexample,Fastopen, Keyb, Nlsfunc, and Share.Syntax INSTALL=[drive:][path]filename [command-parameters] INSTALLHIGH=[drive:][path]filename [command-parameters]Parameters[drive:][path]filename Specifies the location and name of the memory-resident program you want to run.command-parameters Specifies parameters for the program you specify for filename.LASTDRIVE/LASTDRIVEHIGH=======================Specifies the maximum number of drives you can access. Use theLASTDRIVEHIGH command to load the LASTDRIVE data structures in the uppermemory area. You can use these commands only in your Config.sys file.The value you specify represents the last valid drive that MS-DOS is torecognize.Syntax LASTDRIVE=x LASTDRIVEHIGH=xParameterx Specifies a drive letter in the range A through Z.NUMLOCK========Specifies whether the NUM LOCK key is set to ON or OFF when your computerstarts. You can use this command only in your Config.sys file.Syntax NUMLOCK=[ON|OFF]ParametersON|OFF If set to ON, turns on the NUM LOCK key when MS-DOS displays thestartup menu. If set to OFF, turns NUM LOCK off.REM===Enables you to include comments in a batch file or in your Config.sys file.The REM command is also useful for disabling commands. You can use asemicolon (;) instead of the REM command in your Config.sys file, but notin batch files.Syntax REM [string]Parametersstring Specifies any string of characters -- the command you want to disable or the comment you want to include.SET===Displays, sets, or removes MS-DOS environment variables.You use environment variables to control the behavior of some batch filesand programs and to control the way MS-DOS appears and works. The SETcommand is often used in the Autoexec.bat or Config.sys files to setenvironment variables each time you start MS-DOS.Syntax SET variable=[string]To display the current environment settings at the command prompt, use thefollowing syntax: SETParametersvariable Specifies the variable you want to set or modify.string Specifies the string you want to associate with the specified variable.SHELL=====Specifies the name and location of the command interpreter you want MS-DOSto use. You can use this command only in your Config.sys file.If you want to use your own command interpreter (instead of Command.com),you can specify its name by adding a SHELL command to your Config.sys file.Syntax SHELL=[[drive:]path]filename [parameters]Parameters[[drive:]path]filename Specifies the location and name of the command interpreter you want MS-DOS to use.parameters Specifies any command-line parameters or switches that can be used with the specified command interpreter.STACKS/STACKSHIGH=================Supports the dynamic use of data stacks to handle hardware interrupts. Usethe STACKSHIGH command to load the stacks in the upper memory area. Youcan use these commands only in your Config.sys file.Syntax STACKS=n,s STACKSHIGH=n,sParametersn Specifies the number of stacks. Valid values for n are 0 and numbers in the range 8 through 64.s Specifies the size (in bytes) of each stack. Valid values for s are 0 and numbers in the range 32 through 512.SWITCHES=========Specifies special options in MS-DOS. Use this command only in yourConfig.sys file.Syntax SWITCHES= /F /K /N /E[:n]Switches/F Skips the two-second delay after displaying the "Starting MS-DOS" message during startup./K Forces an enhanced keyboard to behave like a conventional keyboard./N Prevents you from using the F5 or F8 key to bypass startup commands. (SWITCHES /N does not prevent you from pressing CTRL+F5 or CTRL+F8 to bypass Drvspace.bin or Dblspace.bin; to prevent this, use the D**SPACE/SWITCHES command to add the SWITCHES /N setting to your D**space.ini file.)/E[:n] Used without the :n parameter, indicates that Io.sys should suppress the automatic relocation of EBIOS. (Automatic relocation of EBIOS increases the conventional memory available to MS-DOS-based programs.) Supressing automatic relocation results in less conventional memory available to MS-DOS-based programs. Use the /E switch with the n parameter to relocate N bytes of EBIOS to low memory, where n is the number of bytes to be relocated. The minimum value for n is 48 and the maximum value is 1024. The number specified is always rounded up to the next multiple of 16.
ID článku: 135481 - Poslední kontrola: 02/03/2014 01:54:12 - Revize: 1.1