title: How to simulate the 'ENTER' keypress in cmd?
body: <p>I am trying to find a way to imitate a keypress in cmd in this function: </p>
  
  <pre><code>start cmd.exe /k
  </code></pre>
  
  <p>so that it would just start cmd, jump a line (simulating hitting the 'enter' key) and then doing something. Can anybody help me?</p>
  
  <p>Just to make it more understandable, I want to simulate the ENTER keypress itself, not just adding a newline. My scenario is that I want to open a file/application that has a buffer on startup that can be skipped by pressing ENTER (similar to the startup on windows Ubuntu where if you are starting it using the "start ubuntu.exe /k (something)" command, it will immediately close if you try to run a command but will skip the beginning startup if the ENTER key is pressed.</p>