« Cmd.exe » : différence entre les versions

Contenu supprimé Contenu ajouté
m traduction
mAucun résumé des modifications
Ligne 4 :
Les fichiers batch du DOS sont les fichiers dotés de l’[[extension]] <code>.BAT</code>. Si un fichier nommé <code>[[AUTOEXEC.BAT]]</code> existe au démarrage du système, il est éxécuté.
 
Le comportement par défaut de <code>[[command.com]]</code> est d'afficher chaque commande sur la [[sortie standard]] avant de l'éxécuter. C'est souvent non désiré, la commande <code>ECHO OFF</code> est souvent donnée au début d'un fichier batch . Command.com alsointerprète interpreteégalement le <code>@</code>, pour prefixer une seule commande de s'afficher. Donc, beaucoup de fichiers batch files commencent par la ligne <code>@ECHO OFF</code>.
 
==Histoire et évolutions==
Microsoft operating system batch programming has evolved along with the product releases of these operating systems. Command interpreters are provided with these operating systems that provide two distinct modes of work.
Il existe maintennatmaintenant deux modemodes :
*Un mode interactif
*Un mode éxécution de scripts
 
Dans le mode interactif, l'utilisateur tape les commandes qui sont éxécutées immédiatement. Le mode script éxécute une séquence de commandes définies dans un fichier, batch programs (contrast to [[Unix shell]] scripts), stored as a text file with the extension .bat. The original concepts for both functionalities draw ideas from Unix shells, as well as other text based command line interfaces in use in the early 1980s, e.g. [[CP/M]].
Le mode script executes une sequence de commandes définies dans un ficheier, batch programs (contrast to [[Unix shell]] scripts), stored as a text file with the extension .bat. The original concepts for both functionalities draw ideas from Unix shells, as well as other text based command line interfaces in use in the early 1980s, e.g. [[CP/M]].
 
A l'Origineorigine, l'OSle système [[MS-DOS]] fournit un inetrpreteur:interpréteur : <code>command.com</code>.
Les programsprogrammes batbatch pour MS-DOS sont composés d'un ensemble relativement simple d'ensembelensemble de commandes interpretéinterpretées directement par <code>command.com</code> (internalcommande commandsinterne) et des utilitaires qui existent en tant qu'éxécutableéxécutables séparés (externalcommande commandsexterne). The evolution of this branch of batch programming proceeded through the releases of MS-DOS, and into [[Windows 95]], [[Windows 98]] and finally [[Windows ME]].
 
The newest Microsoft Windows versions, Windows 2000 and XP, are not based on MS-DOS, but on [[Windows NT]], introduced before MS-DOS 6.0. In NT systems, a native MS-DOS environment is absent, but included is a MS-DOS compatible CLI (Command Line Interface), resembling a MS-DOS prompt. Some MS-DOS features are not available, but there are many additional features and commands not included with MS-DOS or MS-DOS based versions of Windows.