title: In which language is cmd.exe written?
body: <blockquote>
    <p>Command Prompt, also known as cmd.exe or cmd (after its executable
    file name), is the command-line interpreter on Windows NT, Windows CE,
    OS/2 and eComStation operating systems. It is the counterpart of
    COMMAND.COM in DOS and Windows 9x systems (where it is also called
    "MS-DOS Prompt"), and analogous to the Unix shells used on Unix-like
    systems.</p>
  </blockquote>
  
  <p>Source: <a href="https://en.wikipedia.org/wiki/Cmd.exe" rel="nofollow noreferrer">Wikipedia</a></p>
  
  <p>I have searched everywhere but could not get an answer for this question.</p>
  
  <p>Each website focuses on the fact that <a href="https://en.wikipedia.org/wiki/Batch_file" rel="nofollow noreferrer">batch language</a> is used in <a href="https://en.wikipedia.org/wiki/Cmd.exe" rel="nofollow noreferrer">cmd.exe</a> but I could not find the language in which it is written.</p>
  
  <hr>
  
  <p>So my question is:</p>
  
  <p><strong>What is the language that was used to write command-prompt or cmd.exe in Windows?</strong></p>