Question : Cannot get dos to recognise 'nmake' variable

Hello,

I have installed perl and wish to use the inline:c capability from my perl script. To get this to work, on searching through resources on the web I note I have to install "NMake" which is used during the use of inline:c .
I have installed NMake to C:\NMake using the install file nmake15.exe that I downloaded from the web.
I have added the required files from the NMake folder to my environment path variable but I still cannot get nmake to be recognised from dos.
if I type in C:\NMake\nmake it works file, however if I just enter nmake from any dos command window I get the following message
"C:\>nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file."

Does anyone know why I can't get this to be picked up as an environment variable?
My path variable is as follows

C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Common Files\Sage SBD\;C:\NMake\nmake.exe;C:\NMake\nmake.err

Thanks for the help!

Answer : Cannot get dos to recognise 'nmake' variable

The %Path% variable contains exactly that: the *path* ("C:\NMake") to folders that should that should be searched, *not* single executables ("C:\NMake\nmake.exe").
In addition, the system paths should always be listed first.
Try this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Common Files\Sage SBD\;C:\Perl\bin\;C:\NMake
Once you've corrected the path, open a new command prompt to test; changing the path does NOT update the variables in shells that were already open.
Random Solutions  
 
programming4us programming4us