title: Close a command prompt after completing a task
body: <p><strong>Build.bat</strong></p>
  
  <pre><code>@echo off
  echo Disabling UAC, please wait...
  start DisableUAC.lnk
  echo UAC Disabled Successfully!
  echo.
  pause
  </code></pre>
  
  <p><strong>DisableUAC.bat:</strong></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
  </code></pre>
  
  <p>To run <code>DisableUAC.bat</code> with administrative privileges, I created a shortcut <code>DisableUAC.lnk</code> and checked properties > shortcut > advanced and checked "Run as administrator." Then I call for it inside <code>Build.bat</code></p>
  
  <p>This all works, but how can I get the command prompt that shows up from <code>DisableUAC.bat</code> to close upon completing the task? (keep the main Build.bat open, close the DisableUAC.bat that pops up)</p>