windres is not recognized as an internal or external command
If you are runningr anti-virus software that deemed windres.exe to possibly be a virus, then the file might not have been installed, or it might have been quarantined in some way that makes it inaccessible. (Perhaps its file extension was changed ?)
You'll need to fix that.
windres.exe should be in the same folder as gcc.exe.