"doskey" error when using nmake or mingw32-make after Windows 11 update

Rod_R 0 Reputation points
2023-05-24T11:30:45.82+00:00

I have a problem with TDDM-GCC mingw32-make and Microsoft nmake after installing "April 25, 2023-KB5025182 Cumulative Update Preview for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2".

This affects C++ compilations e.g. using DialogBlocks to compile wxWidgets or using the wxWidgets makefiles.

I managed to compile wxWidgets by using a Visual Studio Project file, but both failed when using nmake and mingw32-make . The mingw32-make using DialogBlocks generated the error: "doskey' is not recognized as an internal or external command"; nmake just advises "failed".

Both nmake and mingw32-make worked prior to the Windows 11 update.

Any ideas what has caused the problem and how to resolve?

Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.