Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config [2024/08/16 00:45] – [Multiple Configurations : Examples] fraterback2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config [2024/08/28 13:59] (Version actuelle) – [Commands for Defining Multiple Configurations] frater
Ligne 89: Ligne 89:
 To define multiple configurations, you use the following special CONFIG.SYS commands: To define multiple configurations, you use the following special CONFIG.SYS commands:
    
-  * <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#include|Include]]> +  * [[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#include|Include]] 
-  * <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menucolor|Menucolor]]> +  * [[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menucolor|Menucolor]] 
-  * <Menudefault> +  * [[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menudefault|Menudefault]] 
-  * <Menuitem> +  * [[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menuitem|Menuitem]] 
-  * <Submenu>+  * [[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#submenu|Submenu]]
    
 To define multiple configurations, follow these general steps: To define multiple configurations, follow these general steps:
  
-  - Define a startup menu in the CONFIG.SYS file by using a [menu] header followed by one or more <MENUITEMcommands. The <MENUDEFAULT><MENUCOLORand <SUBMENUcommands can be used to define special characteristics of the startup menu. +  - Define a startup menu in the ''CONFIG.SYS'' file by using a **[menu]** header followed by one or more **MENUITEM** commands. The **MENUDEFAULT****MENUCOLOR** and **SUBMENU** commands can be used to define special characteristics of the startup menu. 
-  - Create a configuration block in the CONFIG.SYS file for each configuration you want. A configuration block begins with a block header  ÄÄ a name surrounded by square brackets. To each block, add the    <CONFIG.SYS commands> that you want MS-DOS to carry out when that configuration is selected from the startup menu. +  - Create a configuration block in the ''CONFIG.SYS'' file for each configuration you want. A configuration block begins with a block header ((a name surrounded by square brackets)). To each block, add the    __CONFIG.SYS commands__ that you want MS-DOS to carry out when that configuration is selected from the startup menu. 
-  - (Optional) In the AUTOEXEC.BAT file, use <batch commands> such as <GOTOand <IFto have MS-DOS carry out different AUTOEXEC.BAT commands depending on the startup configuration.+  - (Optional) In the ''AUTOEXEC.BAT'' file, use __batch commands__ such as **GOTO** and **IF** to have MS-DOS carry out different ''AUTOEXEC.BAT'' commands depending on the startup configuration.
    
-When a configuration is selected from the startup menu, MS-DOS defines an environment variable named CONFIG and sets it to the name of the selected configuration block. To have MS-DOS carry out different sets of commands for different CONFIG values, add a GOTO %CONFIG% command to your AUTOEXEC.BAT file.+When a configuration is selected from the startup menu, MS-DOS defines an environment variable named **CONFIG** and sets it to the name of the selected configuration block. To have MS-DOS carry out different sets of commands for different CONFIG values, add a ''GOTO %CONFIG%'' command to your ''AUTOEXEC.BAT'' file.
    
    
Ligne 125: Ligne 125:
    
   * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menuitem|MENUITEM]]> command, which defines an item on the menu.   * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menuitem|MENUITEM]]> command, which defines an item on the menu.
-  * The <MENUDEFAULT> command, which specifies the default menu item. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menudefault|MENUDEFAULT]]> command, which specifies the default menu item. 
-  * The <MENUCOLOR> command, which defines the color of the menu's text and screen background. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menucolor|MENUCOLOR]]> command, which defines the color of the menu's text and screen background. 
-  * The <SUBMENU> command, which defines a submenu.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#submenu|SUBMENU]]> command, which defines a submenu.
   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the CONFIG.SYS file, it is especially useful when defining a startup menu.)    * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the CONFIG.SYS file, it is especially useful when defining a startup menu.) 
 ==== MENUCOLOR ==== ==== MENUCOLOR ====
Ligne 135: Ligne 135:
 The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special ''CONFIG.SYS'' commands.  The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special ''CONFIG.SYS'' commands. 
  
-Each item on the menu corresponds to a set of CONFIG.SYS commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations. For more information about +Each item on the menu corresponds to a set of CONFIG.SYS commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations. 
-defining multiple configurations, see the chapter "Configuring Your System" in the MS-DOS User's Guide. +
- +
 === Syntax === === Syntax ===
  
Ligne 173: Ligne 171:
 The //MENUCOLOR// command is one of six special ''CONFIG.SYS'' commands for defining startup menus and multiple configurations. The other commands are as follows: The //MENUCOLOR// command is one of six special ''CONFIG.SYS'' commands for defining startup menus and multiple configurations. The other commands are as follows:
    
-  * The <INCLUDE> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#include|INCLUDE]]> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block. 
-  * The <MENUITEM> command, which defines an item on the menu. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menuitem|MENUITEM]]> command, which defines an item on the menu. 
-  * The <MENUDEFAULT> command, which specifies the default menu item.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menudefault|MENUDEFAULT]]> command, which specifies the default menu item.
   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)
-  * The <SUBMENU> command, which defines a submenu.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#submenu|SUBMENU]]> command, which defines a submenu. 
 ==== MENUDEFAULT ==== ==== MENUDEFAULT ====
    
