RunUAT.bat ERROR: AutomationTool was unable to run successfully

Hello people, i’m trying to package my Unreal Project, but i am unable to due to these errors -

Program.Main: ERROR: Command failed (Result:2): C:\Program Files\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe Test Win32 Shipping -clean “C:\Users\gh171846\Documents\Unreal Projects\Test\Test.uproject” -nobuilduht -rocket -NoHotReloadFromIDE. See logfile for details: ‘UnrealBuildTool.txt’

I’m wondering if it could be because of that it can’t find the files needed because my system language is in danish, so “Program Files” is called “Programmer”

Does anyone know a fix for this?

Duplicate of RunUAT.bat ERROR: AutomationTool was unable to run successfully - Programming & Scripting - Epic Developer Community Forums