> Executing task in folder ToonTanks: Engine\Build\BatchFiles\Build.bat ToonTanksEditor Win64 Development C:\UnrealProjects\ToonTanks\ToonTanks.uproject -waitmutex <
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
The only other thing that I thought might be a problem was that my ‘cl’ path is C:\MSVC\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\cl.exe
whereas the unreal compiler path is x64.
I see. I was referring to the compiler path in the .vscode c_cpp_properties: "compilerPath": "C:\\MSVC\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64\\cl.exe",
Also, I had installed Visual Studio Community 2019 in the default path initially and had the same problem. I can try again as needed.
Visual Studio Community 2019 reinstalled to default path. %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
Error persists.
> Executing task in folder ToonTanks: Engine\Build\BatchFiles\Build.bat ToonTanksEditor Win64 Development C:\Users\kevin\Desktop\UnrealProjects\ToonTanks\ToonTanks.uproject -waitmutex <
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Could you describe the steps you took in the thread you posted? Did you put quotes around paths in the Path environment variable? Could you show both system and user Path values?
Path in User Variables copied into vscode, quotes added, then copied back. "C:\Users\kevin\AppData\Local\Programs\Python\Python38-32\Scripts\";"C:\Users\kevin\AppData\Local\Programs\Python\Python38-32\";"C:\NVPACK\android-sdk-windows\extras\android\support";"C:\NVPACK\android-sdk-windows\build-tools";"C:\NVPACK\android-sdk-windows\platform-tools";"C:\NVPACK\android-sdk-windows\tools";"C:\NVPACK\gradle-4.1\bin";"C:\NVPACK\apache-ant-1.8.2\bin";"C:\NVPACK\jdk1.8.0_77\bin";"C:\NVPACK\android-ndk-r14b";"C:\Users\kevin\AppData\Local\Microsoft\WindowsApps";
System Variables as is. C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\Git\cmd;C:\Program Files\MongoDB\Server\4.4\bin;C:\xampp\php;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files (x86)\Yarn\bin\;C:\Gradle\gradle-6.9\bin;C:\msys64\mingw64\bin;C:\Program Files\CMake\bin;C:\Program Files\Microsoft VS Code\bin;
After adding quotes to System Paths and verifying UE4.
> Executing task in folder ToonTanks: Engine\Build\BatchFiles\Build.bat ToonTanksEditor Win64 Development C:\Users\kevin\Desktop\UnrealProjects\ToonTanks\ToonTanks.uproject -waitmutex <
The terminal process failed to launch: Path to shell executable "cmd.exe" does not exist.
Terminal will be reused by tasks, press any key to close it.