# Build.bat fails exited with code 6

**URL:** <https://forums.unrealengine.com/t/build-bat-fails-exited-with-code-6/237526>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub\
**Created:** [June 26, 2021, 5:28am UTC](https://forums.unrealengine.com/t/build-bat-fails-exited-with-code-6/237526 "2021-06-26T05:28:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![HungryHenry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hungryhenry/32/722352_2.png) [@HungryHenry](https://forums.unrealengine.com/u/HungryHenry)\
**Post date:** [February 22, 2023, 8:07am UTC](https://forums.unrealengine.com/t/build-bat-fails-exited-with-code-6/237526/5 "2023-02-22T08:07:33Z")

</div>

I’ve encountered the most hilarious situation. My project and engine are installed in a folder called “Epic Games”, and the space between them broke the command line. Make sure your file paths are without any space.

---

_[View the full topic](https://forums.unrealengine.com/t/build-bat-fails-exited-with-code-6/237526)._
