Created
April 8, 2024 13:19
-
-
Save h3xxx/27231c2ed7a4904293ca9e3383157f27 to your computer and use it in GitHub Desktop.
Windows batch file to kill all unnecessary background apps (fell free to updarte the list) to release memory before starting any game.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
REM Declare a list of process names | |
set processes=Slack.exe EpicGamesLauncher.exe upc.exe Discord.exe Skype.exe Signal.exe jetbrains-toolbox.exe Battle.net.exe GalaxyClient.exe "Docker Desktop.exe" "Roland Cloud Manager.exe" "Creative Cloud UI Helper.exe" | |
REM Iterate over the list and stop each process | |
for %%p in (%processes%) do ( | |
echo Stopping process: %%p | |
taskkill /IM %%p /F | |
) | |
endlocal | |
echo Now you can start your favourite game, enjoy :D | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment