title: How to enable user actions after .bat file is executed
body: <p>First thing first, i don't write cmd programs usually, so that's why i'm asking for this very basic question.</p>
  
  <p>My problem is:
  I have a .bat file that list some actions, all of them works fine, except for one.
  This is the code, so that it will be easier to explain:</p>
  
  <pre><code>ECHO OFF
  CLS
  cd C:\Android\adk\sdk\platform-tools
  adb devices
  :MENU
  ECHO.
  ECHO ************************************
  ECHO Select what to do next:
  ECHO ************************************
  ECHO.
  ECHO 1 - Check devices status
  ECHO 2 - Disable auto update for this device
  ECHO 3 - Enable auto update for this device
  ECHO 4 - Install app.apk
  ECHO 5 - Other actions
  ECHO 6 - Close
  ECHO.
  SET /P M=Type 1, 2, 3, 4 or 5 then press ENTER:
  IF %M%==1 GOTO CHECKDEV
  IF %M%==2 GOTO DISABLEUPD
  IF %M%==3 GOTO ENABLEUPD
  IF %M%==4 GOTO INSTALLAPP
  IF %M%==5 GOTO OTHER
  IF %M%==6 GOTO EOF
  :CHECKDEV
  adb devices -l
  GOTO MENU
  :DISABLEUPD
  adb pull /system/app/SystemUpdater.apk C:\Android\QuickCommands\autoUpdateBackup
  adb remount
  adb shell rm /system/app/SystemUpdater.apk 
  GOTO MENU
  :ENABLEUPD
  ECHO. Currently it doesn't work. :(
  GOTO MENU
  :INSTALLAPP
  adb install C:\src\heatgeniusapp\release\android\app.apk
  GOTO MENU
  :OTHER
  set todir=C:\Android\adk\sdk\platform-tools
  </code></pre>
  
  <p>What I want is that when you press 5 (GOTO OTHER), the cmd will be at this address:</p>
  
  <pre><code>C:\Android\adk\sdk\platform-tools
  </code></pre>
  
  <p>And ready to write some custom command and execture them as normal..
  how can i achieve this?</p>
  
  <p>Thanks in advance,
  have a good day</p>