%~dp0 already ends with a backslash. So, for instance, we should have "%~dp0node.exe" instead of "%~dp0\node.exe"
Windows path fix
It seems like it's working fine with teh extra slash. Is this actually causing a problem anywhere?
The changes to node_modules/node-gyp should be posted against https://github.com/TooTallNate/node-gyp
Closing for now. If you have a failing use case, I'll be happy to reconsider it. Thanks!