What's the full path to the location of nmake.exe ?
What does the command 'path' produce ?
I'm thinking that perhaps all you need to do is add the location of 'nmake.exe' to your path. Assuming that 'nmake.exe' is located in C:\Perl\bin that would mean you have to run:
path=%path%;C:\Perl\bin
Cheers,
Rob