Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 

Repository files navigation

🧹 CleanUnrealProject.bat

A simple Windows batch script to clean up unnecessary folders and files generated by Unreal Engine projects and development tools like Visual Studio and Rider.

🚀 What It Does

Deletes common generated folders and files such as:

  • .idea (JetBrains Rider)
  • .vs (Visual Studio)
  • .vscode (VS Code)
  • Binaries/
  • Build/
  • DerivedDataCache/
  • Intermediate/
  • Saved/
  • *.sln (solution files)
  • .vsconfig (Visual Studio settings)

The script:

  • 🔁 Recursively deletes each folder/file without prompts.
  • 📝 Logs all actions (deleted, skipped, not found).
  • 📋 Displays the log in the terminal at the end.
  • 🧽 Cleans up the log file automatically.

📦 Usage

  1. Copy CleanUnrealProject.bat into the root of your Unreal Engine project.
  2. Double-click it, or run it from the command line:
    CleanUnrealProject.bat

image

Let me know if you want:

  • 📁 A version that works recursively in subdirectories.
  • 🧪 A dry-run mode that shows what would be deleted.
  • 📘 Instructions for adding it to your project Git repo with .gitignore best practices.

⚠️ Warning This script permanently deletes folders that Unreal Engine and IDEs regenerate automatically. Make sure you're not storing any custom or uncommitted files in those folders before running it.

About

A simple Windows batch script to clean up unnecessary folders and files generated by Unreal Engine projects and development tools like Visual Studio and Rider.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.