Skip to content

Instantly share code, notes, and snippets.

@Gromina
Last active January 29, 2022 12:27
Show Gist options
  • Save Gromina/70d7de4cfe934c38fd03daa7aaea0211 to your computer and use it in GitHub Desktop.
Save Gromina/70d7de4cfe934c38fd03daa7aaea0211 to your computer and use it in GitHub Desktop.
Cleanup Unreal Engine intermediate folders
@echo off
for /d /r . %%d in (Binaries Intermediate) do @if exist "%%d" echo "%%d"
set /p id="You're going to delete all folders above. Press 'y' to proceed:"
if "%id%"=="y" (
    echo "YES"
    for /d /r . %%d in (Binaries Intermediate) do @if exist "%%d" rd /s/q "%%d"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment