Your path is rather a mess. For example the entry that should be C:\MinGW\bin
has several leading spaces. Windows treats all characters between the semi-colons in a path as significant characters - you need to remove those extraneous spaces.
You also have the following items in the path (some with leading spaces), which should probably be removed:
C:\MinGW\bin\g++.exe
C:\MinGW\bin\"g++.exe"
C:\MinGW\bin\g++
Note that PATH
entries should not include the executable file itself, only the directory that contains the executable files you want the OS to locate in a PATH search. Also, quotes should not be included in a PATH
entry; similar to spaces, the code that uses the path will treat them as actual parts of the directory name to search.