title: How can I make this batch file respond to the answer given in the vbs pop up?
body: <p>I want to make this <code>.bat</code> file to read the answer given on the newly made <code>.vbs</code> file (yes or a no question).</p>
  
  <p>I don't know any solutions right now</p>
  
  <pre><code>echo x=msgbox("By performing this action you will lose access to the Vault, however you can regain access using the Vault Key. Are you sure you want to lock the Vault?" ,vbYesNo, "Lock Confirmation") &gt;&gt; msgbox.vbs
  
  start msgbox.vbs
  
  if msgbox=vbYes goto LOCK
  
  else goto End
  </code></pre>
  
  <p>This results in the program to not enter the next steps and end</p>