Ligne 184: Ligne 183:
 The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special ''CONFIG.SYS'' commands. The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special ''CONFIG.SYS'' commands.
  
-Each item on the menu corresponds to a set of ''CONFIG.SYS'' commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations. For more information about +Each item on the menu corresponds to a set of ''CONFIG.SYS'' commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations.
-defining multiple configurations, see the chapter "Configuring Your System" in the MS-DOS User's Guide.+
    
 === Syntax === === Syntax ===
Ligne 204: Ligne 202:
 The ''MENUDEFAULT'' command is one of six special CONFIG.SYS commands for defining startup menus and multiple configurations. The other commands are as follows: The ''MENUDEFAULT'' command is one of six special CONFIG.SYS commands for defining startup menus and multiple configurations. The other commands are as follows:
    
-  * The <MENUITEM> command, which defines an item on the menu.  +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menuitem|MENUITEM]]> command, which defines an item on the menu.  
-  * The <MENUCOLOR> command, which defines the color of the menu's text and screen background. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menucolor|MENUCOLOR]]> command, which defines the color of the menu's text and screen background. 
-  * The <SUBMENU> command, which defines a submenu.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#submenu|SUBMENU]]> command, which defines a submenu.
   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)
-  * The <INCLUDE> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#include|INCLUDE]]> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block.
 ==== MENUITEM ==== ==== MENUITEM ====
    
 Defines an item on the startup menu. You can use this command only within a menu block in your ''CONFIG.SYS'' file. You can have up to nine menu items per menu. Defines an item on the startup menu. You can use this command only within a menu block in your ''CONFIG.SYS'' file. You can have up to nine menu items per menu.
    
-The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special ''CONFIG.SYS'' commands. Each item on the menu corresponds to a set of CONFIG.SYS commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations. For more information about defining multiple configurations, see the chapter "Configuring Your System" in the MS-DOS User's Guide.+The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special ''CONFIG.SYS'' commands. Each item on the menu corresponds to a set of CONFIG.SYS commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations.
    
 === Syntax === === Syntax ===
Ligne 233: Ligne 231:
 The ''MENUITEM'' command is one of six special CONFIG.SYS commands for defining startup menus and multiple configurations. The other menu-definition commands are: The ''MENUITEM'' command is one of six special CONFIG.SYS commands for defining startup menus and multiple configurations. The other menu-definition commands are:
    
-  * The <MENUDEFAULT> command, which specifies the default menu item. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menudefault|MENUDEFAULT]]> command, which specifies the default menu item. 
-  * The <MENUCOLOR> command, which defines the color of the menu's text and screen background. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menucolor|MENUCOLOR]]> command, which defines the color of the menu's text and screen background. 
-  * The <SUBMENU> command, which defines a submenu.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#submenu|SUBMENU]]> command, which defines a submenu.
   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)
-  * The <INCLUDE> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#include|INCLUDE]]> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block. 
 ==== SUBMENU ==== ==== SUBMENU ====
    
Ligne 244: Ligne 242:
 The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special CONFIG.SYS commands.  The startup menu is a list of choices that appears when you start your computer. You define a startup menu by using special CONFIG.SYS commands. 
  
-Each item on the menu corresponds to a set of ''CONFIG.SYS'' commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations. For more information about defining multiple configurations, see the chapter "Configuring Your System" in the MS-DOS User's Guide.+Each item on the menu corresponds to a set of ''CONFIG.SYS'' commands called a "configuration block." A startup menu makes it possible to start your computer with a variety of configurations.
    
 === Syntax === === Syntax ===
Ligne 262: Ligne 260:
 The ''SUBMENU'' command is one of six special CONFIG.SYS commands for defining startup menus. The other commands are: The ''SUBMENU'' command is one of six special CONFIG.SYS commands for defining startup menus. The other commands are:
    
-  * The <MENUITEM> command, which defines an item on the menu. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menuitem|MENUITEM]]> command, which defines an item on the menu. 
-  * The <MENUDEFAULT> command, which specifies the default menu item. +  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menudefault|MENUDEFAULT]]> command, which specifies the default menu item. 
-  * The <MENUCOLOR> command, which defines the color of the menu's text and screen background.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#menucolor|MENUCOLOR]]> command, which defines the color of the menu's text and screen background.
   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)   * The <NUMLOCK> command, which specifies the state of the NUM LOCK key when the startup menu appears. (Although NUMLOCK can be used anywhere in the ''CONFIG.SYS'' file, it is especially useful when defining a startup menu.)
-  * The <INCLUDE> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block.+  * The <[[back2root:ibm-pc-ms-dos:ms-dos:6-22-multi-config#include|INCLUDE]]> command, which includes the contents of one configuration block in another. This command cannot be included in a menu block.
 ==== Multiple Configurations : Examples ==== ==== Multiple Configurations : Examples ====
    
back2root/ibm-pc-ms-dos/ms-dos/6-22-multi-config.1723761902.txt.gz · Dernière modification : 2024/08/16 00:45 de frater