title: AWS - How to open a command prompt in my auto scaled windows 2016 AMI to launch my node server
body: <p>I have setup auto scaling policy to launch an windows 2016 AMI EC2 instance once certain thresholds are crossed.
  After windows is booted up, I want to open command prompt, change to a particular directory and start my node http server.</p>
  
  <p>I have specified the following command in user data while setting up launch configuration.</p>
  
  <p><strong>start cmd /k cd c:\pizza-luvrs-master|npm start</strong></p>
  
  <p>My instances are getting launched but the commands are not getting executed!
  the problem is in lauching command window itself. rest of the command is fine.</p>
  
  <p>any solutions?</p>