CONFIG.SYS commands

Last update on October 19, 2009 09:07 AM by deri58
Published by hyts78

CONFIG.SYS commands







The CONFIG.SYS commands load programs into memory and manage the operation of your equipment. For the most part, they are used only in the CONFIG.SYS file, with the exception of break commands, and rem set, you can also include in the AUTOEXEC.BAT file or type in the MS-DOS.

Typically, the CONFIG.SYS file contains only some of these commands.

The following table describes all the commands available in this file:
  • break
    • Specifies whether MS-DOS must check the key combination CTRL + C or CTRL + PAUSE. For more information, type help to break the MS-DOS.
  • buffers
    • Specifies the amount of memory reserved for data transfer between memory and disks. For more information, type help buffers at the MS-DOS.
  • country
    • Defines the conventions to use. For more information, type help country at the MS-DOS.
  • device
    • Loads an installable device manager. A device manager is a program that manages a physical element, such as the mouse or the memory card. For more information, device type help at the MS-DOS.
  • DEVICEHIGH


Loads an installable device manager in upper memory area. For more information, type help DEVICEHIGH at the MS-DOS.

back

Specifies whether MS-DOS must use the high memory area (HMA) and allow access to the upper memory area. For more information, type help back to the MS-DOS.

drivparm

Defines the characteristics of a disk drive. For more information, type help drivparm at the MS-DOS.
  • files
    • Specifies the number of files that MS-DOS can open simultaneously. For more information, type help files in MS-DOS.
  • install
    • Loads a program resident in memory. For more information, type help install at the MS-DOS.
  • lastdrive
    • Sets the number of drive letters recognized by MS-DOS. For more information, type help lastdrive at the MS-DOS.
  • numlock
    • Specifies whether the function of locking the keypad is initially turned on or not.
  • or rem;
  • Introduces a comment line and not a command. Can also be used to disable a command. For more information, type help to replace the MS-DOS.
  • set
    • Sets the value of environment variables such as TEMP or PROMPT. For more information, type help set the MS-DOS.
  • shell
    • Configure COMMAND.COM or indicates that another command interpreter must be used. For more information, type help shell or help command to MS-DOS.
  • stacks
    • Sets the amount of memory to reserve for the treatment of physical interruptions. For more information, type help stacks at the MS-DOS.
  • switches
    • Specifies the use of the functions of a conventional keyboard, even if you use an extended keyboard. For more information, type help switches to the MS-DOS.
  • The CONFIG.SYS file can also contain commands include, menucolor, menudefault, and **menuitem submenu.



Example command lines of a CONFIG.SYS file:
[menu] 
menuitem = CD, Start with support for CD-ROM 
menuitem = NOCD, Start without support CD-ROM 
menuitem = HELP, View the Help file 
menudefault = CD, 30 
menucolor = 7.0 

[CD] 
himem.sys device = / testmem we 
oakcdrom.sys device = / D: mscd001 
device = btdosm.sys 
device = flashpt.sys 
btcdrom.sys device = / D: mscd001 
device = aspi2dos.sys 
device = aspi8dos.sys 
device = aspi4dos.sys 
device = aspi8u2.sys 
aspicd.sys device = / D: mscd001 

[NOCD] 
himem.sys device = / testmem: off 

[HELP] 
himem.sys device = / testmem: off 

[COMMON] 
files = 10 
buffers = 10 
dos = high, umb 
stacks = 9.256 
DEVICEHIGH = ramdrive.sys / E 2048 
lastdrive z = 
device = display.sys con = (ega,, 1) 
country = 033.850, country.sys 
install = MODE.COM con cp prepare = ((850) EGA.CPI) 
install = MODE.COM con cp select = 850 
install = Keyb.com fr,, keyboard.sys 



These command lines are for the boot disk with support for CD-ROM.
Best answers for « CONFIG.SYS commands » in :
Operating Systems - Customising DOS Show The DOS start-up procedure is defined in the autoexec.bat and config.sys files located in the root of your "C:\" drive. We highly recommend making back up copies of these files before modifying them. To deactivate a line of command in either file...
Configure your tv card on linux ShowConfigure your tv card on linux Step1: Card Installation Step 2: Tvtime Installation Step 3: Remote control configuration Lirc Installation First Test Configure Lirc Configure the behavior of buttons Example Autorun This faq...
Hibernation - hiberfil.sys ShowHibernation - hiberfile.sys The hiberfil.sys is a file running under os Windows Xp and Windows Vista. This file has been created for storing data of in the memory of hiberfil.sys located in the local disk of your computer. This is a main...
[Windows] knowing the IP configuration of a PC Show[Windows] knowing the IP configuration of a PC IP configuration of a PC Open a DOS command window: Open the Start menu Click on Run Type cmd Click on OK In the MS-DOS window, type the following command ipconfig/ all Note...
Download Free commander ShowFree Commander is an alternative program to replace the file manager or the Windows explorer. The program is easy to use and will help you for your daily tasks. You will find all the necessary functions for the data management. The main...
Download Ultra Sys Info ShowDescription: Ultra Sys Info is simply a utility diagnostic equipment. Features: It will give you all the information you need to record your devices: CPUs, modems, BIOS, drives, graphic cards, drivers, DirectX, UPS and more. Advantages: The...
Operating Systems - MS-DOS - Tips ShowSetting the CD-ROM drive The CD-ROM drive is configured in the config.sys and autoexec.bat system files. The CD-ROM drive device driver must be configured in the config.sys file (even if the device is automatically detected in Windows). To do...
Network tests and diagnostics ShowTesting the IP configuration Before doing anything else, you are advised to check the computer's IP configuration. Windows systems offer a command-line tool, called ipconfig, that lets you find out your computer's IP configuration. The output of...
UNIX Commands ShowTable of the main UNIX commands Unix Commands Description Options ls lists the content of a directory -a Displays all files, including hidden files -I Displays a...