Skip to content

Instantly share code, notes, and snippets.

@berkanuslu
Created October 27, 2020 10:29
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berkanuslu/1c118c2cb15c73dcc268e2e1d1b0c128 to your computer and use it in GitHub Desktop.
Save berkanuslu/1c118c2cb15c73dcc268e2e1d1b0c128 to your computer and use it in GitHub Desktop.
It cleans Binaries, Build, Intermediate, Saved, and DerivedDataCache folders for your Unreal Engine 4 project and all plugins that you have.
@echo off
echo *********************************************************************************************************************
echo ******************************************** Clean Unreal Engine Project ********************************************
echo *********************************************************************************************************************
echo.
:PROMPT
SET /P AREYOUSURE=Are you sure to delete all Binaries, Build, Intermediate, Saved and DerivedDataCache folders in your project and plugins (y/[N])?
IF /I "%AREYOUSURE%" NEQ "y" GOTO END
echo.
echo Cleaning your project, please wait...
FOR /d /r %%d IN ("Binaries","Build","Intermediate","Saved","DerivedDataCache") DO @IF EXIST "%%d" rd /s /q "%%d"
del *.sln
echo.
echo Your project cleaned perfectly, you can click Generate Visual Studio project files now.
pause
:END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment