title: start batch file in fullscreen mode
body: <p>How can I start a batch file in full-screen mode?  I know that this question was asked before, but it wasn't actually answered.</p>
  
  <p>unfortunately, I don't know reverse engineering, so I cant decompile the code.</p>
  
  <p>Here is something I tested:</p>
  
  <pre><code>@if (@CodeSection == @Batch) @then
  @echo off
  rem Use %SendKeys% to send keys to the keyboard buffer
  set SendKeys=CScript //nologo //E:JScript "%~F0"
  start cmd.exe
  %sendkeys% "(%{enter})"
  goto :EOF
  @end
  
  
  // JScript section
  
  var WshShell = WScript.CreateObject("WScript.Shell");
  WshShell.SendKeys(WScript.Arguments(0));
  </code></pre>
  
  <p>The idea is that it starts a cmd window, and (this part of the code <code>%sendkeys% "(%{enter})"</code>) is supposed to simulate the user pressing [alt] + [enter].  But it doesn't work. </p>
  
  <p>I wrote a little c# tool to send an alt+enter to the cmd window, but I'm looking for an internal method.</p>