title: Running visual studio code in the current folder with batch file
body: <p>I can follow below sequence of actions to run the Visual Studio Code in the current folder.</p>
  
  <p>select the location bar in the current folder and run
  (ALT + D):</p>
  
  <p><code>cmd /k code .</code></p>
  
  <p>I've tried to wrap the code . in the batch file (and place it in a folder where is declared in the PATH variable to run it as its own), it launches "Visual Studio Code" but doesn't close the command window until i close the visual studio code. </p>
  
  <p>i know "start" command need to be there with exit command in the end but so far the combinations i've tried didn't really let me achieve that.</p>
  
  <p><code>cmd.exe /k code .
  exit</code></p>
  
  <p>Any ideas? </p>