Hello i open gta v with this bat:
@ECHO OFF
timeout 3
cd "D:\Grand Theft Auto V"
start PlayGTAV.exe
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 20
wmic process where name="GTA5.exe" CALL setpriority "high"
wmic process where name="GTAVLauncher.exe" CALL setpriority "idle"
wmic process where name="subprocess.exe" CALL setpriority "idle"
but GTA5.exe never changes priority and i always have too alt-tab out the game, open task manager and set the priority myself! Do you know why this is happening?
@ECHO OFF
timeout 3
cd "D:\Grand Theft Auto V"
start PlayGTAV.exe
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 20
wmic process where name="GTA5.exe" CALL setpriority "high"
wmic process where name="GTAVLauncher.exe" CALL setpriority "idle"
wmic process where name="subprocess.exe" CALL setpriority "idle"
but GTA5.exe never changes priority and i always have too alt-tab out the game, open task manager and set the priority myself! Do you know why this is happening?