Why Does My MSVC Project's Rebuild Button Not Work?

When I press it, this happens

1>------ Rebuild All started: Project: ProceduralProject, Configuration: Development_Editor x64 ------

1> \Epic was unexpected at this time.

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(42,5): error MSB3073: The command ““C:\Program Files (x86)\Epic Games\4.10\Engine\Build\BatchFiles\Rebuild.bat” ProceduralProjectEditor Win64 Development “C:\Users\Documents\Unreal Projects\ProceduralProject\ProceduralProject.uproject” -rocket -waitmutex” exited with code 255.

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

What’s wrong?

The problem appears to have been in the handling of the “Program Files (x86)” directory parentheses. Rebuild.bat can be fixed by replacing every occurrence of %~dp0 with %~dps0