title: How to run multiple commands in one batch file?
body: <p>I want to run multiple commands in one batch file. </p>
  
  <p>I tried the &amp;, &amp;&amp;, start, /wait, call, :begin and goto begin commands but no luck. </p>
  
  <p>Here are my commands:</p>
  
  <pre><code>C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
  
  sc config remoteregistry start= auto 
  
  sc start remoteregistry 
  
  sc config Schedule start=auto 
  
  sc start Schedule 
  
  sc stop McAfeeFramework
  
  sc configure McAfeeFramework startup= disabled
  
  sc stop  McShield
  
  sc configure  McShield startup= disabled
  
  sc stop McTaskManager 
  
  sc configure McTaskManager startup= disabled
  
  netsh advfirewall set AllProfiles state off 
  
  sc stop MpsSvc
  
  sc config MpsSvc start= disabled
  </code></pre>