You don't change it you *add* to it.
* Edit your PATH environment to include the MinGW/bin directory.
* Create a MINGW environment variable that points to the MinGW root directory.
* Edit your PATH environment to include the MinGW/bin directory.
* Create a MINGW environment variable that points to the MinGW root directory.