Le cmd

279 mots 2 pages
Unlike COMMAND.COM, which is a DOS program, cmd.exe is a native program for the platform. This allows it to take advantage of features available to native programs on the platform that are otherwise unavailable to DOS programs. For example, since cmd.exe is a native text-mode application on OS/2, it can use real pipes in command pipelines, allowing both sides of the pipeline to run concurrently. As a result, it is possible to redirect the standard error in cmd.exe, unlike COMMAND.COM. (COMMAND.COM uses temporary files, and runs the two sides serially, one after the other.)

In reality, cmd.exe is a Windows program that acts as a DOS-like command line interpreter. It is generally compatible, but provides extensions which address the limitations of COMMAND.COM:

SETLOCAL/ENDLOCAL commands limit the scope of changes to the environment internal CALL and GOTO labels lessen the need for individual batch files to perform parts of a task. filename-parsing extensions to the SET command are comparable to C shell. an expression-evaluation extensions is also provided in the SET command. an expansion of the FOR command to support parsing files and arbitrary sets in addition to filenames. use of arrow keys to scroll through command history (provided by DOSKey in COMMAND.COM) off-by-default path completion capabilities similar to bash tab completion a directory stack accessible with the PUSHD and POPD commands
IF can perform case-insensitive comparisons and numeric equality and inequality comparisons in addition to case-sensitive string comparisons the ability to escape reserved characters by using the caret character (^)
The extensions can be disabled, providing a stricter compatibility

en relation

  • Cdcf
    558 mots | 3 pages
  • Activation window 7 test
    394 mots | 2 pages
  • cdcsd
    254 mots | 2 pages
  • Intro decouverte powershell
    290 mots | 2 pages
  • Cdcf
    796 mots | 4 pages
  • Cmcp
    2041 mots | 9 pages
  • CM
    3309 mots | 14 pages
  • Cdsc
    364 mots | 2 pages
  • Introduction à maven
    2902 mots | 12 pages
  • Le cnc
    1048 mots | 5 pages
  • La cdg
    3328 mots | 14 pages
  • Valançay compte-rendu
    1469 mots | 6 pages
  • CM
    9367 mots | 38 pages
  • CM
    1109 mots | 5 pages
  • 01 CSharp Prerequis
    2058 mots | 9 pages