Skip to content

Instantly share code, notes, and snippets.

@berkanuslu
Created October 27, 2020 10:29
Show Gist options
  • Select an option

  • Save berkanuslu/1c118c2cb15c73dcc268e2e1d1b0c128 to your computer and use it in GitHub Desktop.

Select an option

Save berkanuslu/1c118c2cb15c73dcc268e2e1d1b0c128 to your computer and use it in GitHub Desktop.

Revisions

  1. berkanuslu created this gist Oct 27, 2020.
    16 changes: 16 additions & 0 deletions ue4-clean-vs-project-files.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    @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