Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- :: Close Any Semi Demanding Applications Prior To Starting The Game
- :: Use - Taskkill /IM ProcessName.exe /F
- Taskkill /IM Dropbox.exe /F
- Taskkill /IM puush.exe /F
- Taskkill /IM chrome.exe /F
- timeout 3
- start steam://rungameid/271590
- timeout 10
- :NOTFOUND
- timeout 5
- SETLOCAL EnableExtensions
- set EXE=GTA5.exe
- FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto FOUND
- goto NOTFOUND
- :FOUND
- echo GTA5.exe is open
- echo Setting Priorities
- timeout 10
- wmic process where name="GTAVLauncher.exe" CALL setpriority "idle"
- wmic process where name="subprocess.exe" CALL setpriority "idle"
- wmic process where name="GTA5.exe" CALL setpriority "high"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement