Garmaine Staff asked 2 years ago

Running a simple "Hello World" program, I am receiving the following error when attempting to "Run Build Task (CTRL-SHIFT-B)"

> Executing task: H:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\g++.exe -g k:\Programming\helloworld\helloworld.cpp -o k:\Programming\helloworld\helloworld.exe <

'H:\More' is not recognized as an internal or external command,
operable program or batch file.`

When compiling by command-line g++ -g helloworld.cpp -o myprogram, everything works.

File locations:

mingw install >> H:\mingw-w64

project >> K:\Programming\helloworld

vscode install >> H:\More Program Files\Microsoft VS Code