title: How to run AVD emulator from .bat without a console window?
body: <p>I want to create a shortcut to run AVD emulator without opening Android Studio. So I use a <code>.bat</code> file which contains next line:</p>
  
  <pre><code>emulator @Pixel_2_API_29
  </code></pre>
  
  <p>When running it I, of course, get a console window, which I really don't need:</p>
  
  <p><a href="https://i.stack.imgur.com/LvUep.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LvUep.png" alt="cmd"></a></p>
  
  <p>If I close it, emulator also closes. Is there any way to run it in background or something similar just to get a running emulator without any console windows (the same behaviour can be achieved if you run emulator from Android Studio and close it immideately)? </p>