‘nmake’ is not recognized as an internal or external command, operable program or batch file
This means nmake is not installed on your Windows PC. To install you need to downloading, extract, and place two files into your $PATH. Follow the couple steps below to install nmake on your PC. In my case I installed nmake on Windows XP.
- Download nmake: Visit the following link to download nmake.
- Extract nmake:Run the Nmake15.exe file which will extract two files to the directory where it is located. These files will be nmake.exe and NMAKE.ERR.
- Place nmake In PATH: Now move those two files into your path somewhere such as C:\WINDOWS\system32 or print out your path as shown below to place them in a different location.
- PATH=C:\\Perl\\site\\bin;C:\\Perl\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Microsoft SQL Server\\80\Tools\\Binn\\;C:\\Program Files\\USB Display Adapter\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\bin;C:\\ruby\\bin;C:\\Program Files\\PostgreSQL\\8.3\\bin;C:\\Program Files\\Vim\\vim72;C:\\cygwin\\bin;C:\\Program Files\\GNU\\GnuPG\\pub;C:\\cygwin\\nmap;c:\\mspgcc\\bin
- Test nmake: Now type nmake from a DOS prompt and you should see output similar to the below.
- C:\>nmakeMicrosoft (R) Program Maintenance Utility Version 1.50
- Copyright (c) Microsoft Corp 1988-94. All rights reserved.NMAKE : fatal error U1064: MAKEFILE not found and no target specified
**NOTE** The Paths in the above article were previously incorrect because of a formatting issue. This has been resolved.