Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
13,259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3. :: Close Any Semi Demanding Applications Prior To Starting The Game
  4. :: Use - Taskkill /IM ProcessName.exe /F
  5. Taskkill /IM Dropbox.exe /F
  6. Taskkill /IM puush.exe /F
  7. Taskkill /IM chrome.exe /F
  8.  
  9. timeout 3
  10.  
  11. start steam://rungameid/271590
  12. timeout 10
  13.  
  14. :NOTFOUND
  15. timeout 5
  16. SETLOCAL EnableExtensions
  17. set EXE=GTA5.exe
  18. FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto FOUND
  19. goto NOTFOUND
  20.  
  21. :FOUND
  22. echo GTA5.exe is open
  23. echo Setting Priorities
  24. timeout 10
  25. wmic process where name="GTAVLauncher.exe" CALL setpriority "idle"
  26. wmic process where name="subprocess.exe" CALL setpriority "idle"
  27. wmic process where name="GTA5.exe" CALL setpriority "high"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement