I was asking to execute "PATH" command and show the output.
From the code you posted it looks like you have extra space here:
| set path=w:\handmade\misc; %path%
^
| here
|
Assuming "vcvarsall.bat" file set path to cl location as first item in list, this space will be prepended to folder location. Basically path afterwards will contain:
1. "w:\handmade\misc"
2. " c:\location\to\folder\where\is\cl.exe"
3. ... other items.
This will make cl.exe to not be found, because it will look for " c:\location\to\folder\where\is\cl.exe" location which does not exist.
Remove the space.
And next time please remember to post code in [ code ] bbtags so it is easier to read.