Guest User

AutoRestart NecroBot

a guest
Aug 7th, 2016
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3. :start
  4.  
  5. echo|set /p= Deploying NecroBot..."
  6. CD "C:\PokemonAPI\Bot\NecroBot\"
  7. START /MIN "" "NecroBot.exe"
  8.  
  9. TIMEOUT /T 1800
  10.  
  11.  
  12. :Restart
  13.  
  14. @ECHO NecroBot killed...
  15. TASKKILL /F /IM "NecroBot.exe"
  16.  
  17. echo|set /p= Redploying NecroBot...
  18. CD "C:\PokemonAPI\Bot\NecroBot\"
  19. START /MIN "" "NecroBot.exe"
  20.  
  21. TIMEOUT /T 1800
  22. GOTO :Restart
  23.  
  24. :End
  25. PAUSE
  26. CLS
Advertisement
Add Comment
Please, Sign In to add comment